paper-with-me

Papers

Agents Learn Their Runtime: Interpreter Persistence as Training-Time Semantics

2026-03-01 · Victor May, Aaditya Salgarkar, Yishan Wang, Diganta Misra, Huu Nguyen arxiv

Tool-augmented LLMs are increasingly deployed as agents that interleave natural-language reasoning with executable Python actions, as in CodeAct-style frameworks. In deployment, these agents rely on runtime state that persists across steps. By contrast, the traces used to post-train these models rarely encode how interpreter state is managed. We ask whether interpreter persistence is merely a runtime scaffold, or a property of the training data that shapes how agents learn to use the interpreter. We isolate state persistence as a training-time variable. We introduce Opaque Knapsack, a procedurally generated family of partially observable optimization tasks designed to prevent one-shot solutions. Item attributes and constraints are hidden behind budgeted tool calls, forcing multi-turn control flow and iterative state revision. Holding task instances, prompts, tools, model, and supervision fixed, we generate matched trajectories differing only in whether interpreter state persists across steps or resets after each action. We then fine-tune identical base models (Qwen3-8B) on each trace variant and evaluate all four train-runtime combinations. Our 2x2 cross-evaluation shows that interpreter persistence shapes how agents reach solutions, not whether they do: solution quality is statistically indistinguishable across conditions, but token cost and stability differ substantially. A persistent-trained model in a stateless runtime triggers missing-variable errors in roughly 80% of episodes; a stateless-trained model in a persistent runtime redundantly re-derives retained state, using roughly 3.5x more tokens. Interpreter persistence should be treated as a first-class semantic of agent traces. Aligning fine-tuning data with deployment runtimes improves efficiency and reduces brittle train-runtime mismatches.

📄 PDF Abstract BibTeX arXiv:2603.01209

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Differentiate the Evaluator, Not the Program: An Efficient Runtime Representation for Neuro-Symbolic Learning

2026-07-03 · Lucas Sheneman arxiv

AI systems increasingly propose executable scientific models whose value depends on both their symbolic structure and their fitted continuous parameters. This makes parameter calibration the bottleneck of program-and-par…

One is Plenty: A Polymorphic Feature Interpreter for Immutable Heterogeneous Collaborative Perception

2024-11-25 · CVPR 2025 1 · Yuchen Xia, Quan Yuan, Guiyang Luo, Xiaoyuan Fu 외

Collaborative perception in autonomous driving significantly enhances the perception capabilities of individual agents. Immutable heterogeneity in collaborative perception, where agents have different and fixed perceptio…

Autonomous Driving

Grounded Continuation: A Linear-Time Runtime Verifier for LLM Conversations

2026-05-13 · Qisong He, Yi Dong, Xiaowei Huang arxiv

In a long conversation, an LLM can produce a plausible continuation that rests on premises the conversation has already abandoned. No runtime check ties its output to what the conversation has established, a gap that con…

Agint: Agentic Graph Compilation for Software Engineering Agents

2025-11-24 · Abhi Chivukula, Jay Somasundaram, Vijay Somasundaram arxiv

LLM-based coding agents are increasingly common but still face challenges in context management, latency, reliability, reproducibility, and scalability. We present Agint, an agentic graph compiler, interpreter, and runti…

ChainCaps: Composition-Safe Tool-Using Agents via Monotonic Capability Attenuation

2026-05-26 · Xiaochong Jiang, Shiqi Yang, Ziwei Li, Lifei Liu 외 arxiv

Tool-using agents increasingly operate in open-ended deployment environments, where they compose file systems, web APIs, code interpreters, and enterprise services at runtime. This creates a safety gap in tool compositio…