Label-Free Localization and Test-Time Suppression of CLIP's Typographic Circuits
Bohan Liu, Wenqian Ye, Guangzhi Xiong, Zhenghao He, Sanchit Sinha, Aidong Zhang
Key points
From the paper's conclusion- We introduce a head-decomposed Sparse Dictionary Learning (SDL) architecture that, by design, decomposes individual attention heads into interpretable, head-specific latents.
Abstract
CLIP-based Vision-Language Models have become cornerstones of modern multimodal systems. The cross-modal contrastive objective equips the CLIP vision encoder to both see objects and read text. These two abilities induce an entanglement between the encoding of lexical and semantic shapes, creating a distinctive vulnerability to typographic attacks, in which rendered text overrides an image's semantic content with its literal meaning. The black-box nature of these encoders has prevented a mechanistic interpretation of such entanglement. We introduce a head-decomposed Sparse Dictionary Learning (SDL) architecture that, by design, decomposes individual attention heads into interpretable, head-specific latents. Based on this inductive disentanglement, we re-purpose Clarity Score and propose normalized Text Attribution Score, which are both label-free, to identify attention heads that carry typographic information. As a causal validation of successful circuit separation, we perform a mechanistic intervention that reweighs attention away from the patch tokens in the identified lexical heads at test-time. Experiments show that the intervention effectively recovers object classification under typographic attack and, across five CLIP variants and four typographic benchmarks, achieves up to 46.9% improvement while incurring up to 1% accuracy loss in general image perception, outperforming prior supervised and training-free methods. Expanding on the mechanistic intervention, we propose a test-time adaptive attention head routing to further reduce the impact on performance at matched robustness, pushing beyond the Pareto frontier of current robustness-perception tradeoff.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Using OCR Heads to Verbalize Image SemanticsarXiv · 2026
- Hide and Seek: HIDE Concepts to SEEK explanations for black box modelsarXiv · 2026
- Corrupted but Correct: Why Vision-Language Models Lie to Themselves InternallyarXiv · 2026
- TIE: Training-free CLIP Embedding Guidance for Compositional Text-to-Image AlignmentarXiv · 2026
- Compositional Concept Erasure in Text-to-Image Diffusion Models via Hierarchically Grounded Semantic SurgeryarXiv · 2026
- Bigger Text Encoders Can Hurt CLIP Zero-Shot PerformancearXiv · 2026