Beyond Activation Patterns: A Weight-Based Out-of-Context Explanation of Sparse Autoencoder Features
Yiting Liu, Zhi-Hong Deng
TL;DR
This paper addresses the gap in SAE interpretability by introducing a weight-based, out-of-context framework that analyzes direct weight interactions to reveal what SAE features do, independent of activation data. It formalizes features via encoder–decoder pairs and per-feature logit effects $l_D^i$, and identifies semantic features that causally predict tokens using three complementary metrics, calibrated at a representative depth. Across Gemma-2 and Llama-3.1 SAEs (100 instances), roughly $1/4$ of features are semantically coherent, exhibiting a depth-dependent distribution: a U-shaped pattern in tied embeddings and an inverted-U pattern for features specialized in attention, with additional input-encoding nuances in untied architectures. The study further demonstrates that many features participate in attention circuits, revealing a computational architecture beyond simple activation patterns and showing that semantic and non-semantic roles interact differently across layers and architectures, enabling more robust, causally grounded interpretability.
Abstract
Sparse autoencoders (SAEs) have emerged as a powerful technique for decomposing language model representations into interpretable features. Current interpretation methods infer feature semantics from activation patterns, but overlook that features are trained to reconstruct activations that serve computational roles in the forward pass. We introduce a novel weight-based interpretation framework that measures functional effects through direct weight interactions, requiring no activation data. Through three experiments on Gemma-2 and Llama-3.1 models, we demonstrate that (1) 1/4 of features directly predict output tokens, (2) features actively participate in attention mechanisms with depth-dependent structure, and (3) semantic and non-semantic feature populations exhibit distinct distribution profiles in attention circuits. Our analysis provides the missing out-of-context half of SAE feature interpretability.
