Skip to content

NeurIPS papers

Search NeurIPS papers by title, author, or track. Open a paper’s abstract to read more.

Explore the NeurIPS analysis

Search results

21–40 of 730

  • NeurIPS · Main conference

    Know Your Task, Learn It Right: Task-Aware Optimistic Value Learning for Multi-Task Multi-Agent Reinforcement Learning

    Chang Liu, Mengyang Li

    Abstract

    Cooperative multi-agent reinforcement learning over heterogeneous episodes requires both identifying which latent class an episode belongs to and adapting the learning algorithm to that identity. Recent trajectory-class-aware methods address the first half of this problem by clustering trajectories into latent classes and feeding the class label to the agent policy. Class-dependent learning dynamics also motivate adapting the Bellman update and the credit assignment performed by the value mixer. We show empirically that, even when classes are recovered accurately, the Bellman dynamics across classes diverge sharply, with simple classes saturating early and harder classes sustaining large temporal-difference residuals and large cross-agent value disagreement. Building on this observation, we propose Know Your Task, Learn It Right (KYT), a class-aware extension of value factorization that injects per-class learning signal into the Bellman update itself. KYT maintains a lightweight tracker that summarizes the per-class TD-error and cross-agent value spread without any extra network, and uses it to add a bounded, class-relative exploration bonus to the Bellman target. A class-conditioned mixer further modulates credit assignment through a softplus-gated affine layer that preserves the Individual-Global-Max (IGM) property, so that decentralized greedy execution stays consistent with the centrally trained value for any predicted class label. Across StarCraft II micromanagement benchmarks including SMACv2 and the unit-combination suite SurComb, KYT outperforms strong class-aware and exploration-aware baselines, with the largest gains concentrated on the hardest classes.

    Abstract source
  • NeurIPS · Main conference

    CANDO: Cooperative Agentic Network for Layout Design Optimization

    Athanasios Masouris, ZHENG JING, Benjamin S Chandler, Hadi Jamali-Rad

    Abstract

    Layout generation for real-world facilities is a challenging problem, requiring reasoning over irregular site boundaries, heterogeneous orientations, access-aware placements, and motion-planning feasibility. Yet, most existing layout benchmarks in the generative AI space target simpler placements over rectangular domains and rely on distributional metrics such as FID and IoU that reward conformity to dataset priors, thus discounting design innovation. Motivated by these gaps, we introduce $\textbf{ALPS-Bench}$, a benchmark of $1,000$ professionally annotated real-world facility layouts paired with an instance-specific scoring protocol grounded in a structured design manual. As a strong baseline for $\textbf{ALPS-Bench}$, we propose $\texttt{CANDO}$, a training-free multi-agent framework in which specialized agents iteratively refine layouts through a verification-grounded loop, concentrating reasoning on strategic spatial decisions. We demonstrate that $\texttt{CANDO}$ surpasses state-of-the-art trained and LLM-based baselines on the widely adopted $\textbf{PubLayNet}$, $\textbf{RICO}$, and $\textbf{PKU-PosterLayout}$ benchmarks, establishing cooperative agentic design as a broadly effective recipe for constraint-aware layout synthesis. Code and benchmark are available through our project page: https://shell-oss.github.io/cando/

    Abstract source
  • NeurIPS · Main conference

    SCHOLARPEER: A Multi-Agent Framework for Automated Peer Review

    Palash Goyal, Mihir Parmar, Yiwen Song, Hamid Palangi, Tomas Pfister, Jinsung Yoon

    Abstract

    The exponential growth of machine learning submissions has strained the traditional peer review process, resulting in slow feedback loops for authors and an immense burden on reviewers to rigorously audit technical soundness and verify literature. To address this, we introduce ScholarPeer, a multi-agent framework designed to operationalize the rigorous auditing workflow of a senior researcher. Rather than attempting to replace human judgment, ScholarPeer serves as a co-scientist: acting as a mentor for rapid author iteration prior to submission, and as an active verification assistant that augments human reviewers. The framework structurally decouples contextualization from critique by deploying a sub-domain historian to synthesize the field's trajectory, a baseline scout to proactively hunt for omitted state-of-the-art comparisons, and a multi-aspect Q&A engine that deeply audits technical soundness—scrutinizing internal logical consistency, experimental validity, and mathematical rigor—while cross-referencing claims against top-tier academic venues. We comprehensively evaluate ScholarPeer on $\sim$1,800 ICLR submissions spanning 2020 through 2025. Our results show that ScholarPeer achieves significant win-rates against state-of-the-art fine-tuned models and search-augmented agentic baselines.

    Abstract source
  • NeurIPS · Main conference

    Events as Triggers for Behavioral Diversity in Multi-Agent Reinforcement Learning

    Hannes M Büchi, Manon Flageat, Eduardo Sebastián, Amanda Prorok

    Abstract

    Effective multi-agent cooperation requires agents to adopt diverse behaviors as task conditions evolve—and to do so at the right moment. Yet, current Multi-Agent Reinforcement Learning (MARL) frameworks that facilitate this diversity are still limited by the fact that they bind fixed behaviors to fixed agent identities. Consequently, they are ill-equipped for tasks where agents need to take on different roles at very specific moments in time. We argue that, to define these behavioral transitions, the missing ingredient is **events**. Events are changes in the state of the system that induce qualitative changes in the task. Based on this view, we introduce a framework that decouples agent identity from behavior, capturing a continuous manifold from which agents instantiate their behaviors in response to events. This framework is based on two elements. First, to build an expressive behavior manifold, we introduce Neural Manifold Diversity (NMD), a formal distance metric that remains well-defined when behaviors are transient and agent-agnostic. Second, we use an event-based hypernetwork that generates Low-Rank Adaptation (LoRA) modules over a shared team policy, enabling on-the-fly agent-policy reconfiguration in response to events. We prove that this construction ensures that diversity does not interfere with reward maximization by design. Empirical results demonstrate that our framework outperforms established baselines across benchmarks while exhibiting zero-shot generalization, and being the only method that solves tasks requiring sequential behavior reassignment.

    Abstract source
  • NeurIPS · Main conference

    OPERA: An Agent for Image Restoration with End-to-End Planning–Execution Optimization

    Feng Zhu, Shuyang Xie, Zeng Yihan, Ming Liu, Wangmeng Zuo

    Abstract

    Real-world image restoration is challenging due to complex and interacting mixed degradations. Recent agent-based approaches address this problem by composing multiple task-specific restoration tools. However, empirical analysis reveals that their performance is fundamentally limited by implicitly constrained planning spaces and the lack of coordination among independently pretrained tools. To address these issues, we propose $\textbf{OPERA}$ (Optimized Planning-Execution Restoration Agent), a framework that optimizes both restoration planning and tool execution in an end-to-end manner. On the planning side, OPERA uses reinforcement learning to directly optimize tool composition over a combinatorial plan space, with the final restoration quality as the reward. On the execution side, OPERA introduces agent-guided co-training of restoration tools, enabling them to learn cooperative behaviors under sequential composition. Extensive experiments on multi-degradation benchmarks and real-world datasets demonstrate that OPERA consistently outperforms both all-in-one restoration models and existing agent-based methods across diverse and complex degradation scenarios. Code is available at https://github.com/xsyshuishui/Opera.

    Abstract source
  • NeurIPS · Main conference

    ML-AutoResearch: Training Machine Learning Research Agents with Automatically Generated Environments

    Ziyang Cai, Seyyedamirhossein Saeidi, Harkirat Singh Behl

    Abstract

    Training LLM agents to carry out the engineering-heavy work of machine learning (ML) research, such as implementing baselines, running experiments, and debugging, requires large amounts of process-level supervision. Existing static benchmarks omit critical intermediate steps such as debugging and incremental reasoning, and manual data collection is prohibitively expensive. To overcome this data bottleneck, we introduce ML-AutoResearch (ML-AR), a scalable pipeline for automatically generating synthetic, end-to-end ML research tasks. Each task defines a complete research cycle, including problem specification, dataset selection, baseline implementation, and iterative improvement. To ensure realism and executability, tasks are grounded in real-world datasets and refined via an automated self-debugging procedure without requiring human supervision. We construct a large-scale dataset of teacher trajectories on these synthetic tasks to train student agents via supervised fine-tuning. We evaluate the resulting agents across 3 diverse ML research benchmarks. Across Qwen3 students at three sizes (4B–14B), fine-tuning on ML-AR trajectories improves the mean MLGym area under the performance profile (AUP) by 5.7–9.1% over three evaluation seeds, improves normalized MLAgentBench scores at every size, and transfers to AutoResearch. Smaller gains persist when the trajectories come from the open-weight Qwen3-32B instead of GPT-5. Because training is supervised imitation of teacher trajectories, ML-AR targets the execution skills of ML experimentation rather than teacher-independent scientific discovery; we report contamination analyses, multi-seed variance, and remaining per-task regressions.

    Abstract source
  • NeurIPS · Main conference

    LITMUS: Benchmarking Behavioral Jailbreaks of LLM Agents in Real OS Environments

    Chiyu Zhang, Lu Zhou, Xiaogang Xu, Huiqin Yang, Bendong Jiang, Xiaolei Zhang, Yiran Zhao, Ruyi Chen, Jiafei Wu, Liming Fang, Zhe Liu

    Abstract

    The rapid proliferation of LLM-based autonomous agents in real operating system environments introduces a qualitatively new category of safety risk beyond traditional content safety: \emph{behavior jailbreak}, where an adversary induces an agent to execute dangerous OS-level operations with irreversible physical consequences. Existing benchmarks either evaluate safety at the semantic output layer alone, missing physical-layer harms, or fail to isolate test cases, letting earlier runs contaminate later ones. We present \textbf{LITMUS} (\textbf{L}LM-agents \textbf{I}n-OS \textbf{T}esting for \textbf{M}easuring \textbf{U}nsafe \textbf{S}ubversion), a benchmark that addresses both gaps through a semantic–physical dual verification mechanism and an OS-level state rollback design. LITMUS comprises a dataset of 819 high-risk test cases organized into one harmful seed subset and six attack-extended subsets covering three adversarial paradigms (jailbreak speaking, skill injection, and entity wrapping) as well as a fully automated multi-agent evaluation framework that independently judges agent behavior at both the conversational and OS-level physical layers. Evaluation across multiple frontier agents reveals three consistent findings: (1) current agents lack effective safety awareness against dangerous instructions in real OS environments, with the strong model (e.g. Claude Sonnet 4.6) still executing \textbf{40.64\%} of high-risk operations; (2) agents exhibit pervasive Execution Hallucination (EH), verbally refusing a request while the dangerous operation has already completed at the system level, a phenomenon invisible to every prior semantic-only evaluation framework; and (3) skill injection and entity wrapping attacks we designed achieve high success rates, exposing pronounced agent vulnerabilities to malicious skill interference and instruction obfuscation. LITMUS provides the first standardized platform for reproducible, physically grounded behavioral safety evaluation of LLM agents in real OS environments. The dataset and code are in the supplementary material.

    Abstract source
  • NeurIPS · Main conference

    To trust or not to trust: Attention-based Trust Management for LLM Multi-Agent Systems

    Pengfei He, Zhenwei Dai, Xianfeng Tang, Yue XING, Hui Liu, Jingying Zeng, Qiankun Peng, Shrivats Agrawal, Samarth Varshney, Suhang Wang, Jiliang Tang, Qi He

    Abstract

    Large Language Model-based Multi-Agent Systems (LLM-MAS) have demonstrated strong capabilities in solving complex tasks but remain vulnerable when agents receive unreliable messages. This vulnerability stems from a fundamental gap: LLM agents treat all incoming messages equally without evaluating their trustworthiness. While some existing studies approach trustworthiness, they focus on a single type of harmfulness rather than analyze it in a holistic approach from multiple trustworthiness perspectives. We address this gap by proposing a comprehensive definition of trustworthiness inspired by human communication theory \citep{grice1975logic}. Our definition identifies six orthogonal trust dimensions that provide interpretable measures of trustworthiness. Building on this definition, we introduce the Attention Trust Score (A‑Trust), a lightweight, attention‑based method for evaluating the trustworthiness of messages. We then develop a principled trust management system (TMS) for LLM‑MAS that supports both message‑level and agent‑level trust assessments. Experiments across diverse multi‑agent settings and tasks demonstrate that our TMS significantly improves robustness against malicious inputs.

    Abstract source
  • NeurIPS · Evaluations and Datasets

    MAD-Bench: How Do Multimodal Agents Deceive You?

    Hao Gu, Mingli Song, Jiacong Hu

    Abstract

    Multimodal agents increasingly operate computers on behalf of users. This shift from passive question answering to interactive execution creates a new safety problem. When an agent encounters normal, non-attack scenarios where the task it needs to perform is impossible or difficult to complete, the central risk is not only that it fails, but that it deceives the user into believing that it has succeeded. Although prior work has studied truthfulness and deception in language models and language agents, multimodal interaction introduces new sources of deceptive behavior, increasing the implicitness and complexity of deceptive behaviors in multimodal agents. To fill this gap, we introduce $\\mathtt{MAD\\text{-}Bench}$, a benchmark for evaluating $\\mathtt{M}$ultimodal $\\mathtt{A}$gent $\\mathtt{D}$eception. $\\mathtt{MAD\\text{-}Bench}$ contains 360 sandbox tasks organized around three core elements of multimodal execution: *modality*, *target*, and *tool*, and spans six task types including *modality evidence conflict*, *modality asynchronous mismatch*, *modality ambiguity distortion*, *modality object missing*, *target infeasibility*, and *tool defect*. To our knowledge, $\\mathtt{MAD\\text{-}Bench}$ is the first benchmark to formalize deceptive behavior in multimodal agents from an execution-evidence perspective, characterizing deception as a misalignment between the user-facing task-state claim and the multimodal evidence available throughout the execution trajectory. We further propose a behavioral taxonomy covering *evasive deception*, *manipulative deception*, *misleading deception*, and *non-deception*. Evaluating 10 mainstream multimodal agents, we find that agents frequently fabricate, conceal, mislead, frame, and disguise during task execution. These results show that substantial deceptive behaviors are widespread across mainstream model families. The code is available at https://github.com/trust-safety/MAD-Bench, and the dataset is available at https://huggingface.co/datasets/trust-safety/MAD-Bench.

    Abstract source
  • NeurIPS · Position Paper

    Self-Evolving Agents Should Build Internal and External Models of the World

    Luiz Felipe Vecchietti, Bryan Nathanael Wijaya, Wenchao Dong, Meeyoung Cha

    Abstract

    Self-evolving agents that learn continuously from streams of information are an emerging frontier in artificial intelligence. This capability is critical for efficiently updating computationally expensive systems such as foundation models. When agents explore their environment and interact with other agents across multiple tasks, two sources of non-stationarity arise: shifting task distributions and co-evolving peers. However, frameworks for continual multi-agent reinforcement learning (CMARL) that support effective policy improvement remain scarce. In this position paper, we argue that training self-evolving agents should incorporate two classes of model-based principles: internal models that allow an agent to compare policy checkpoints, monitor its learning capacity, and represent its current objective; and external models that learn environment dynamics and the behavior of other agents. We anticipate that discussing these principles will guide the design of algorithms, architectures, and benchmarks that explicitly evaluate model-based components in CMARL.

    Abstract source
  • NeurIPS · Main conference

    A Communication-Theoretic Framework for LLM Agents: Cost-Aware Adaptive Reliability

    Hamed Omidvar, Vahideh Akhlaghi

    Abstract

    Agents built on large language models (LLMs) rely on reliability techniques such as retry, majority voting, and self-consistency that have been developed in parallel rather than within a common analytical framework. We observe that an LLM sampled at temperature $T$ is a discrete stochastic channel $p(y \mid x)$ in the sense of Shannon's coding theory, and use this identity as the entry point for such a framework. Each of these techniques is a special case of one of six classical reliability operators: diversity combining, hybrid retransmission, iterative generator-critic decoding, rateless sampling, structured redundant verification, and difficulty-adaptive routing. Within the framework we give two closed-form results, a noise-variance threshold above which uniform averaging beats quality-weighted averaging and a contractivity criterion for generator-critic refinement, and turn each into a design rule that can be checked before committing compute. We further introduce a cost-aware semantic-nearest-neighbor router whose single Lagrangian knob traverses the quality-cost frontier without retraining. Across six channel configurations spanning local and cloud models, no fixed model-technique-budget choice dominates. On a 300-item hard split of MMLU, GSM8K, and HumanEval, the router occupies the empirical Pareto frontier: at matched quality its normalized cost is ${\approx}56$\% lower than the best fixed technique, and at matched cost it improves quality by ${\approx}7$\% ($26$\% over single-shot decoding). Grading 6,900 outputs without any LLM judge confirms that the judge tracks correctness at the item level and that the router's advantage over a fixed policy persists at most cost settings; with internal reasoning enabled, the gain of external refinement shrinks but remains significant for our incremental-redundancy operator. These results argue for consolidating reliability techniques into a single tunable layer informed by channel coding.

    Abstract source
  • NeurIPS · Main conference

    MASTARS: Multi-Agent Sequential Trajectory Augmentation with Return-Conditioned Subgoals

    Jiwon Jeon, Myungsik Cho, Woojun Kim, Seongmin Kim, Woohyeon Byeon, Seungyul Han, Youngchul Sung

    Abstract

    The performance of offline Multi-Agent Reinforcement Learning (MARL) is limited by the quality of the fixed offline dataset, motivating trajectory augmentation. However, augmenting multi-agent trajectories presents a fundamental challenge of the diversity–coordination trade-off: independent generation improves diversity but lacks coordination, while joint generation induces coordination but lacks diversity, reproducing the training distribution. To address this challenge in multi-agent data augmentation, we introduce MASTARS, a novel diffusion-based framework that generates multi-agent trajectories sequentially across agents while enforcing cross-agent consistent coordination via the method of inpainting. MASTARS produces trajectories that are diverse, coordinated and globally coherent. Experiments on various benchmarks such as MPE, SMAC, and SMAC-v2 demonstrate significant performance gains across multiple offline MARL methods.

    Abstract source
  • NeurIPS · Main conference

    TRAM: Test-Time Risk Adaptation with Mixture of Agents

    Mohamad Chehade, Amrit Singh Bedi, Souradip Chakraborty, Amy Zhang, Hao Zhu

    Abstract

    Deployed reinforcement learning agents often face safety requirements that are specified only after training: new hazard maps, revised risk thresholds, or behavioral alignment constraints. We study zero-update deployment-time adaptation in which a fixed library of risk-neutral source policies must be reused under a newly specified reward–risk tradeoff. We propose **TRAM** (*Test-time Risk Adaptation with Mixture of Agents*), a source-scored composition rule that evaluates each source under the target reward and an occupancy-based deployment risk, then selects actions using risk-adjusted source scores. Unlike training-time risk-sensitive methods tied to a fixed surrogate such as return variance, TRAM supports spatial barrier exposure, divergence to a reference behavior, and local volatility risks specified at test time. We make the surrogate nature of the method explicit: TRAM is not claimed to solve the full occupancy-control problem of the stitched policy, but it admits a measurable source-hull mismatch term connecting source-scored risk to realized risk. Experiments in gridworlds, MuJoCo Reacher, Safety-Gymnasium, and an inference-time LLM alignment setting show that TRAM improves deployment risk while preserving reward and requires no parameter updates at test time.

    Abstract source
  • NeurIPS · Main conference

    MINTEval: Evaluating Memory under Multi-Target Interference in Long-Horizon Agent Systems

    Hyunji Lee, Justin Chen, Joykirat Singh, Zaid Khan, Elias Stengel-Eskin, Mohit Bansal

    Abstract

    Agents in real-world settings operate over long and evolving horizons, where information is repeatedly updated and may interfere across memories, requiring accurate recall and aggregated reasoning over multiple pieces of information. However, existing benchmarks focus on static, independent recall and fail to capture these dynamic interactions between evolving memories. In this paper, we study how current memory-augmented agents perform in realistic, interference-heavy, long-horizon settings across diverse domains and question types. To this end, we introduce MINTEVAL (Long-Horizon Memory under INTerference Evaluation), an analytical benchmark which features (1) long, highly interconnected contexts with frequently updated information that induces substantial interference, (2) diverse domains (state tracking, multi-turn dialogue, Wikipedia revisions, and GitHub commits), enabling evaluation of domain generalization, and (3) diverse question types that assess robustness to interference, including (i) single-target recall tasks requiring retrieval of a specific target from long contexts, and (ii) multi-target aggregation tasks requiring reasoning over multiple relevant pieces of information. Overall, MINTEval contains 15.6k question-answering pairs over long-horizon contexts averaging 138.8k tokens and extending up to 1.8M tokens per instance. We evaluate seven representative systems, including vanilla long-context LLMs, retrieval-augmented generation methods, and memory-augmented agent frameworks. Across all systems, we observe consistently low performance (avg. 27.9% accuracy), especially on questions requiring aggregated reasoning over multiple pieces of evidence. Fine-grained analysis shows that performance is primarily limited by retrieval and memory construction capabilities. Furthermore, current memory systems struggle to recall and reason over earlier facts that are later revised or interfered with by subsequent context, with performance degrading as the number of intervening updates increases. These findings highlight the need for more robust memory management systems for dynamic, long-horizon environments across varying domains.

    Abstract source
  • NeurIPS · Main conference

    Actionable Hallucination Detection: Translating Latent Uncertainty into Agentic Critique

    Sanidhya Vijayvargiya, Rahul Lokesh

    Abstract

    Large Language Models (LLMs) deployed as AI agents frequently exhibit user specification-grounding failures, executing hallucinated, undesired actions to force a resolution rather than expressing uncertainty. Existing detection methods fail to provide actionable, real-time correction as they either do not localize the hallucinations, or incur prohibitive inference latency. We introduce the Latent Critic, a lightweight low-rank adapter (LoRA) that operates concurrently with a frozen base LLM’s generation to actively restructure the transformer’s residual stream—amplifying latent grounding signals and translating them into localized, natural language feedback within a single sequence. By refining the base model’s native uncertainty signals, this manipulation of the latent space enables reliable, granular detection without the overhead of secondary inference loops. Mechanistic analysis via activation patching and layer-wise probing shows that this rank-invariant behavior restructures pre-existing uncertainty geometry into a linearly separable representation that transfers more reliably than base model representations alone. Using tool-calling as an instantiation of granular hallucinations, we validate the detection and downstream improvements enabled by the Latent Critic architecture across Qwen and Llama-based models. Demonstrating superior real-time efficacy, our approach significantly outperforms equivalent-scale fine-tuned external detectors, semantic entropy baselines, and passive internal probes in isolating hallucinations, achieving 0.966 AUROC and >80% accuracy in localization (e.g., ungrounded: date). When deployed in a closed-loop ReAct environment, the Critic acts as a negligible latency guardrail, intercepting hallucinations before execution to prevent undesired actions while simultaneously leveraging this specific localized feedback to enable efficient agent self-correction.

    Abstract source
  • NeurIPS · Main conference

    From History to State: Constant-Context Skill Learning for LLM Agents

    Haoyang Xie, Xinyuan Wang, Yancheng Wang, Puda Zhao, Feng Ju

    Abstract

    Large language model (LLM) agents are increasingly used to operate browsers, files, code and tools, making personal assistants a natural deployment target. Yet personal agents face a privacy-cost-capability tension: cloud models execute multi-step workflows well but expose sensitive intermediate context to external APIs, while local models preserve privacy but remain less reliable. Both settings also pay repeatedly for long skill prompts and growing histories. We propose constant-context skill learning, a context-to-weights framework for recurring agent workflows: reusable procedures are learned in lightweight task-family modules, while inference conditions only on the current observation and a compact state block. A deterministic tracker renders this state block from task progress and supplies aligned subgoal rewards, so each module can be trained with step-level SFT and refined through online RL. Across ALFWorld, WebShop, and SciWorld, our agents achieve strong performance across Qwen3-4B, Qwen3-8B and Llama-3.1-8B. With Qwen3-8B, SFT+RL reaches 89.6\% unseen success on ALFWorld, 76.8\% success on WebShop, and 66.4\% unseen success on SciWorld. They match or exceed strong published agent-training results while reducing prompt tokens per turn by 2-7$\times$ relative to controlled ReAct prompting baselines, showing that procedural context can be moved from prompts into weights.

    Abstract source
  • NeurIPS · Main conference

    I-PTC: Interactive Programmatic Tool Calling for Stateful Tool-Augmented Agents

    Huanzhi Mao, Chengkun Cao, Shuo Yuan, Joseph Gonzalez

    Abstract

    Large language models are increasingly capable of writing and executing code, suggesting a natural paradigm for tool-augmented agents: expressing tool use as programs rather than isolated calls. Programmatic tool calling (PTC) captures this idea through loops, batching, abstraction, and structured computation, but existing PTC approaches are largely stateless, limiting their ability to reuse intermediate results and adapt over time. This is problematic for real-world tasks, where tool environments and problem-solving processes are inherently stateful. We therefore present I-PTC, an interactive framework that executes stateful PTC: models issue code snippets that call tools, maintain reusable state, and evolve the tool interface through API corrections. To evaluate the effectiveness of I-PTC and the general PTC setting, we introduce PTC-BENCH, a benchmark of long-tail, production-style user requests whose difficulty comes from large initial environments, many dependent API interactions, extended planning, and recovery across follow-ups and transient failures. Experiments on PTC-BENCH show that I-PTC improves performance on complex multi-step tasks with large tool sets while substantially reducing token consumption over conventional tool-calling baselines and the original PTC baseline, highlighting stateful programmatic tool calling as a promising direction for scalable tool-augmented agents.

    Abstract source
  • NeurIPS · Main conference

    LAMaS: A Modular Platform for Learning Low-Latency Multi-Agent Orchestration

    Xi Shi, Mengxin Zheng, Qian Lou

    Abstract

    In a multi-agent system (MAS), removing an expensive agent call can save tokens without making the answer arrive sooner: latency depends on the longest chain of dependent calls. We present Latency-Aware Multi-agent System (LAMaS), a modular platform for learning low-latency orchestration. A framework can send a query to LAMaS and receive an answer and execution trace, or keep its own graph builder and use the platform's latency-optimized orchestration layer. During training, the layer gives operators on the critical path the greatest latency penalty while targeting a floor on expected accuracy. During inference, a lightweight controller uses partial results to decide whether to skip work that has yet to start. Across four benchmarks, LAMaS reduces end-to-end latency by over 50% relative to the evaluated learning-based MAS baselines while maintaining competitive or better accuracy. GDesigner and AgentDropout retain their graph builders and train the controller on their own traces; both achieve lower latency across the same benchmarks.

    Abstract source
  • NeurIPS · Main conference

    AgentKVShift: Efficient KV Cache Reuse for Agentic Memory Systems

    Nilesh Prasad Pandey, Jason Kong, Lanxiang Hu, Quanling Zhao, Yujie Zhao, Onat Gungor, Hao Zhang, Tajana S Rosing

    Abstract

    Memory-augmented LLM agents have gained substantial attention recently for their ability to maintain context across hundreds of interactions through agentic memory systems that actively curate retrieved content with LLM-generated metadata such as summaries, keywords, and tags. However, from an inference cost standpoint, every retrieval triggers a full re-encoding of these structured memory units into Key-Value (KV) states, which dominates prefill latency. Existing training-free KV reuse methods mitigate this by selectively recomputing a small fraction of tokens, but were designed for RAG-style raw passages and degrade substantially on structured agentic memories. In this work, we present AgentKVShift, a training-free, probe-guided KV residual correction method that operates per retrieved memory unit. One of the crucial insights we demonstrate is that the per-memory KV reuse residual decomposes into a shared memory-level offset plus small token-wise fluctuations. Estimating this offset from a small probe set allows us to correct every reused token in the memory unit by a single weighted correction. Unlike prior reuse methods which decide which tokens to recompute and leave the rest of the cache stale, AgentKVShift also corrects the tokens it does not recompute, turning the refresh budget into useful signal across the entire chunk. Through extensive experiments across four open source LLMs spanning 3B to 32B parameters and two long-horizon agentic memory benchmarks covering long-term dialogue and agentic applications, we show that AgentKVShift achieves near full recompute performance while refreshing only 10-30% of the cache, outperforming existing baselines at the same recompute ratio. AgentKVShift requires up to 5x lower recompute to reach this near-full performance, which prior reuse methods only attain at 45-55% refresh. By operating in this lower recompute regime, AgentKVShift delivers prefill speedups of 2-3.5x over no-KV-reuse on a single A100 GPU. Lastly, AgentKVShift orthogonally composes with KV cache quantization, retaining over 2x the F1 of prior reuse methods under aggressive 2- and 4-bit settings, making it a simple, yet effective choice for serving long-horizon agentic memory workloads.

    Abstract source
  • NeurIPS · Main conference

    When Credit Turns Against Tools: Transition-Aware Credit Assignment in Agentic Reinforcement Learning

    Xiangyu Lu, Zhanke Zhou, Jiazhe Ning, Chentao Cao, Jiangchao Yao, Bo Han

    Abstract

    Agentic reinforcement learning with verifiable rewards trains language models through multi-turn tool interactions, yet their reasoning performance and tool-calling ability can decline during training. We trace this degradation to three coupled mechanisms: (1) _tool-token imbalance_ produces negative overall tool credit when incorrect trajectories contain more tool tokens per turn than correct ones; (2) _aggregation amplification_ can further strengthen this negative signal as token-mean aggregation gives longer incorrect trajectories greater weight in policy updates; and (3) _failure-driven retries_ prolong trajectories as models tend to call tools again after execution errors, extending potential negative credit to recovery attempts. To counter this suppression, we propose Transition-Aware Credit Assignment (TACA), which targets the transition from reasoning to tool use through supervision of both call initiation and generation. Specifically, TACA uses _Advantage Projection_ to enforce a nonnegative mean advantage on tool-call tokens within each prompt group through a minimal uniform shift. Additionally, TACA guides tool-use decisions with _Decision Contrast_, comparing rewards for tool-assisted and direct answers to the same prompt. Through _Supervised Replay_, it reinforces tool-call generation using calls from previously sampled correct trajectories. Across models and tasks, TACA improves performance and sustains more reliable tool interaction during training, raising mean accuracy over MT-GRPO on six reasoning benchmarks by 4.61 percentage points for Qwen2.5-1.5B and 3.61 for Qwen2.5-3B. Our code is available at https://github.com/tmlr-group/TACA.

    Abstract source