用微调大模型提升复杂问题的答案提取准确率。
Improving Answer Extraction in Context-based Question Answering Systems Using LLMs

- 在SQuAD1.1数据集上微调Roberta-base模型
- ROUGE-L达86.84%,BERTScore达95.38%
- 适合需要高精度答案抽取的场景
基于大语言模型的问答系统在处理上下文相关问题时,仍面临答案提取不准确、语义理解不足等挑战。本文提出一种基于预训练语言模型的问答系统,输入为文本上下文与对应问题,输出为简洁准确的答案。研究聚焦于改善现有系统在复杂或模糊查询下的表现,通过在斯坦福问答数据集(SQuAD1.1)上对Roberta-base模型进行微调,提升其上下文理解与答案抽取能力。实验表明,微调后的模型在测试集上达到ROUGE-L 86.84%、BLEU 28.24%、BERTScore 95.38%的指标,显著优于未微调版本,验证了针对性微调在增强问答系统可靠性与精确性方面的有效性。
原文摘要 · Abstract (English)
Question answering (QA) systems have achieved notable progress with the advent of large language models (LLMs). However, they still face challenges in accurately extracting and generating precise answers from given contexts, particularly when dealing with complex or ambiguous queries. Existing approaches often struggle with contextual understanding, answer consistency, and generalization across diverse domains. In this work, we propose a question answering system based on large language models, where the input consists of a textual context and a corresponding question, and the output is a concise and accurate answer. The motivation behind this research lies in addressing the limitations of current QA systems, particularly their tendency to produce irrelevant or imprecise responses despite having access to the correct context. Our methodology involves fine-tuning a pre-trained LLM on a benchmark QA dataset to improve its contextual comprehension and answer extraction capabilities. Specifically, we utilize the Stanford Question Answering Dataset (SQuAD1.1), which provides high-quality context-question-answer triplets for supervised training and evaluation. Experimental results show that the fine-tuned Roberta-base model achieves the highest performance, attaining a ROUGE-L score of 86.84%, a BLEU score of 28.24%, and a BERTScore of 95.38%. These results indicate strong accuracy and answer relevance, demonstrating the effectiveness of the proposed approach for context-based question answering tasks. Furthermore, the findings confirm that targeted fine-tuning substantially improves the reliability and precision of QA systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。