FineTuneBench:商业微调API将知识注入LLM的效果如何?
FineTuneBench: How well do commercial fine-tuning APIs infuse knowledge into LLMs?
AI总结:
研究提出评估框架FineTuneBench,测试商业微调API对LLM的知识注入与更新能力,发现现有模型学习新知识平均准确率仅37%,更新知识仅19%,揭示了商业微调服务在可靠知识注入上的重大缺陷。
摘要:
人们对微调前沿大型语言模型(LLM)以注入新信息和更新现有知识抱有极大兴趣。尽管来自 OpenAI 和 Google 等提供商的商业 LLM 微调 API 承诺为各种应用提供灵活的适配能力,但微调的有效性仍不明确。在本研究中,我们引入了 FineTuneBench,这是一个评估框架和数据集,旨在理解商业微调 API 能在多大程度上成功学习新的和更新后的知识。我们分析了五个具有商业可用微调 API 的前沿 LLM,包括 GPT-4o 和 Gemini 1.5 Pro,评估它们在两种场景下的有效性:(1) 摄取新信息,例如近期新闻事件和新人物简介;以及 (2) 更新现有知识,例如更新的医学指南和代码框架。我们的结果揭示了所有模型在通过微调有效学习新信息方面存在重大缺陷,所有模型的平均泛化准确率为 37%。在更新现有知识(例如纳入医学指南更新)时,商业微调 API 表现出的能力更为有限(平均泛化准确率为 19%)。总体而言,微调 GPT-4o mini 在注入新知识和更新知识方面最为有效,其次是 GPT-3.5 Turbo 和 GPT-4o。Gemini 1.5 Flesh 和 Gemini 1.5 Pro 的微调 API 无法学习新知识或更新现有知识。这些发现突显了在常见场景中使用当前商业微调服务以实现可靠知识注入的重大缺陷。我们在 https://github.com/kevinwu23/StanfordFineTuneBench 开源了 FineTuneBench 数据集。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。