本文研究了领域特定模型微调及推理机制对由大型语言模型(LLM)和检索增强生成(RAG)驱动的问答(Q&A)系统性能的影响。使用 FinanceBench SEC 财务申报数据集,我们观察到,对于 RAG,将微调的嵌入模型与微调的 LLM 相结合,比通用模型取得了更好的准确率,其中微调的嵌入模型带来了相对更大的增益。此外,在 RAG 之上采用推理迭代带来了更大的性能提升,使问答系统能够更接近人类专家水平。我们讨论了这些发现的启示,提出了一个结构化的技术设计空间以捕捉问答 AI 的主要技术组件,并针对这些组件提供了做出高影响力技术选择的建议。我们计划跟进这项工作,为 AI 团队提供可操作指南,并进一步研究领域特定增强在 RAG 中的影响,以及智能体 AI 能力(如高级规划与推理)。
英文摘要:
This paper investigates the impact of domain-specific model fine-tuning and of reasoning mechanisms on the performance of question-answering (Q&A) systems powered by large language models (LLMs) and Retrieval-Augmented Generation (RAG). Using the FinanceBench SEC financial filings dataset, we observe that, for RAG, combining a fine-tuned embedding model with a fine-tuned LLM achieves better accuracy than generic models, with relatively greater gains attributable to fine-tuned embedding models. Additionally, employing reasoning iterations on top of RAG delivers an even bigger jump in performance, enabling the Q&A systems to get closer to human-expert quality. We discuss the implications of such findings, propose a structured technical design space capturing major technical components of Q&A AI, and provide recommendations for making high-impact technical choices for such components. We plan to follow up on this work with actionable guides for AI teams and further investigations into the impact of domain-specific augmentation in RAG and into agentic AI capabilities such as advanced planning and reasoning.
FairCoT: Enhancing Fairness in Text-to-Image Generation via Chain of Thought Reasoning with Multimodal Large Language Models
School of Electronic Engineering and Computer Science, Queen Mary University of London(伦敦女王学院电子工程与计算机科学学院);Department of Knowledge Technologies, Jožef Stefan Institute(Jožef Stefan研究所知识技术系)
Exploring Applications of State Space Models and Advanced Training Techniques in Sequential Recommendations: A Comparative Study on Efficiency and Performance
Enhancing Functional Data Analysis with Sequential Neural Networks: Advantages and Comparative Study
Intelligent Information Processing Laboratory(智能信息处理实验室);Hangzhou Dianzi University(杭州电子科技大学);Department of Mathematics and Statistics(数学与统计系);Wake Forest University(维克森林大学);Department of Computer Science(计算机科学系)
ILLC: Iterative Layer-by-Layer Compression for Enhancing Structural Faithfulness in SpArX
Institute for Clarity in Documentation(文献 clarity 研究所);Inria Paris-Rocquencourt(法国国家信息与自动化研究所巴黎-罗康校区);Rajiv Gandhi University(拉吉夫·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕尔默研究实验室);The Kumquat Consortium(金桔联盟)
SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement
University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);Moatless AI;Carnegie Mellon University(卡内基梅隆大学);National University of Singapore(新加坡国立大学);Mila(米拉研究所)
Enhancing Depressive Post Detection in Bangla: A Comparative Study of TF-IDF, BERT and FastText Embeddings
Rajshahi University of Engineering and Technology(拉杰沙希工程技术大学);Xiamen University Malaysia(厦门大学马来西亚分校);Wrexham University(雷克瑟姆大学);University of South Wales(南威尔士大学);Brac University(布拉克大学)
Exploring Machine Learning Models for Lung Cancer Level Classification: A comparative ML Approach
University of Tehran(德黑兰大学);University of Kashan(卡尚大学);Islamic Azad University Science and Research Branch(伊斯兰阿扎德大学科学与研究分院);Islamic Azad University(伊斯兰阿扎德大学)
Iterative Encoding-Decoding VAEs Anomaly Detection in NOAA's DART Time Series: A Machine Learning Approach for Enhancing Data Integrity for NASA's GRACE-FO Verification and Validation
University of California at Los Angeles(加利福尼亚大学洛杉矶分校);NASA Jet Propulsion Laboratory(美国国家航空航天局喷气推进实验室)