Metric Compatible Training for Online Backfilling in Large-Scale Retrieval

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Seo, Seonguk, Uzunbas, Mustafa Gokhan, Han, Bohyung, Cao, Sara, Lim, Ser-Nam
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913619804946432
author Seo, Seonguk
Uzunbas, Mustafa Gokhan
Han, Bohyung
Cao, Sara
Lim, Ser-Nam
author_facet Seo, Seonguk
Uzunbas, Mustafa Gokhan
Han, Bohyung
Cao, Sara
Lim, Ser-Nam
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2301_03767
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Metric Compatible Training for Online Backfilling in Large-Scale Retrieval
Seo, Seonguk
Uzunbas, Mustafa Gokhan
Han, Bohyung
Cao, Sara
Lim, Ser-Nam
Computer Vision and Pattern Recognition
Information Retrieval
Machine Learning
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. 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.
title Metric Compatible Training for Online Backfilling in Large-Scale Retrieval
topic Computer Vision and Pattern Recognition
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2301.03767