DAEDALUS:从自生成任务中引导智能体记忆

·

研究论文 · 2026/10/07

LLM智能体在新环境中往往缺乏可靠行动所需的操作知识,因为它们必须自行发现特定的工具行为或环境约定。若没有对过去尝试的记忆,它们会在任务中重复同样的错误,导致更多任务失败和更长的轨迹。为此,智能体系统通常依赖人工编写的指南或基于训练任务和预言验证器构建的程序性记忆,两者都需要对环境有先验知识。我们提出DAEDALUS,一种在没有现有任务或预言验证器的情况下,从自生成练习中引导可重用智能体记忆的方法。DAEDALUS配对两个智能体:一个探索者与环境交互以生成具有挑战性但可解决的任务,一个求解者尝试这些任务。每次求解者失败后推导出一个启发式规则,只有当求解者在上下文中反复使用该启发式规则成功后,该规则才被接受。这些结果也为探索者提供反馈,以调整未来任务的难度。被接受的启发式规则随后被整合到记忆库中供测试时使用。在AppWorld、τ^2-bench和AutomationBench上,DAEDALUS相比无记忆基线将平均成功率提升最多15.9个百分点,pass^5提升最多2.2倍,并且与使用训练任务的方法相比具有竞争力,推理成本低于大多数方法。我们表明,在较小的探索预算下性能增益就已出现,其启发式规则也能使其他模型家族的智能体受益。我们的消融实验进一步揭示,求解者轨迹提供了推导有效启发式规则所需的关键信息,而将早期发现因子化使探索更具成本效益。除了记忆构建,我们发现DAEDALUS生成的任务可以在按性能对模型排序时作为基准任务的代理。代码和工件:www.github.com/illuin-tech/daedalus。

该研究提出了一种无需人工指南或预言验证器即可从自生成任务中构建智能体记忆的方法,在多个基准上显著提升性能且推理成本较低,对自主智能体记忆构建和跨模型迁移具有重要价值。

LLM agents often lack the operational knowledge to act reliably in new environments, as they must discover specific tool behaviors or environment conventions on their own. Without memory of past attempts, they repeat the same mistakes across tasks, leading to more task failures and longer trajectories. To address this, agentic systems typically rely on human-written guidelines or on procedural memory built from training tasks and an oracle verifier, both of which require prior knowledge of the environment. We present DAEDALUS, a method for bootstrapping reusable agent memory from self-generated practice without existing tasks or oracle verifiers. DAEDALUS pairs two agents: an explorer that interacts with the environment to generate challenging yet solvable tasks, and a solver that attempts them. A heuristic is derived from each solver failure and accepted only after the solver repeatedly succeeds with that heuristic in context. These outcomes also provide feedback for the explorer to refine the difficulty of future tasks. Accepted heuristics are then consolidated into a memory bank for test-time use. Across AppWorld, τ^2-bench, and AutomationBench, DAEDALUS improves mean success rates by up to 15.9 points and pass^5 by up to 2.2x over a no-memory baseline, and is competitive with methods using training tasks, at a lower inference cost than most. We show that performance gains already emerge with a small exploration budget, and that its heuristics also benefit agents from other model families. Our ablations further reveal that solver traces provide the key information needed to derive effective heuristics, while factorizing early discoveries makes exploration more cost-efficient. Beyond memory construction, we find that the tasks generated by DAEDALUS can serve as a proxy for benchmark tasks when ranking models by performance. Code and artifacts: www.github.com/illuin-tech/daedalus.

阅读原文

参与讨论