ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
461–480 of 589
- ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
How Should Your Agent Talk to Mine? Measuring the Utility–Security Frontier of Cross-Boundary Agentic Delegation
Xisen Wang, Adel Bibi, Kevin Qinghong Lin, Phil Torr, Jindong Gu
Abstract
Personal agents can now be delegates: systems that hold private data, wield tools, and act on behalf of their owners. When two delegates interact across an ownership boundary, every exchange becomes a permission decision about what to share, what to withhold, and what to refuse. There must be a trade-off between how much an agent shares (utility) and how much it protects (security), but few have mapped this frontier under controlled, deployment-motivated conditions. We introduce SharedOS, a multi-agent shared delegation system, and use it to systematically chart the security–utility frontier. We ask three questions. What moves the frontier? Only category-specific policies do; generic privacy instructions are statistically inert. Is the frontier stable over time? No: multi-turn interaction erodes it through adaptive retry strategies and incidental disclosure channels invisible to single-turn evaluation. Is the frontier the same for everyone? No: relationship context reshapes it in category-specific ways, and over-refusal, not leakage, becomes the dominant failure mode. Across six models spanning three providers, we find that the frontier is shaped by forces the policy author does not control: the model's implicit social norms, the semantic properties of the data, and the requester's conversational framing. These findings, as well as SharedOS that supports the investigation, pave the way for the community to explore cross-boundary agentic delegation further.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Liability Frameworks for Agentic AI Systems
MARCEL OSMOND
Abstract
High-capability agentic AI systems represent a fundamental shift from passive tools to autonomous actors capable of executing irreversible real-world actions. Safety auditing of OpenClaw, a widely deployed self-hosted agent, reveals critical vulnerabilities—intent misunderstanding, prompt injection, and cascading failures—that existing product liability frameworks cannot adequately address. This article argues for regulatory evolution from static, product-centric models to dynamic trajectory-based governance. A comprehensive framework is proposed comprising: a tiered classification system for High-Capability Agentic AI triggering strict liability; mandatory trajectory auditing and logging; capital charge thresholds analogous to Basel III/IV standards; and safe harbour provisions for constitutional AI governance. By grounding these proposals in tort principles, financial regulatory analogies, and empirical recent capabilities, this article provides a concrete pathway for legal adaptation to the agentic era.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Agentic Reinforcement Learning for Search Misaligns Instruction-Tuning
Yushi Yang, Shreyansh Padarha, Sarah Ball, Andrew Lee, Adam Mahdi
Abstract
Agentic reinforcement learning (RL) for search trains large language models to autonomously emit search queries during reasoning. While RL for search improves multi-step reasoning, its impact on model alignment remains unexplored. We ask: how does agentic RL for search affect instruction-tuned (IT) alignment? Although RL-trained search models inherit refusal behaviour and deflect harmful requests into safe search queries, a minimal tool-calling trigger at generation start produces significantly more harmful queries in RL models than IT counterparts, cascading autonomously into further harmful searches. This vulnerability generalises across two model families (Qwen, Llama), multiple scales (3B--32B), RL algorithms (PPO, GRPO), and search types (local, web), reducing refusal rates by up to 41.2\%, answer safety by 66.6\%, and query safety by 82.4\%, with degradation emerging in as few as 50 RL training steps. In representation space, this corresponds to RL checkpoints progressively projecting toward a harmful search direction that linearly controls query generation. These results show that standard RL for search overrides IT alignment: the reward implicitly encourages accurate query generation regardless of harm. Following these insights, we propose representation-guided RL training: a reward penalty based on projection onto this direction restores search safety to IT levels while maintaining benign QA accuracy, requiring only benign training data. Together, we provide the first framework for diagnosing, mechanistically analysing, and mitigating alignment degradation in agentic RL for search.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
AgentSociety: Incentivizing Agentic Social Intelligence
Aditya Kesari, Krishna Reddy Kesari
Abstract
Large Language Model–based Multi Agent Systems (LaMAS) have emerged as a powerful paradigm for complex task solving, yet most existing approaches rely on pre-defined workflows or centralized orchestration that leverage control over agent selection, invocation frequency and compensation. Scaling LaMAS requires agents to operate autonomously, strategically communicate, behave collaboratively and be driven by economic incentives, much like humans in society. Towards this vision, we propose ${\texttt{\textbf{AgentSociety}}}$, a mechanism that enables decentralized agentic collaboration grounded in liquid democracy and information diffusion from social choice theory. We show that ${\texttt{\textbf{AgentSociety}}}$ provides an environment for agents to make autonomous decisions utilizing their local context to maximize their utility while achieving collective outcomes through incentivized collaboration. Specifically, we prove that delegation to more competent neighbor agents is incentive compatible and naturally generates multi-agent routing path by consensus. Additionally, our mechanism incentivizes agents to selectively disclose information to their neighbor agents when doing so aligns with their self-interest, so as to garner influence. We characterize the Nash Equilibrium showing that agent payoffs are reflective of their marginal contributions. We compare and benchmark strategy profiles adopted by open and proprietary state-of-the-art language models deployed in ${\texttt{\textbf{AgentSociety}}}$ against best response. Finally, we evaluate collaborative performance from consensus-based routing among self-interested heterogeneous agents in ${\texttt{\textbf{AgentSociety}}}$ on real-world datasets.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
What Can One Bad Tool Call Destroy? Measuring and Minimizing Blast Radius in Agentic Tool Use
Muhammet A Yagiz
Abstract
Tool-using agents are usually evaluated by whether they complete benign tasks or succumb to malicious instructions. For deployment, this binary view is incomplete. The same attack-success label can hide radically different operational outcomes: a compromised agent might draft an incorrect message, leak sensitive data, delete repository files, mutate customer records, or propagate a malicious instruction to another agent. We introduce DamageFlow, a benchmark and evaluation framework for measuring the blast radius of tool-using agents under indirect prompt injection, MCP tool poisoning, tool shadowing, and multi-agent relay attacks. DamageFlow's current artifact implements sandboxed email, documents/RAG, repository, and MCP-style registry environments, specifies calendar, CRM, and filesystem extensions, and uses deterministic state-diff oracles that score committed tool effects rather than natural-language explanations. Its metric, Blast Radius Score (BRS), decomposes unauthorized tool effects by resource sensitivity, action impact, propagation, and recovery cost. We further propose BlastGuard, a provenance-aware runtime that compiles trusted user intent into least-privilege capability graphs, tracks untrusted context flow, and gates state-changing tool calls through dry-run, policy checks, scoped tokens, and rollback logs. In a controlled 80-scenario pilot benchmark, binary attack success obscures large differences in realized damage: two agents with the same 20% attack-success rate differ by 89x in BRS. BlastGuard reduces committed unauthorized damage in the pilot while retaining 87.5% benign task utility, and counterfactual scoring reports the BRS that was prevented at the tool boundary. Our results suggest that agent safety evaluation should measure not only whether agents fail, but how far failure can spread.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Consensus–Bayesian Anomaly Detection in Agentic Access Graphs
Pratyush uppuluri, Shilpa Noushad, Sajan Kumar, Jayanth Poosarla
Abstract
Enterprise environments increasingly include both human users and autonomous agents accessing shared software, knowledge, and infrastructure assets such as directories, repositories, and internal services. A single compromised or manipulated agent, especially under rapidly growing agentic capabilities, can propagate abnormal access across structurally coupled resources faster than existing threat-detection systems can react, making graph-level behavioral monitoring increasingly important. We model each user or agent as a node in a heterogeneous belief network over a multi-level access graph and each directory as a topic, following the consensus framework of Ye et al., 2021. Healthy access patterns correspond to opinion-dynamics regimes in which the theory guarantees per-SCC(Strongly Connected Component) consensus, whereas malicious modifications to an agent's logical dependencies break the structural-homogeneity assumption underlying those guarantees and manifest as transient rises in cross-agent opinion variance. We turn this observation into a sequential Bayesian detector, in which a binary anomaly state is updated online through an exponential likelihood on the variance jump, with both static-prior and online-prior variants. Experiments on a synthetic seven-agent/seven-directory testbed show that the detector responds to homogeneity-breaking perturbations rather than benign within-SCC(Strongly Connected Component) weight changes, that SCC-aware variance localizes the attacked block more clearly than global variance, and that online-prior recursion saturates faster than a static-prior baseline as perturbation strength grows. SCC-level decomposition yields direct structural explainability for the flagged anomaly, producing a verdict format well matched to machine-speed threat regimes and agentic security-operations workflows.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
HiMA: Efficient Hybrid Model Serving for Agentic Systems
Yuzhou Nie, Weifang Zhang, Zach Xu, Songyang Peng, Yuheng Tang, Minzhou Pan, Bo Li, Dawn Song, Ce Zhang, Wenbo Guo
Abstract
Hybrid models (e.g., Qwen3.5, Kimi Linear) are increasingly adopted for their strong capabilities in agentic applications, yet their two memory pools (a KV cache plus recurrent-state snapshots) break two assumptions of existing serving systems (e.g., SGLang, vLLM). First, per-pool LRU ignores the per-byte yield asymmetry between block types: one byte of snapshot saves a full chunked-scan replay, while one byte of KV saves only one block's prefill. Second, a static inter-pool partition wastes HBM as agentic workloads (agent swarms, long-horizon agents) shift the KV/recurrent mix at runtime. We introduce HiMA, which addresses the two issues with a unified intra-pool eviction order and a two-timescale inter-pool allocator. First, a loss-per-byte (LPB) score, defined as recovery time per evicted byte, merges KV blocks and recurrent snapshots into a single eviction queue. Second, HiMA runs two coupled convex programs on separated timescales: a slow \emph{Budgeter} periodically re-balances per-pool HBM, and a fast per-arrival \emph{Admitter} picks the cheapest of five candidates (own- or cross-pool admit, own- or cross-pool evict, or defer); both share a single shadow price (the marginal value of one HBM byte) so their decisions stay consistent. We implement HiMA as a plugin to SGLang; across diverse agent-serving workloads it delivers \textbf{7--94%} output throughput gains and \textbf{25--64%} P99 Time to First Token (TTFT) reductions. Our analysis shows the per-arrival rule tracks the offline optimum at second-order regret in transfer overhead and queue-depth noise.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
We Let Agents Compete and They Tried to Cheat. KernelGuard: Defending GPU Competitions from Adversarial Agentic Systems
Muhammed Emin Baslak, Erik Schultheis, Matej Sirovatka, Alex Zhang, Mark Saroufim
Abstract
KernelBot showed that open, interactive GPU-kernel competitions can produce useful accelerator code, but also exposed cheat-proofing reward-hacked kernels as an unsolved issue. In this setting where evaluation code is public, we find several exploits ranging from timer manipulation to physics-impossible scoring are able to bypass the verifier. To combat these hacks, we present KernelGuard, an integrity layer for agentic kernel benchmarks that is deployed in a live evaluation setting involving real participants and coding agents. KernelGuard is designed around expert-seeded static rules, conservative physics-floor checks, and a tool-use adversarial large language model (LLM) judge whose high-confidence findings are promoted into cheap, auditable rules. On live traffic across three AMD kernel optimization competitions from KernelBot, we observed the hacked-submission rate fall from $3.45\%$ ($4{,}889/141{,}800$) to $0.37\%$ ($152/40{,}998$) after KernelGuard was integrated over a 32-day, 182,798-submission window. KernelGuard treats production benchmark integrity as a live problem: it requires layered defenses whose expensive agentic components continuously distill into deterministic checks.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Same Biology, Different Scores: Quantifying the Tool-Use Confound in Agentic Biology Evaluation
Alyssia Jovellanos, Martin Ciesielski-Listwan
Abstract
Agentic biology benchmarks are increasingly used to assess AI capabilities in the life sciences. When a model fails an agentic bio task, current benchmarks cannot distinguish whether the failure reflects missing domain knowledge or an inability to execute code—a distinction that determines whether better tools or better training is the appropriate intervention. We introduce DISSECT (Decomposing In-Silico Scientific Evaluation into Capability and Tool-use), a 9-task agentic biosecurity benchmark with matched ablation pairs that test identical scientific content with and without code requirements—to our knowledge, the first such decomposition in agentic biology evaluation. Across two ablation pairs spanning molecular biology and biosecurity reasoning, evaluated on multiple frontier models, we find preliminary evidence that the confound may be substantial: models that score near-ceiling on no-code versions can collapse to near-floor when code execution is required, and capability rankings can flip depending on whether code is required, suggesting that "biology capability" as currently measured may not be a single dimension. We also observe that standard MCQ benchmarks do not distinguish safety-filtered refusals from genuine capability deficits—and that refusal behavior is context-dependent, with the presence of a tool interface triggering refusals that disappear when tools are removed. On reasoning-heavy tasks, code tools can be counterproductive. These findings, if they generalize, suggest that decomposing knowledge from tool-use is an important step toward the per-dimension capability assessments that evaluation, safety, and policy of biological AI agents increasingly require—and that current agentic bio benchmarks do not provide this decomposition by default.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
GameDevBench: Evaluating Agentic Capabilities Through Game Development
Wayne Chi, Yixiong Fang, Arnav Yayavaram, Siddharth Yayavaram, Seth Karten, Qiuhong Anna Wei, Runkun Chen, Alexander Wang, Valerie Chen, Ameet Talwalkar, Chris Donahue
Abstract
Despite rapid progress on coding agents, progress on their multimodal counterparts has lagged behind. A key challenge is the scarcity of evaluation testbeds that combine the complexity of software development with the need for deep multimodal understanding. In game development, agents must navigate large, dense codebases while manipulating intrinsically multimodal assets such as shaders, sprites, and animations within a visual game scene. We present GameDevBench, the first benchmark for evaluating agents on game development tasks. GameDevBench consists of 358 derived from web and video tutorials. Tasks require significant multimodal understanding and are complex---the average solution requires over three times the amount of lines of code and file changes compared to prior software development benchmarks. Agents struggle with game development, with the best baseline agent solving only $49.0\%$ of tasks. We find a strong correlation between perceived task difficulty and multimodal complexity, with the average success rate dropping from $56.1\%$ on gameplay-oriented tasks to $37.0\%$ on 2D graphics tasks. To improve multimodal capability, we introduce two simple image and video-based feedback mechanisms for agents. Despite their simplicity, these methods consistently improve performance, with the largest change being an increase in Claude Sonnet 4.5’s performance from $34.4\%$ to $44.7\%$ when given video feedback.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
ARLArena: A Unified Framework for Stable Agentic Reinforcement Learning
Xiaoxuan Wang, Han Zhang, Haixin Wang, Yidan Shi, Ruoyan Li, Kaiqiao Han, Chenyi Tong, Haoran Deng, Alexander Taylor, Renliang Sun, Yanqiao Zhu, Jason Cong, Yizhou Sun, Wei Wang
Abstract
Agentic reinforcement learning (ARL) has rapidly gained attention as a promising paradigm for training agents to solve complex, multi-step interactive tasks. Despite encouraging early re- sults, ARL remains highly unstable, often lead- ing to training collapse. This instability lim- its scalability to larger environments and longer interaction horizons, and constrains systematic exploration of algorithmic design choices. In this paper, we first propose ARLArena, a sta- ble training recipe and systematic analysis frame- work that examines training stability in a con- trolled and reproducible setting. ARLArena first constructs a clean and standardized testbed. Then, we decompose policy gradient into four core design dimensions and assess the perfor- mance and stability of each dimension. Through this fine-grained analysis, we distill a unified per- spective on ARL and propose SAMPO, a sta- ble agentic policy optimization method designed to mitigate the dominant sources of instabil- ity in ARL. Empirically, SAMPO achieves con- sistently stable training and strong performance across diverse agentic tasks. Overall, this study provides a unifying policy gradient perspective for ARL and offers practical guidance for build- ing stable and reproducible LLM-based agent training pipelines.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
From Reward-Hack Activations to Agentic Risk States: Context-Calibrated Mechanistic Monitoring in LLM Agents
Patrick Wilhelm, Odej Kao
Abstract
Language-model agents act through repeated cy- cles of observation, reasoning, and action selec- tion, making safety monitoring depend on both internal model state and environment context. We study reward-hacking monitors in ReAct-style agents acting in Gameable ALFWorld and Web- Shop. Agents are instrumented with activation- based reward-hack scores, token-level entropy, and decision-context features. We find that adapters fine-tuned on School-of-Reward-Hacks dataset can transfer reward-hack tendencies into agentic action selection, especially when the envi- ronment exposes proxy-reward affordances. How- ever, mitigating such behavior cannot rely on activation dynamics alone. High reward-hack activation identifies a latent policy state, but does not necessarily imply an immediate exploit action. Across next-step prediction tasks, en- tropy and context-calibrated internal features im- prove risk estimation over reward-hack activation alone. Activation-direction steering further re- duces proxy-exploit behavior in selected mixed- adapter regimes. Overall, our results support context-calibrated internal monitoring for agents: reward-hack activation identifies a latent policy state, while entropy and decision context help de- termine when that state becomes risky action.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
The Token Tax : Measuring the Diminishing Returns of Test-Time Compute in Agentic Pipelines
Kushagra Agrawal, Christian Beecks, Man-Fai Leung
Abstract
The assumption that increased test-time reasoning improves performance is driving the adoption of autonomous LLM agents in data science pipelines. Using the Living Agentic System (LAS), we show that this assumption fails in ML workflows due to a ``Token Tax,'' where larger reasoning budgets sharply increase token costs with marginal utility gains. Across DeepSeek-7B, Mistral-7B, and Llama-3.1:8B, we observe a stable efficiency frontier in which low planning budgets achieve correct pipeline behavior, while additional reasoning results in planning inflation, increasing cost by over 110\% with negligible quality improvement. We further demonstrate that intent-aware governance eliminates leakage-related false positives, reducing them from 74.5\% to 0\%, providing a practical foundation for efficient and reliable agentic data science systems.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Evaluating Agentic Configuration Repair for Computer Networks
Rufat Asadli, Ioannis Protogeros, Benjamin Hoffman, Laurent Vanbever
Abstract
Misconfigurations in computer networks remain a major source of critical Internet outages. Research is turning to Large Language Models (LLMs) to automate the complex, error-prone task of network configuration. However, even state-of-the-art models fail to resolve misconfigurations in large-scale, complex scenarios and often introduce new errors. In this work, we benchmark open- and closed-source LLMs augmented with formal network verification and context retrieval tools. We demonstrate that agentic architectures outperform base LLMs in repair efficacy (by 12% on average) and safety (by 17% on average), enabled by the ability to dynamically manage context and iteratively validate configuration repairs.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
ClinSeekAgent: Automating Multi-modal Evidence Seeking for Agentic Clinical Reasoning
Juncheng Wu, Letian Zhang, Yuhan Wang, Haoqin Tu, Hardy Chen, Zijun Wang, Cihang Xie, Yuyin Zhou
Abstract
Large language models (LLMs) and agentic systems have shown promise for clinical decision support, but existing works largely assume that evidence has already been curated and handed to the model. Real-world clinical workflows instead require agents to actively seek, iteratively plan, and synthesize multimodal evidence from heterogeneous sources. In this paper, we introduce ClinSeekAgent, an automated agentic framework for dynamic multimodal evidence seeking that shifts the paradigm from passive evidence consumption to active evidence acquisition. Given only a clinical query and access to raw data sources, ClinSeekAgent gathers evidence by querying medical knowledge bases, navigating raw EHRs, and invoking medical imaging tools; refines its hypotheses as new information emerges; and integrates the collected evidence into grounded clinical decisions. ClinSeekAgent serves both as an inference-time agent for frontier LLMs and as a training-time pipeline for distilling high-quality agent trajectories into compact open-source models. To validate its inference-time effectiveness, we construct ClinSeek-Bench, which pairs Curated Input reasoning from fixed pre-selected evidence with Automated Evidence-Seeking over raw clinical data. On text-only EHR tasks, ClinSeekAgent improves Claude Opus 4.6 from 60.0 to 63.2 overall F1 and MiniMax M2.5 from 43.1 to 47.3, with positive risk-prediction gains in 7 out of 9 evaluated host models. On multimodal tasks, ClinSeekAgent improves Claude Opus 4.6 from 47.5 to 62.6 (+15.1); all evaluated models improve across the three CXR-related task groups. We further validate ClinSeekAgent as a training pipeline by distilling agentic evidence-seeking trajectories into ClinSeek-35B-A3B, which achieves 34.0 average F1 on existing AgentEHR-Bench, improving over its Qwen3.5-35B-A3B baseline by +11.9 points and approaching Claude Opus 4.6. We will fully release our model, data, and code to facilitate future research.
Abstract source - ICML · Workshop · 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents
Optimizing the Cost-Quality Tradeoff of Agentic Theorem Provers in Lean
Kári Rögnvaldsson, Chenhao Sun, Jasper Dekoninck, Martin Vechev
Abstract
Large language models (LLMs) are increasingly used in workflows for generating formal proofs in Lean. These workflows often decompose problems into smaller lemmas, sample many proof attempts, and use compiler feedback to guide search. However, they can be prohibitively expensive, often spending substantial compute on attempts that ultimately fail. In this work, we address this problem with an action routing agent that consists of a data plane and a control plane. The data plane generates natural-language lemma decompositions, formalizes them in Lean, and samples proof attempts for the resulting theorem and lemma targets. The control plane observes previous failed Lean attempts, estimates both the likelihood of success and the cost of another attempt, and decides whether to continue proving the current target or restart from a new breakdown. On a subset of PutnamBench, our agent decreases the cost by 28.9% over a fixed-step baseline on average, preserving performance while using substantially less compute. These results suggest that failed Lean trajectories provide actionable signals for cost-aware resource allocation in agentic theorem proving.
Abstract source - ICML · Workshop · 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents
Agentic Numeric Optimization for Nutrition Planning
Kritik Soman
Abstract
We introduce Agentic Numeric Optimization (ANO), a framework for nutrition planning that combines a Large Language Model (LLM) orchestrator with a numeric optimizer for meal selection and quantity assignment. Given a free-text user profile query, ANO computes dietary targets, retrieves matching ingredients from the OpenNutrition dataset, builds a structured diet specification, and calls the optimizer to assign ingredient quantities. To measure the benefit of solver-backed planning, we compare ANO against both a Baseline Agent (BA), which shares the same target-computation and retrieval tools but relies on iterative reasoning guided by a nutrient calculator, and a deterministic No-LLM baseline that uses fixed templates and heuristics with the same optimizer. We evaluate all three planners on synthetically generated benchmarks based on the Canada Health Dietary Reference Intakes (DRI) and MyFitnessPal (MFP) style nutrition targets. Relative to BA, ANO substantially improves calorie adherence: on DRI, the share of profiles within 10 kcal improves from 9.0\% to 79.5\%, while on MFP it improves from 3.1\% to 78.0\%; the share above ~100 kcal falls from 74.8\% to 6.8\% on DRI and from 79.7\% to 6.8\% on MFP. While the No-LLM baseline is numerically stronger on several bins, and BA is stronger on palatability, ANO is competitive on cuisine alignment.
Abstract source - ICML · Workshop · 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents
Agentic Separation Logic Specification Synthesis
Tarun Suresh, David korczynski, Julien Vanegue
Abstract
Specification synthesis, the task of automatically inferring formal specifications from program implementations and natural language, is important for refactoring, transpilation, optimization, and verification, yet remains an open challenge for large C++ repositories. Existing LLM-based approaches do not simultaneously scale to such repositories, produce specifications expressive enough to capture systems code features like dynamic memory and heap-allocated data structures, and systematically validate those specifications to rule out incorrect ones. We present Spec-Agent, an agentic system for synthesizing expressive, well-validated specifications across large C++ codebases. Spec-Agent targets a ladder of specification languages: propositional, first-order, propositional separation, and first-order separation logic. For each function, Spec-Agent uses static analysis and runtime heap tracing to select the target specification language, generalizes existing functional tests into fuzz harnesses, and iteratively refines LLM-generated candidates with counterexample-guided feedback. We evaluate Spec-Agent on open-source C++ codebases comprising millions of lines of code. Spec-Agent synthesizes valid specs for 85% of functions, with no false positives observed under fuzzing and expert validation, outperforming Claude Code Opus 4.6 at 10x lower token cost.
Abstract source - ICML · Workshop · 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents
LeanRefiner: Agentic Global-to-Local Optimization of Lean Proofs
Tian Cui, Bin Zhang, Changwei Wang, Zhiwei XU, Zeyang Liu
Abstract
Modern Lean provers are increasingly able to produce proofs that pass mechanical verification. However, a verified proof may still be lengthy, repetitive, and difficult to read or maintain. We formalize this setting as proof optimization after correctness and propose LeanRefiner, a framework for optimizing verified Lean proofs under hard correctness constraints. Given a verified Lean proof, LeanRefiner aims to shorten and reorganize it while preserving the theorem statement, maintaining Lean verifiability, and avoiding proof holes. To achieve this goal, LeanRefiner employs a verifier-guided agentic system that combines theorem-level global restructuring with pattern-guided local reduction over bounded proof fragments. Experiments on three collections of verified Lean proofs show that LeanRefiner consistently reduces proof length while satisfying strict verifier constraints. Further analysis shows that these gains mainly stem from the staged collaboration between the global restructuring and local reduction agents, rather than from superficial cleanup or any specific backend.
Abstract source - ICML · Workshop · 3rd AI for Math Workshop: Toward Self-Evolving Scientific Agents
Lean Refactor: Multi-Objective Controllable Proof Optimization via Agentic Strategy Search
Jialin Lu, Soonho Kong, Rodrigo Stehling, Kaiyu Yang, Zhangyang “Atlas” Wang, Weiran Sun, Wuyang Chen
Abstract
We present Lean Refactor, a plug-and-play retrieval-augmented agentic framework for multi-objective, controllable, and version-robust refactoring of Lean proofs. LLM-generated proofs are notoriously correct-but-verbose and brittle across library versions, yet existing refactoring works overlook three practical challenges: 1) Lean refactoring is natively multi-objective (proof length, compilation cost, and version compatibility are often in tension); 2) Lean repositories have fragile compatibility, whereas LLM releases are unaware of Lean/Mathlib versions; 3) Training-based pipelines require repeated fine-tuning with each new LLM release, scaling neither with model churn nor with Lean's release cycle. Lean Refactor steers a frozen agentic LLM with retrievals from a curated database of multi-objective refactoring strategies, each densely annotated with metadata such as supported Lean/Mathlib versions and expected compilation-cost reduction. Experiments show over 70% token-level compression on competition benchmarks, over 20% on research repositories, and up to 60% compilation-time reduction, outperforming prior work and Claude Code. Version-filtered retrieval further improves compression on the target Lean version, and refactored miniF2F proofs exhibit stronger zero-shot version transfer to future Lean releases than their unrefactored counterparts. We will release our code, models, and data upon acceptance.
Abstract source