Vibra improves image text search with backward compatible queries

VIBRA: Backward-Compatible Cross-Modal Retrieval with Consensus Barycenters

Computer Vision and Pattern RecognitionInformation Retrieval

Summary

When computer systems get updated to new models, they often need to search older data encoded by previous models, but reprocessing huge amounts of data is slow and expensive. The authors propose VIBRA, a method that lets the new model query old encoded data without re-encoding everything, by creating a ‘consensus’ embedding that corrects errors. This approach improves search accuracy while keeping responses fast, allowing upgrades without losing performance or speed. The authors tested their method on several popular systems and found it consistently better than current techniques.

What this means in practice

  • For search system developers: Upgrade image and text search engines without re-encoding large existing databases while maintaining or improving accuracy.
  • For ecommerce platform engineers: Improve product search accuracy by deploying new models compatible with previously indexed product images and descriptions.

Authors

Shubing Yang, Xutong Liu, Dongfang Zhao

Abstract

Backward-compatible retrieval enables a new encoder to query the gallery that an old model has already encoded, so that a cross-modal retrieval system can be upgraded without re-encoding billions of items. Existing compatible methods either fit the old query and stay near the accuracy of the old model, or run the old and the new encoder for every query. We propose VIBRA, which matches relevance on the old gallery, corrects the errors of a single model with the barycenter of several views, which is itself a query in the old space, and trains the new encoder to inherit this consensus, so that models absent at deployment still shape every query. We show that the barycenter gains margin over the average of its views exactly when their hardest irrelevant items differ, and we characterize the share of this gain that one encoder can reach. On five benchmarks with five upgrades among six CLIP, MetaCLIP and SigLIP2 backbones, VIBRA is the best compatible method in all 50 settings, improving Recall@1 by up to 5.6 points over the strongest baseline and by up to 18.0 points over the old model, while adding less than 1 ms to the latency of the new encoder.