arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.12893cs.CL
收藏

问题:大型语言模型在问答任务上的表现如何?答案:

Question: How do Large Language Models perform on the Question Answering tasks? Answer:

Ostbayerische Technische Hochschule Amberg-Weiden(东巴伐利亚安贝格-魏登应用技术大学)

Kevin Fischer, Darren Fürst, Sebastian Steindl, Jakob Lindner, Ulrich Schäfer

AI总结:

本研究比较了小型微调模型与大型语言模型在SQuAD2上的问答性能,提出单次推理提示方法,并评估其跨数据集泛化能力,发现微调模型在微调任务上更优,但最新LLMs在分布外测试中表现更好。

摘要:

大型语言模型(LLMs)在各种NLP任务上已显示出有前景的结果,而无需显式针对这些任务进行训练,只需使用少样本或零样本提示技术。一个常见的NLP任务是问答(QA)。在本研究中,我们提出了一个全面的性能比较,比较较小的微调模型与开箱即用的指令跟随LLMs在斯坦福问答数据集2.0(SQuAD2)上的表现,特别是在使用单次推理提示技术时。由于该数据集包含无法回答的问题,先前的工作使用了双重推理方法。我们提出了一种提示风格,旨在无需双重推理即可引出相同的能力,从而节省计算时间和资源。此外,我们通过比较它们在类似但不同的QA数据集上的表现来调查它们的泛化能力,而不对任一模型进行微调,模拟真实世界场景,其中上下文和提出的问题可能与原始训练分布不同,例如将维基百科换成新闻文章。我们的结果表明,较小的微调模型在微调任务上优于当前最先进的(SOTA)LLMs,但最近的SOTA模型能够在分布外测试中缩小这一差距,甚至在5个测试的QA数据集中的3个上超过微调模型。

英文摘要:

Large Language Models (LLMs) have been showing promising results for various NLP-tasks without the explicit need to be trained for these tasks by using few-shot or zero-shot prompting techniques. A common NLP-task is question-answering (QA). In this study, we propose a comprehensive performance comparison between smaller fine-tuned models and out-of-the-box instruction-following LLMs on the Stanford Question Answering Dataset 2.0 (SQuAD2), specifically when using a single-inference prompting technique. Since the dataset contains unanswerable questions, previous work used a double inference method. We propose a prompting style which aims to elicit the same ability without the need for double inference, saving compute time and resources. Furthermore, we investigate their generalization capabilities by comparing their performance on similar but different QA datasets, without fine-tuning neither model, emulating real-world uses where the context and questions asked may differ from the original training distribution, for example swapping Wikipedia for news articles. Our results show that smaller, fine-tuned models outperform current State-Of-The-Art (SOTA) LLMs on the fine-tuned task, but recent SOTA models are able to close this gap on the out-of-distribution test and even outperform the fine-tuned models on 3 of the 5 tested QA datasets.

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

↑