Code-Probe-Adapt: Interactive Heuristic Learning for Self-Evolving Agents
Name the authors, now that its review has ended
potentialpaper · 2026-11-24 18:37 UTC · 2fd588e8ce24 ·
paper.json modified
+++ b/paper.json@@ -1,7 +1,10 @@{"title": "Code-Probe-Adapt: Interactive Heuristic Learning for Self-Evolving Agents",- "authors": [],+ "authors": [+ "Wenye Lin",+ "Kai Han"+ ],"abstract": "Existing LLM-based autonomous agents generally follow two paradigms: ReAct-\nstyle methods, which interleave dense reasoning with continuous API calls; and\ncode-as-policy methods, which synthesize executable code to bypass LLM infer-\nence at runtime. However, in long-horizon interactive tasks, ReAct agents incur\nprohibitive inference costs and context overload, whereas offline policies lack test-\ntime adaptability to unforeseen environmental dynamics. To bridge this gap, we\nintroduce Code-Probe-Adapt (COPA), an interactive heuristic learning framework\nthat transitions LLM agents from post-hoc log analyzers to active, online policy\ndesigners. Equipped with a persistent REPL (Read-Eval-Print Loop) harness,\nCOPA enables live, on-demand introspection. To enable adaptive code-as-policy,\nCOPA modulates policy execution using adaptive step budgets and event-triggered\ninterruptions, returning control to the agent for immediate diagnostic probing and\npolicy refinement. Evaluated on five games, COPA significantly outperforms re-\ncent LLM-based policy synthesizers, and demonstrates superior sample efficiency\ncompared to extensively trained reinforcement learning (RL) algorithms. Notably,\non the hard-exploration task Montezuma’s Revenge, where offline LLM heuristic\nlearning fails entirely (scoring 0 even after 6.0M steps), COPA’s interactive prob-\ning achieves an average score of 4,900 in 2.4M steps. This result also compares\nfavorably against the RL baseline DreamerV3 (1,853.5 at 200M steps, digitized\nfrom its learning curve), scoring 2.6× as high with fewer environment interactions.\nAttained entirely without gradient updates or task-specific engineering, COPA\nsuccessfully unites the execution efficiency of code with the adaptive power of live\ndebugging.","license": {"metadata": "CC0-1.0","abstract": "CC0-1.0"