Beyond the Linear Representation Hypothesis: Non-Linear Activation Steering in Text-to-Image Models
Muhammad Atif Butt, Paweł Skierś, Joost Van De Weijer, Kamil Deja
Abstract
Mechanistic interpretability often relies on the Linear Representation Hypothesis (LRH), which assumes that high-level concepts are encoded as linear directions in activation space. Yet a natural visual concept does not necessarily require a linear visual transition: between sunny and stormy lies an intermediate weather state such as a sky with a few white clouds, not simply a weaker storm; between a caterpillar and a butterfly, the progression is not a caterpillar with continuously growing wings. This raises the question of whether such true intermediate states are also represented nonlinearly by the model. Indeed, when we prompt text-to-image models directly for intermediate attributes, their activations rarely fall along the straight direction connecting the endpoints. Therefore, we propose KANSteer, which models concept traversal as a curve passing through its intermediate states. Seeking a representation that is both simple and interpretable, we propose to use Kolmogorov-Arnold Networks (KANs), which provide a one-dimensional coordinate whose learned functions define the trajectory. This allows the steering direction to vary along the concept while preserving an interpretable representation. Across several concepts and text-to-image diffusion transformers, we find that their activation trajectories substantially deviate from straight lines, and that KANSteer provide a closer fit and smoother traversal of intermediate attributes than linear steering.
Create a lesson
Related papers
VisualErase: Dual-Branch Visual Trajectory Redirection for Robust Concept Erasure in Text-to-Image Diffusion Models
Shared title terminologycs.CVQianlong Xiang, Miao Zhang, Kun Wang et al.
Geometry-Aware Preference Optimization for Text-to-Image Diffusion Models
Shared title terminologycs.CVLei Wang, Zhen Wang, Yuexiang Xie et al.
DEPICT: Scoring Text-to-Image Alignment by Answer Agreement
Shared title terminologycs.CVVasco Ramos, Sandra Godinho Silva, Joao Magalhaes et al.
ProgressNet: Sketching and Prompting with a Frozen Text-to-Image Model
Shared title terminologycs.CVArkaprabha Basu, Chaitat Utintu, Yi-Zhe Song
Non-Linear Motion from Two Frames: Cubic Hermite Trajectories for Video Frame Interpolation
Shared title terminologycs.CVMd Rifat Ur Rahman, Md Abtahi Majeed Chowdhury, Md Sakib Hossain Shovon et al.
Benefit of Structured Representations: When Equivariance Helps in Image Classification
Shared title terminologycs.CVFlorian A. Hölzl, Daniel Rueckert, Georgios Kaissis