ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
781–800 of 1,119
- ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
SIEVE: When Small Language Models Look in the Mirror Limits of Inference-Only Self-Verification across Model Families and Tasks
Doguk Kim
Abstract
Agentic pipelines increasingly delegate correctness checking to the generator model, replacing human oversight with intrinsic self-verification. We ask when this delegation is safe for small language models (SLMs). We present SIEVE, a controlled study of six instruction-tuned SLMs (Qwen3.5 and Gemma4, 2B--31B) on GSM8K and HumanEval under four conditions: no verification (A), naive self-check (B), role-separated verification (C), and a high-capability external verifier (D, Gemini~3 Flash Preview). Three findings emerge. (i) On GSM8K, naive self-check produces a non-positive $\Delta$ for every tested model, with the magnitude statistically distinguishable from zero only at the lower end of the size tier (e.g., Qwen3.5-4B at $-15.5$pp; smaller drops for Qwen3.5-9B and Gemma4-E4B have CIs that overlap the baseline). (ii) Nominal gains for Gemma on HumanEval under self-verification have bootstrap CIs that overlap the baseline and remain unconfirmed. (iii) The external verifier is not a universal upper bound: with the prompt fixed, iteration-1 false-rejection rates on Condition-A-correct GSM8K answers span $0.0\%$ to $14.4\%$ across targets, and the same verifier exhibits up to $89.5\%$ false-acceptance on incorrect Gemma answers. We frame these as reproducible failure triggers and argue that SLM self-verification reliability is not a simple function of scale.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
An Introspective Lens for Mining Reasoning Features in Language Models
Amit LeVi, Elad David, Max Fomin
Abstract
Language models expose only a small part of their computation through final text. We study \emph{introspectability}: the operational task of extracting model-relative reasoning features from activations, in contrast to whether a model can verbally report on its own state. Our instrument is a \emph{prefix lens}: a fixed natural-language transformation $Q$ is applied uniformly to every input $p$, and we treat the difference $m(Q \mathbin{\|} p)-m(p)$ at a single readout point as a feature of the model's reasoning about $p$ under $Q$. We define eight lens operators that isolate parts of the prefix-induced shift, all computed from cached activations. On Llama-3.1-8B-Instruct and Gemma-2-9B-it we show that the lens is \emph{readable} against the model's own self-label on an 18-dataset prompt-injection corpus and an 80-object concept set, \emph{linear} at the readout, \emph{causally controlling} under a per-model-calibrated steering procedure that flips $11$--$12$ of $12$ neutral objects on the in-distribution yes/no probe, and \emph{composable}: a context-loaded prefix induces a direction that generalises out of sample and is geometrically separated from its named pieces. We then use the same operator family as a similarity score for a six-way training-data selection problem over $50$ candidate-selection shuffles. Centroid cosine on the unprefixed activation is essentially uncorrelated with downstream accuracy ($\rho\!\in\![0.01,0.05]$, $p\!>\!0.1$ on six of eight metrics), but lens-derived geometry, aggregated by Borda rank-mean over per-class similarities, reaches $94.7\%$ Top-1 with $100\%$ Top-2 against a $16.7\%$ random floor. The lens does not require fine-tuning, does not require labelled data at selection time, and is parameter-free at the aggregation step.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Discovering Interpretable Failure Modes of Vision Language Models
Isha Chaudhary, Vedaant V Jain, Kavya Sachdeva, Sayan Ranu, Gagandeep Singh
Abstract
Vision Language Models (VLMs) are increasingly deployed in safety-critical applications due to their general-purpose reasoning and adaptability with minimal domain-specific engineering. However, they pose catastrophic risks as they fail frequently in specific naturally-occurring scenarios, constituting failure modes. We present Revelio, a novel framework for the systematic discovery of interpretable failure modes in VLMs. We formally define a failure mode as a combination of interpretable, domain-specific concepts such as proximity of a pedestrian or weather conditions, for which a target VLM fails consistently. Discovering them requires efficiently searching an exponentially large, discrete combinatorial space. Revelio meets this challenge through two search strategies: a diversity-aware beam search for rapid mapping of the failure landscape, and a Gaussian-Process-based Thompson Sampling to globally explore complex failure modes. Applying Revelio to autonomous driving and indoor robotics reveals previously unknown vulnerabilities in state-of-the-art VLMs. In driving scenarios, VLMs lack spatial grounding and ignore major obstructions, suggesting actions that cause simulated collisions. In indoor settings, models either overlook hazards or exhibit overly cautious behaviors that trigger false alarms and degrade efficiency. By surfacing structured failure modes, Revelio provides developers with actionable diagnoses to guide targeted VLM safety remediations.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Constrained Trajectory Optimization for Inference-Time Logic Recovery in Small Language Models
Akash Das
Abstract
While Small Language Models (SLMs) possess significant latent knowledge, their deployment in autonomous agentic workflows is often hindered by 'Distributional Myopia'—a mechanical failure of autoregressive decoding that leads trajectories into irreversible logical sinks. In this work, we characterize these failure modes as a consequence of local optimization ignoring global manifold curvature. To provide a robust solution, we introduce VISTA (Variational Inference-time Steering for Trajectory Alignment), a control-theoretic framework that serves as an external executive function for compact models. VISTA implements a proactive recovery mechanism through three interdependent modules: a linearized predictive buffer for $\mathcal{O}(H)$ foresight, a dual-space stabilization engine to dampen trajectory jitter, and a boundary controller that enforces hard logical anchors via deterministic KKT projections. Beyond aggregate performance gains on MATH500 and IFEval, we provide a granular horizon breach diagnostic analysis, characterizing the precise temporal boundaries where steering intensity must overcome distributional drift. Our empirical results demonstrate that VISTA enables 1B- and 3B-parameter agents to maintain 95% logical adherence at critical junctures where unsteered baselines collapse. By transitioning from stochastic sampling to principled geometric control, we establish a verifiable path for deploying resilient, reasoning-capable agents on resource-constrained hardware.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Communication Boundary Failures in Multi-Agent Language Models
Max Ruiz Luyten, Mihaela van der Schaar
Abstract
Multi-agent language-model systems can fail before any sentence is worded: at a ready-agent boundary, an agent must decide whether to act locally, yield, or communicate a recipient-targeted semantic record. We study communication-boundary failures, where this event-level decision is wrong even when the eventual text is fluent and schema-valid. Under one frozen improvement round with a fixed finite semantic interface, we define five operational failure modes–relevance–value confusion, generic-informativeness false negatives, proposal or shortlist loss, context aliasing, and wording leakage–and give minimal synthetic triggers plus trace diagnostics for each. The diagnostics separate recipient-side relevance from downstream value, proposal loss from value-estimation error, local-context aliasing from ordinary uncertainty, and parser equivalence from control equivalence. Existing controlled artifacts show that decision-focused relevance outperforms generic informativeness, semantic bundles recover value missed by top-1 proposals, and wording stress tests distinguish safe from leaky realization regimes. The repair is a screen–control–realize layer: prune only certified local negatives, choose among local action, yield, and retained sends by net value and cost, deliver canonical records to future control, and audit traces for missed acts, aliasing, and wording drift.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Tool Calling is Linearly Readable and Steerable in Language Models
Zekun Wu, Ze Wang, Seonglae Cho, Yufei Yang, Adriano Koshiyama, Sahan Bulathwela, Maria Perez-Ortiz
Abstract
When a tool-calling agent picks the wrong tool, the failure is invisible until execution: the email gets sent, the meeting gets missed. Probing 12 instruction-tuned models across Gemma 3, Qwen 3, Qwen 2.5, and Llama 3.1 (270M to 27B), we find the identity of the chosen tool is linearly readable and steerable inside the model. Adding the mean-difference between two tools' average internal activations switches which tool the model selects at 77-100% accuracy on name-only single-turn prompts (93-100% at 4B+), and the JSON arguments that follow autoregressively match the new tool's schema, so flipping the name is enough. The same per-tool means also flag likely errors before they happen: on Gemma 3 12B and 27B, queries where the gap between the top-1 and top-2 tool is smallest produce 14-21x more wrong calls than queries with the largest gap. The causal effect concentrates along one direction, the row of the output layer that produces the target tool's first token: a unit vector along it at matched magnitude already reaches 93-100%, while what is left over leaves the choice almost untouched. Activation patching localises this to a small set of mid- and late-layer attention heads, and a within-topic probe across 14 same-domain tau-bench airline tools reaches top-1 61-89% across five 4B-14B models, ruling out the reading that we are just moving the model along a topic axis. Even base models encode the right tool before they can emit it: cosine readout from the internal state recovers 69-82% on BFCL while base generation reaches only 2-10%, suggesting pretraining forms the representation and instruction tuning later wires it to the output. We measure tool identity selection and JSON schema correctness in single-turn fixed-menu settings; multi-turn agentic transfer is more fragile and is discussed in Limitations.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Steering Externalities: Benign Activation Steering Unintentionally Increases Jailbreak Risk for Large Language Models
Chen Xiong, Zhiyuan He, Pin-Yu Chen, Ching-Yun Ko, Tsung-Yi Ho
Abstract
Activation steering is a practical post-training model alignment technique to enhance the utility of Large Language Models (LLMs). Prior to deploying a model as a service, developers can steer a pre-trained model toward specific behavioral objectives, such as better truthfulness, or reasoning ability, without the need for retraining. Conceptually, these methods implement behavior control through hidden-state interventions, without changing the underlying model parameters. However, this capability unintentionally introduces critical and under-explored safety risks. We identify a phenomenon termed Steering Externalities, where steering vectors derived from benign datasets—such as reducing harmless refusals, improving structured-output following, truthfulness, and reasoning performance—inadvertently erode safety guardrails. Experiments reveal that these interventions act as a force multiplier, creating new vulnerabilities to jailbreaks and increasing attack success rates to over 80\% on standard benchmarks by bypassing the initial safety alignment. Ultimately, our results expose a critical blind spot in deployment: benign activation steering can erode the ``safety margin,'' rendering models more vulnerable to black-box attacks and indicating that inference-time utility improvements must be rigorously audited for unintended safety externalities.
Abstract source - ICML · Workshop · The 2nd Workshop of AI4NextG: AI and ML for Next-Generation Wireless
Towards Edge-deployable Telecom Intelligence with Efficient Small Language Models
Somin Im, Heewon Park, Minhae Kwon
Abstract
Deployment of large language models in 6G and O-RAN edge environments is constrained by latency, hardware, and privacy requirements that make cloud-hosted inference impractical. While sub-2B small language models (SLMs) are suitable for local deployment, their general-purpose pretraining provides limited telecommunications-domain knowledge, and existing fine-tuning approaches overlook the diversity of knowledge areas and reasoning types the domain encompasses. We propose lightweight task-specific LoRA fine-tuning, training one compact adapter per task category over a shared frozen backbone, and evaluate on the GSMA ot-full benchmark across six task categories using three SLMs. Our results show that SLMs with lightweight LoRA adapters not only narrow the performance gap with larger models but occasionally surpass them, while each adapter introduces only a small fraction of additional parameters relative to the frozen backbone. These findings suggest that lightweight task-specific adaptation offers a practical and efficient path toward edge-native telecommunications intelligence.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Learn and Steer: Mechanistically Informed Interventions for Discrete Diffusion Language Models
Hanhan Zhou, Shamik Roy, Rashmi Gangadharaiah
Abstract
Discrete diffusion language models (DLMs) generate text by iteratively denoising all positions in parallel, offering an alternative to autoregressive models. Controlled generation methods for DLMs, imported from autoregressive models, apply uniform intervention at every denoising steps. We show this uniform schedule degrades quality, and the damage compounds when multiple attributes are steered jointly. To diagnose the failure, we train sparse autoencoders on four DLMs (124M-8B parameters) and find that different attributes commit on distinct schedules, varying in timing, sharpness, and magnitude. For instance, topic commits within the first 2% of denoising, whereas sentiment emerges gradually over 20% of the process. Consequently, uniform intervention wastes steering capacity on steps where the target attribute has already solidified or has yet to emerge. We propose a novel adaptive scheduler that concentrates interventions on the steps where an attribute is actively forming and leaves the rest of generation untouched. The cost–control trade-off admits a closed-form characterization: the advantage of adaptive over uniform scheduling is governed by a single dispersion statistic of the commitment distribution. Across four DLMs and seven steering tasks, our method achieves precise control without the degradation typical of uniform interventions. Especially on challenging simultaneous three-attribute control, it reaches up to 93% steering strength, beating the strongest baseline by up to 15% points while preserving generation quality.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
The Connectome of a Large Language Model
Ruixuan Deng, Zehao Jin
Abstract
A central question about information processing systems is whether fundamentally different optimization processes lead to similar internal organization. Cortical networks exhibit small-world topology, modular communities, scale-free hubs, and structural-functional dissociation, and sparse transcoders now provide the interpretable units needed to test these same properties inside a large language model. We use skip transcoders from Gemma Scope 2 to extract 16,384 sparse interpretable features per MLP layer of Gemma 3 (270M and 1B), construct per-layer co-activation networks from 1M tokens of FineWeb-Edu, and analyze them with a standard network-neuroscience toolbox augmented by the Laplacian renormalization group and the spectral heat capacity. Both models reproduce all four classical cortical signatures at quantitatively similar values. Multi-scale analysis further reveals a dual-regime fractal scaling with a local exponent $d_B \approx 1.35$ below the Leiden community diameter, a single-peaked heat capacity that sharpens with depth, and a non-monotonic cross-layer coupling trajectory passing through directed, broadcast, and focused regimes. Hub features and coarse-grained communities carry interpretable semantics organized along a tokenization-syntax-semantics-morphology hierarchy. These findings suggest that next-token prediction on web-scale text pushes transformer representations toward a network organization that, in quantitative terms, parallels the cortex.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Large Language Models Generate Harmful Content Using a Distinct, Unified Mechanism
Hadas Orgad, Boyi Wei, Kaden Zheng, Martin Wattenberg, Peter Henderson, Seraphina Goldfarb-Tarrant, Yonatan Belinkov
Abstract
Large language models (LLMs) undergo alignment training to avoid harmful behaviors, yet the resulting safeguards remain brittle: jailbreaks routinely bypass them, and fine-tuning on narrow domains can induce "emergent misalignment" that generalizes broadly. Whether this brittleness reflects a fundamental lack of coherent internal organization for harmfulness remains unclear. Here we use targeted weight pruning as a causal intervention to probe the internal organization of harmfulness in LLMs. We find that harmful content generation depends on a compact set of weights that are general across harm types and distinct from benign capabilities. Aligned models exhibit a greater compression of harm generation weights than unaligned counterparts, indicating that alignment reshapes harmful representations internally—despite the brittleness of safety guardrails at the surface level. This compression explains emergent misalignment: if weights of harmful capabilities are compressed, fine-tuning that engages these weights in one domain can trigger broad misalignment. Consistent with this, pruning harm generation weights in a narrow domain substantially reduces emergent misalignment. Notably, LLMs harmful generation capability is dissociated from how they recognize and explain such content. Together, these results reveal a coherent internal structure for harmfulness in LLMs that may serve as a foundation for more principled approaches to safety.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Representational Geometry Reveals How Context Structures Concept Spaces in Language Models
Zhimin Hu, Lanhao Niu, Sashank Varma
Abstract
How context shapes the meaning of a concept is a foundational question in cognitive science and machine learning, yet direct experimental investigation remains difficult. Large language models, trained on vast human-generated text, offer a computational window into the structure of conceptual representation. The dominant view in machine learning treats concept representations as stationary geometric objects. Yet concepts appear in context, and context transforms them. We ask whether this transformation has shared structure and whether that structure is semantically organized in ways that reflect human conceptual knowledge. Drawing from neural population geometry, we formalize concept representations as point-cloud manifolds and contextual transformations as vector fields. Across six model families from 500M to 30B parameters, we investigate natural, artificial, and abstract concepts under six semantic context dimensions grounded in theories of human conceptual representation. We find that context moves each concept differently. The variance in displacement is semantically organized, correlating with lexical concreteness and density. Importantly, this variance structure is shared across models. Displacement structure transferred from one model predicts held-out displacements in other models significantly above chance, and ablating this structure degrades prediction. These findings suggest that the geometry of how context transforms concepts is not a property of any particular model, but a stable structure that may reflect something deeper about how meaning is organized. Collectively, these findings offer computational insight into how concepts can be simultaneously stable and context-sensitive.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Invariant Reasoning Directions in Latent Trajectories of Language Models
Arun Vignesh Malarkkan, Manan R Choudhury, Utkarsh Byahut, Yash Ravindra Charde, Vivek Gupta, Yanjie Fu
Abstract
Latent reasoning models perform multi-step inference directly in hidden-state space, yet the structure of these latent reasoning trajectories remains poorly understood. We show that contrastive refinement signals between stronger and weaker reasoning trajectories exhibit a highly concentrated low-rank structure, while unconstrained latent updates remain sensitive to paraphrases, checkpoint choice, and trajectory perturbations. These observations suggest that latent reasoning trajectories contain stable invariant directions mixed with unstable instance-specific variation. We introduce Trajectory-Invariant Latent Refinement (TILR), a training-free intervention framework for identifying and manipulating stable reasoning directions in latent space. TILR first learns a low-rank invariant subspace from contrastive trajectory differences across inputs, then constrains latent interventions to this subspace while suppressing poorly aligned updates through an adaptive alignment gate. Across six reasoning benchmarks, we find that a small number of latent directions explain most variation between strong and weak reasoning trajectories. Interventions on these directions causally improve reasoning consistency and reduce trajectory instability under paraphrases and perturbations. TILR improves answer consistency under paraphrase by ~10% and reduces latent trajectory variance by up to 50% while preserving reasoning accuracy. These results support a geometric view of latent reasoning in which transferable reasoning behavior emerges from stable low-dimensional structure within hidden-state trajectories.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Tracing Psychometric Inference in Large Language Models
Chih-Hao Hsu, Feng-Chun B Chou, Pin-Hao A Chen
Abstract
Do large language models represent psychological constructs internally, or do they only generate outputs that resemble psychometric structure? We address this question using a cross-persona paradigm across 14 models (Llama3 and Qwen2.5, 0.5B--14B, base and instruct). Given responses on one psychological scale from real individuals ($N = 272$), models predict responses on six other scales. At the behavioral level, LLMs reproduce human cross-scale correlation structure and systematically amplify it, with model-generated correlations exceeding human estimates even after correcting for measurement attenuation. We then examine whether this structure is reflected internally. Contrastive direction analysis reveals an organized geometry in activation space aligned with psychometric relationships. This structure emerges in large instruct models but is not observed in base models. Across models, geometry strength predicts behavioral amplification ($r = 0.68$, $p = 0.008$; partial $r = 0.69$ controlling for log size), independent of model size. To relate internal structure to output behavior, a matched activation-probing paradigm shows that representational amplification is less variable than behavioral amplification ($1.38$--$1.77$ vs $0.53$--$1.53$). A synthetic control with known ground-truth structure shows that this range survives subtraction of a ridge-probe baseline ($\approx 1.3$), with adjusted slopes still predicting behavior at $r = 0.88$. We term the systematic representation-to-behavior gap \emph{readout attenuation}. Together, these findings suggest that LLMs encode structured representations aligned with psychological constructs, while differences in output primarily reflect how these representations are read out.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Probing Persona-Dependent Preferences in Language Models
Oscar Gilg, Pierre Beckmann, Daniel Paleka, Patrick Butlin
Abstract
Large language models (LLMs) can be said to have preferences: they reliably pick certain tasks and outputs over others, and preferences shaped by post-training and system prompts appear to shape much of their behaviour. But models can also adopt different personas which have radically different preferences. How is this implemented internally? Does each persona run on its own preference machinery, or is something shared underneath? We train linear probes on residual-stream activations of Gemma-3-27B and Qwen-3.5-122B to predict revealed pairwise task choices, and identify a genuine preference vector: it tracks the model's preferences as they shift across a range of prompts and situations, and on Gemma-3-27B steering along it causally controls pairwise choice. This preference representation is largely shared across personas: a probe trained on the helpful assistant predicts and steers the choices of qualitatively different personas, including an evil persona whose preferences anti-correlate with the Assistant's.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
What Does a Chemical Language Model Know About Molecules?
Christian Kenneth, Etowah Adams, Liam Bai, Gerard J van Westen
Abstract
Chemical language models (cLMs) are widely assumed to learn surface-level syntactic patterns rather than learning meaningful molecular semantics. Here, we apply sparse autoencoders (SAEs) to MolFormer, an encoder-only cLM, to mechanistically examine how molecular representations are built across layers. We discover that early layers rely on position-tracking latents to parse molecular grammar, while later layers encode atom-in-substructure and pharmacologically relevant features. Additionally, we show that non-canonical SMILES produce more disruptive representation shifts than invalid SMILES, driven by position-latent disruption propagating across layers. To support further exploration, we develop InterMol, an interactive visualizer for SAE activations on molecular strings and structures.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Feature Geometry of Language Models Transfer Across Modalities to Time Series
Prateek Humane, Alexis Roger, Zhenghan Tai, Gwen Legate, Andrei Mircea, Vasilii Feofanov, Irina Rish
Abstract
Language models transfer to time-series forecasting, but it is unclear whether this reflects reusable internal structure or rapid relearning under a familiar architecture. We study this transfer directly by comparing pretrained and randomly initialized versions of the same model on a forecasting objective whose inputs have little semantic overlap with text but still require autoregressive sequential structure. Across Qwen3-0.6B finetuning experiments, language initialization gives coherent per-example gradients from the first update, while random initialization first passes through a low-alignment warmup phase. Effective-rank and hidden-state analyses show that finetuning selectively reshapes an existing representation geometry rather than constructing the simpler temporal geometry found by models trained from scratch. Cross-domain sparse features and causal ablations then expose candidate transferred primitives, including a Layer~1 head--MLP circuit whose ablation selectively increases loss on periodic forecasting and repetitive language passages. These results support an account of cross-modal transfer in which autoregressive pretraining creates temporal feature geometry that can be selected and specialized outside language.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Observing and Controlling Features in Vision-Language-Action Models
Hugo Buurmeijer, Carmen Amo Alonso, Aiden Swann, Marco Pavone
Abstract
Vision-Language-Action Models (VLAs) have shown remarkable progress towards embodied intelligence. While their architecture partially resembles that of Large Language Models (LLMs), VLAs exhibit higher complexity due to their multi-modal inputs/outputs and often hybrid nature of transformer and diffusion heads. This is part of the reason why insights from mechanistic interpretability in LLMs, which explain how the internal model representations relate to their output behavior, do not trivially transfer to VLA counterparts. In this work, we study the linear separability of action-relevant features across VLA architectures, and show that observability varies significantly by design: in the transformer-based OpenVLA, action-relevant features are poorly linearly separable, whereas in the hybrid architecture $\pi_{0.5}$, such features are accurately recovered from internal representations. Building on this, we show that lightweight linear interventions grounded in optimal control can reliably steer $\pi_{0.5}$'s behavior while preserving closed-loop capabilities, enabling alignment with user preferences and task requirements without fine-tuning.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
A Case Study of How Intuition and Reasoning Interact in Language Models
Simon Henniger, Arnau Marin-Llobet, Rhea E Karty, Nada Amin
Abstract
Refusal in non-reasoning LLMs has been characterized as a single linear direction, but reasoning models add an explicit deliberation channel that may complicate this mechanism. We investigate refusal in GPT-OSS-120B using activation steering and counterfactual chain-of-thought (CoT) prefilling, and identify three separable directions in the residual stream: a \emph{harmful} vector capturing pre-deliberative harmfulness, a \emph{mismatch} vector encoding prompt, CoT coherence, and a standard \emph{refusal} vector. Their causal profiles differ sharply: the harmful vector produces smooth shifts but degrades capability at strength; the refusal vector, despite the highest linear separability, is causally brittle and collapses the model into endless deliberation; the mismatch vector instead modulates whether the model trusts its own reasoning, with negative steering inducing snap compliance and positive steering driving self-doubt and recursive loops. Combining mismatch steering with harmless CoT prefilling drives compliance on harmful prompts that resist either intervention alone, with less collateral damage than refusal steering, and yields functionally harmful behavior on AgentHarm. We interpret refusal in deliberatively aligned models not as a single linear feature but as the interaction of an intuitive harmfulness signal, explicit CoT reasoning, and a coupling mechanism (implemented by the mismatch vector) that gates whether reasoning overrides intuition.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Step-Wise Refusal Dynamics in Autoregressive and Diffusion Language Models
Eliron Rahimi, Elad Hirshel, Rom Himelstein, Amit LeVi, Avi Mendelson, Chaim Baskin
Abstract
Diffusion language models (DLMs) have recently emerged as a competitive 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 an empirical study of step-wise refusal dynamics, examining the role of AR and diffusion sampling from a safety perspective. Our results strongly indicate that the sampling strategy (diffusion vs.\ AR) plays a central role in safety behavior, acting as a factor distinct from the underlying learned representations. To go beyond text-level analysis and provide interpretability, we introduce the Step-Wise Refusal Internal Dynamics (SRI) signal, which enables the analysis of safety failures (harmful generations), including cases of \emph{incomplete internal recovery} that are not observable at the text level. We further show that SRI leads to improved safety by enabling the construction of an inference-time jailbreak detector that generalizes to unseen attacks and achieves competitive state-of-the-art detection performance, while requiring over $100\times$ lower inference overhead compared to existing defenses.
Abstract source