arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.11691cs.IRcs.AI
收藏

迈向基于渐进式学习的鲁棒文本检索

Towards Robust Text Retrieval with Progressive Learning

Tencent Youtu Lab(腾讯优图实验室)

Tong Wu, Yulei Qin, Enwei Zhang, Zihan Xu, Yuting Gao, Ke Li, Xing Sun

AI总结:

本文提出PEG,一种用于鲁棒文本检索的渐进式学习嵌入模型,通过增加批内负样本至80,000、提取困难负样本并引入动态调节注意力的渐进式学习机制,在超过1亿条多领域数据上训练,在C-MTEB和DuReader上超越SOTA。

摘要:

检索增强已成为一种有效的解决方案,通过从数据库中引入外部且经过验证的知识源来赋能大语言模型(LLMs),从而克服LLMs在处理最新和特定领域信息时的局限性和幻觉问题。然而,现有的用于文本检索的嵌入模型通常存在三个不可忽视的局限性。首先,一个批次中样本的数量和多样性过于受限,无法在大规模上监督对文本细微差别的建模。其次,高比例的噪声不利于嵌入的语义正确性和一致性。第三,对简单和困难样本的同等对待会导致嵌入的次优收敛,泛化能力较差。在本文中,我们提出了PEG,一种用于鲁棒文本检索的渐进式学习嵌入。具体而言,我们将训练批内负样本增加到80,000个,并且对于每个查询,我们提取了五个困难负样本。同时,我们引入了渐进式学习机制,使模型能够在整个训练过程中动态调节其对样本的注意力。此外,PEG在超过1亿条数据上进行训练,涵盖广泛的领域(例如金融、医学和旅游)并覆盖各种任务(例如问答、机器阅读理解和相似度匹配)。在C-MTEB和DuReader上进行的广泛实验表明,PEG在检索真阳性方面超越了最先进的嵌入模型,凸显了其在LLMs应用中的巨大潜力。我们的模型已在 https://huggingface.co/TownsWu/PEG 公开提供。

英文摘要:

Retrieval augmentation has become an effective solution to empower large language models (LLMs) with external and verified knowledge sources from the database, which overcomes the limitations and hallucinations of LLMs in handling up-to-date and domain-specific information. However, existing embedding models for text retrieval usually have three non-negligible limitations. First, the number and diversity of samples in a batch are too restricted to supervise the modeling of textual nuances at scale. Second, the high proportional noise are detrimental to the semantic correctness and consistency of embeddings. Third, the equal treatment to easy and difficult samples would cause sub-optimum convergence of embeddings with poorer generalization. In this paper, we propose the PEG, a progressively learned embeddings for robust text retrieval. Specifically, we increase the training in-batch negative samples to 80,000, and for each query, we extracted five hard negatives. Concurrently, we incorporated a progressive learning mechanism, enabling the model to dynamically modulate its attention to the samples throughout the entire training process. Additionally, PEG is trained on more than 100 million data, encompassing a wide range of domains (e.g., finance, medicine, and tourism) and covering various tasks (e.g., question-answering, machine reading comprehension, and similarity matching). Extensive experiments conducted on C-MTEB and DuReader demonstrate that PEG surpasses state-of-the-art embeddings in retrieving true positives, highlighting its significant potential for applications in LLMs. Our model is publicly available at https://huggingface.co/TownsWu/PEG.

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

↑