Component and Dimension Sparsity in Transformer Refusal Mechanisms

Vincent Siu, Glenn Grant-Richards, Vlad Pavlovich, Yizhou Sun, Dawn Song +1 more
9/30/2026
cs.CLcs.AIcs.LG
transformer-attention

Official code: wang-research-lab/Refusal_Mechanisms (0 stars, Python, Apache-2.0, last commit 2026-10-06).

Abstract

Activation steering manipulates large language model behavior by intervening on internal activations, but the mechanistic basis of these interventions remains poorly understood. We decompose refusal steering into component-level interventions across four open-weight models, identifying the sparse subsets of attention and MLP components whose steering suffices to reproduce the full behavioral effect.

Show full abstract

We find that refusal directions concentrate in sparse component mechanisms comprising 28--48\% of upstream components, retaining 88--101\% of steering effectiveness. Within these mechanisms, effective steering further concentrates in approximately 50\% of residual stream dimensions, retaining 85--98\% of the component-mechanism baseline, consistent with a privileged basis structure. Sparsity thus operates at two levels: which components are steered, and which dimensions within those components carry the signal. Together these findings show that refusal is not diffusely encoded across a transformer but assembled by a structured, identifiable mechanism, providing a foundation for mechanistic understanding of how refusal behaviors are represented and steered. To facilitate reproducibility, we release all code and raw experimental results in https://github.com/wang-research-lab/Refusal_Mechanisms.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
00Python, ShellAug 7, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{siu2026component,
  title  = {Component and Dimension Sparsity in Transformer Refusal Mechanisms},
  author = {Vincent Siu and Glenn Grant-Richards and Vlad Pavlovich and Yizhou Sun and Dawn Song and Chenguang Wang},
  year   = {2026},
  eprint = {2610.06903},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.06903v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.06903.svg)](https://codeofpaper.com/paper/2610.06903)

Discussion