Gradients for Interventions and Activation Values for Detection: Targeted Feature Learning in Language Models
A study compares methods for learning features tied to predefined concepts in language models, assessing their ability to detect concepts and produce causal effects when manipulated. Contrastive activation values perform best at detection, while gradient-based methods—especially contrastive means—perform best at intervention.
AI-generated summary based on the headline and feed excerpt.
arXiv cs.LG reports a comparison of targeted feature-learning methods, which construct a model feature for a concept chosen in advance. The study evaluates three signals—activation values, activation gradients and parameter gradients—combined with two estimators: a contrastive mean and a learned one-dimensional encoder-decoder. The six resulting methods include CAA and GRADIEND, alongside four newly introduced approaches.
The researchers compare these methods with pretrained Sparse Autoencoders across 15 tasks and ten language models, measuring concept detection and the effects of causal interventions. Contrastive methods based on activation values achieve the strongest detection results. For intervention, gradient-based methods lead, with the strongest results coming from gradient signals paired with a contrastive mean. Within that family, activation gradients improve intervention over activation values without requiring parameter-space interventions. The findings indicate that detection and intervention capture distinct aspects of feature quality. Why it matters: The comparison helps clarify which feature-learning choices suit different interpretability goals in language models.
Written by SINN with AI assistance from arXiv cs.LG's reporting.
Originally reported by arXiv cs.LG
Read the full story at arXiv cs.LG