Lorenz Hufe

Lorenz Hufe

BLISS e.V. · Fraunhofer Institute for Telecommunications, Heinrich Hertz Institute · University of Oxford
7 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Lorenz Hufe focuses on the mechanistic interpretability of multimodal foundation models, with a primary emphasis on identifying and mitigating Typographic Vulnerabilities in Vision Language Models. His work investigates the internal representations of Vision-Language Models (VLMs) like CLIP, specifically how these models process textual information embedded within visual scenes. By employing techniques such as Sparse Autoencoders (SAEs) and circuit ablation, he develops methods to improve the robustness of multimodal systems against adversarial text-based inputs.

Research Trajectory

The trajectory of Hufe’s research is defined by a progression from empirical benchmarking of model vulnerabilities to the development of internal, mechanistic defenses. This evolution began with a systematic effort to quantify the Automated Discovery of Spurious Correlations in Neural Networks. In this initial phase, the focus was on the "Clever Hans" effect in multimodal models, where a model might ignore the primary visual object in favor of a text label overlaid on the image—a phenomenon known as a typographic attack. By establishing large-scale datasets for these vulnerabilities, Hufe provided the empirical foundation necessary to study the internal causes of such failures.

Following the identification of these vulnerabilities, the research shifted toward Top-k Sparsity for Mechanistic Interpretability. This methodological transition involved using Sparse Autoencoders to decompose the dense activations of Vision Transformers (ViTs) into interpretable, monosemantic features. This approach allowed for a more granular understanding of how specific concepts—such as background colors, textures, or embedded text—are represented within the model's latent space.

The most recent phase of this trajectory involves The Optimal Layer Depth for Activation Steering. Rather than relying on traditional fine-tuning, which can be computationally expensive and may not address the underlying cause of a vulnerability, Hufe’s work explores the surgical modification of model internals. By locating the specific "typographic circuits" responsible for extracting text from images, he has developed methods to ablate these circuits, thereby neutralizing the attack without degrading the model's general performance. This move from observation to intervention represents a significant maturation of the research program, focusing on Measuring Faithfulness in Neural Network Explanations through Ablation to ensure that the identified internal mechanisms are indeed the causal drivers of model behavior.

Current Directions

Hufe’s current work is centered on three primary pillars: the development of open-source infrastructure for interpretability, the systematic mapping of vision-language circuits, and the engineering of robust multimodal defenses.

A significant portion of his current efforts is dedicated to Mapping Concept Evolution Across Neural Network Layers. This involves tracing how raw visual input is transformed into abstract semantic concepts as it passes through the layers of a Vision Transformer. By identifying where textual information begins to dominate visual features, Hufe aims to pinpoint the exact layers where multimodal integration becomes susceptible to interference.

Furthermore, he is actively involved in the creation of toolkits that bridge the gap between language-based and vision-based mechanistic interpretability. These tools are designed to facilitate the training and analysis of SAEs across diverse architectures, including video transformers. This infrastructure work supports a broader goal of making mechanistic interpretability a standard part of the model development and auditing pipeline, particularly for foundation models that serve as the backbone for numerous downstream applications.

Representative Work

SCAM: A Real-World Typographic Robustness Evaluation for Multimodal Foundation Models In this work, where Hufe served as the senior author, the researchers introduced the Subtle Character Attacks on Multimodal Models (SCAM) dataset. This dataset is currently the largest and most diverse collection of real-world typographic attack images, featuring over 1,100 images across hundreds of object categories. The study demonstrated that even state-of-the-art models like LLaVA are highly vulnerable to simple text overlays, such as a post-it note with a misleading label. The benchmarking provided by SCAM revealed that model architecture and training data significantly influence a model's susceptibility to these attacks, establishing a critical baseline for future robustness research.

Dyslexify: A Mechanistic Defense Against Typographic Attacks in CLIP As the lead author of this study, Hufe developed a mechanistic defense strategy that does not require model fine-tuning. The research identified specialized attention heads in the latter half of CLIP’s vision encoder that are responsible for extracting typographic information and transmitting it to the "cls" token. By selectively ablating this typographic circuit, the "Dyslexify" method improves model performance under attack by up to 22%. This work is notable for its causal approach, demonstrating that the identified internal components are directly responsible for the model's vulnerability.

From What to How: Attributing CLIP's Latent Components Reveals Unexpected Semantic Reliance In this second-author paper, Hufe contributed to a framework that uses Sparse Autoencoders and a novel attribution method to move beyond identifying what concepts a model recognizes to understanding how it uses them for prediction. The analysis uncovered that CLIP often relies on "shortcuts," such as background colors or ambiguous word meanings, rather than the core visual features of an object. This work highlights the importance of attribution in interpretability, showing that a model may possess a correct concept but use it in a flawed or unfaithful manner.

Prisma: An Open Source Toolkit for Mechanistic Interpretability in Vision and Video Hufe participated in the development of Prisma, an open-source toolkit designed to standardize mechanistic interpretability for vision and video models. The toolkit provides a unified interface for over 75 transformers and includes a large repository of pre-trained SAE weights. His contribution to this project reflects a commitment to building the necessary infrastructure for the broader research community to conduct circuit analysis and visualization at scale.

Steering CLIP's vision transformer with sparse autoencoders In this collaborative work, Hufe participated in a systematic analysis of the steerability of CLIP’s vision transformer. The study trained SAEs across various layers and token types, discovering that approximately 10-15% of neurons and features are precisely steerable. This finding is significant for representation engineering, as it quantifies the extent to which internal features can be manipulated to predictably alter the model's output, providing a roadmap for future intervention-based interpretability research.

Profile updated

See something wrong? Report a mistake