arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.05903cs.IRcs.AI
收藏

为非专业LLM用户建立微调、检索增强生成和软提示的性能基线

Establishing Performance Baselines in Fine-Tuning, Retrieval-Augmented Generation and Soft-Prompting for Non-Specialist LLM Users

Universitas Kristen Duta Wacana(杜塔瓦卡纳基督教大学);TU Dortmund(多特蒙德工业大学)

Jennifer Dodgson, Lin Nanzheng, Julian Peh, Akira Rafhael Janson Pattirane, Alfath Daryl Alhajir, Eko Ridho Dinarto, Joseph Lim, Syed Danyal Ahmad

AI总结:

本文为非专业LLM用户测试了微调、RAG和软提示的性能基线,发现RAG优于微调,且软提示能显著提升各方法效果。

摘要:

针对通过微调、检索增强生成(RAG)和软提示来提升大型语言模型(LLM)性能的研究,往往侧重于使用高度技术性或高成本的技术,这使得许多新发现的方法对非技术用户而言相对难以触及。在本文中,我们测试了未修改版本的GPT 3.5、微调版本,以及同一未修改模型在访问向量化RAG数据库时的表现,这些测试分别在单独使用和与基础的非算法软提示结合的情况下进行。在每种情况下,我们测试了模型回答一组100个问题的能力,这些问题主要涉及2021年9月之后发生的事件(即GPT 3.5训练数据集结束的时间点)。我们发现,如果使用商业平台并应用默认设置且不进行迭代以建立基线输出集,微调模型的表现优于GPT 3.5 Turbo,而RAG方法的表现优于两者。软提示的应用显著提升了每种方法的性能。

英文摘要:

Research into methods for improving the performance of large language models (LLMs) through fine-tuning, retrieval-augmented generation (RAG) and soft-prompting has tended to focus on the use of highly technical or high-cost techniques, making many of the newly discovered approaches comparatively inaccessible to non-technical users. In this paper we tested an unmodified version of GPT 3.5, a fine-tuned version, and the same unmodified model when given access to a vectorised RAG database, both in isolation and in combination with a basic, non-algorithmic soft prompt. In each case we tested the model's ability to answer a set of 100 questions relating primarily to events that occurred after September 2021 (the point at which GPT 3.5's training data set ends). We found that if commercial platforms are used and default settings are applied with no iteration in order to establish a baseline set of outputs, a fine-tuned model outperforms GPT 3.5 Turbo, while the RAG approach out-performed both. The application of a soft prompt significantly improved the performance of each approach.

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

↑