Learning Compatible Embeddings

ICCV 2021

People

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.

Code

Avaiable at here.

Paper

Learning Compatible Embeddings
Qiang Meng, Chixiang Zhang, Xiaoqiang Xu, Feng Zhou
Algorithm Research, Aibee Inc.
In Proceedings of the 2021 IEEE International Conference on Computer Vision
[pdf] [supp] [arXiv] [Video on BiliBili]

Video


BibTeX
@inproceedings{meng2021lce,
    title={Learning Compatible Embeddings},
    author={Meng, Qiang and Zhang, Chixiang and Xu, Xiaoqiang and Zhou, Feng},
    booktitle=ICCV,
    year=2021
}