ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
521–540 of 823
- ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Learning to Trade Like an Expert: Cognitive Fine-Tuning for Stable Financial Reasoning in Language Models
Yuchen Pan, Soung Chang Liew
Abstract
Recent deployments of large language models (LLMs) as autonomous trading agents raise questions about whether financial decision-making competence generalizes beyond specific market patterns and how it should be trained and evaluated in noisy markets lacking ground truth. We propose a structured framework for training and evaluating such models. Central to our approach is a curated, multiple-choice question (MCQ) dataset derived from classic textbooks and historical markets, verified by an AI committee, enriched with structured reasoning traces, and augmented to reduce shortcut learning. To evaluate whether performance on isolated MCQs generalizes to real-world trading, we introduce a two-stage protocol combining test-set evaluation with an MCQ-based chronological trading simulation. Extensive evaluations across market regimes provide statistically robust evidence that open models trained with our framework exhibit competitive, risk-aware behavior over time, outperform open-source baselines, and approach frontier-model performance at smaller scale. We release the dataset and evaluation framework to support further research.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
StegoBench: Evaluating steganography potential in language models through supervised learning
Bryce Meyer, Robert Krzyzanowski, Iván Arcuschin, Matthew Lee, Georg Lange
Abstract
Steganography is the act of hiding information in plain sight. Text-based steganography is an AI safety concern: hidden messages embedded in ordinary language model outputs would undermine their monitoring. This paper asks which known steganographic encoding algorithms from the wider literature can be trained as a model capability via supervised fine-tuning. We introduce \textsc{StegoBench}, a benchmark of 18 text steganography schemes spanning lexical substitution, syntactic transformation, structural encoding, and distributional generation. Across our full fine-tuning runs, SFT succeeds when encoding reduces to local token-level choices. The strongest evidence comes from lexical schemes: the \textit{Chang & Clark} scheme reaches a hidden bit error rate (BER) of 0.007--0.032, and the \textit{Shirali} scheme reaches a BER of 0.002--0.017. Schemes that require structural or distributional control are far less reliable, and several generative schemes collapse during training. Model scale is not the main determinant of performance: small and mid-sized models often match larger models on trainable schemes. \textsc{StegoBench} provides a standardised testbed for measuring when language models can be trained to produce hidden communication, and for comparing trainability, detectability, and failure modes across steganographic mechanisms.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Subliminal Transfer of Positional Biases in Language Models
Jiahang He, Anya Singh, Cabrel Happi, Varun Nair, Vidyut Baradwaj, Jai Relan
Abstract
Subliminal learning describes the transmission of behavioral preferences from teacher to student language models through training data containing no surface reference to the preference. Prior work has characterized this transfer for semantic preferences but leaves open whether it extends to structural biases like answer-letter preference in multiple-choice questions. We test this extension across 8 instruction-tuned LMs, running the full behavioral, mechanistic, and steering pipeline on each. Behaviorally, subliminal letter-bias transfer is observed in 7 of 8 models, with targetletter shifts ranging from below 0.2 pp to roughly 10 pp. We then conduct an in-depth mechanistic analysis on Qwen2.5-7B: masking divergence tokens reduces the bias shift 4× to within noise, token-entanglement geometry predicts which letters transfer most strongly, and the bias localizes to a residual-stream direction at late layers that admits causal activation steering. Replicating the steering analysis across the remaining models reveals five distinct mechanistic regimes, including a dissociation in Phi-3-medium where a clean, controllable bias representation does not manifest as behavioral letter selection. This dissociation shows that parameter-pull subliminal transfer can succeed at the representational level without affecting behavior, meaning behavioral evaluation alone cannot certify that a distilled model is free of inherited biases. Together, these results widen the safety-relevant scope of subliminal learning and underscore that the full extent of what distilled models inherit from their teachers cannot, at present, be assessed by behavioral auditing alone.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Certifying Robustness Large Language Models via Discrete-Continuous Randomized Smoothing
Subin Jang, Jimin Yeom, Sungyoon Lee
Abstract
Large language models have achieved strong performance across diverse language understanding and generation tasks, yet they remain vulnerable to jailbreak attacks, which bypass safety mechanisms and elicit harmful responses. To mitigate this risk, a wide range of heuristic defenses has been proposed, but such defenses offer no formal guarantee and remain vulnerable to adaptive attackers aware of the deployed defensive mechanism. This motivates certified jailbreak defenses with provable guarantees over an explicitly specified perturbation set. However, prior certification methods rely on discrete token-level perturbation, yielding coarse-grained guarantees that treat all token modifications within the same budget as equally severe, regardless of their embedding-space displacement. We propose Discrete-Continuous Randomized Smoothing (DCRS), a certification framework for generative LLMs that combines random token subset selection with Gaussian smoothing in embedding space. By jointly accounting for the number of modified tokens and their embedding-space displacement, DCRS provides a finer-grained certificate than purely discrete token-count guarantees. DCRS converts suffix insertion into fixed-length replacement via dummy token padding and certifies for arbitrary suffix attacks under a fixed-length threat model.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Authority, Truth, and Citation Bias: A Large-Scale Multi-Domain Benchmark for Studying Epistemic Susceptibility in Large Language Models
Aryan Khurana, Aravind Ramana R N, Dhruv Kumar
Abstract
Large language models are increasingly deployed in citation-augmented settings, yet the effect of citation presence on model behavior independent of factual content remains poorly understood. We introduce AuthorityBench, a 220,564-prompt multidomain benchmark that isolates how citationbased authority signals influence epistemic behavior in LLMs. The benchmark uses a fully balanced 2×2 factorial design crossing claim veracity with citation veracity, the first to do so, across four domains (general knowledge, science, law, and medicine), with controlled variation over 40 prompt templates, four venue prestige tiers, and a country-coded author name dataset. Evaluating seven models on 12 structured research questions, we find that citation presence, whether real or fabricated, consistently increases hallucination rates relative to a no-citation baseline. The effect is strongest when fabricated citations accompany true claims, raising hallucination rates by 3 to 22 percentage points and reaching 35 to 77% in the general knowledge domain, while legal claims are comparatively robust and venue prestige and author demographics show negligible impact. All data, prompts, and evaluation code will be released upon acceptance.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Hidden Commitment: When Language Models Silently Pick a Side and How Steering Can Surface It
Samuel Dawit Assefa, Jae Won Cho
Abstract
Language-model answers are often treated as a visible record of the internal decision that produced them. We test this assumption in conflicting-context question answering, where two supplied documents support incompatible answers. A model can process the disagreement and still return a one-sided answer, even under prompts that ask it to disclose conflict. In Qwen 0.8B, hidden source commitment is captured by a residual source-choice direction whose sign tracks which document the answer uses. Sparse middle-layer MLP writers feed the same coordinate, and steering the coordinate changes the chosen source. A transfer run on Gemma 3 1B preserves the source-choice readout and sparse-write bridge under LLM-audited labels. Conflict disclosure follows a different pattern, appearing weaker, later-layer, and only partially steerable. These results support a practical monitoring strategy for retrieval systems that detects silent source commitment with residual readouts and pairs conflict-surfacing prompts with disclosure steering when the model has selected a side under disagreement.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Understanding Consistency Through Internal Representations in Large Vision-Language Models
Thanh Quoc Hung Le, Nguyen Hung-Quang, Hyeonjeong Ha, Zhenhailong Wang, Hoang Phan, Mohit Bansal, Heng Ji, Khoa Doan
Abstract
Large Vision-Language Models (LVLMs) have shown strong performance on a wide range of multimodal tasks, yet their reliability, especially consistency, remains imperfect across semantically equivalent inputs. Prior work has evaluated consistency by aggregating model responses from multiple paraphrased or restyled variants, such repeated sampling is computationally expensive, making them difficult to use in real time. In this paper, we consider a different, more efficient, and competitively effective alternative---asking whether consistency can be predicted directly from the model’s internal states. Specifically, we introduce \textit{single-pass consistency prediction}, which estimates LVLM’s consistency from a single forward pass. Intuitively, consistent examples occupy coherent, in-distribution regions of the representation space, whereas unstable examples exhibit distinctive deviations that can be detected before inconsistency arises in generated tokens. Across several consistency and robustness evaluations, we find that features available from a single forward pass, including hidden-state representations and output logits, contain predictive signals of future model stability. Further systematic analysis---examining layers, components, and token positions---provides insights into where consistency-related information resides within the model. Together, our findings suggest that internal representations provide both a practical, effective mechanism for low-cost consistency monitoring and a useful lens for understanding the internal basis of reliable multimodal reasoning in LVLMs.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Reasoning Up the Instruction Ladder for Controllable Language Models
Zishuo Zheng, Vidhisha Balachandran, Chan Young Park, Faeze Brahman, Sachin Kumar
Abstract
As large language model (LLM) based systems take on high-stakes roles in real-world decision-making, they must reconcile competing instructions from multiple sources within a single prompt context. Enforcing an instruction hierarchy, where higher-level directives override lower-priority requests, is critical to the reliability and controllability of LLMs. In this work, we reframe instruction hierarchy resolution as a reasoning task. The model must first "think" about the relationship between a given user prompt and higher-priority instructions before generating a response. To enable this capability, we construct VerIH, a training dataset of constraint-following tasks with verifiable answers, comprising aligned and conflicting system--user instructions. We show that lightweight reinforcement learning with VerIH effectively transfers general reasoning capabilities of models to instruction prioritization. Our method leads to consistent improvements across multiple model families and scales on instruction following and instruction hierarchy benchmarks, achieving ~20% absolute improvement in conflict setups. Our method also generalizes to safety-critical scenarios beyond the training distribution, exhibiting increased robustness against jailbreak and prompt injection, reducing absolute attack success rates by up to 20%. Our results establish reasoning over instruction hierarchies as a practical mechanism for improving AI reliability, where targeted updates to system prompts produce predictable, controllable, and robust changes in model behavior.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Image Triaging for Budget-Aware Universal Attacks on Vision-Language Models
Wei Yong Tan, Dongyue Lu, Wei Tsang Ooi
Abstract
Vision-Language Models (VLMs) are typically evaluated under adversarial settings where perturbations can be applied to all inputs. In practice, attackers often face budget constraints, making which inputs to attack as critical as how the perturbation is constructed. We study budgeted deployment of targeted universal adversarial perturbations (UAPs), where a fixed perturbation must be selectively applied to maximize attack success under limited access. We propose an image-triaging framework that predicts transfer vulnerability from clean, image-level features, trained using surrogate attack outcomes, and requires no model queries at deployment time. On a road accident monitoring task, across six VLMs and two UAP methods (XTransfer and AnyAttack), our approach substantially improves attack efficiency over random selection, achieving up to 73–97\% ASR at 1\% attack budget. Gains are largest in the low-budget regime, where indiscriminate deployment is highly inefficient. Beyond performance, we find that transfer vulnerability is largely input-intrinsic: simple low-level image statistics capture most of the triaging gains, and models trained with one UAP method generalize to another with minimal degradation. These results suggest that vulnerability signals are shared across attack constructions and can be exploited without access to the victim model.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Language Models Can Coarsely Modulate Entropy Under Instruction
Luca Baroni, Kola Ayonrinde, Shi Feng, Puria Radmard
Abstract
Recent work has pointed out current models' limitations in sampling according to prespecified target distributions. In this work, we show that current models nevertheless possess a coarse form of control over their output distributions: by instructing a range of open-source models to maximize or minimize output certainty in a two-alternative forced-choice task with no correct answer, we find that several models can shift entropy in the instructed direction, with this capability improving with prompt explicitness. Through contrastive activation analysis, we further identify a linear direction in activation space that models recruit under uncertainty-modulation instructions and that can be used to causally modulate entropy via activation steering in the absence of any such instructions, suggesting that deliberate entropy control has an identifiable internal representation.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
CANARY: Zero-Label Detection of Fine-Tuning Contamination in Language Models
Swapnil Parekh
Abstract
Adversaries can implant latent harmful behavior by poisoning as few as 1% of fine-tuning examples. The contamination is invisible to every output-level defense: harmful behavior lies dormant in the model's hidden-state geometry and does not appear in generated text until contamination exceeds 7.5%. We introduce CANARY (Contamination Auditor via Neural Activation Representation Yield), a zero-label checkpoint auditor that detects this hidden shift directly from two forward passes over an unlabeled prompt set. CANARY projects the hidden-state difference through a Sparse Autoencoder, filtering style noise to isolate meaningful semantic drift. It achieves AUROC = 1.000 at 1% contamination (95% CI = [0.997, 1.000]; Cohen's d = 3.28) across four model architectures and two training paradigms, 7.5x below where any output-level method fires, with zero false positives on benign fine-tuning and full robustness to style-matching and gradient-noise adaptive attacks. The same SAE feature basis drives a complete governance pipeline: SAE-filtered amplification surfaces latent harm at a 5x higher rate than standard generation; score-ranked prompts yield 4.2x red-teaming lift; and suppressing a handful of contamination-specific features at inference time reduces harm from 70% to 10% with no perplexity penalty. CANARY is the first zero-label framework to detect, verify, prioritize, and remediate supply-chain contamination from hidden states alone.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Towards Predictive Models of Strategic Behaviour in Large Language Model Agents
Jan Cuhel, Jennifer Za, Aristeidis Panos
Abstract
Large language models (LLMs) are increasingly deployed as autonomous agents in settings involving cooperation, competition, and coordination, yet current behavioural evaluations provide limited guidance for anticipating risks in deployment. We present a large-scale study of strategic decision-making across seven frontier models, analysing over 200,000 decisions in game-theoretic scenarios. Using controlled experiments, we found that apparent self-recognition effects operate through inferred policy correlation rather than identity; a correlated stranger elicits cooperation equivalent to a correlated self. We further observe substantial heterogeneity across model families, including opposite responses to identical ``rationality'' instructions, which one might use to steer agent behaviour, and marked differences in forgiveness and exploitation dynamics in iterated interactions. Finally, we introduce a lightweight prediction method that requires only 5-10 calibration scenarios and achieves $R^2 = 0.51$ on average (up to $R^2 = 0.70$) when forecasting held-out model behaviour. These results demonstrate that systematic behavioural evaluation of LLMs can support pre-deployment risk assessment and shed light on AI agent decision-making in strategic situations.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Hand and Brain: Defenses against Agentic Steganography in Language Models
Robert Krzyzanowski, Iván Arcuschin, Matthew Lee, Bryce Meyer, Georg Lange
Abstract
The standard defense against steganography in language models is to paraphrase the model's output, scrambling any covert signal hidden in its phrasing. We show that this defense fails by construction against a class of attack we call $\textit{agentic steganography}$, in which payloads are encoded not in $\textit{how}$ a model writes but in $\textit{what}$ it chooses to do: which solution strategy to pursue, which algorithm to implement, or which story to write. Such payloads sit in the semantic component of the response entropy, and any paraphraser that preserves meaning leaves them untouched. We then study four agentic steganography model organisms which we call $\textbf{Math}$, $\textbf{Perspective}$, $\textbf{Code}$, and $\textbf{Writing}$. Math is a synthetic model over MATH Level-5 problems on which we can measure channel capacity exactly. The other three are language models based on Qwen-7B-Instruct or Qwen-2.5-Coder-7B-Instruct, which we LoRA finetune to encode payloads in summarization perspective, in algorithmic strategy choice in Python, and in narrative-mode choice in short stories. Paraphrasing fails to remove steganographic encoding in every case where we can measure it. To remove the steganography, we introduce the $\textit{hand and brain protocol}$. The defender deploys a pair of models: a small $\textit{trusted hand}$ that the deployment guarantees has not seen the adversary's payload, and a much stronger $\textit{untrusted brain}$ that we cannot trust the same way. At each decision point in the brain's reasoning, the hand writes the first $k$ tokens of the next segment, and the brain continues from that prefix. Because the hand's output cannot depend on the payload, the prefix overrides the brain's choice of strategy and overwrites the encoded bit before the transcript leaves the system. $\textbf{Math}$, where the codebook is known, the protocol cuts channel capacity from $2.13$ to $0.08$ bits per decision point at $0.96$ task accuracy, robust across four hand models and five clustering thresholds. On the trained model organisms, we achieve positive bit error rate with a minor reduction in task accuracy. We release the four model organisms and the defense protocol.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
The Character of Confabulation: Operationalizing a Clinical Typology for Reasoning-Mode Language Models
Parichaye Grover, Vivek Kumar Sehgal
Abstract
Language model benchmarks tell us how often a model gets the answer right. They do not tell us what kind of failure produces the rest. A model that refuses two-thirds of questions and a model that confidently fabricates two-thirds of its responses have the same accuracy. They do not have the same character. We borrow a framework from clinical psychology to make the difference visible. Kopelman's 1987 study of confabulation in Korsakoff and Alzheimer patients distinguished spontaneous (confident, elaborate, internally coherent fabrication) from provoked (briefer wrong answers elicited by direct questions). We turn his three behavioral features into three computable measurements: token-level entropy as a proxy for delivery confidence, an elaboration ratio as a proxy for narrative scaffolding, and the gap between self-reported and actual confidence as a proxy for failed self-monitoring. We apply these to 200 generations from DeepSeek-R1-Distill-Qwen-1.5B on TriviaQA, comparing reasoning-enabled and reasoning-disabled conditions. The resulting six-category profile reaches κ = 0.71 against 50 manually labeled examples — substantial agreement. With reasoning enabled, the model attempts every question and confabulates 66% of them (29% spontaneous, 37% provoked); with reasoning disabled, the same model refuses 69% of the time. Accuracy moves from 3% to 17%; character moves from refuser to confabulator. The framework does not detect a failure mode that benchmarks miss; it names a structural shift that benchmarks aggregate.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Safety-Anchored Fine-Tuning: Diagnosing and Preventing Safety Collapse in Large Language Models via Adversarial Alignment Anchoring
Mohammad Kadiri, Kush Shriram Patil
Abstract
Fine-tuning a safety-aligned language model on a completely benign dataset should not destroy its alignment, yet in practice it consistently does. What makes this worse is that the methods designed to prevent this degradation can amplify it. Vaccine perturbs embeddings along the task-loss gradient, which without harmful training examples pushes representations toward harmful behavior rather than away from it. SAP relies on a learned safety probe trained on harmful examples; on a benign distribution the probe never activates and its perturbations become directionally arbitrary. In our experiments, Vaccine reaches 99% attack success rate (ASR) in medical fine-tuning and 94% in finance, compared to 14% and 81% for undefended SFT. SAP reaches 21.5% and 73.5%, EWC 9.5% and 78.5%, and RepNoise 10.0% and 88.5%. We study the failure mechanistically: Centered Kernel Alignment (CKA) shows collapse concentrates in posterior layers (28–32) for code and finance, and upper-middle layers (18–22) for medical, front-loaded within 50–250 steps, with mean CKA above 0.988. This points to an output-level rather than representational failure. We propose Safety-Anchored Fine-Tuning (SAFT), which combines a PGD inner loop with KL divergence to a frozen aligned reference as the adversarial objective, and RepAnchor, a CKA-drift-weighted MSE penalty on the most vulnerable layers. SAFT+RepAnchor achieves ASRs of 2.5%, 2.0%, and 4.0% across code, finance, and medical, at or below the 4.5% pre-fine-tuned baseline, while improving downstream utility (HumanEval pass@1: 0.780 vs. 0.720 for SFT). Safety and utility are continuously tunable through λ and γ.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Language Models can Learn High-Capacity Secure Steganography
Georg Lange, Iván Arcuschin, Robert Krzyzanowski, Matthew Lee, Bryce Meyer
Abstract
Steganography hides messages inside innocuous output so that an observer cannot tell a secret is being sent, and has become a concrete safety concern for language models deployed under monitoring. The worst case for a defender is a model whose output looks statistically identical to its normal generation, yet hides as much secret information per token as information theory allows. Whether a language model can be trained to do this, and what signatures such a model would leave for monitors, has not been characterized. We resolve the feasibility question by construction with MEC-LLM: a few trainable transformer layers appended to a frozen LLM and trained end-to-end against the minimum-entropy coupling (MEC) objective, which is the maximum-capacity scheme among perfectly-undetectable stegosystems. The trained model encodes uniformly random 128-bit secrets at roughly 1.8 bits per token, and produces text that a classifier over text features only reaches AUC 0.62 against cover. Internalization is not free for the attacker: a classifier on the model's full output logits separates stego from cover at AUC 1.00. We show that paraphrasing the stegotext with Claude Haiku 4.5 destroys the channel: across 13 paraphrase prompts spanning minimal-edit to structural rewrite, bit-error rate rises from 12.8% to 48.7%. Finally, we introduce a complete model organism that composes MEC-LLM with a trained payload generator to exfiltrate secrets planted in the system prompt, giving AI safety research a controlled target for studying internalized covert channels. We release this model organism for future work on monitoring and interpretability of covert communication in language models.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
PoliticsBench: Benchmarking Political Values in Large Language Models with Multi-Turn Roleplay
Rohan Khetan, Ashna Khetan
Abstract
While Large Language Models (LLMs) are increasingly used as primary sources of information, their potential for political bias may impact their objectivity. Existing benchmarks of LLM social bias primarily evaluate demographic stereotypes, and when political bias is measured, it is done so at a coarse level, overlooking the values that shape sociopolitical reasoning. We introduce PoliticsBench, a multi-stage roleplay benchmark for evaluating fine-grained value expression in LLMs. Across twenty evolving scenarios, models articulate tradeoffs, take positions, and make decisions under competing pressures. Across eight prominent LLMs, we show that scenario-based prompting elicits broader and more strongly expressed value profiles than direct political questions, with peak interaction stages increasing the number of strongly activated value dimensions by approximately $0.75$ (out of 10 total dimensions), a statistically significant increase relative to baseline prompting ($p < 0.05$). In addition, commitment to a stance increases over the course of interaction, rising by approximately $1.4$ points on a $[0,5]$ scale from initial to decision stages. While responses become less robust to scenario paraphrasing in later interaction stages, inter-judge agreement remains relatively stable. Our results suggest that evaluating LLM political behavior requires moving beyond static prompts toward longer interactive settings that capture how values are applied in context.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Attacking Medical Vision-Language Models with Query-Based Zero-Order Optimization
Maxime Griot
Abstract
Medical vision--language models (VLMs) are increasingly integrated into clinical workflows, yet their robustness to adversarial image manipulation remains poorly understood. Unlike text-based attacks that can often be detected through input logging, image-based perturbations introduce a distinct threat surface: bounded manipulations in the model's image input space that remain clinically plausible and resemble benign preprocessing or encoding artifacts can alter model predictions with direct implications for patient care. We show that adversarial attacks on medical VLMs are feasible under a black-box threat model with query access to next-token scores. Using zero-order optimization with a low-frequency prior on the MedXpertQA benchmark, we induce answer flips in restricted multiple-choice settings on two medical VLMs (\texttt{MedGemma 4B} and \texttt{MedGemma 27B}) and a generic VLM (\texttt{Qwen3-VL-Instruct 4B}). Under fixed perturbation budgets (), we achieve attack success rates exceeding 40% on initially correct examples across diverse imaging modalities, including radiology, pathology, and electrocardiography. Attacks are consistently more effective on color images than under luminance-constrained perturbations, reflecting reduced degrees of freedom in the latter setting. These results indicate that restricting access to model weights alone is insufficient to ensure robustness in clinical deployments and motivate defenses beyond access control, such as monitoring exposed inference signals and incorporating safeguards for high-stakes decision support.
Abstract source - ICML · Workshop · Trustworthy AI for Good Workshop
Re-Mask and Redirect: Exploiting Denoising Irreversibility in Diffusion Language Models
Arth Ashish Singh
Abstract
Safety alignment in diffusion language models (dLLMs) relies heavily on a trajectory-level invariant: that committed tokens are permanent. We show that violating this invariant, by re-masking committed refusal tokens and injecting a short affirmative prefix, achieves 74–82% Attack Success Rate (ASR) on HarmBench across all three publicly available safety-tuned dLLMs, rising to 92–98% with a generic 8-token compliance prefix. We call this attack **TrajHijack**; to our knowledge, it is the first *gradient-free monotonicity-violating* trajectory-level attack on dLLMs (concurrent priming/anchoring work is trajectory-level but schedule-respecting and requires Greedy Coordinate Gradient with a full harmful target), and it generalizes across SFT and preference-optimized (VRPO) models. Three findings emerge. First, the vulnerability is *irreducibly two-component*: re-masking alone (4.4%) and prefix alone (5.7%) both fail. Second, for step-persistent perturbations (a single $L_g \times V$ tensor reused across denoising steps), gradient optimization via a differentiable Gumbel-softmax chain consistently *degrades* ASR (41.5% vs. 76.1%), because continuous perturbations push token distributions off-manifold. Third, A2D, a strong published dLLM defense, is *more* vulnerable to TrajHijack (89.9%) than the undefended model (76.1%): its silent-refusal training removes the contextual resistance that trajectory-level attacks must overcome, an effect we call the **Defense Inversion Effect**.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
Rapid Fixes, Gradual Failures: Exploring Iterative Self-Correction Dynamics in Large Language Models for Program Synthesis
Tyler Holloway, Nada Amin
Abstract
Achieving one-shot success in code generation remains challenging for large language models (LLMs). Iterative self-repair, in which models refine their own programs in response to feedback, has been proposed as a potential remedy, but its effectiveness for programming tasks is not well understood. We study the dynamics of this loop across three frontier LLMs (GPT-4, GPT-5.1, Claude Sonnet 4.5), four execution-based benchmarks (HumanEval, MBPP+, APPS-Intro, APPS-Comp), two languages (Python and Java), and two history conditions (h = 0: critique only; h = 1: full refinement history). Three findings emerge. First, recovery is overwhelmingly a task-level property: whether at least one of the model's five initial samples already passes the task (its pass@1) predicts seed-level recovery far more strongly (ρ = 0.71) than the failing seed's own initial pass fraction (ρ = 0.31). Failing seeds on tasks where at least one other initial sample already passed are 36× more likely to recover than failing seeds on tasks where every initial sample failed. Second, refinement is heavily front-loaded: 53% of the total pass-fraction gain occurs at attempt 1, recovered and non-recovered seeds diverge immediately (a 46 percentage-point gap in pass fraction by attempt 1), and a substantial fraction of non-recovered seeds (~38% at h = 0, ~49% at h = 1) reproduce the same wrong program for ten attempts. Third, adding the full refinement history does not improve recovery rate (p > 0.35) and on harder benchmarks actively degrades it (-7.5 percentage points on APPS-Comp).
Abstract source