arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2301.03767cs.CVcs.IRcs.LG
收藏

大规模检索中在线回填的度量兼容训练

Metric Compatible Training for Online Backfilling in Large-Scale Retrieval

Seoul National University(首尔大学);Meta;University of Central Florida(中佛罗里达大学)

Seonguk Seo, Mustafa Gokhan Uzunbas, Bohyung Han, Sara Cao, Ser-Nam Lim

AI总结:

针对图像检索模型升级中回填计算成本高的问题,提出一种在线回填算法,通过距离排名合并、反向变换模块和度量兼容对比学习,在不牺牲新模型最终性能的前提下实现渐进性能提升。

摘要:

回填是图像检索系统中从升级后的模型重新提取所有图库嵌入的过程。它不可避免地需要极其庞大的计算成本,甚至会导致服务停机。尽管向后兼容学习通过处理查询端表示规避了这一挑战,但这在原则上会导致次优解,因为图库嵌入无法从模型升级中受益。我们通过引入一种在线回填算法来解决这一困境,该算法使我们能够在回填过程中实现渐进的性能提升,同时不牺牲回填完成后新模型的最终性能。为此,我们首先提出一种用于在线回填的简单距离排名合并技术。然后,我们引入一个反向变换模块以实现更有效和高效的合并,并通过采用度量兼容的对比学习方法进一步增强该模块。这两个组件有助于使新旧模型的距离兼容,从而在回填期间产生理想的合并结果,且无额外计算开销。大量实验表明,我们的框架在各种设置下的四个标准基准上均有效。

英文摘要:

Backfilling is the process of re-extracting all gallery embeddings from upgraded models in image retrieval systems. It inevitably requires a prohibitively large amount of computational cost and even entails the downtime of the service. Although backward-compatible learning sidesteps this challenge by tackling query-side representations, this leads to suboptimal solutions in principle because gallery embeddings cannot benefit from model upgrades. We address this dilemma by introducing an online backfilling algorithm, which enables us to achieve a progressive performance improvement during the backfilling process while not sacrificing the final performance of new model after the completion of backfilling. To this end, we first propose a simple distance rank merge technique for online backfilling. Then, we incorporate a reverse transformation module for more effective and efficient merging, which is further enhanced by adopting a metric-compatible contrastive learning approach. These two components help to make the distances of old and new models compatible, resulting in desirable merge results during backfilling with no extra computational overhead. Extensive experiments show the effectiveness of our framework on four standard benchmarks in various settings.

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

↑