On the Few-Shot Adaptation of Vision-Language Models: A Few Gradient Signs Are All You Need
Nairouz Mrabah, Ismail Ben Ayed, Mahdi S. Hosseini, Eric Granger
Abstract
The limited supervision available for the few-shot adaptation of vision-language models makes gradient estimation particularly noisy. We find that the gradient magnitudes are severely miscalibrated, while the signs of a small top-magnitude subset remain informative. This motivates SignSparseSGD and DynSignSparseSGD, two state-free optimizers that use gradient magnitudes only to select where to update and fixed-magnitude signs to decide how to update. The static variant fixes the support after the first minibatch. The dynamic variant refreshes it at every step. Across 11 datasets, three CLIP backbones, and five shot levels, the proposed methods are competitive with or outperform parameter-efficient and optimization-based baselines on average, while exhibiting markedly lower sensitivity to long training schedules. They introduce no task-specific modules, maintain no first- or second-moment optimizer states, and use one shared configuration across datasets, backbones, and shot levels. Our code is included in the supplementary materials and will be released upon publication.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CV
- Comments
- 98 pages, including supplementary material
Related papers
A Bias in Disguise: Tiny Gradient Edits Stop a Small Language Model's Thinking Loops and Complement a Frontier Model's Weight Edit
Shared title terminologycs.LGHussamuddin Syed
From LoRA to Language: Recovering Skill Documents from Adapters
Shared title terminologycs.LGSaranya Dintakurthy Swadha, Pavan C Shekar, Arpit Jain et al.
Evaluating Language Model Features for Zero-Shot Time-Series Anomaly Detection Under Isolation Assumption
Shared title terminologycs.LGRomain Hermary, Nesryne Mejri, Djamila Aouada
Scaling Looped MoE Language Models under Matched Budgets: Information Flow and Parameter Allocation
Shared title terminologycs.LGShipeng Bai, Jiayu Qin, Hong Liu et al.
Text-Conditioned Low-Rank Adaptation of Time-Series Foundation Models for Multimodal Forecasting
Shared title terminologycs.LGKunqi Li, Bin Liang, Zhidong Li
Improving Tail-Augmented Speculative Drafting with Hidden State Mixing and Gradient Detach
Shared title terminologycs.LGYaniv Galron, Rabeeh Karimi Mahabadi, Maor Ashkenazi et al.