arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.08535cs.IRcs.CVcs.LG
收藏

用于多模态检索与排序的广义对比学习

Generalized Contrastive Learning for Multi-Modal Retrieval and Ranking

Tianyu Zhu, Myong Chol Jung, Jesse Clark

AI总结:

本文提出广义对比学习(GCL)框架,通过将连续排序分数融入损失函数来优化多模态检索与排序,并构建了千万级数据集MarqoGS-10M,实验证明其在多项指标上显著优于基线且支持单阶段系统。

摘要:

对比学习因其对手动标注的最低要求而在检索任务中得到广泛应用。然而,流行的训练框架通常从二元(正例/负例)相关性中学习,使其无法有效地整合所需的排序。因此,这些模型较差的排序性能迫使系统采用重排序器,这增加了复杂性、维护工作和推理时间。为了解决这个问题,我们引入了广义对比学习(GCL),这是一个旨在从超越二元相关性的连续排序分数中学习的训练框架。GCL通过将排序分数应用于损失函数,将相关性和排序信息编码到统一的嵌入空间中。这使得单阶段检索系统成为可能。此外,在我们的研究过程中,我们发现缺乏公开的多模态数据集来对检索和排序能力进行基准测试。为了促进这项和未来的排序检索研究,我们使用GPT-4和Google Shopping策划了大规模的MarqoGS-10M数据集,为1000万个查询-文档对中的每一对提供排序分数。我们的结果显示,与使用MarqoGS-10M微调的CLIP基线相比,GCL在域内评估中实现了29.3%的NDCG@10提升,在冷启动评估中实现了6.0%到10.0%的提升。此外,我们在专有的用户交互数据上离线评估了GCL。GCL在域内评估中显示出11.2%的提升。数据集和方法可在以下网址获取:https://github.com/marqo-ai/GCL。

英文摘要:

Contrastive learning has gained widespread adoption for retrieval tasks due to its minimal requirement for manual annotations. However, popular training frameworks typically learn from binary (positive/negative) relevance, making them ineffective at incorporating desired rankings. As a result, the poor ranking performance of these models forces systems to employ a re-ranker, which increases complexity, maintenance effort and inference time. To address this, we introduce Generalized Contrastive Learning (GCL), a training framework designed to learn from continuous ranking scores beyond binary relevance. GCL encodes both relevance and ranking information into a unified embedding space by applying ranking scores to the loss function. This enables a single-stage retrieval system. In addition, during our research, we identified a lack of public multi-modal datasets that benchmark both retrieval and ranking capabilities. To facilitate this and future research for ranked retrieval, we curated a large-scale MarqoGS-10M dataset using GPT-4 and Google Shopping, providing ranking scores for each of the 10 million query-document pairs. Our results show that GCL achieves a 29.3% increase in NDCG@10 for in-domain evaluations and 6.0% to 10.0% increases for cold-start evaluations compared to the finetuned CLIP baseline with MarqoGS-10M. Additionally, we evaluated GCL offline on a proprietary user interaction data. GCL shows an 11.2% gain for in-domain evaluations. The dataset and the method are available at: https://github.com/marqo-ai/GCL.

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

↑