Abstract
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 Flash 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.
Introduction
Large Language Models (LLMs) are inherently limited by their training data cutoffs. To maintain relevance in dynamic fields like medicine, law, or software engineering, developers frequently employ fine-tuning. However, for closed-source frontier models like GPT-4o or Gemini 1.5 Pro, users must rely on "Fine-tuning-as-a-Service" (FTaaS) APIs provided by companies like OpenAI and Google.
The critical distinction in fine-tuning is between style adaptation—adjusting the model's tone or format—and knowledge infusion—teaching the model entirely new or updated facts. Until now, a systematic evaluation of how well these commercial APIs actually "absorb" new information versus simply memorizing input-output pairs has been lacking. This paper introduces FineTuneBench to address this gap, revealing that commercial APIs are surprisingly poor at genuine knowledge infusion.
Methods and Datasets
The FineTuneBench framework evaluates two primary scenarios across five frontier models:
- Ingesting Novel Information: Learning entirely new facts, such as recent news events (post-September 2024) or procedurally generated fictional biographies.
- Updating Existing Knowledge: Overwriting obsolete information with new versions, such as updated clinical guidelines from NEJM or changes in the Scikit-Learn code library.
The evaluation goes beyond simple keyword matching by measuring:
- Memorization: The ability to repeat the exact training pair.
- Generalization: The ability to answer rephrased questions or use the fact for secondary tasks (e.g., comparison questions).
- Temporal Context: Testing if the model incorrectly applies a 2024 fact to a question about a future date (Date Change).
The dataset comprises 625 training and 1,075 test questions. Responses were evaluated using an LLM-as-a-judge approach (GPT-4o), which proved more robust than exact string matching for capturing correct but varied answers.
Results and Key Insights
The results highlight a significant "generalization gap." While models can often memorize training data with near-perfect accuracy, they fail to internalize the underlying facts for broader use.
Memorization vs. Learning
OpenAI models frequently achieved near 100% accuracy on training pairs but suffered massive performance drops when questions were rephrased. For example, in the fictional people dataset, GPT-4o's accuracy dropped from 91% (memorization) to 19% (rephrasing). Furthermore, in the "Date Change" test, models often incorrectly applied 2024 facts to future dates, indicating a failure to learn the temporal context of the information.
The Difficulty of Updating Knowledge
Updating existing knowledge proved significantly harder than learning new information. The average generalization accuracy for new knowledge was 37%, but it plummeted to 19% for updating existing knowledge, such as medical guidelines.
Model Performance Comparison
- GPT-4o-mini emerged as the most effective model for knowledge infusion, surprisingly outperforming the larger GPT-4o. This suggests smaller models may be more "malleable" during the fine-tuning process.
- Gemini 1.5 Pro and Flash failed almost entirely in these tasks, unable to even memorize the training data in most scenarios (achieving <5% accuracy).
Discussion and Conclusion
This study demonstrates that current commercial fine-tuning APIs are largely ineffective for reliable knowledge infusion. The models tend to overfit to training strings rather than generalizing facts. While smaller models like GPT-4o-mini show more promise, the overall performance remains low, especially for updating existing knowledge.
For high-stakes applications like clinical medicine or legal advice, these findings suggest that Retrieval-Augmented Generation (RAG) remains a more reliable strategy than fine-tuning for incorporating new information. Future work should investigate if more flexible API controls or different data formatting might improve these results, though current commercial constraints remain a significant hurdle.
Summary updated