Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Learning Compatible Embeddings

About

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.

Qiang Meng, Chixiang Zhang, Xiaoqiang Xu, Feng Zhou• 2021

Related benchmarks

TaskDatasetResultRank
Image RetrievalROxford
mAP (self)0.7516
67
Image RetrievalGLD v2 (test)
mAP (self)0.2185
67
Image RetrievalRParis
Pcomp57.41
44
1:N searchCIFAR-100 10 (test)
AC100
32
1:N searchCIFAR100R 10 31 tasks
AC0.00e+0
10
1:N searchTinyImageNet 200/20 (31 tasks)
AC2
8
1:N searchTinyImageNet 200/20 (2 tasks)
AC100
8
1:N searchCUB 180/20
AC100
8
1:N searchCIFAR100R/10 (7 tasks)
Accuracy (AC)0.00e+0
8
1:N searchTinyImageNet 200 20 (7 tasks)
AC0.00e+0
8
Showing 10 of 14 rows

Other info

Follow for update