APEX-EM:通过结构化程序-经验经验回放实现自主代理的非参数在线学习
APEX-EM: Non-Parametric Online Learning for Autonomous Agents via Structured Procedural-Episodic Experience Replay
AI总结:
本文提出APEX-EM框架,通过结构化经验表示和PRGII工作流,实现自主代理的非参数在线学习,提升跨领域任务的性能。
摘要:
基于LLM的自主代理缺乏持久的程序记忆:即使结构上相同的任务已被解决,它们仍需重新推导解决方案。我们提出了APEX-EM,一种非参数在线学习框架,能够积累、检索和重用结构化的程序计划,而无需修改模型权重。APEX-EM引入了结构化经验表示,编码每个执行的完整程序-经验轨迹——规划步骤、产物、迭代历史及错误分析和质量评分;一个Plan-Retrieve-Generate-Iterate-Ingest(PRGII)工作流,通过任务验证器提供多维奖励信号;以及一个双结果经验记忆,结合语义搜索、结构签名匹配和计划DAG遍历,实现跨领域转移。成功经验作为正例上下文示例;失败作为负例,带有结构化错误注释。我们在BigCodeBench、KGQAGen-10k和Humanity's Last Exam上进行了评估,使用Claude Sonnet 4.5和Opus 4.5。在KGQAGen-10k上,APEX-EM达到89.6%的准确率,比无记忆的41.3%高48.3个百分点,超过oracle检索上限(84.9%)。在BigCodeBench上,它达到83.3%的SR,从53.9%的基线提升29.4个百分点,超过MemRL在可比冻结backbone条件下+11.0个百分点的提升(注意我们的分析中已控制backbone差异)。在HLE上,实体图检索从25.2%提升至48.0%(+22.8个百分点)。消融研究显示组件价值取决于任务:丰富的判断反馈对代码生成不重要,但对结构化查询至关重要(+10.3个百分点),而二元信号迭代部分补偿了较弱的反馈。
英文摘要:
LLM agents rerun full reasoning for every task, even one they solved moments earlier. We introduce \textbf{APEX-EM}, a non-parametric experience memory that stores complete procedural-episodic traces in a typed Procedural Knowledge Graph (PKG) and retrieves them through three channels: semantic search, structural-signature matching over abstract operation sequences, and graph traversal. A Plan-Retrieve-Generate-Iterate-Ingest (PRGII) workflow produces, quality-gates, and commits experiences, indexing both successes and failures so the agent learns what to reuse and what to avoid. No weights change during deployment. We evaluate on five benchmarks: BigCodeBench, KGQAGen-10k, HLE, Lifelong Agent Bench, and ALFWorld. Because prior work uses different backbones, we base our claims on same-backbone comparisons that hold model capability fixed. On held-out BigCodeBench transfer with a shared GPT-4o backbone, APEX-EM gains +7.6\,pp over the no-memory baseline, $3.3\times$ MemRL's +2.3\,pp under the identical setup. On Lifelong Agent Bench with a shared GPT-4o-mini backbone, it gains +1.4\,pp (OS) and +1.0\,pp (DB) cumulative success. On KGQAGen-10k, frozen memory transfers to a blind 1{,}079-question test split at 73.7\% versus 42.0\% with no memory, approaching an oracle handed the ground-truth subgraph (84.9\%). Across three Opus scales the memory gain stays at +27 to +32\,pp, so it adds to model capability rather than substituting for it. Component analysis shows no single mechanism dominates: teacher feedback is negligible for code but adds +10.3\,pp on structured queries, structural signatures give $3.3\times$ the transfer of semantic-only retrieval, and within-epoch iteration recovers most of the gain when rich feedback is unavailable. These results argue for modular memory composed per domain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。