TEVI: Text-Conditioned Editing of Visual Representations via Sparse Autoencoders for Improved Vision-Language Alignment

Sweta Mahajan, Sukrut Rao, Jiahao Xie, Alexander Koller, Bernt Schiele
6/5/2026
2 citations
cs.CVcs.AIcs.CL

Official code: neuroexplicit-saar/TEVI (2 stars, Python, last commit 2026-10-24).

Abstract

Vision-language models such as CLIP are highly useful for diverse tasks due to their shared image-text embedding space. Despite this, the image and text embeddings are often poorly aligned, affecting downstream performance.

Show full abstract

Recent work has hypothesized that this can be attributed to an information imbalance: images contain more information than their captions describe. In this work, we propose TEVI, a framework that uses captions as a signal for what to retain from image embeddings. Specifically, we use sparse autoencoders to disentangle image embeddings and train a masking module to selectively reconstruct the embedding based on a given caption. In a controlled setup with synthetic captions, we show that TEVI is effective at preserving caption-described attributes while discarding others. We find that this extends to CLIP models trained on natural images, where TEVI learns to mask meaningfully and allows retrieval based on conditioning. Finally, we use TEVI to achieve improved retrieval performance across coarse-grained and fine-grained benchmarks. Code available at https://github.com/neuroexplicit-saar/TEVI.

View on arXivView PDF

Code Implementations(1)

Code for the paper: TEVI: Text-Conditioned Editing of Visual Representations via Sparse Autoencoders for Improved Vision-Language Alignment. EMNLP Findings 2026.

20Python, ShellAug 29, 20261 months ago

Similar Papers

Cite this paper

@article{mahajan2026tevi,
  title  = {TEVI: Text-Conditioned Editing of Visual Representations via Sparse Autoencoders for Improved Vision-Language Alignment},
  author = {Sweta Mahajan and Sukrut Rao and Jiahao Xie and Alexander Koller and Bernt Schiele},
  year   = {2026},
  eprint = {2606.07451},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.07451v2}
}

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

Discussion