Enterprises usually discover that once they fine-tune fashions, one efficient strategy to creating a big language mannequin (LLM) match for function and grounded in information is to have the mannequin lose a few of its skills. After fine-tuning, some fashions “forget” learn how to carry out sure duties or different duties they already discovered.
Analysis from the College of Illinois Urbana-Champaign proposes a brand new methodology for retraining fashions that avoids “catastrophic forgetting,” during which the mannequin loses a few of its prior data. The paper focuses on two particular LLMs that generate responses from pictures: LLaVA and Qwen 2.5-VL.
The strategy encourages enterprises to retrain solely slim components of an LLM to keep away from retraining the complete mannequin and incurring a big enhance in compute prices. The staff claims that catastrophic forgetting isn’t true reminiscence loss, however reasonably a facet impact of bias drift.
“Training a new LMM can cost millions of dollars, weeks of time, and emit hundreds of tons of CO2, so finding ways to more efficiently and effectively update existing models is a pressing concern,” the staff wrote within the paper. “Guided by this result, we explore tuning recipes that preserve learning while limiting output shift.”
The researchers targeted on a multi-layer perceptron (MLP), the mannequin's inner decision-making element.
Catastrophic forgetting
The researchers wished first to confirm the existence and the reason for catastrophic forgetting in fashions.
To do that, they created a set of goal duties for the fashions to finish. The fashions had been then fine-tuned and evaluated to find out whether or not they led to substantial forgetting. However as the method went on, the researchers discovered that the fashions had been recovering a few of their skills.
“We also noticed a surprising result, that the model performance would drop significantly in held out benchmarks after training on the counting task, it would mostly recover on PathVQA, another specialized task that is not well represented in the benchmarks,” they mentioned. “Meanwhile, while performing the forgetting mitigation experiments, we also tried separately tuning only the self-attention projection (SA Proj) or MLP layers, motivated by the finding that tuning only the LLM was generally better than tuning the full model. This led to another very surprising result – that tuning only self-attention projection layers led to very good learning of the target tasks with no drop in performance in held out tasks, even after training all five target tasks in a sequence.”
The researchers mentioned they consider that “what looks like forgetting or interference after fine-tuning on a narrow target task is actually bias in the output distribution due to the task distribution shift.”
Slender retraining
That discovering turned out to be the important thing to the experiment. The researchers famous that tuning the MLP will increase the probability of “outputting numeric tokens and a highly correlated drop in held out task accuracy.” What it confirmed is {that a} mannequin forgetting a few of its data is simply short-term and never a long-term matter.
“To avoid biasing the output distribution, we tune the MLP up/gating projections while keeping the down projection frozen, and find that it achieves similar learning to full MLP tuning with little forgetting,” the researchers mentioned.
This enables for a extra easy and extra reproducible methodology for fine-tuning a mannequin.
By specializing in a slim section of the mannequin, reasonably than a wholesale retraining, enterprises can reduce compute prices. It additionally permits higher management of output drift.
Nonetheless, the analysis focuses solely on two fashions, particularly these coping with imaginative and prescient and language. The researchers famous that on account of restricted assets, they’re unable to attempt the experiment with different fashions.
Their findings, nonetheless, might be prolonged to different LLMs, particularly for various modalities.

