arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24402cs.IRcs.AIcs.CE
收藏

面向金融问答的元数据驱动检索增强生成

Metadata-Driven Retrieval-Augmented Generation for Financial Question Answering

Aristotle University of Thessaloniki(塞萨洛尼基亚里士多德大学);University of Macedonia(马其顿大学);University of Plymouth(普利茅斯大学)

Michail Dadopoulos, Anestis Ladas, Stratos Moschidis, Ioannis Negkakis

AI总结:

针对RAG在长结构化财务文件问答中效果不佳的问题,研究提出结合LLM生成元数据的多阶段RAG架构,通过上下文块嵌入等优化在FinanceBench上取得优异性能,还提出高性价比的定制元数据重排序器,为金融领域元数据感知RAG系统提供构建蓝图。

摘要:

检索增强生成(Retrieval-Augmented Generation, RAG)在处理篇幅长、结构化的财务申报文件时存在困难,这类文件中相关证据稀疏且存在交叉引用。本文对先进的元数据驱动RAG技术开展了系统性研究,提出并评估了一种利用大语言模型(LLM)生成的元数据的新型多阶段RAG架构。我们引入了一套精细的索引流水线来生成上下文丰富的文档块,并在FinanceBench数据集上对一系列优化方案进行了基准测试,包括检索前过滤、检索后重排序以及增强嵌入。实验结果表明,尽管性能强大的重排序器对准确率至关重要,但最显著的性能提升来自将文本块元数据与文本直接嵌入的“上下文块”。我们提出的最优架构将LLM驱动的检索前优化与这些上下文嵌入相结合,实现了卓越的性能。此外,我们还提出了一种定制化元数据重排序器,它是商业解决方案的一种极具吸引力且高性价比的替代方案,凸显了峰值性能与运行效率之间的实用权衡。本研究为构建面向财务文档分析的稳健、具备元数据感知能力的RAG系统提供了蓝图。

英文摘要:

Retrieval-Augmented Generation (RAG) struggles on long, structured financial filings where relevant evidence is sparse and cross-referenced. This paper presents a systematic investigation of advanced metadata-driven Retrieval-Augmented Generation (RAG) techniques, proposing and evaluating a novel, multi-stage RAG architecture that leverages LLM-generated metadata. We introduce a sophisticated indexing pipeline to create contextually rich document chunks and benchmark a spectrum of enhancements, including pre-retrieval filtering, post-retrieval reranking, and enriched embeddings, benchmarked on the FinanceBench dataset. Our results reveal that while a powerful reranker is essential for precision, the most significant performance gains come from embedding chunk metadata directly with text ("contextual chunks"). Our proposed optimal architecture combines LLM-driven pre-retrieval optimizations with these contextual embeddings to achieve superior performance. Additionally, we present a custom metadata reranker that offers a compelling, cost-effective alternative to commercial solutions, highlighting a practical trade-off between peak performance and operational efficiency. This study provides a blueprint for building robust, metadata-aware RAG systems for financial document analysis.

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

↑