构建可自我进化的智能体优化框架,让经验与推理持续迭代。
MEGA: Self-Evolving Agent Optimization Infrastructure via Wisdom Graph
- 通过行为聚类与实证验证,将任务过程提炼为可复用的知识资产。
- 在知识图谱中进行多类型推理,实现跨任务的隐含关联发现。
- 支持多智能体协作优化,基于运行证据自动更新策略与路径。
随着编码智能体承担更多实现任务,核心挑战已从构建单个智能体转向构建系统性优化基础设施。现有方法或缺乏可迁移知识积累,或无法对知识进行组合推理,也缺少基于实际运行证据实现知识自我演进的机制。MEGA(元评估驱动的自适应优化)提出一种自进化基础设施:每个优化周期生成持久化资产,对这些资产进行组合推理指导后续优化,运行证据则反向精炼积累的知识与推理规则。第一层通过行为模式聚类与实证A/B测试,将智能体会话转化为可复用资产;第二层将资产分解为带类型的原子PCR(主因-上下文-结果)单元,在有类型的知识图谱中执行演绎、归纳与溯因推理,通过组合检索生成上下文相关的执行计划,揭示仅靠嵌入相似性无法触及的桥梁知识;第三层在异构智能体工作流(代码节点、大模型调用、工具使用智能体)上进行多智能体协作优化,通过受控评估归因改进效果至具体策略变更,消除数据方差影响。来自第三层的反馈驱动知识组织策略与优化轨迹的自我演化。最终实现优化智能体系统与演化引导优化的知识本身合二为一。
原文摘要 · Abstract (English)
As coding agents increasingly handle implementation, the central challenge shifts from building individual agents to building an infrastructure that systematically improves them. Current approaches optimize agent systems without accumulating transferable knowledge, accumulate knowledge without compositional reasoning over it, and lack a mechanism for that knowledge to self-evolve through operational evidence. MEGA (Meta Evaluation-Grounded Adaptation) addresses these gaps as a self-evolving infrastructure: each optimization cycle produces durable assets, compositional reasoning over those assets guides subsequent optimization, and operational evidence refines both the accumulated wisdom and the reasoning that governs it. Layer 1 distills reusable wisdom from agent sessions through behavioral-pattern clustering and empirical A/B validation, transforming each process into a durable asset. Layer 2 decomposes these assets into atomic PCR (Primary-Context-Resultant) units within a typed Wisdom Graph and performs deductive, abductive, and inductive reasoning to expand implicit relations; it then assembles context-specific execution plans through compositional retrieval that surfaces bridging knowledge unreachable by embedding similarity alone. Layer 3 performs multi-agent collaborative optimization over heterogeneous agent workflows (code nodes, LLM calls, and tool-using agents), attributing improvement effects to specific strategy changes through controlled evaluation that eliminates data variance. Evidence fed back from Layer 3 drives the self-evolution of both the curation strategies that govern wisdom composition and the optimization trajectories accumulated across runs. The result is an infrastructure in which optimizing an agent system and evolving the knowledge that guides optimization are one and the same process.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。