paper-with-me

홈 › Papers

DEAL: Disentangling Transformer Head Activations for LLM Steering

2025-06-10 · Li-Ming Zhan, Bo Liu, Zexin Lu, Chengqiang Xie, Jiannong Cao, Xiao-Ming Wu

Inference-time steering aims to alter the response characteristics of large language models (LLMs) without modifying their underlying parameters. A critical step in this process is the identification of internal modules within LLMs that are associated with the target behavior. However, current approaches to module selection often depend on superficial cues or ad-hoc heuristics, which can result in suboptimal or unintended outcomes. In this work, we propose a principled causal-attribution framework for identifying behavior-relevant attention heads in transformers. For each head, we train a vector-quantized autoencoder (VQ-AE) on its attention activations, partitioning the latent space into behavior-relevant and behavior-irrelevant subspaces, each quantized with a shared learnable codebook. We assess the behavioral relevance of each head by quantifying the separability of VQ-AE encodings for behavior-aligned versus behavior-violating responses using a binary classification metric. This yields a behavioral relevance score that reflects each head discriminative capacity with respect to the target behavior, guiding both selection and importance weighting. Experiments on seven LLMs from two model families and five behavioral steering datasets demonstrate that our method enables more accurate inference-time interventions, achieving superior performance on the truthfulness-steering task. Furthermore, the heads selected by our approach exhibit strong zero-shot generalization in cross-domain truthfulness-steering scenarios.

📄 PDF Abstract BibTeX arXiv:2506.08359

Code (0)

등록된 구현이 없습니다.

Tasks

Binary ClassificationZero-shot Generalization

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Reflection Steering: Disentangling Reflection from Reasoning in Activation Space for Token-Efficient Inference

2026-08-26 · Jiarui Hu, Zhiyuan Wen, Xiaoyun Liu, Jiaxing Shen 외 arxiv

Large reasoning models often produce reasoning traces with verification, revision, and backtracking. When reflection merely re-checks established results, it wastes reasoning tokens and increases latency. Most existing r…

Steering Video Diffusion Transformers with Massive Activations

2026-03-18 · Xianhang Cheng, Yujian Zheng, Zhenyu Xie, Tingting Liao 외 arxiv

Despite rapid progress in video diffusion transformers, how their internal model signals can be leveraged with minimal overhead to enhance video generation quality remains underexplored. In this work, we study the role o…

Video Generation

Local Linearity of LLMs Enables Activation Steering via Model-Based Linear Optimal Control

2026-04-21 · Julian Skifstad, Xinyue Annie Yang, Glen Chou arxiv

Inference-time LLM alignment methods, particularly activation steering, offer an alternative to fine-tuning by directly modifying activations during generation. Existing methods, however, often rely on non-anticipative i…

Fine-Grained Activation Steering: Steering Less, Achieving More

2026-02-04 · Zijian Feng, Tianjiao Li, Zixiao Zhu, Hanzhang Zhou 외 arxiv

Activation steering has emerged as a cost-effective paradigm for modifying large language model (LLM) behaviors. Existing methods typically intervene at the block level, steering the bundled activations of selected atten…

Causal Language Control in Multilingual Transformers via Sparse Feature Steering

2025-07-17 · Cheng-Ting Chou, George Liu, Jessica Sun, Cole Blondin 외 arxiv

Deterministically controlling the target generation language of large multilingual language models (LLMs) remains a fundamental challenge, particularly in zero-shot settings where neither explicit language prompts nor fi…