paper-with-me

Papers

$BT^2$: Backward-compatible Training with Basis Transformation

2022-11-08 · Yifei Zhou, Zilu Li, Abhinav Shrivastava, Hengshuang Zhao, Antonio Torralba, Taipeng Tian, Ser-Nam Lim

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.

📄 PDF Abstract BibTeX arXiv:2211.03989

Code (1)

yifeizhou02/bt-2 공식 구현 pytorch

Tasks

Retrieval

Similar Papers 제목 키워드 기반

BT^2: Backward-compatible Training with Basis Transformation

2023-01-01 · ICCV 2023 1 · Yifei Zhou, Zilu Li, Abhinav Shrivastava, Hengshuang Zhao 외

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 c…

Backward-Compatible Aligned Representations via an Orthogonal Transformation Layer

2024-08-16 · Simone Ricci, Niccolò Biondi, Federico Pernici, Alberto del Bimbo

Visual retrieval systems face significant challenges when updating models with improved representations due to misalignment between the old and new representations. The costly and resource-intensive backfilling process i…

Learning Compatible Embeddings

2021-08-04 · ICCV 2021 10 · Qiang Meng, Chixiang Zhang, Xiaoqiang Xu, Feng Zhou

Achieving backward compatibility when rolling out new models can highly reduce costs or even bypass feature re-encoding of existing gallery images for in-production visual retrieval systems. Previous related works usuall…

Knowledge DistillationRetrieval

Towards Backward-Compatible Representation Learning

2020-03-26 · CVPR 2020 6 · Yantao Shen, Yuanjun Xiong, Wei Xia, Stefano Soatto

We propose a way to learn visual features that are compatible with previously computed ones even when they have different dimensions and are learned via different neural network architectures and loss functions. Compatib…

Face RecognitionRepresentation Learning

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

2022-04-29 · Shupeng Su, Binjie Zhang, Yixiao Ge, Xuyuan Xu 외

The task of privacy-preserving model upgrades in image retrieval desires to reap the benefits of rapidly evolving new models without accessing the raw gallery images. A pioneering work introduced backward-compatible trai…

Image RetrievalPrivacy PreservingRetrieval