arXiv:2411.05059cs.CLcs.AI2024-11被引 13

评测主流大模型微调接口的知识注入能力,发现效果远低于预期。

FineTuneBench: How well do commercial fine-tuning APIs infuse knowledge into LLMs?

  • 构建FineTuneBench框架,测试五款主流模型在新旧知识注入上的表现。
  • 平均泛化准确率仅37%,更新医学指南时更低至19%。
  • GPT-4o mini表现最佳,谷歌Gemini系列基本无效,适合关注实际应用的开发者。

当前对前沿大语言模型进行微调以注入新知识或更新现有知识的兴趣高涨。尽管OpenAI、Google等厂商提供的商用微调API宣称可灵活适配多种场景,但其实际效果仍不明确。本文提出FineTuneBench——一个评估框架与数据集,用于衡量商用微调API在知识注入方面的有效性。我们分析了五款前沿模型(包括GPT-4o和Gemini 1.5 Pro)在两种设置下的表现:(1)吸收新信息,如近期新闻事件和人物档案;(2)更新已有知识,如医疗指南和代码框架的变更。结果表明,所有模型在通过微调学习新知识方面存在显著不足,整体平均泛化准确率为37%。在更新已有知识方面,效果更差,平均泛化准确率仅为19%。总体而言,GPT-4o mini在知识注入与更新中表现最优,其次为GPT-3.5 Turbo和GPT-4o。而Gemini 1.5 Flesh和Gemini 1.5 Pro的微调接口几乎无法学习新知识或更新已有知识。这些发现揭示了当前商用微调服务在常见知识注入场景中存在重大缺陷。相关数据集已开源,地址为https://github.com/kevinwu23/StanfordFineTuneBench。

原文摘要 · Abstract (English)

There is great interest in fine-tuning frontier large language models (LLMs) to inject new information and update existing knowledge. While commercial LLM fine-tuning APIs from providers such as OpenAI and Google promise flexible adaptation for various applications, the efficacy of fine-tuning remains unclear. In this study, we introduce FineTuneBench, an evaluation framework and dataset for understanding how well commercial fine-tuning APIs can successfully learn new and updated knowledge. We analyze five frontier LLMs with commercially available fine-tuning APIs, including GPT-4o and Gemini 1.5 Pro, on their effectiveness in two settings: (1) ingesting novel information, such as recent news events and new people profiles, and (2) updating existing knowledge, such as updated medical guidelines and code frameworks. Our results reveal substantial shortcomings in all the models' abilities to effectively learn new information through fine-tuning, with an average generalization accuracy of 37% across all models. When updating existing knowledge, such as incorporating medical guideline updates, commercial fine-tuning APIs show even more limited capability (average generalization accuracy of 19%). Overall, fine-tuning GPT-4o mini is the most effective for infusing new knowledge and updating knowledge, followed by GPT-3.5 Turbo and GPT-4o. The fine-tuning APIs for Gemini 1.5 Flesh and Gemini 1.5 Pro are unable to learn new knowledge or update existing knowledge. These findings underscore a major shortcoming in using current commercial fine-tuning services to achieve reliable knowledge infusion in common scenarios. We open source the FineTuneBench dataset at https://github.com/kevinwu23/StanfordFineTuneBench.

大模型微调知识注入评测基准GPT-4o

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。