Step-Wise Refusal Dynamics in Autoregressive and Diffusion Language Models
Eliron Rahimi, Elad Hirshel, Rom Himelstein, Amit LeVi, Avi Mendelson, Chaim Baskin

TL;DR
This paper analyzes how sampling strategies influence safety and refusal behaviors in diffusion and autoregressive language models, introducing a new internal dynamics signal for interpretability and improved safety detection.
Contribution
It presents a novel analytical framework for step-wise refusal dynamics, highlighting the impact of sampling strategies on safety, and introduces the SRI signal for better interpretability and defense.
Findings
Sampling strategy influences safety behavior independently of learned representations.
The SRI signal captures internal recovery dynamics and detects harmful generations.
Lightweight inference detectors outperform existing defenses with over 100x lower overhead.
Abstract
Diffusion language models (DLMs) have recently emerged as a promising alternative to autoregressive (AR) models, offering parallel decoding and controllable sampling dynamics while achieving competitive generation quality at scale. Despite this progress, the role of sampling mechanisms in shaping refusal behavior and jailbreak robustness remains poorly understood. In this work, we present a fundamental analytical framework for step-wise refusal dynamics, enabling comparison between AR and diffusion sampling. Our analysis reveals that the sampling strategy itself plays a central role in safety behavior, as a factor distinct from the underlying learned representations. Motivated by this analysis, we introduce the Step-Wise Refusal Internal Dynamics (SRI) signal, which supports interpretability and improved safety for both AR and DLMs. We demonstrate that the geometric structure of SRI…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Topic Modeling · Generative Adversarial Networks and Image Synthesis
