Why Representation Engineering Works: A Theoretical and Empirical Study in Vision-Language Models
Bowei Tian, Xuntao Lyu, Meng Liu, Hongyi Wang, Ang Li
TL;DR
The paper tackles hallucination and cross-modal misalignment in Vision-Language Models by extending Representation Engineering (RepE) to multimodal settings. It introduces a theoretical framework where the principal eigenvector $u_1$ acts as a stable backbone for neural activity across layers, while a shrinking spectral gap allows subdominant eigenvectors to encode distinctions between concepts. Empirically, it validates these ideas on COCO with the IDEFICS2-8B VLM, showing strong alignment between $u_1$ and attention outputs and enabling reading and steering of high-level concepts such as honesty and fairness via LAT analyses. The work offers a principled, interpretable approach to improving robustness, fairness, and transparency in multimodal AI systems and lays groundwork for broader bias mitigation and controllable representation in VLMs.
Abstract
Representation Engineering (RepE) has emerged as a powerful paradigm for enhancing AI transparency by focusing on high-level representations rather than individual neurons or circuits. It has proven effective in improving interpretability and control, showing that representations can emerge, propagate, and shape final model outputs in large language models (LLMs). However, in Vision-Language Models (VLMs), visual input can override factual linguistic knowledge, leading to hallucinated responses that contradict reality. To address this challenge, we make the first attempt to extend RepE to VLMs, analyzing how multimodal representations are preserved and transformed. Building on our findings and drawing inspiration from successful RepE applications, we develop a theoretical framework that explains the stability of neural activity across layers using the principal eigenvector, uncovering the underlying mechanism of RepE. We empirically validate these instrinsic properties, demonstrating their broad applicability and significance. By bridging theoretical insights with empirical validation, this work transforms RepE from a descriptive tool into a structured theoretical framework, opening new directions for improving AI robustness, fairness, and transparency.
