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

EnrichIndex:使用LLM离线丰富检索索引

EnrichIndex: Using LLMs to Enrich Retrieval Indices Offline

MIT(麻省理工学院);University of Pennsylvania(宾夕法尼亚大学)

Peter Baile Chen, Tomer Wolfson, Michael Cafarella, Dan Roth

AI总结:

针对LLM在线增强检索高延迟与高成本问题,提出EnrichIndex方法,离线利用LLM构建语义丰富的检索索引,在五大任务中显著提升检索性能并大幅降低在线开销。

摘要:

现有的信息检索系统在目标文档的语言与用户查询的语言紧密匹配的情况下表现出色。然而,现实世界的检索系统通常需要隐式地推理文档是否相关。例如,在检索技术文本或表格时,它们与用户查询的相关性可能是通过特定的术语或结构来暗示的,而不是在其内容中明确表达。大型语言模型(LLM)通过利用其推理能力,在识别此类隐含相关性方面具有巨大潜力。尽管如此,当前的LLM增强检索受到高延迟和计算成本的阻碍,因为LLM通常在在线计算每个新查询的查询-文档相关性。为了解决这个问题,我们引入了EnrichIndex,这是一种检索方法,它转而离线使用LLM来构建语义丰富的检索索引,方法是在摄取期间对检索语料库中的所有文档进行一次单次遍历。此外,语义丰富的索引可以补充现有的在线检索方法,从而提升LLM重排序器的性能。我们在五个检索任务(涉及段落和表格)上评估了EnrichIndex,发现它优于强大的基于在线LLM的检索系统,与强大的基线相比,在recall @ 10上平均提高了11.7个点,在NDCG @ 10上平均提高了10.6个点。在向LLM发起在线调用方面,它处理的token数量减少了293.3倍,这极大地降低了在线延迟和成本。总体而言,EnrichIndex是一种通过利用LLM强大的推理能力离线构建更好检索索引的有效方法。

英文摘要:

Existing information retrieval systems excel in cases where the language of target documents closely matches that of the user query. However, real-world retrieval systems are often required to implicitly reason whether a document is relevant. For example, when retrieving technical texts or tables, their relevance to the user query may be implied through a particular jargon or structure, rather than explicitly expressed in their content. Large language models (LLMs) hold great potential in identifying such implied relevance by leveraging their reasoning skills. Nevertheless, current LLM-augmented retrieval is hindered by high latency and computation cost, as the LLM typically computes the query-document relevance online, for every query anew. To tackle this issue we introduce EnrichIndex, a retrieval approach which instead uses the LLM offline to build semantically-enriched retrieval indices, by performing a single pass over all documents in the retrieval corpus once during ingestion time. Furthermore, the semantically-enriched indices can complement existing online retrieval approaches, boosting the performance of LLM re-rankers. We evaluated EnrichIndex on five retrieval tasks, involving passages and tables, and found that it outperforms strong online LLM-based retrieval systems, with an average improvement of 11.7 points in recall @ 10 and 10.6 points in NDCG @ 10 compared to strong baselines. In terms of online calls to the LLM, it processes 293.3 times fewer tokens which greatly reduces the online latency and cost. Overall, EnrichIndex is an effective way to build better retrieval indices offline by leveraging the strong reasoning skills of LLMs.

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

↑