BT^2: Backward-compatible Training with Basis Transformation

11/08/2022
by   Yifei Zhou, et al.
0

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, followup work shows that there is an inherent tradeoff 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 change 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.

READ FULL TEXT
research
12/06/2021

Forward Compatible Training for Representation Learning

In visual retrieval systems, updating the embedding model requires recom...
research
08/07/2021

Neighborhood Consensus Contrastive Learning for Backward-Compatible Representation

In object re-identification (ReID), the development of deep learning tec...
research
04/29/2022

Privacy-Preserving Model Upgrades with Bidirectional Compatible Training in Image Retrieval

The task of privacy-preserving model upgrades in image retrieval desires...
research
03/03/2022

Towards Universal Backward-Compatible Representation Learning

Conventional model upgrades for visual search systems require offline re...
research
07/12/2022

Dynamic Gradient Reactivation for Backward Compatible Person Re-identification

We study the backward compatible problem for person re-identification (R...
research
01/10/2023

Online Backfilling with No Regret for Large-Scale Image Retrieval

Backfilling is the process of re-extracting all gallery embeddings from ...
research
07/02/2021

Backward-Compatible Prediction Updates: A Probabilistic Approach

When machine learning systems meet real world applications, accuracy is ...

Please sign up or login with your details

Forgot password? Click here to reset