Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP models

Fabian Morelli, Arnas Uselis, Ankit Sonthalia, Seong Joon Oh
5/15/2026
cs.CV

Official code: Fabian-Mor/sae-ft (5 stars, last commit 2026-05-12).

Abstract

Large-scale pre-trained vision-language models like CLIP demonstrate remarkable zero-shot performance across diverse tasks. However, fine-tuning these models to improve downstream performance often degrades robustness against distribution shifts. Recent approaches have attempted to mitigate this trade-off, but often rely on computationally expensive text-guidance. We propose a novel method for robust fine-tuning, SAE-FT, which operates only on the model's visual representations. SAE-FT regularizes changes to these representations by penalizing the addition and removal of semantically meaningful features identified by a Sparse Autoencoder trained on the pre-trained model. This constraint prevents catastrophic forgetting and makes the fine-tuning process interpretable, enabling direct analysis of semantic changes. SAE-FT is both mechanistically transparent and computationally efficient, matching or exceeding state-of-the-art performance on ImageNet and its associated distribution shift benchmarks. Code is publicly available at: https://github.com/Fabian-Mor/sae-ft.

View on arXivView PDF

Code Implementations(1)

Fabian-Mor/sae-ftOfficial100%
50PythonMay 12, 20265 months agoNOASSERTION

Similar Papers

Cite this paper

@article{morelli2026sparse,
  title  = {Sparse Autoencoders enable Robust and Interpretable Fine-tuning of CLIP models},
  author = {Fabian Morelli and Arnas Uselis and Ankit Sonthalia and Seong Joon Oh},
  year   = {2026},
  eprint = {2605.15961},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.15961v1}
}

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

Discussion