Boundary-aware Backward-Compatible Representation via Adversarial Learning in Image Retrieval

Tan Pan, Furong Xu, Xudong Yang, Sifeng He, Chen Jiang +5 more
5/1/2023
20 citations

Official code: Ashespt/AdvBCT (4 stars, Python, last commit 2023-05-05).

Abstract

Image retrieval plays an important role in the Internet world. Usually, the core parts of mainstream visual retrieval systems include an online service of the embedding model and a large-scale vector database.

Show full abstract

For traditional model upgrades, the old model will not be replaced by the new one until the embeddings of all the images in the database are re-computed by the new model, which takes days or weeks for a large amount of data. Recently, backward-compatible training (BCT) enables the new model to be immediately deployed online by making the new embeddings directly comparable to the old ones. For BCT, improving the compatibility of two models with less negative impact on retrieval performance is the key challenge. In this paper, we introduce AdvBCT, an Adversarial Backward-Compatible Training method with an elastic boundary constraint that takes both compatibility and discrimination into consideration. We first employ adversarial learning to minimize the distribution disparity between embeddings of the new model and the old model. Meanwhile, we add an elastic boundary constraint during training to improve compatibility and discrimination efficiently. Extensive experiments on GLDv2, Revisited Oxford (ROxford), and Revisited Paris (RParis) demonstrate that our method outperforms other BCT methods on both compatibility and discrimination. The implementation of AdvBCT will be publicly available at https://github.com/Ashespt/AdvBCT.

View on arXivView PDF

Code Implementations(1)

Ashespt/AdvBCTOfficial100%

The official implementation of AdvBCT

42Python, ShellMar 10, 20233 years ago

Similar Papers

Cite this paper

@article{pan2023boundaryaware,
  title  = {Boundary-aware Backward-Compatible Representation via Adversarial Learning in Image Retrieval},
  author = {Tan Pan and Furong Xu and Xudong Yang and Sifeng He and Chen Jiang and Qingpei Guo and Fengyi Zhang and Yuan Cheng and Lei Yang and Wei Chu},
  year   = {2023},
  eprint = {2305.02610},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.02610},
  journal = {CVPR 2023 2023}
}

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/2305.02610.svg)](https://codeofpaper.com/paper/2305.02610)

Discussion