arXiv:2504.03598cs.CLcs.AI2025-04被引 18

用大模型离线增强索引,让检索更准更快。

EnrichIndex: Using LLMs to Enrich Retrieval Indices Offline

  • 大模型离线分析文档,生成带语义的索引
  • 召回率提升11.7点,线上调用减少293倍
  • 适合需要高精度检索的科研与工程场景

现有信息检索系统在查询语言与文档语言匹配时表现良好,但在处理技术文本或表格等隐含相关性内容时效果不佳。大语言模型虽具推理能力,可识别隐含相关性,但在线实时计算导致延迟高、成本大。为此,我们提出EnrichIndex,利用大模型在文档入库时一次性离线构建语义增强索引,避免每次查询重复计算。该方法可与现有在线检索系统结合,提升大模型重排序器性能。在五个包含段落和表格的检索任务中,其平均召回率@10提升11.7点,NDCG@10提升10.6点,相比强基线显著领先。同时,线上大模型调用仅需原方案的1/293.3,大幅降低延迟与成本。总体而言,EnrichIndex通过离线利用大模型推理能力,有效提升了检索索引质量。

原文摘要 · Abstract (English)

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.

检索增强大模型应用离线索引高效检索

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。