Full Fine-Tuning Is Not the Problem: Why Adam Fails and SGD Succeeds in Few-Shot CLIP Adaptation
Nairouz Mrabah, Ismail Ayed, Eric Granger
NeurIPS page · Open on the map
Category: Optimization & Federated Learning › Hyperparameter Scaling and Optimizer Theory · Type: empirical study · Keywords: few-shot CLIP adaptation, optimizer preconditioning, Adam failure, SGD success, parameter-efficient fine-tuning, support-set estimation
Areas: Continual Learning & Adaptation › Catastrophic Forgetting and Unlearning › Continual Learning
Summary
The paper shows that dense full fine-tuning with SGD outperforms PEFT methods in few-shot CLIP adaptation, while Adam/AdamW fails due to unreliable support-set preconditioning.
Explained to a 5-year-old
When we teach a big picture-understanding model (CLIP) a new thing with only a few examples, we can either change all its parts or only a few. Changing all parts with a simple learning rule called SGD works better than using a smarter rule called Adam, which sometimes makes the model forget what it already knows. The problem happens because the few examples give a wrong idea of how the model should change. By fixing the learning rule, the model can learn new things without forgetting old ones. This helps researchers build better AI that can learn quickly from little information.
Explained to a 5-year-old, longer
A computer program called CLIP can look at pictures and understand words. Sometimes we want it to learn new things, like new animals, but we only have a few pictures. We can change the program a lot, or we can change only a small part. Changing a lot with a simple rule called SGD often works better than using a fancy rule called Adam. The fancy rule sometimes makes the program forget what it already knows. This happens because the few pictures give a wrong idea of how the program should change. The wrong idea is amplified by the way Adam adjusts its steps, causing big jumps that destabilize learning. By matching Adam’s step size to SGD’s, the problem is largely fixed. Even other fancy optimizers like Shampoo and SOAP fail for the same reason. The paper explains that the core issue is not the amount of change but how the optimizer estimates the data’s geometry. Simple SGD avoids these unreliable estimates and stays close to the original model. This insight helps us design better learning strategies for AI that need to learn from very little data.
For a technical reader
The study evaluates full fine-tuning with SGD against PEFT methods and Adam/AdamW across 11 datasets, 3 CLIP backbones, and 5 shot levels. It finds that Adam’s adaptive updates collapse because the support-set second moment underestimates the full-data statistic, leading to oversized steps. Aligning Adam’s first-step update budget with SGD’s mitigates most of the failure, while numerator-side alignment does not. The analysis extends to Shampoo and SOAP, showing the problem is broader than Adam’s diagonal approximation. A theoretical component formalizes how few-shot estimation error is amplified into unsafe updates, highlighting that optimizer-induced preconditioning, not dense fine-tuning, is the main source of failure.
Problem
Adapting CLIP models to new classes with very few examples is challenging; prior work assumes full fine-tuning overfits and prefers parameter-efficient methods, but the true cause of failure may lie in the optimizer's preconditioning.
Method
The authors conduct an extensive empirical study across 11 datasets, 3 CLIP backbones, and 5 shot levels, comparing dense full fine-tuning with SGD against PEFT methods and Adam/AdamW, and provide a theoretical analysis of how support-set preconditioning errors affect optimizer updates.
Results
SGD-based full fine-tuning achieves higher accuracy than PEFT methods across the evaluated datasets, while Adam/AdamW suffers a collapse in performance; aligning Adam’s update budget with SGD mitigates this failure.
Contributions
The paper identifies optimizer-induced preconditioning, not dense full fine-tuning, as the primary cause of failure in few-shot CLIP adaptation, provides empirical evidence across many datasets and backbones, and offers a theoretical analysis of the underlying estimation error.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction