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
11/5/2026
cs.LGcs.CV

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mrabah2026fewshot,
  title  = {On the Few-Shot Adaptation of Vision-Language Models: A Few Gradient Signs Are All You Need},
  author = {Nairouz Mrabah and Ismail Ben Ayed and Mahdi S. Hosseini and Eric Granger},
  year   = {2026},
  eprint = {2611.08800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.08800v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.08800.svg)](https://codeofpaper.com/paper/2611.08800)

Discussion