BT2: Backward-compatible Training with Basis Transformation
Yifei Zhou, Zilu Li, Abhinav Shrivastava, Hengshuang Zhao, Antonio Torralba, Tai-Peng Tian, Ser-Nam Lim
Abstract
Modern retrieval system often requires recomputing the representation of every piece of data in the gallery when updating to a better representation model. This process is known as backfilling and can be especially costly in the real world where the gallery often contains billions of samples. Recently, researchers have proposed the idea of Backward Compatible Training (BCT) where the new representation model can be trained with an auxiliary loss to make it backward compatible with the old representation. In this way, the new representation can be directly compared with the old representation, in principle avoiding the need for any backfilling. However, follow-up work shows that there is an inherent trade-off where a backward compatible representation model cannot simultaneously maintain the performance of the new model itself. This paper reports our "not-so-surprising" finding that adding extra dimensions to the representation can help here. However, we also found that naively increasing the dimension of the representation did not work. To deal with this, we propose Backward-compatible Training with a novel Basis Transformation (BT 2 ). A basis transformation (BT) is basically a learnable set of parameters that applies an orthonormal transformation. Such a transformation possesses an important property whereby the original information contained in its input is retained in its output. We show in this paper how a BT can be utilized to add only the necessary amount of additional dimensions. We empirically verify the advantage of BT 2 over other state-of-the-art methods in a wide range of settings. We then further extend BT 2 to other challenging yet more practical settings, including significant changes in model architecture (CNN to Transformers), modality change, and even a series of updates in the model architecture mimicking the evolution of deep learning models in the past decade. Our code is available at https://github.com/YifeiZhou02/BT-2 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 31e2156c-f276-45a1-a5cb-5ea264feb6c2Cited by top-tier papers2
- Towards Cross-Modal Backward-Compatible Representation Learning for Vision-Language ModelsYoung Kyun Jang, Ser-Nam LimICCV 2025 · 3 citations
- Learning Along the Arrow of Time: Hyperbolic Geometry for Backward-Compatible Representation LearningNgoc Bui, Menglin Yang, Runjin Chen, Leonardo Neves et al.ICML 2025
Builds on9
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Learning Compatible EmbeddingsQiang Meng, Chixiang Zhang, Xiaoqiang Xu, Feng ZhouICCV 2021 · 43 citations
Related papers
- Towards Backward-Compatible Representation LearningYantao Shen, Yuanjun Xiong, Wei Xia, Stefano SoattoCVPR 2020
- Forward Compatible Training for Large-Scale Embedding Retrieval SystemsVivek Ramanujan, Pavan Kumar Anasosalu Vasu, Ali Farhadi, Oncel Tuzel et al.CVPR 2022 · 12 citations
- Boundary-aware Backward-Compatible Representation via Adversarial Learning in Image RetrievalTan Pan, Furong Xu, Xudong Yang, Sifeng He et al.CVPR 2023
- Darwinian Model Upgrades: Model Evolving with Selective CompatibilityBinjie Zhang, Shupeng Su, Yixiao Ge, Xuyuan Xu et al.AAAI 2023 · 4 citations
- FastFill: Efficient Compatible Model UpdateFlorian Jaeckle, Fartash Faghri, Ali Farhadi, Oncel Tuzel et al.ICLR 2023
