对比向量与非向量检索,提升金融问答系统准确率与效率
Rethinking Retrieval: From Traditional Retrieval Augmented Generation to Agentic and Non-Vector Reasoning Systems in the Financial Domain for Large Language Models
- 用混合搜索+元数据过滤的向量架构,优于逐层遍历文档结构的非向量方法
- 交叉编码器重排序使检索精度提升59%,小到大块检索提升65%胜率
- 适合关注金融领域LLM应用落地的开发者和研究者参考
近期检索增强生成(RAG)进展使大语言模型能利用美国证券交易委员会文件、财报和监管文件等外部知识库回答金融问题。然而,现有研究缺乏对金融文档中向量与非向量RAG架构的系统性比较,且先进RAG技术在检索准确率、答案质量、延迟和成本上的实证影响尚不明确。本文首次系统评估了基于向量的智能体RAG(采用混合搜索与元数据过滤)与基于层级节点的非向量系统(无嵌入,遍历文档结构)的性能差异。针对向量架构,我们测试两种优化:① 交叉编码器重排序以提高检索精度;② 小到大块检索以保障上下文完整性。在1,200份10-K、10-Q、8-K文件构成的150个问题基准上,我们测量了检索指标(MRR、Recall@5)、LLM作为裁判的成对答案质量评分、延迟与预处理成本。结果表明,向量型智能体RAG在答案质量上获得68%胜率,延迟为5.2秒(非向量为5.98秒)。交叉编码器重排序在最优参数(10,5)下实现MRR@5绝对提升59%。小到大块检索相比基线分块方式取得65%胜率,仅增加0.2秒延迟。研究发现,应用于金融问答系统的先进RAG技术可显著提升检索准确率与答案质量,但需权衡成本与性能。
原文摘要 · Abstract (English)
Recent advancements in Retrieval-Augmented Generation (RAG) have enabled Large Language Models to answer financial questions using external knowledge bases of U.S. SEC filings, earnings reports, and regulatory documents. However, existing work lacks systematic comparison of vector-based and non-vector RAG architectures for financial documents, and the empirical impact of advanced RAG techniques on retrieval accuracy, answer quality, latency, and cost remain unclear. We present the first systematic evaluation comparing vector-based agentic RAG using hybrid search and metadata filtering against hierarchical node-based systems that traverse document structure without embeddings. We evaluate two enhancement techniques applied to the vector-based architecture, i) cross-encoder reranking for retrieval precision, and ii) small-to-big chunk retrieval for context completeness. Across 1,200 SEC 10-K, 10-Q, and 8-K filings on a 150-question benchmark, we measure retrieval metrics (MRR, Recall@5), answer quality through LLM-as-a-judge pairwise comparisons, latency, and preprocessing costs. Vector-based agentic RAG achieves a 68% win rate over hierarchical node-based systems with comparable latency (5.2 compared to 5.98 seconds). Cross-encoder reranking achieves a 59% absolute improvement at optimal parameters (10, 5) for MRR@5. Small-to-big retrieval achieves a 65% win rate over baseline chunking with only 0.2 seconds additional latency. Our findings reveal that applying advanced RAG techniques to financial Q&A systems improves retrieval accuracy, answer quality, and has cost-performance tradeoffs to be considered in production.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。