arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.02805cs.CV
收藏

大规模嵌入式检索系统的前向兼容训练

Forward Compatible Training for Large-Scale Embedding Retrieval Systems

University of Washington(华盛顿大学);Apple(苹果公司)

Vivek Ramanujan, Pavan Kumar Anasosalu Vasu, Ali Farhadi, Oncel Tuzel, Hadi Pouransari

摘要:

在视觉检索系统中,更新嵌入模型需要重新计算每一段数据的特征。这个昂贵的过程被称为“循环”。最近,提出了向后兼容训练(BCT)的思想。为了避免重复训练的代价,BCT修改了新模型的训练,使其表示与旧模型的表示兼容。然而,BCT可以显著阻碍新模型的性能。在这项工作中,我们提出了一个新的学习范式的表示学习:向前兼容训练(FCT)。在FCT中,当旧模型被训练时,我们也为模型的未来未知版本做准备。我们提出了学习边信息,这是每个样本的辅助特征,有助于模型的未来更新。为了开发一个强大而灵活的模型兼容性框架,我们将边信息与从旧嵌入到新嵌入的前向转换相结合。新模型的训练没有被修改,因此,其准确性不会降低。与BCT相比,我们在各种数据集上的检索准确率都有显著提高:ImageNet-1 k(+18.1%),Places-365(+5.4%)和VGG-Face 2(+8.3%)。当新旧模型在不同的数据集、损失和架构上进行训练时,FCT可以获得模型兼容性。

英文摘要:

In visual retrieval systems, updating the embedding model requires recomputing features for every piece of data. This expensive process is referred to as backfilling. Recently, the idea of backward compatible training (BCT) was proposed. To avoid the cost of backfilling, BCT modifies training of the new model to make its representations compatible with those of the old model. However, BCT can significantly hinder the performance of the new model. In this work, we propose a new learning paradigm for representation learning: forward compatible training (FCT). In FCT, when the old model is trained, we also prepare for a future unknown version of the model. We propose learning side-information, an auxiliary feature for each sample which facilitates future updates of the model. To develop a powerful and flexible framework for model compatibility, we combine side-information with a forward transformation from old to new embeddings. Training of the new model is not modified, hence, its accuracy is not degraded. We demonstrate significant retrieval accuracy improvement compared to BCT for various datasets: ImageNet-1k (+18.1%), Places-365 (+5.4%), and VGG-Face2 (+8.3%). FCT obtains model compatibility when the new and old models are trained across different datasets, losses, and architectures.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑