Metric Compatible Training for Online Backfilling in Large-Scale Retrieval

Seonguk Seo, Mustafa Gokhan Uzunbas, Bohyung Han, Sara Cao, Ser-Nam Lim
1/10/2023
cs.CVcs.IRcs.LG

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Backfilling is the process of re-extracting all gallery embeddings from upgraded models in image retrieval systems. It inevitably requires a prohibitively large amount of computational cost and even entails the downtime of the service.

Show full abstract

Although backward-compatible learning sidesteps this challenge by tackling query-side representations, this leads to suboptimal solutions in principle because gallery embeddings cannot benefit from model upgrades. We address this dilemma by introducing an online backfilling algorithm, which enables us to achieve a progressive performance improvement during the backfilling process while not sacrificing the final performance of new model after the completion of backfilling. To this end, we first propose a simple distance rank merge technique for online backfilling. Then, we incorporate a reverse transformation module for more effective and efficient merging, which is further enhanced by adopting a metric-compatible contrastive learning approach. These two components help to make the distances of old and new models compatible, resulting in desirable merge results during backfilling with no extra computational overhead. Extensive experiments show the effectiveness of our framework on four standard benchmarks in various settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{seo2023metric,
  title  = {Metric Compatible Training for Online Backfilling in Large-Scale Retrieval},
  author = {Seonguk Seo and Mustafa Gokhan Uzunbas and Bohyung Han and Sara Cao and Ser-Nam Lim},
  year   = {2023},
  eprint = {2301.03767},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.03767v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.03767.svg)](https://codeofpaper.com/paper/2301.03767)

Discussion