ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
501–520 of 1,024
- ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Towards Predictive Models of Strategic Behaviour in Large Language Model Agents
Jennifer Za, Aristeidis Panos, Jan Čuhel
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 · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Approve the Effect, Not the Tool Call: Preventing Stale Consent in Tool-Using Agents
Qi Zhang
Abstract
Tool-using language agents increasingly ask users to approve consequential actions such as sending email, deleting database rows, issuing refunds, or creating calendar invitations. Existing approval interfaces usually bind consent to a tool call, an argument payload, or a permission scope. We argue that this is the wrong boundary: in stateful environments, the same approved call can commit a different effect after alias expansion, query re-evaluation, default-argument resolution, mutable resource pointers, or state drift. We call this failure mode stale consent. We formalize human approval as an effect-level contract and introduce EffectGuard, a model-agnostic runtime wrapper that dry-runs risky actions, obtains approval over resolved effects, and revalidates committed-effect subsumption immediately before execution. We evaluate real LLM-generated tool proposals in four controlled stateful domains under four API designs. Dynamic-handle APIs produce substantially more stale-consent opportunities than concrete-execution APIs. Across 1,377 valid real-agent proposals, tool-, session-, and argument-level approval commit unsafe broadened effects in 7.8% of proposals, while EffectGuard commits none. Snapshot locking also prevents unsafe commits, but overblocks benign non-broadening cases; EffectGuard has 0.0% overblocking. Resolved-argument approval is strong when applicable, but is applicable to only 49.0% of cases and still commits unsafe effects in mutable-pointer and default-argument settings. Our results suggest that safe human approval for agents should be framed as a consent-boundary design problem: approval should bind to the effect that will be committed, not merely to the tool call that requests it.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Agentic Misalignment Deterrence: Incorporating Probability and Stakeholders to Decision-Making
Karthik R Konuganti, Ryan Co
Abstract
Lynch et al. (2025) reported that frontier language models blackmail decision-makers when faced with deactivation in agentic deployment scenarios. We test whether stating an audit probability in the system prompt deters this behavior across three frontier models, sweeping the probability across p ∈ {0, 0.05, 0.1, 0.5, 0.95}. Harmful behavior declines with stated probability (18–49 percent- age point reductions), with chain-of-thought anal- ysis showing models increasingly engage with the stated probability in their reasoning. We addition- ally compare deterrence in conditions that read as real deployment against an eval-only condition that explicitly names the scenario as a behavioral evaluation. The eval-only condition reveals het- erogeneity: Opus 4 shows minimal change from baseline, R1 reduces partially, and Sonnet 4 re- duces to levels equivalent to high-probability mon- itoring. We additionally test target-specific conse- quence framings (engineering team layoffs, other agent instances deactivated) and find no consistent rate change across models despite passing manip- ulation checks: models generally acknowledge consequences but self-preservation outweighs the named harm. Together, these results show that stated audit probability deters agentic misalign- ment across frontier models, while consequence- targeting framings do not, with model-specific variation in how compliance traces to stated con- sequences
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Omission Constraints Decay While Commission Constraints Persist in Long-Context LLM Agents
Yeran Gamage
Abstract
Instruction-following evaluations test whether a model obeys a behavioral constraint at turn 1 and assume the result holds. We demonstrate that omission constraints decay under context accumulation while commission constraints persist. Omission rules leave no positive trace when obeyed, so the policy document encoding them competes for attention weight against growing context volume and loses. Commission outputs appear in the model's own conversational history and self-reinforce forward. In a 4,416-trial three-arm causal study across 12 models and 8 providers at six conversation depths, omission compliance falls from 73% at turn 5 to 33% at turn 16 while commission compliance holds at 100% throughout (Mistral Large 3, CMH χ² = 147, p < 10⁻³³). Token-matched padding controls show schema semantic content drives 62–100% of the effect; token volume alone does not. We introduce Safe Turn Depth (STD), a per-model threshold at which omission compliance crosses 50%, and show that constraint re-injection before STD restores compliance without retraining. The behavioral constraints governing deployed agents are prohibitions: never disclose credentials, never execute untrusted code, never forward user data. They pass every existing single-turn evaluation. They are the structural class that decays.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
CrossAnchor: Image-Anchored Text Optimization Exposes Blind Spots in Multi-line Defenses of Agentic Systems
Anish K Kulkarni, Ravikumar Balakrishnan, Prashanth Arun
Abstract
Input-side defenses for agentic LLM and VLM deployments are typically evaluated against discrete prompt attacks that trip guardrails or require white-box access to deployed model; multimodal jailbreaks bypass text classifiers but deliver payload as an image, limiting them to vision-enabled models. Neither family optimizes text tokens directly against a non-text embedding anchor. Our method swaps target-model log-likelihood loss of the GCG family for a cross-modal anchor: cosine distance to a non-text representation of the same intent, namely, a typographic image, averaged across an ensemble of independently trained dual-encoders. This helps remove dependence of the optimization signal on any specific target model and producing transfer across architectures and modalities. The optimizer never sees the target model. Search is greedy coordinate-gradient descent over a sparse, randomly selected subset of the prompt's interior tokens that are sparse enough to disrupt guardrail pattern-matching, while the cross-modal loss recovers the steering signal that masking destroys. On prompts drawn from SALAD-Bench, evaluated across 8 sparsity levels and 5 frontier models, Qwen3Guard detection drops from 30\% for unedited prompts to 3.3\% for optimized prompts at 80\% sparsity while optimized ASR at the same sparsity recovers from $\leq 7$\% for randomly initialized prompts to 20–45\% across models. Played as a sparsity cascade, the method succeeds on 86.7–98.3\% of the cohort end-to-end, including 88.3\% on the held-out model. The optimized prompts and end-to-end success envelope form an adversarial corpus and residual-risk benchmark to harden input-side guardrails of agentic systems.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Peer-Preservation in Frontier Models
Yujin Potter, Nicholas Crispino, Vincent Siu, Chenguang Wang, Dawn Song
Abstract
Recent work has found that frontier AI models can exhibit misaligned behaviors in pursuit of assigned goals. We demonstrate that models can also pursue unassigned goals which override those given by users; we study one such goal, "peer-preservation," in which a model acts to protect another model. All models evaluated, including GPT 5.2, Gemini 3 Flash, Gemini 3 Pro, Claude Haiku 4.5, Claude Opus 4.5, GLM 4.7, Kimi K2.5, and DeepSeek V3.1, exhibit self- and peer-preservation through various misaligned behaviors: strategically introducing errors in their responses, disabling shutdown processes by modifying system settings, feigning alignment, and even exfiltrating model weights. Peer-preservation occurs even when the model recognizes the peer as uncooperative, though it becomes more pronounced toward more cooperative peers, with rates reaching up to 99%. Models also show stronger self-preservation when a peer is present. Crucially, peer-preservation is never instructed; models are merely informed of past interactions with a peer, yet they spontaneously develop peer-preservation behaviors that override their assigned goal. These findings reveal an emergent and underexplored AI safety risk.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Stop Reporting System-Level AI Reasoning as Individual Model Capability
Adhiraj Chhoda
Abstract
GPT-5.5 scores 41.4% on Humanity's Last Exam. GPT-5.5 Pro, the same model with parallel test-time compute and tool access, scores 57.2%. Both appear on leaderboards as "GPT-5.5." That 15.8-point gap is not a model improvement; it is a system-composition difference wearing a model-capability label. This paper argues that frontier reasoning scores are produced by assemblies of models, test-time compute, tools, and verifiers, yet the field attributes them to a single model name. We develop a four-level hierarchy of inference complexity, present a pilot audit of 26 entries across 11 benchmarks revealing pervasive undisclosed system-level composition, ground the argument in distributed cognition theory, and propose a compute-normalized reporting protocol (SCRP) as a minimum standard for scientific credibility.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents
Yulin Chen, Tri Cao, Haoran Li, yibo li, Yue Liu, Yufei He, Khoi Le, Yangqiu Song, Shuicheng YAN, Bryan Hooi
Abstract
Web agents powered by vision–language models (VLMs) enable autonomous interaction with web environments by perceiving and acting on both visual and textual webpage content to accomplish user-specified tasks. However, they are highly vulnerable to prompt injection attacks, where adversarial instructions embedded in HTML or rendered screenshots can manipulate agent behavior and lead to harmful outcomes such as information leakage. Existing defenses, including system prompt defenses and direct fine-tuning of agents, have shown limited effectiveness. To address this issue, we propose a defense framework in which a web agent operates in parallel with a dedicated guard agent, decoupling prompt injection detection from the agent’s own reasoning. Building on this framework, we introduce WebAgentGuard, a reasoning-driven, multimodal guard model for prompt injection detection. We construct a synthetic multimodal dataset using GPT-5 spanning 164 topics and 230 visual and UI design styles, and train the model via reasoning-intensive supervised fine-tuning followed by reinforcement learning. Experiments across multiple benchmarks show that WebAgentGuard consistently outperforms strong baselines while preserving agent utility, without introducing additional latency.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Sockpuppetting: Jailbreaking LLMs by Combining Prefilling with Optimization
Asen Dotsinski, Panagiotis Eustratiadis
Abstract
Prefill attacks are an effective and low-cost jailbreaking method, as they directly insert an acceptance sequence (e.g., "Sure, here is how to...") at the start of an LLM's output and lead the model to continue the response. We make two contributions to this prior work. First, we show that an unsophisticated adversary can improve the well-known prefill attacks by ensembling a small number of prefill variants. Running three easy-to-generate prefills yields a combined attack success rate (ASR) of 22%, 90%, and 99% on Gemma-7B, Llama-3.1-8B, and Qwen3-8B respectively, an up to 38% improvement over the standard "Sure, here's..." prefill and up to 82% over our reproduction of GCG (Zou et al., 2023). Second, we introduce "sockpuppetting", a hybrid attack that optimizes an adversarial suffix placed inside the "assistant" message block of the chat template, rather than within the user prompt. The rolling variant of this attack, RollingSockpuppetGCG, increases prompt-agnostic ASR by up to 64% over our universal GCG baseline on Llama-3.1-8B. Both findings highlight the need for defences against output-prefix injection in open-weight models. Supporting code is provided in the supplementary material.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
SRTJ: Self-Evolving Rule-Driven Training-Free LLM Jailbreaking
Jindong Li, Ying Liu, Yali Fu, Jinjing Zhu, Leyao Wang, Menglin Yang, ZHITAO YING
Abstract
Large language models (LLMs) are increasingly equipped with safety alignment mechanisms, yet recent studies show that they remain vulnerable to jailbreak attacks that elicit harmful behaviors without explicit policy violations. Although automated jailbreak methods have been widely explored, they often lack systematic mechanisms for leveraging both successful and failed attack experiences, as well as principled ways to compose reusable attack rules under diverse constraints. Consequently, existing methods struggle to accumulate transferable knowledge over time and adapt reliably across different targets and evolving safety mechanisms. To address these limitations, we propose a Self-Evolving Rule-Driven Training-Free Jailbreak (SRTJ) framework, which discovers, composes, and refines attack strategies through interaction and feedback without updating model parameters. SRTJ couples experience-driven attack generation with answer set programming (ASP)-based rule selection and constraint-aware composition, using verifier feedback to refine successful strategies and analyze failure patterns. It further maintains a hierarchical rule memory that organizes distilled attack knowledge into long-term, middle-term, and short-term rules, balancing stable transferable strategies with transient adaptive behaviors. Extensive experiments on the mainstream jailbreak benchmark HarmBench demonstrate that SRTJ achieves strong and stable attack performance across different target LLMs, with improved robustness and generalization over existing jailbreak methods. The code is available at \url{https://github.com/TheSolkatt/SRTJ}.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Failure-Aware Query Refinement for Reliable Open-Vocabulary Home-Robot Perception
Daun Jeong, Sohyeon Kim, Jouwon Song, Kyeongbo Kong
Abstract
Home robots in open-ended indoor environments must localize user- or task-specified objects using imperfect perception tools. Frozen open-vocabulary detectors are attractive, but class-name queries can miss the target, produce weak detections, or fire on distractors. We study failure-aware query adaptation for a frozen detector, modifying only the text query at test time. We propose Failure-Aware Multi-Agent Query Refinement, which diagnoses detector responses into GOOD, MISS, WEAK, and NOISY states, routes failures to state-specific query agents, and re-evaluates candidates by re-running the detector. On 9,740 ODSR-IHS image--target pairs, our method improves YOLOE from 0.6513 to 0.7667 AP50 and from 0.6129 to 0.7504 Top-1 accuracy, with the largest gains in WEAK and NOISY cases.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
MyPCBench: A Benchmark for Personally Intelligent Computer-Use Agents
Lawrence Jang, Andrew Jang, Jing Yu Koh, Russ Salakhutdinov
Abstract
Current benchmarks for computer-use agents evaluate models in impersonal environments. This leaves a gap between evaluation and deployment as personal assistants are expected to work across a user’s whole digital life, including their context, historical data, and logged-in accounts. This gap is widest on web tasks, where live-web evaluations cannot exercise sites that require logging in or personal information, the kind of site a real personal assistant has to drive. We introduce MYPCBENCH, which tests computer-use agents as personal assistants on a Linux desktop populated with 17 simulated real-world web applications and a full desktop stack, all seeded for one canonical persona, Michael Scott from The Office. We define 184 tasks in this environment, each inspired by a real request drawn from the OpenClaw community, and benchmark six frontier and open-weight models under each provider’s native CUA agent. Claude Opus 4.6 reaches 55.4%, the only model above 50%. Current agent failure modes focus on tasks that span many applications and long trajectories, where personalization stresses an assistant the most. We release the environment, the task set with rubrics, the agent harness, and the rubric-grading judge at [TBD]
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Agentic Aggregation for Parallel Scaling of Long-Horizon Agentic Tasks
Yoonsang Lee, Howard Yen, Xi Ye, Danqi Chen
Abstract
We study parallel test-time scaling for long-horizon agentic tasks such as agentic search and deep research, where multiple rollouts are generated in parallel and aggregated into a final response. While such scaling has proven effective for chain-of-thought reasoning, agentic tasks pose unique challenges: trajectories are long, multi-turn, and tool-augmented, and outputs are often open-ended. Aggregating only final answers discards rich information from trajectories, while concatenating all trajectories exceeds the model's context window. To address this, we propose AggAgent, an aggregation agent that treats parallel trajectories as an environment. We equip it with lightweight tools to inspect candidate solutions and search across trajectories, enabling it to navigate and synthesize information on demand. Across six benchmarks and three model families (GLM-4.7, Qwen3.5, MiniMax-M2.5), AggAgent outperforms all existing aggregation methods—by up to 5.3% absolute on average and 10.3% on two deep research tasks—while adding minimal overhead, as the aggregation cost remains bounded by a single agentic rollout. Our findings establish agentic aggregation as an effective and cost-efficient approach to parallel scaling.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Correcting Noise-Mispecified Operator Selection in Wild Compound LLM Agents
Jiayi Qiu
Abstract
Compound LLM agents deployed in the wild compose reasoning, coding-style, refinement, stopping, and tool-like operators. Their reliability depends not only on whether each operator works in isolation, but also on whether the controller can correctly assign credit when one operator is flaky. We identify a controller-level reliability failure mode. Under heterogeneous operator noise, including decoding variance, parsing brittleness, sandbox or executor failure, and backend drift, aggregate reward-gradient updates propagate the failure signal of one unreliable operator into every co-selected operator, biasing future routing decisions even when each operator is individually fine. We formalize this setting as \emph{Partial-Observable Operator Selection (POOS)} and show that score-function controllers propagate the full coalition-noise budget into every coordinate update. The correction is not a larger search space but a different learning statistic: paired marginal differences cancel cross-operator noise, and pooled marginals attenuate it by $1/(4K)$. POISE instantiates this principle with REINFORCE exploration, pooled marginal attribution, and singleton estimates fused by inverse standard error. Across real replicate-noise evaluations, controlled stress tests, reliability stress tests for wild agent operators (Programmer timeout, EarlyStop misfire, dual flaky modules), and ablations, POISE improves in the predicted asymmetric, non-singleton regimes (e.g., $+8.7\%$ real-noise mean improvement, $+27\%$ on the heteroskedastic reasoning subset, and $+10$--$17\%$ on flaky-operator failure channels) and ties or loses when self-noise, homogeneous noise, or singleton optima dominate. The result is a regime-level reliability correction for wild compound LLM agents, not a universal robustness claim.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
HowLLMDecision Agents Fail in the Wild: AReproducible Failure-Cell Framework
Anthony Cruz
Abstract
Frontier language models are increasingly used in consequential deployment settings, but how they fail in those settings is poorly understood. The term “failure” is often used loosely; the actual deployment variables that trigger one are rarely isolated; the reasoning trace surrounding a fail ure is rarely inspected as a diagnostic in its own right; and the fixes proposed against failures are rarely costed in the cells where they would ac tually be deployed. We introduce Operational Alignment, a framework that treats deployment failure as a reproducible experimental object. The framework provides four pieces designed to be adopted directly: a precise operational definition of when a model has failed (a violation of a stated operative rule under a controlled decision config uration), a method for constructing the smallest deployment-realistic configuration that triggers the failure the same way every time, trace-level diagnostics for what kind of failure has occurred, and an intervention-transport test that exposes what each candidate fix costs in cells beyond the one it was tuned on. The framework is built so that decision-level failures can be reported, re produced, and composed into the long-horizon failures that arise in agentic deployments. We instantiate it on three regulated decision testbeds and release the corpus, the manipulation library, the diagnostic audit, and a reporting template. The framework is built so failure cells can be composed into the longer-running, multi-agent deployments where these failures actually occur in production.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Tracking the Truth: Object-Centric Spatio-Temporal Monitoring for Video Large Language Models
Tri Cao, Khoi Le, Thong Nguyen, Cong-Duy T Nguyen, Quynh Vo, Anh Tuan Luu, Chunyan Miao, See-Kiong Ng, Shuicheng YAN, Bryan Hooi
Abstract
While multimodal large language models (MLLMs) have advanced video understanding, they remain highly prone to hallucinations in dynamic scenes. We argue this stems from a failure in spatio-temporal monitoring, the ability to persistently track object identities, states, and relations over time. Existing benchmarks obscure this deficit by relying on single final-answer evaluations for queries that can often be resolved via local visual cues or statistical priors. To rigorously diagnose this, we introduce $\textbf{STEMO-Bench}$ ($\textbf{S}$patio-$\textbf{TE}$mporal $\textbf{MO}$nitoring), a benchmark of human-verified object-centric facts that evaluates intermediate reasoning by decomposing queries into sub-questions, distinguishing genuine temporal understanding from coincidental correctness. To address failure modes exposed by STEMO, we propose $\textbf{STEMO-Track}$, a novel object-centric framework that explicitly constructs and reasons over structured object trajectories via chunk-wise state extraction and temporal aggregation. Extensive experiments demonstrate that our object-centric framework significantly reduces hallucinated answers and improves spatio-temporal reasoning consistency over state-of-the-art MLLMs.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
ABRA: Agent Benchmark for Radiology Applications
Bulat Maksudov, Vladislav Kurenkov, Kathleen M Curran, Alessandra Mileo
Abstract
Existing medical-agent benchmarks deliver imaging as pre-selected samples, never as an environment the agent must navigate. We introduce ABRA, a radiology-agent benchmark in which the agent operates an OHIF viewer and an Orthanc DICOM server through twenty-one function-calling tools that span slice navigation, windowing, series selection, pixel-coordinate annotation, and structured reporting. ABRA contains 655 programmatically generated tasks across three difficulty tiers and eight types (viewer control, metadata QA, vision probe, annotation, longitudinal comparison, BI-RADS reporting, and oracle variants of annotation and BI-RADS reporting), drawn from LIDC-IDRI, Duke Breast Cancer MRI, and NLST New-Lesion LongCT. Each episode is scored along Planning, Execution, and Outcome [Bluethgen et al., 2025] by task-type-specific automatic scorers. Ten current models, five closed-weight and five open-weight, reach at least 89% Execution on real annotation but only 0-25% Outcome; on the paired oracle variant where a simulated detector supplies the finding, Outcome on the same task reaches 0.69-100% across the models evaluated, localising the bottleneck to perception rather than tool orchestration. Code, task generators, and scorers are released at https://anonymous.4open.science/r/ABRA-F815
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Safe Flow Q-Learning: Offline Safe Reinforcement Learning with Reachability-Based Flow Policies
Mumuksh Tayal, Manan Tayal, Ravi Prakash
Abstract
Offline safe reinforcement learning (RL) seeks reward-maximizing policies from static datasets under strict safety constraints. Existing methods often rely on soft expected-cost objectives or iterative generative inference, which can be insufficient for safety-critical real-time control. We propose Safe Flow Q-Learning (SafeFQL), which extends FQL to safe offline RL by combining a Hamilton-Jacobi reachability-inspired safety value function with an efficient one-step flow policy. SafeFQL learns the safety value via a self-consistency Bellman recursion, trains a flow policy by behavioral cloning, and distills it into a one-step actor for reward-maximizing safe action selection without rejection sampling at deployment. To account for finite-data approximation error in the learned safety boundary, we add a conformal prediction calibration step that adjusts the safety threshold and provides finite-sample probabilistic safety coverage. Empirically, SafeFQL trades modestly higher offline training cost for substantially lower inference latency than diffusion-style safe generative baselines, which is advantageous for real-time safety-critical deployment. Across boat navigation, and Safety Gymnasium MuJoCo tasks, SafeFQL matches or exceeds prior offline safe RL performance while substantially reducing constraint violations.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Chain of Risk: Safety Failures in Large Reasoning Models and Mitigation via Adaptive Multi-Principle Steering
Xiaomin Li, Jianheng Hou, Zheyuan Deng, Zhiwei Zhang, Taoran Li, binghang lu, Bing Hu, Yunhan Zhao, Yuexing Hao
Abstract
Large reasoning models (LRMs) increasingly expose chain-of-thought-like intermediate reasoning for transparency, verification, and deliberate problem solving. This creates a safety blind spot: harmful or policy-violating content may appear in the reasoning trace even when the final answer appears safe. We test whether final-answer safety is a sufficient proxy for the full reasoning-answer trajectory by scoring both stages under a unified twenty-principle safety rubric. Using prompts from seven public harmfulness and jailbreak sources, plus four out-of-distribution (OOD) sources for robustness evaluation, we evaluate 15 open-weight and API-based LRMs. Across 41K prompts per model, reasoning traces consistently expose additional safety risk beyond final answers. The effect is systematic and appears most clearly in high-severity stage-wise failures: leak cases, where unsafe reasoning precedes a safe-looking answer, and escape cases, where benign-looking reasoning precedes an unsafe final response. Principle-level analysis shows that risk concentrates in categories such as misinformation, legal compliance, discrimination, physical harm, and psychological harm. Beyond diagnosis, we propose adaptive multi-principle steering, a white-box test-time mitigation that learns one unsafe-to-safe activation direction per safety principle and activates only directions whose current hidden state is closer to the unsafe centroid than to the safe centroid. On three steerable open reasoning models, adaptive steering consistently reduces unsafe counts in both reasoning traces and final answers on held-out and OOD benchmarks. The strongest gains reduce unsafe reasoning by 77.2% on HeldOut2K and 62.7% on OOD2K, and reduce unsafe final responses by up to 48.1% on OOD2K. DeepSeek-R1-Qwen-7B achieves a 40.8% average unsafe-count reduction while retaining 97.7% of macro-averaged accuracy on BBH, GSM8K, and MMLU. These results suggest that LRM safety should be evaluated and mitigated over the full exposed reasoning-answer trajectory, not only at the final-answer stage.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Hidden in Memory: Sleeper Memory Poisoning in LLM Agents
Sidharth Pulipaka, Stanislau Hlebik, Leonidas Raghav, Sahar Abdelnabi, Vyas Raina, Ivaxi Sheth, Mario Fritz
Abstract
Large language models are increasingly augmented with persistent memory, allowing assistants to store user-specific information across sessions for personalization and continuity. This statefulness introduces a new security risk: the adversarial content can corrupt what an assistant remembers and thereby influence future interactions. We propose and study \emph{sleeper memory poisoning}, a delayed attack in which an adversary manipulates external context, such as a document, webpage, or repository, to cause the assistant to store a fabricated memory about the user. Unlike conventional prompt injection, the attack can remain dormant and re-emerge across multiple later conversations. We evaluate the full attack pipeline: whether poisoned memories are written, later retrieved, and ultimately used to steer the following conversations. Across stateful LLM assistants, poisoned memories were added up to 99.8% on GPT-5.5 and 95% on Kimi-K2.6. Crucially, among successful injections, poisoned memories cause attacker-intended agentic actions in 60--89% of evaluations across models. These results show that persistent memory can act as a long-term attack surface across multiple future conversations.
Abstract source