arXiv:2606.29315cs.AIcs.LG2026-06

让AI通过主动实验学习,解决复杂任务中的知识盲区。

Hierarchical Experimentalist Agents

论文配图:Hierarchical Experimentalist Agents
图 1 · 摘自论文原文
  • 构建分层实验代理,通过试错迭代优化实验设计。
  • 在物理模拟环境中,成功率达77%,远超原有模型的2%。
  • 无需训练或监督,适合需要长期规划的复杂任务场景。

大型语言模型(LLMs)越来越多地用于现实世界中的行动支持与决策辅助,但现有代理依赖参数化知识、固定后训练数据、检索或搜索,难以应对新领域和复杂查询。仅知物理定律无法使模型解答复杂物理系统中的长期任务。为此,我们提出分层实验代理(HExA),一种基于上下文的自我改进框架,通过主动实验学习。HExA 迭代设计并优化相关实验,从经验中学习可复用的组合技能库,并融合实验证据以回答问题或执行动作。该方法无需训练,兼容任意黑箱模型,不依赖外部监督、虚拟助手或离线数据。为评估主动实验能力,我们构建了 Interphyre,一个基于 PHYRE 2D 程序化物理环境的工具调用基准,代理通过模拟接口提出干预并验证假设。实验表明,当前 LLM 代理在此类设置中表现不佳,尤其在最难关卡上:Claude Sonnet 4.6 成功率仅为 2%;而使用 HExA 后,同一模型成功率提升至 77%。HExA 还提升了开源模型性能,优于 ReAct、Reflexion 等基线。此外,仅利用简单关卡中学习到的技能进行迁移(无需再实验),成功率已达 44%,证明其技能具备可复用性和泛化能力。总体而言,主动实验学习有助于代理发现有用知识、获取可复用技能,并高效推进新颖的长周期任务。

原文摘要 · Abstract (English)

Large language models (LLMs) are increasingly used to take actions in the real world and support human decision-making, yet most agents rely on parametric knowledge, fixed post-training data, retrieval, or search. This paradigm breaks down in novel domains and for sophisticated queries that cannot be answered from prior knowledge alone. Knowing the laws of physics, for instance, does not by itself enable LLMs to answer queries or complete long-horizon tasks in a complex physical system. To address this, we introduce Hierarchical Experimentalist Agents (HExA), an in-context self-improvement framework to learn from active experimentation. HExA iteratively designs and refines query-relevant experiments, learns a reusable library of composable skills from experience, and integrates experimental evidence to answer queries or take actions. HExA is training-free, compatible with any black-box model, and does not require external supervision, oracles, or offline data. To evaluate active experimentation, we introduce Interphyre, a tool-calling benchmark built on the PHYRE 2D procedural physics environment, where agents propose interventions and test hypotheses through simulation APIs. Experiments show that current LLM agents struggle in these settings, especially on the hardest levels of Interphyre. Claude Sonnet 4.6 achieves only 2% success, while HExA improves the same model to up to 77% success. HExA also improves open-weight models and outperforms agentic baselines such as ReAct and Reflexion. Moreover, using only skills learned from easier levels and transferred without active experimentation, HExA achieves 44% success, demonstrating the reusability and generalization of its learned skills. Overall, HExA shows that learning through active experimentation can help agents discover useful knowledge, acquire reusable skills, and make efficient progress on novel long-horizon tasks.

智能体主动学习物理模拟实验推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。