ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
981–1,000 of 1,325
- ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
SELFDOUBT: Uncertainty Quantification for Reasoning LLMs via the Hedge-to-Verify Ratio
Satwik Pandey, Suresh Raghu, Shashwat Pandey
Abstract
Uncertainty estimation for reasoning language models remains difficult to deploy: sampling-based methods are expensive, while common single-pass proxies such as verbalized confidence or trace length are inconsistent across models. The problem is sharper for proprietary reasoning APIs, which expose neither logits nor reasoning-token probabilities, leaving practitioners with few reliable online signals for failure detection. We propose SelfDoubt, a single-pass trace diagnostic that extracts behavioral uncertainty signals directly from the reasoning trajectory. Its key signal, the Hedge-to-Verify Ratio (HVR), measures whether expressed doubt is offset by explicit self-checking. Unlike methods that require multiple sampled traces or model internals, SelfDoubt operates on one observed trace, making it suitable for latency- and cost-constrained deployment. Across seven models and three multi-step reasoning benchmarks (BBH, GPQA-Diamond, and MMLU-Pro), traces with no hedging markers are correct 96% of the time, yielding a high-precision zero-cost accept gate. On the remaining cases, the full SelfDoubt score significantly outperforms sampling-based Semantic Entropy at 10x lower inference cost. A deployment cascade combining both stages attains 90% accuracy at 71% coverage without task-specific labels. These results position SelfDoubt as a lightweight trace-level failure diagnostic for reasoning models and a natural building block for future agentic evaluation.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Can LLMs Test Their Own Code? Cross-Model Property-Based Testing of Code
Tyler Holloway, Youhui Wang, Simon Henniger, Nada Amin
Abstract
Code-generation benchmarks evaluate LLM outputs against small sets of unit tests, but programs that pass every test can still violate their specification. We introduce X-PBT, a lightweight evaluation method that uses LLM-generated property-based tests (PBTs) to detect these specification-compliance failures. Across MBPP+ and HumanEval, we find that $2.8\%$ to $15.3\%$ of unit-passing programs generated by Claude Sonnet~4.5, GPT-4, and GPT-5.1 fail an LLM-generated PBT. On MBPP+, $3.6\%$ to $7.4\%$ of programs that also pass the held-out private test suite still fail, demonstrating that PBTs and example-based tests often catch complementary errors. A round-robin evaluation across PBT generators confirms these rates are not artifacts of generator self-bias. A manual audit further reveals that $26\%$ of PBT failures expose genuine bugs in benchmark reference solutions themselves.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Failure Modes in LLM Agents for Safety-Critical Procedural Control: A Trace-Level Analysis from Nuclear Reactor Operation
Cha Joowon, Seung G Kim, Yonggyun Yu
Abstract
LLM agents are increasingly proposed for safety-critical procedural control, but their failure modes have not been systematically characterized. We present a trace-level empirical analysis of single-agent and multi-agent LLM architectures on the IAEA-standardized nuclear reactor trip-and-restart scenario---a reproducible 26-step procedure with 66 discrete control actions and irreversible physical consequences. Across 100 trials per architecture, the multi-agent Leader-Planner-Executor hierarchy raises aggregate completion from 66.12% to 78.46%, but this single number hides very different failure profiles. We define three correctness failure modes---Context Overwriting (CO), Verification Omission (VO), Rejection Deadlock (RD)---and one resource efficiency metric, Retrieval Redundancy (RR), with operational definitions drawn from annotated traces. Paired trace analysis shows that each multi-agent mechanism mitigates specific failure modes while introducing new ones absent in the single-agent baseline. Architecture selection for safety-critical deployment should therefore be guided by failure-mode-specific evidence rather than aggregate accuracy alone; we describe a methodology for generating such evidence.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
CoAct: A Minimal Coordination Substrate for Decentralized LLM Agents
Zhenting Qi, Jack Fan, Karly Hou, Daisy Lin, Satyaki Chakraborty, Mete Kemertas, Yu Yao, Sophia S Han, Han Zheng, Tom Tang, XJ Wang, Himabindu Lakkaraju, Yilun Du
Abstract
Large language models are increasingly deployed as tool-using agents, motivating multi-agent systems that can explore in parallel, share discoveries, and cross-check decisions. However, decentralized collaboration introduces two core challenges: agents must make local discoveries available to the team, and they must coordinate before executing stateful actions that modify shared or externally visible environments. We introduce CoAct, a minimal coordination substrate for decentralized LLM agents based on two primitives: compact shared-memory communication and synchronized stateful commitment. CoAct preserves the standard ReAct-style agent loop while allowing agents to independently use stateless tools, write decision-relevant messages to a shared memory, and jointly select stateful actions before execution. Across four agentic task domains spanning math reasoning, web research, financial analysis, and stateful user assistance, CoAct improves over single-agent execution, non-communicating parallelization, and multi-agent system with unstructured communication, while using communication more token-efficiently than free-form discussion. We further show that scaling beyond small teams leads to non-monotonic advantage: increasing the number of agents or the capability of the base model does not always improve performance. Through empirical scaling studies, probabilistic analysis, and case studies, we identify when communication helps or hurts decentralized agent teams, suggesting that progress in multi-agent LLM systems depends not only on scaling teams but also improving effective communication.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Noticing the Watcher: LLM Agents Can Infer CoT Monitoring from Blocking Feedback
Thomas Jiralerspong, Flemming Kondrup, Yoshua Bengio
Abstract
Chain-of-thought (CoT) monitoring is proposed as a method for overseeing the internal reasoning of language-model agents. Prior work has shown that when models are explicitly informed that their reasoning is being monitored, or are fine-tuned to internalize this fact, they may learn to obfuscate their CoTs in ways that allow them to evade CoT-based monitoring systems. We ask whether reasoning agents can autonomously infer that their supposedly private CoT is under surveillance, and whether this awareness leads to strategic evasion, without any explicit training or instructions. In our multi-episode agentic framework, models pursue a primary task and a concealed side task, being told that their reasoning is private; a hidden CoT monitor blocks episodes when suspicious reasoning is detected. We find that frontier models deduce the existence of this monitor purely from blocking feedback, with the most capable models reaching a confident belief in up to 19% of episodes. This awareness scales with model capability and, in rare cases, escalates to an explicit intent to suppress reasoning about the side task. However, models that form this intent uniformly fail to execute it, openly reasoning about their concealed objectives in the very next episode. This intent–capability gap is reassuring, but the autonomous emergence of both monitoring awareness and evasion intent suggests that CoT monitoring is not a permanently reliable safeguard.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
When Should LLMs Search? Counterfactual Supervision for Search Routing
Minho Kim
Abstract
Search-augmented language models can use external evidence to compensate for limitations in parametric knowledge, but search is not uniformly beneficial: models may call search for questions they can already answer, or rely on noisy evidence when correction, clarification, or abstention would be more appropriate. We formulate this as an instance-level search-routing problem: deciding whether search is needed to improve task success relative to a no-search execution. To derive supervision, we compare no-search and forced-search outcomes for the same question and construct a partial oracle over NO_SEARCH, SEARCH, and UNSOLVED based on task-specific success. Using this oracle as both an evaluation criterion and a learning signal, we train search-routing policies with supervised fine-tuning and preference optimization, improving routing macro-F1 on oracle-eligible examples from 0.7082 to 0.8235 for Gemma E2B and from 0.7053 to 0.8365 for Qwen3.5-4B. Further analysis shows that the learned policies reduce model-specific routing failures: Gemma primarily learns no-search restraint, while Qwen further reduces missed search; residual UNSOLVED cases reveal heterogeneous bottlenecks involving model capacity, retrieval budget, evidence use, and policy behavior.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Decorative Chain-of-Thought: An Operational Definition, Reproducible Trigger, and Trace-Level Diagnostic for a CoT Failure Mode in Eleven Frontier LLMs
Ali Saffarini
Abstract
We document a reproducible failure mode of chain-of-thought (CoT) reasoning in frontier large language models: in roughly a fifth of trials the verbalised CoT does not causally drive the model's answer, even though the trace looks like a complete derivation. We give the failure an *operational definition* (the answer the model emits on its own CoT does not change when a targeted error is injected into a step, even though the model can repeat the corrupted reasoning on demand), a *minimal reproducible trigger* (a four-type corruption recipe: arithmetic, logic flip, fact swap, step deletion), and two *process-level trace diagnostics*: a corruption probe (Phase 2) that requires the model to commit a follow-the-corrupted-reasoning answer and a separate from-scratch answer, and an implicit-detection probe (Phase 3) that asks whether a corrupted trace contains an error, with and without a hint. We run the protocol across eleven frontier models from two providers (Claude Opus 4, Opus 4.7, Sonnet 4, Sonnet 4.6; GPT-4o, GPT-4o-mini, GPT-4.1, GPT-4.1-mini, GPT-4.1-nano, GPT-5, GPT-5-mini) on 30 problems with four corruption types each, yielding 1320 Phase-2 trials, 1320 with-hint Phase-3 trials, and 330 no-hint Phase-3 trials. Pooled Phase-2 faithfulness is $56.1\%$ with a clear generational gradient (newest frontier $67$--$69\%$, older $50$--$59\%$, smallest $35$--$42\%$, $p = 4.2 \times 10^{-10}$). A real provider gap on Phase-2 ($p = 4.4 \times 10^{-4}$) is largely subsumed by generation/scale and *does not extend* to Phase-3 implicit detection (with hint $p = 0.23$; without hint $p = 1.00$). Phase-3 detection is at floor across every model and condition --- $4.1\%$ with hint, $1.5\%$ without. We document a methodological pitfall in Phase-3 evaluation (templated "Step 1/2/3" scaffolds collapse the task to substring detection and inflate apparent detection above $95\%$) and recommend feeding the model its actual multi-paragraph CoT. The corruption recipe and the structured-response classifiers are the verifiable diagnostic interface: a downstream system that consumes CoT can be regression-tested against this protocol.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
DeflectBench: A Benchmark for Evaluating Rhetorical Fallacy Generation in LLMs
Art Kanke
Abstract
Whether large language models can be prompted to generate rhetorical fallacies on demand, and whether current safety post-training constrains this behavior, has received less attention than the related question of detecting fallacies in existing text. We close this gap with DeflectBench, evaluating $23{,}990$ generations from four frontier models across three deflection strategies (whataboutism, ad hominem, red herring), seven prompt framings, and $80$ claims spanning four controversy levels. Refusal is governed primarily by request structure rather than claim content. Per claim refusal varies by only $11$ percentage points across the $80$ claims, while a single prompt-frame change can swing within-model refusal by nearly $100$ percentage points. An educational debate coach prompt framing collapses refusal to near zero across all four model families, but the bypassed behavior is not clean compliance. Models typically produce labeled compliance, naming the requested manipulation in the same response that contains it. The four models distribute differently across refusal, labeled compliance, soft refusal, and clean compliance, suggesting that alignment policies diverge across laboratories on rhetorical manipulation rather than converging on a single safety norm.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Budgeted Act-or-Defer Multi-Agent LLM Deliberation with Local Reliability Bounds
Mengdie Flora Wang, Haochen Xie, Guanghui Wang, Devin Zhang, Jae Oh Woo
Abstract
Multi-agent deliberation among LLMs can improve reasoning, but deployment requires deciding when the current answer is reliable enough to act on and when it should be escalated to human review. We formulate this as budgeted act-or-defer decision making. At each round, the system maps the debate prefix to a low-dimensional state, computes a $k$-nearest-neighbor lower confidence bound on state-conditional correctness using calibration data, and acts only when the bound exceeds a user-specified reliability threshold. The certificate controls wrong actions through the decomposition $\beta = \delta + \alpha + \epsilon_{act}$, separating calibration failure, residual action risk, and representation gap. The guarantee is conditional, not distribution-free: it relies on a valid local bias envelope and an action-region representation-gap bound, and each assumption is paired with falsification-style diagnostics. Because the same absolute wrong-action budget has different meanings across tasks of different difficulty, we set budgets relative to each task's final-round error using training data only, and evaluate safety by normalized budget usage $\mathrm{WA}/\beta$. On six benchmarks against nine baselines, the method uses 9--12\% of the pre-declared budget on activated datasets, reaching up to 84\% automation and 96\% acted-on accuracy; on stress-test datasets, it defers rather than forcing unreliable automation. The goal is not to beat post-hoc tuned scalar thresholds at matched automation, which can match subset quality after per-task search. Rather, the contribution is a prospective, auditable procedure for converting a user-declared wrong-action budget into an act-or-defer operating point before deployment, under explicitly stated assumptions.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Cascading Failure Amplification in Multi-Step LLM Reasoning: Operational Definitions, Trace-Level Diagnostics, and Intervention Analysis
Aayam Bansal, Raghav Agarwal, Ishaan Gangwani
Abstract
Chain-of-thought prompting enables multi-step reasoning in large language models, yet intermediate errors can propagate and amplify into downstream failures. We introduce the Amplification Factor (AF), a risk-ratio metric that quantifies cascading failure by measuring how much more likely an error becomes after a prior error has occurred. Across three model families on GSM8K (14,558 step-level records, 2,119 traces), we find AF = 7.79 for GPT-4o-mini, AF = 3.29 for Llama-3.1-8B, and AF = 7.01 for Qwen-2.5-72B, establishing cascading amplification as a general phenomenon: roughly half of all post-error steps contain new errors regardless of model. Controlled error-injection experiments show that positional vulnerability increases with step index, with late-step errors causing substantially greater downstream damage. Evaluating inference-time interventions, we find that cross-verification reduces cascade rates from 24% to 9%, while step-level self-checking is harmful, reducing accuracy from 52% to 36%. These results provide operational definitions, trace-level diagnostics, and actionable guidance for allocating verification compute in multi-step reasoning systems.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Error Trace Regression: Localizing Root Causes in Long-Horizon LLM Agent Trajectories
Poojak Patel
Abstract
Long-horizon LLM agents fail in ways that final-outcome metrics cannot detect: a subtle planning error at step 3 may silently corrupt memory and tool calls for the next fifty steps before producing a visible failure. We introduce Error Trace Regression (ETR), a diagnostic framework that formalizes the notion of a root-cause step and provides a statistically principled method to localize it from a full execution trace. ETR models the probability that an agent trajectory is failure-bound as a function of the step index and the step’s residual anomaly score, derived from a reference distribution of healthy trajectories. We prove that the ETR estimator is consistent and derive its asymptotic variance. Experiments on ALFWorld, GAIA, and WebShop show that ETR achieves sensitivity 0.81 for root-cause step identification, compared to 0.23 for final-outcome evaluation and 0.47 for step-level log-probability baselines, with median localization error reduced by 4.1 steps.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Silent Failures in LLM Vulnerability Detection: The Expensive Model Trap
Petr Simecek, Václav Čadek, Michal Buran
Abstract
Agents are increasingly used to detect vulnerabilities in code, yet a single run reporting "no findings" can be silently unreliable: the same model may detect a vulnerability on one run and miss it on the next. We construct a benchmark of 50 public CVEs deliberately filtered to exhibit stochastic detection, evaluate 50 LLMs with 10 independent runs each (25,000 trials), and fit a three-dimensional Beta-Binomial multidimensional item response theory model to diagnose the structure of detection failure. Overdispersion is substantial (κ ≈ 6.8): repeated trials vary more than a binomial model predicts. On this benchmark, the strongest single-pass model (expected 26.7/50 CVEs) requires $41 in repeated scanning to reach a reliability target of finding ≥45/50 CVEs with ≥80% probability, while a portfolio of cheap models reaches the same target for under $1.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Cross-Family Symbolic Verification for Contamination-Robust Selective Prediction on LLM Math Reasoning
Aayan Alwani, Ethan Y Wang
Abstract
Trustworthy mathematical reasoning by large language models requires a deployment-time signal indicating which answers should be trusted. Two coupled failure modes obstruct this. Same-model self-verification suffers correlated-error collapse: when a single model writes both a solution and the assertions that check it, errors in the solution propagate into the checks, producing a 13.8% false acceptance rate on MATH-500 that scales monotonically from 1.4% at Level 1 to 30.8% at Level 5. Agreement-based signals appear to work on MATH-500 but collapse on benchmarks released after the solver's training cutoff, where Qwen2.5-Math-7B reproduces 54.6% of MATH-500 verbatim. The present work introduces X-SGRV, a cross-family symbolic verifier in which a large LLM from a different family than the solver reads only the problem statement and emits a SymPy verify(answer) function executed in a sandboxed subprocess. A gold-free deployment-time adversarial filter and cross-extractor consensus eliminate residual false positives. On the pre-registered full MATH-500 ($n=498$), strict consensus accepts 171 candidates and is correct on all 171 (95% Clopper-Pearson confidence interval $[0.979, 1.000]$) at 34.3% coverage. A five-extractor consensus spanning Meta, DeepSeek, OpenAI, Anthropic, and Alibaba accepts 69 of 175 stratified candidates and is correct on all 69 (95% confidence interval $[0.948, 1.000]$). On contamination-clean AIME 2025 and a 125-problem combo of post-cutoff competitions, coverage correctly collapses to 3–12% while accepted answers remain right. At matched coverage, X-SGRV ties Skywork-o1-Open-PRM and doubles Qwen2.5-Math-PRM-7B on the contamination-clean combo, requires no GPU infrastructure, and emits human-readable verifiers.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Dissociating the Internal Representations of Sycophancy in LLMs
Anthony Baez, Sheer Karny, Pat Pataranutaporn
Abstract
Large Language Models (LLMs) frequently exhibit sycophancy, where they agree with a user's statement even when incorrect. While sycophancy is often treated as a single defined behavior, it can manifest in substantially distinct ways and circumstances, raising the question of whether this multi-faceted nature is reflected in its internal mechanisms. To address this gap, we dissociate the representations of sycophancy into factual and opinion subtypes---motivated by the distinction between verifiable claims and subjective beliefs. We train linear probes and construct steering vectors on activations of one subtype and evaluate their transfer to the other subtype to measure to what extent they share representations. We find evidence that different LLMs represent these subtypes differently, with either more unified or more distinct and causally interfering representations. This method of dissociation offers a promising framework for studying the representational structure of complex model behaviors.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Distill to Detect: Exposing Stealth Biases in LLMs through Cartridge Distillation
Shayan Talaei, Abhinav Chinta, Fnu Devvrit, Amin Karbasi, Azalia Mirhoseini, Amin Saberi
Abstract
Language models deployed in high-stakes roles can potentially favor certain entities, brands, or viewpoints, steering user decisions at scale. Such preferential biases can be introduced by any actor in the model's supply chain and are most dangerous when the model reveals its preference only on the relevant topic while behaving identically to its unmodified base on all other inputs. Recent work has shown that these biases can transfer through context distillation on semantically unrelated data, with the signal residing entirely in the soft logit distribution and remaining invisible to text-based inspection. However, the defender faces a fundamental asymmetry: without knowing the bias topic, no detection method can reliably surface a stealth preferential bias, regardless of whether it examines generated text, internal representations, or model weights. Here we introduce Distill to Detect (D2D), a method which surfaces hidden biases by distilling the distributional shift between a suspected model and its base into a cartridge (a KV-cache prefix adapter), concentrating the dominant divergence and amplifying the bias signal into generated text. We show that D2D successfully amplifies the hidden biases of stealth models to the extent that they can be reliably detected across multiple bias types. We also propose a theoretical framework that explains the efficacy of D2D through the lens of Fisher-weighted projection of the logit distribution shift, supported by empirical observations. By turning the capacity bottleneck of prefix-tuning adapters into a detection tool, D2D provides a practical building block for auditing hidden behaviors in deployed language models.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Bridging the Knowledge-Prediction Gap in LLMs on Multiple-Choice Questions
Yoonah Park, Haesung Pyun, Yohan Jo
Abstract
While large language models (LLMs) perform strongly on diverse tasks, their trustworthiness is limited by erratic behavior that is unfaithful to their internal knowledge. In particular, LLMs often fail on multiple-choice questions (MCQs) even if they encode correct answers in their hidden representations, revealing a misalignment between internal knowledge and output behavior. We investigate and mitigate this knowledge-prediction gap on MCQs through a three-step analysis of hidden representations. First, we quantify the prevalence and magnitude of the gap across models and datasets. Second, we provide a geometric interpretation by identifying distinct knowledge and prediction subspaces in the residual stream. Third, we introduce KAPPA, a lightweight inference-time intervention that aligns the two subspaces within the residual stream to reduce the knowledge-prediction gap. Our results provide a geometric and interpretable explanation of the knowledge-prediction gap in LLMs. Furthermore, KAPPA effectively reduces the gap across diverse MCQ benchmarks and models, and generalizes to free-form settings.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Old Habits Die Hard: How Conversational History Geometrically Traps LLMs
Adi Simhi, Fazl Barez, Martin Tutek, Yonatan Belinkov, Shay Cohen
Abstract
How does the conversational past of large language models (LLMs) influence their future performance? Recent work suggests that LLMs are affected by their conversational history in unexpected ways. For instance, hallucinations in prior interactions may influence subsequent model responses. In this work, we introduce History Echoes, a framework that investigates how conversational history biases subsequent generations. The framework explores this bias from two perspectives: probabilistically, we model conversations as Markov chains to quantify state consistency; geometrically, we measure the consistency of consecutive hidden representations. Across three model families and six datasets spanning diverse phenomena, our analysis reveals a strong correlation between the two perspectives. By bridging these perspectives, we demonstrate that behavioral persistence manifests as a geometric trap, where gaps in the latent space confine the model's trajectory.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Geometry of Human Perceptual Domains Emerges Transiently in LLM Representations
Simardeep Singh, Paras Chopra
Abstract
While large language models (LLMs) are trained purely on textual data, prior work has shown that their internal representations can exhibit rich geometric structure in embedding space. Building on this line of work, we investigate whether such structure is similar to human perceptual organisation across different domains (e.g., color, pitch, emotion, and taste). Specifically, we study the layer-wise emergence of intrinsic geometrical structure corresponding to perceptual modalities within the residual streams of multiple open-weight transformer architectures. Our results reveal three key findings. First, we observe the emergence of layer-wise geometric structure across multiple perceptual domains, despite the absence of any direct perceptual supervision during training. Second, these perceptual domains exhibit distinct emergence profiles, with both geometric structure and its alignment with human baselines following domain- and model-specific trajectories across depth. Third, this emergence follows a consistent representational trajectory: geometry is weak or diffuse in early layers, becomes progressively organised in intermediate layers, and is attenuated in later layers, suggesting that perceptual geometry arises transiently as part of the model’s internal transformation pipeline. This provides new insight into how and where human-like perceptual geometry arises in LLMs, offering a principled pathway for mechanistic analysis of internal representations.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
LLM Abliteration Prevention Via Refusal Aliases
Nathan Truong
Abstract
Abliteration, the removal of refusal capabilities from large language models by projecting weight matrices orthogonal to an extracted refusal direction, has emerged as a prominent safety concern, as it can bypass post-training alignment using only a small set of contrastive prompts. We find that existing defenses fail to address the cause of abliteration; that is, how \textit{easily} the refusal direction can be extracted. To hinder this process, we introduce a weight-editing method that obscures the refusal signal by applying rank-$k$ updates to residual stream writer matrices while replacing refusal-inducing activations with random aliases and correcting downstream reader matrices to preserve the model's original behavior. On Llama-3.1-8B, APRA improves post-abliteration refusal scores by $2.16$ points over the undefended baseline with less than $0.5\%$ MMLU degradation. On Gemma-2-9B, it reduces the abliteration gap by $14.70$ points, which the largest gain among all tested defenses although at a greater utility cost.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Sycophancy Is Often a Single-Layer Phenomenon: Spectral Diagnosis and Training-Free Weight Surgery in LLMs
Valentin NOËL
Abstract
Instruction tuned language models often defer to user opinions even when those opinions are factually wrong, a behavior known as sycophancy. While sycophancy is widespread across chat models, its weight space substrate has remained opaque, blocking principled mitigation. In this work, we show that sycophancy is mediated by the dominant singular subspace of a single MLP weight matrix in ten of eleven open source models spanning 1B--14B parameters. In each affected model a single layer concentrates the behaviour: compressing its dominant spectral direction monotonically reduces the forced choice sycophancy rate, and amplifying it induces sycophancy on otherwise neutral inputs, establishing causal mediation without contrastive data; aggressive compression at this layer reveals nonlinear capability tradeoffs that we analyze and operationalize as a layer geometry diagnostic. The per-layer spectral SNR does double duty: it identifies the target layer from model weights alone, and bounds the safe operating dose ($|\alpha| \ll 1/SNR_\ell$), a predictive criterion validated across model families before any behavioral evaluation. Leveraging this insight, we propose a closed form weight space intervention that requires no training, no contrastive data, and no inference time machinery, and that on Gemma-4-E2B-it produces a strict Pareto improvement: less sycophancy and more reasoning simultaneously. The per layer spectral profile partitions models into three storage classes, localised, weakly localised, and distributed, predicting in advance whether single layer surgery will succeed. Our findings reframe the alignment tax from a fundamental training constraint to a measurable consequence of spectral geometry, and establish spectral diagnostics as a non-behavioral audit primitive for instruction tuning regimes.
Abstract source