CLDec 30, 2025

Activation Steering for Masked Diffusion Language Models

arXiv:2512.24143v22 citationsh-index: 8
Originality Incremental advance
AI Analysis

This work addresses the need for representation-level control mechanisms in MDLMs, offering a deployment-relevant solution for safety and controllability, though it is incremental as it builds on existing MDLM frameworks.

The paper tackled the problem of efficient inference-time control in masked diffusion language models (MDLMs) by introducing an activation steering primitive that extracts a low-dimensional direction from contrastive prompts and applies it globally during reverse diffusion, resulting in large and systematic behavioral shifts, such as improved safety refusal, with substantial effectiveness over baselines.

Masked diffusion language models (MDLMs) generate text via iterative masked-token denoising, enabling mask-parallel decoding and distinct controllability and efficiency tradeoffs from autoregressive LLMs. Yet, efficient representation-level mechanisms for inference-time control in MDLMs remain largely unexplored. To address this gap, we introduce an activation steering primitive for MDLMs: we extract a single low-dimensional direction from contrastive prompt sets using one prompt-only forward pass, and apply a global intervention on residual-stream activations throughout reverse diffusion, without performing optimization or altering the diffusion sampling procedure. Using safety refusal as a deployment-relevant case study, we find that refusal behavior in multiple MDLMs is governed by a consistent, approximately one-dimensional activation subspace. Applying the corresponding direction yields large and systematic behavioral shifts and is substantially more effective than prompt-based and optimization-based baselines. We further uncover diffusion-specific accessibility: effective directions can be extracted not only from post-instruction tokens, but also from pre-instruction tokens that are typically ineffective in autoregressive models due to causal attention. Ablations localize maximal leverage to early denoising steps and mid-to-late transformer layers, with early diffusion blocks contributing disproportionately. Finally, in an MDLM trained on English and Chinese, extracted directions transfer strongly between English and Chinese, but do not reliably generalize to an autoregressive architecture, highlighting architecture-dependent representations of safety constraints.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes