arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.04063cs.LG
收藏

微调以改进少样本提示:短答案评分的实证比较

Fine-tuning for Better Few Shot Prompting: An Empirical Comparison for Short Answer Grading

University of Southern California - Institute for Creative Technologies(南加州大学创意技术研究所);University of California, Santa Cruz(加州大学圣克鲁兹分校)

Joel Walsh, Siddarth Mamidanna, Benjamin Nye, Mark Core, Daniel Auerbach

AI总结:

本研究比较了微调与少样本提示在自动短答案评分中的效果,发现微调对开放权重模型效用有限,但可提升闭源模型性能,且合成数据能显著改进Llama 3.1模型。

摘要:

近期,改进自动短答案评分的研究聚焦于大型语言模型(LLMs),通过提示工程和无样本或少样本提示来获得最佳结果。这与微调方法形成对比,后者历来需要大规模计算集群,大多数用户无法使用。新的闭源模型方法,如OpenAI的微调服务,承诺仅需100个示例即可获得结果,而使用开放权重的方法,如量化低秩自适应(QLORA),可以在消费级GPU上微调模型。我们评估了这两种微调方法,测量它们与少样本提示在具有结构化(JSON)输出的自动短答案评分(ASAG)中的交互作用。我们的结果表明,对于Llama开放权重模型,使用少量数据进行微调的效用有限,但对于OpenAI的闭源模型,微调方法可以优于少样本基线指令微调LLMs。虽然我们的评估集有限,但我们发现一些证据表明,观察到的微调益处可能受领域主题影响。最后,我们观察到,通过用大量廉价生成的合成训练数据初始化训练示例,LLama 3.1 8B-Instruct开放权重模型获得了显著改进。

英文摘要:

Research to improve Automated Short Answer Grading has recently focused on Large Language Models (LLMs) with prompt engineering and no- or few-shot prompting to achieve best results. This is in contrast to the fine-tuning approach, which has historically required large-scale compute clusters inaccessible to most users. New closed-model approaches such as OpenAI's fine-tuning service promise results with as few as 100 examples, while methods using open weights such as quantized low-rank adaptive (QLORA) can be used to fine-tune models on consumer GPUs. We evaluate both of these fine-tuning methods, measuring their interaction with few-shot prompting for automated short answer grading (ASAG) with structured (JSON) outputs. Our results show that finetuning with small amounts of data has limited utility for Llama open-weight models, but that fine-tuning methods can outperform few-shot baseline instruction-tuned LLMs for OpenAI's closed models. While our evaluation set is limited, we find some evidence that the observed benefits of finetuning may be impacted by the domain subject matter. Lastly, we observed dramatic improvement with the LLama 3.1 8B-Instruct open-weight model by seeding the initial training examples with a significant amount of cheaply generated synthetic training data.

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

↑