Metric Compatible Training for Online Backfilling in Large-Scale Retrieval
Abstract
In large-scale retrieval systems, model upgrades require backfilling, which is the process of re-extracting all gallery embeddings from upgraded models. However, it inevitably spends a prohibitively large amount of computational cost and even entails the downtime of the service. To alleviate this bottleneck, backward-compatible learning is proposed to learn feature space of new model while being compatible with those of old model. Although it 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 without sacrificing the full performance of the new model after the completion of backfilling. To this end, we first show that a simple distance rank merge is a reasonable option for online backfilling. Then, we incorporate a reverse transformation module and metric-compatible contrastive learning, resulting in desirable merge results during backfilling with no extra overhead. Extensive experiments show the benefit of our framework on four standard benchmarks in various settings.
Cite
Text
Seo et al. "Metric Compatible Training for Online Backfilling in Large-Scale Retrieval." ICML 2023 Workshops: LLW, 2023.Markdown
[Seo et al. "Metric Compatible Training for Online Backfilling in Large-Scale Retrieval." ICML 2023 Workshops: LLW, 2023.](https://mlanthology.org/icmlw/2023/seo2023icmlw-metric/)BibTeX
@inproceedings{seo2023icmlw-metric,
title = {{Metric Compatible Training for Online Backfilling in Large-Scale Retrieval}},
author = {Seo, Seonguk and Uzunbas, Mustafa and Han, Bohyung and Cao, Xuefei and Zhang, Joena and Tian, Taipeng and Lim, Ser-Nam},
booktitle = {ICML 2023 Workshops: LLW},
year = {2023},
url = {https://mlanthology.org/icmlw/2023/seo2023icmlw-metric/}
}