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

探索利用大语言模型进行查询扩展的最佳实践

Exploring the Best Practices of Query Expansion with Large Language Models

Le Zhang, Yihong Wu, Qian Yang, Jian-Yun Nie

AI总结:

本文提出无需训练的多文本生成集成框架MuGI,利用LLMs生成多个伪参考并与查询集成以增强稀疏和稠密检索器,实验证明该方法能广泛提升23M至7B参数模型的检索性能。

摘要:

大语言模型(LLMs)是语言技术的基础,尤其是在信息检索(IR)领域。先前的研究已利用LLMs进行查询扩展,在IR中取得了显著改进。在本文中,我们深入探索了利用LLMs进行查询扩展的最佳实践。为此,我们提出了一个无需训练、简单而有效的框架,称为多文本生成集成(MuGI)。该框架利用LLMs生成多个伪参考文本,并将其与查询集成,以增强稀疏检索器和稠密检索器。我们的实证发现表明:(1)增加来自LLMs的样本数量有利于IR系统;(2)查询与伪文档之间的平衡以及有效的集成策略对于高性能至关重要;(3)来自LLMs的上下文信息至关重要,甚至能使一个23M参数的模型超越一个7B参数的基线模型;(4)伪相关反馈可以进一步校准查询以提升性能;(5)查询扩展具有广泛的适用性和通用性,能够持续增强从23M到7B参数不等的模型。我们的代码和所有生成的参考文本已在 https://github.com/lezhang7/Retrieval_MuGI 公开。

英文摘要:

Large Language Models (LLMs) are foundational in language technologies, particularly in information retrieval (IR). Previous studies have utilized LLMs for query expansion, achieving notable improvements in IR. In this paper, we thoroughly explore the best practice of leveraging LLMs for query expansion. To this end, we introduce a training-free, straightforward yet effective framework called Multi-Text Generation Integration (\textsc{MuGI}). It leverages LLMs to generate multiple pseudo-references, integrating them with queries to enhance both sparse and dense retrievers. Our empirical findings reveal that: (1) Increasing the number of samples from LLMs benefits IR systems; (2) A balance between the query and pseudo-documents, and an effective integration strategy, is critical for high performance; (3) Contextual information from LLMs is essential, even boost a 23M model to outperform a 7B baseline model; (4) Pseudo relevance feedback can further calibrate queries for improved performance; and (5) Query expansion is widely applicable and versatile, consistently enhancing models ranging from 23M to 7B parameters. Our code and all generated references are made available at \url{https://github.com/lezhang7/Retrieval_MuGI}

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

↑