# Poster 28675

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28675

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, I am Hesu, and I'll be presenting our paper titled Sparse Autoencoders Reveal Selective Remapping of Visual Concepts During Adaptation. Images contain various visual concepts such as colors, patterns, shapes, or objects. But which of these concepts are encoded by visual foundation models like Clip and how are they used to solve downstream tasks such as image classification?
It is not straightforward to interpret model representation as it is because various information is entangled in a dense high dimensional vector space and they are not represented in human readable language. As a solution we introduce an interpretability tool for clip vision encoder. This reveals model recognized visual concepts in human interpretable way.
We adopt an architecture called Sparse Autoencoder or SAE. SAE transforms dense representations into sparse representations in a higher dimensional space, which are easier for interpretation. In this work, we apply SAE specifically to Clip Vision Encoder and we call it Patch SAE.
Clip vision encoder takes patchified image as an input and encode patch tokens into vector representations. Patch SAE takes vector representations as inputs and is trained to reconstruct the original vectors from these sparse representations using reconstruction and sparsity objectives.
The sparsity regularization is applied to ensure that only a few relevant concepts are activated at a time. After training our SAE model, we interpret the learned concepts by investigating the input images that maximally activate specific latent. Then we interpret the common concepts from the reference images.
These latents capture visual concepts at the patch level, for example the dog's mouth, tail, or the background flowers. We can aggregate these patch level activations using methods like mean pooling or thresholding to identify image level, class level, or broader group level concepts.
Patch SAE also provides spatial attribution for a certain latent. By highlighting patches with high activation, we can pinpoint which local image regions activate specific visual concepts. Now let's use Patch SAE to explore and understand clips behavior.
To investigate the relationship between interpretable concepts and model predictions, we replaced the original model representations with SAE reconstructions and conducted ablation experiments. We observe that ablating just a few latents substantially impacts classification performance. This indicates that these latents carry crucial class discriminative information.
Foundation models like CLIP are often adapted to target tasks and domains. We now aim to understand this adaptation process better by using Patch SAE for analysis using Maple as an example adaptation algorithm. Maple is a learnable prompt-based adaptation method that concatenates trainable tokens with input tokens, improving downstream task performance while keeping the efficient encoder fixed.
First, we validated that the learned concepts carry meaningful class discriminative information for both before and after adaptation, and we consistently observed this phenomenon across 11 downstream tasks.
In a fine -grained classification task on the Flowers dataset, we found that adaptation reuses the concepts and associate to the right classes. In another task like Euroset, we observed that new concepts were introduced by the adaptation mechanism.
In summary, we introduced Patch SAE, an interpretability method designed to decompose complex models into comprehensible components. Patch SAE serves as a powerful tool for debugging model behaviors through targeted interventions. If you are interested in hearing more, please visit our website for code, model weights, demo, and the paper.
I'm happy to listen to your questions if you have any. Thank you for listening.
