Learning Compatible Embeddings
Qiang Meng, Chixiang Zhang, Xiaoqiang Xu, Feng Zhou
Abstract
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 usually leverage losses used in knowledge distillation which can cause performance degradations or not guarantee compatibility. To address these issues, we propose a general framework called Learning Compatible Embeddings (LCE) which is applicable for both cross model compatibility and compatible training in direct/forward/backward manners. Our compatibility is achieved by aligning class centers between models directly or via a transformation, and restricting more compact intra-class distributions for the new model. Experiments are conducted in extensive scenarios such as changes of training dataset, loss functions, network architectures as well as feature dimensions, and demonstrate that LCE efficiently enables model compatibility with marginal sacrifices of accuracies. The code will be available at https://github.com/IrvingMeng/LCE.
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.
Cited by top-tier papers16
- Forward Compatible Few-Shot Class-Incremental LearningDa-Wei Zhou, Fu-Yun Wang, Han-Jia Ye, Liang Ma et al.CVPR 2022 · 259 citations
- Improving Federated Learning Face Recognition via Privacy-Agnostic ClustersQiang Meng, Feng Zhou, Hainan Ren, Tianshu Feng et al.ICLR 2022 · 48 citations
- Contextual Similarity Distillation for Asymmetric Image RetrievalHui Wu, Min Wang, Wengang Zhou, Houqiang Li et al.CVPR 2022 · 34 citations
- Forward Compatible Training for Large-Scale Embedding Retrieval SystemsVivek Ramanujan, Pavan Kumar Anasosalu Vasu, Ali Farhadi, Oncel Tuzel et al.CVPR 2022 · 12 citations
- λ-Orthogonality Regularization for Compatible Representation LearningSimone Ricci, Niccolò Biondi, Federico Pernici, Ioannis Patras et al.NeurIPS 2025 · 8 citations
Builds on5
- Improved Knowledge Distillation via Teacher AssistantSeyed-Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine et al.AAAI 2020 · 1,361 citations
- Correlation Congruence for Knowledge DistillationBaoyun Peng, Xiao Jin, Dongsheng Li, Shunfeng Zhou et al.ICCV 2019 · 625 citations
- Searching for Alignment in Face RecognitionXiaqing Xu, Qiang Meng, Yunxiao Qin, Jianzhu Guo et al.AAAI 2021 · 19 citations
- MagFace: A Universal Representation for Face Recognition and Quality AssessmentQiang Meng, Shichao Zhao, Zhida Huang, Feng ZhouCVPR 2021
- Towards Backward-Compatible Representation LearningYantao Shen, Yuanjun Xiong, Wei Xia, Stefano SoattoCVPR 2020
Related papers
- Boundary-aware Backward-Compatible Representation via Adversarial Learning in Image RetrievalTan Pan, Furong Xu, Xudong Yang, Sifeng He et al.CVPR 2023
- Learning Along the Arrow of Time: Hyperbolic Geometry for Backward-Compatible Representation LearningNgoc Bui, Menglin Yang, Runjin Chen, Leonardo Neves et al.ICML 2025
- Neighborhood Consensus Contrastive Learning for Backward-Compatible RepresentationShengsen Wu, Liang Chen, Yihang Lou, Yan Bai et al.AAAI 2022 · 8 citations
- Darwinian Model Upgrades: Model Evolving with Selective CompatibilityBinjie Zhang, Shupeng Su, Yixiao Ge, Xuyuan Xu et al.AAAI 2023 · 4 citations
- Learning Compatible Multi-Prize Subnetworks for Asymmetric RetrievalYushuai Sun, Zikun Zhou, Dongmei Jiang, Yaowei Wang et al.CVPR 2025
