Sparsity Outperforms Low-Rank Projections in Few-Shot Adaptation

Nairouz Mrabah, Nicolas Richet, Ismail Ben Ayed, Éric Granger
4/16/2025
cs.CVcs.AI

No official code found. Best implementation: nairouz/SO (8 stars, MIT, last commit 2025-08-15).

Abstract

Adapting Vision-Language Models (VLMs) to new domains with few labeled samples remains a significant challenge due to severe overfitting and computational constraints. State-of-the-art solutions, such as low-rank reparameterization, mitigate these issues but often struggle with generalization and require extensive hyperparameter tuning. In this paper, a novel Sparse Optimization (SO) framework is proposed. Unlike low-rank approaches that typically constrain updates to a fixed subspace, our SO method leverages high sparsity to dynamically adjust very few parameters. We introduce two key paradigms. First, we advocate for \textit{local sparsity and global density}, which updates a minimal subset of parameters per iteration while maintaining overall model expressiveness. As a second paradigm, we advocate for \textit{local randomness and global importance}, which sparsifies the gradient using random selection while pruning the first moment based on importance. This combination significantly mitigates overfitting and ensures stable adaptation in low-data regimes. Extensive experiments on 11 diverse datasets show that SO achieves state-of-the-art few-shot adaptation performance while reducing memory overhead.

View on arXivView PDF

Code Implementations(1)

nairouz/SOCommunity100%
MIT

Sparsity Outperforms Low-Rank Projections in Few-Shot Adaptation

80PythonApr 16, 20251 years agoMIT

Similar Papers

Cite this paper

@article{mrabah2025sparsity,
  title  = {Sparsity Outperforms Low-Rank Projections in Few-Shot Adaptation},
  author = {Nairouz Mrabah and Nicolas Richet and Ismail Ben Ayed and Éric Granger},
  year   = {2025},
  eprint = {2504.12436},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.12436v2}
}

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/2504.12436.svg)](https://codeofpaper.com/paper/2504.12436)

Discussion