通过混合文档路由检索解决金融RAG中的鲁棒性与精度权衡
Sustainable Hybrid Document-Routed Retrieval for Financial RAG: Resolving the Robustness-Precision Trade-off
AI总结:
本文提出混合文档路由检索方法,通过结合语义文件路由与分块检索,解决金融文档问答中鲁棒性与精度的权衡问题,提升检索性能。
摘要:
金融文档问答中的检索增强生成(RAG)系统通常采用分块范式:文档被分割为片段,嵌入向量空间,并通过相似性搜索检索。尽管在一般情况下有效,但这种方法在结构同质的语料库(如监管文件)中会遇到跨文档片段混淆的问题。语义文件路由(SFR)利用大语言模型的结构化输出将查询路由到整个文档,虽然减少了灾难性失败,但牺牲了目标片段检索的精度。通过在FinDER基准(1500个查询跨五组)上的受控评估,我们发现SFR在平均得分(6.45 vs. 6.02)和失败率(10.3% vs. 22.5%)方面更高,而分块检索(CBR)则产生更多完美答案(13.8% vs. 8.5%)。为解决这一权衡,我们提出混合文档路由检索(HDRR),一种两阶段架构,首先使用SFR作为文档过滤器,然后针对已识别的文档进行分块检索。HDRR消除了跨文档混淆,同时保持了目标片段的精度。实验结果表明,HDRR在所有指标上均表现最佳:平均得分为7.54(比CBR高25.2%,比SFR高16.9%),失败率为仅6.4%,正确率67.7%(比CBR高18.7个百分点),完美答案率20.1%(比CBR高6.3个百分点,比SFR高11.6个百分点)。HDRR通过在所有五个实验组中同时实现最低的失败率和最高的精度,解决了这一权衡问题。
英文摘要:
Retrieval-Augmented Generation (RAG) systems for financial document QA typically follow a chunk-based paradigm: documents are split into fragments, embedded, and retrieved by similarity. In structurally homogeneous corpora such as regulatory filings, this suffers from cross-document chunk confusion. Semantic File Routing (SFR), which uses LLM structured output to route queries to whole documents, reduces catastrophic failures but sacrifices targeted-chunk precision. We identify this robustness-precision trade-off on the FinDER benchmark (1,500 queries across five groups): SFR achieves higher average scores (6.45 vs. 6.02) and fewer failures (10.3% vs. 22.5%), while chunk-based retrieval (CBR) yields more perfect answers (13.8% vs. 8.5%). To resolve it, we propose Hybrid Document-Routed Retrieval (HDRR), a two-stage architecture that uses SFR as a document filter followed by chunk retrieval scoped to the identified document(s), eliminating cross-document confusion while preserving chunk precision. HDRR achieves the best performance on every metric: an average score of 7.54 (25.2% above CBR, 16.9% above SFR), a 6.4% failure rate, 67.7% correctness (+18.7 pp over CBR), and a 20.1% perfect-answer rate (+6.3 pp over CBR, +11.6 pp over SFR), simultaneously attaining the lowest failure rate and highest precision across all five groups. Beyond accuracy, HDRR is also the most efficient of the high-quality systems: it preserves CBR's compact per-query token budget (~5K-15K, an order of magnitude below SFR's ~50K-200K), incurs no indexing-time LLM spend (versus the one-time ~$100 cost of contextual indexing), and uses fewer per-query LLM calls than self-correcting agentic baselines, translating directly to lower API spend and inference-time energy at deployment scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。