Skip to main content
QUICK REVIEW

[论文解读] Enhancing Q&A with Domain-Specific Fine-Tuning and Iterative Reasoning: A Comparative Study

Zooey Nguyen, Anthony Annunziata|arXiv (Cornell University)|Apr 17, 2024
Intelligent Tutoring Systems and Adaptive LearningComputer Science被引用 6
一句话总结

本文评估在 FinanceBench 的基于 RAG 的问答中对嵌入和生成模型的领域特定微调,以及迭代推理(OODA)的应用,显示出显著的准确性提升,尤其是使用 OODA 时。

ABSTRACT

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.

研究动机与目标

  • 在高风险领域(金融)使用LLMs与RAG进行QA系统的领域适配动机。
  • 量化对嵌入检索器和LLM生成器微调,以及在QA准确性中迭代推理(OODA)带来的提升。
  • 提出一个结构化的设计空间框架,覆盖关键QA组件以指导工程决策。
  • 提供关于FinanceBench金融数据集的实证结果以支撑建议。

提出的方法

  • 定义基线RAG工作流(检索器、增强器、生成器)。
  • 研究嵌入检索器和LLM生成器的微调,以及两者的完全微调。
  • 在RAG中加入一个迭代的OODA推理循环以实现多步问答。
  • 在FinanceBench上评估配置,使用自动检索指标和人工标注的正确性。
  • 呈现主要QA组件及其配置的设计空间图。
Figure 1: A typical OODA reasoning loop.
Figure 1: A typical OODA reasoning loop.

实验结果

研究问题

  • RQ1领域特定的嵌入检索器和LLM生成器的微调如何影响基于RAG的系统中的QA准确性?
  • RQ2在领域特定任务中引入迭代推理(OODA)对QA准确性有何影响?
  • RQ3QA设计空间中的哪些组件在金融领域的QA任务中带来最大的性能提升?

主要发现

  • 微调检索组件相较于通用RAG带来显著的准确性提升,在FinanceBench上可提升多达20个百分点。
  • 微调生成器也带来提升,但幅度低于对检索器的微调。
  • 完全微调(检索器+生成器)相对于通用RAG有提升,尽管提升因指标而异。
  • 引入带有RAG的OODA迭代推理显著提升了性能,在FinanceBench上比通用RAG高出多达50个百分点的准确性。
  • 在FinanceBench上,启用OODA的配置在某些指标上比完全微调的RAG高出20–25个百分点。
  • 研究主张优先进行领域特定的嵌入微调,并使用迭代推理来提升领域QA系统。
Figure 2: A specific implementation of OODA applied to question-answering with RAG.
Figure 2: A specific implementation of OODA applied to question-answering with RAG.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。