Lune

NeurIPS2025顶会

Generalizing Experience for Language Agents with Hierarchical MetaFlows

Shengda Fan, Xin Cong, Zhong Zhang, Yuepeng Fu, Yesai Wu, Hao Wang, Xinyu Zhang, Enrui Hu, Yankai Lin

摘要

Recent efforts to employ large language models (LLMs) as agents have demonstrated promising results in a wide range of multi-step agent tasks. However, existing agents lack an effective experience reuse approach to leverage historical completed tasks. In this paper, we propose a novel experience reuse framework MetaFlowLLM, which constructs a hierarchical experience tree from historically completed tasks. Each node in this experience tree is presented as a MetaFlow which contains static execution workflow and subtask required by agents to complete dynamically. Then, we propose a Hierarchical MetaFlow Merging algorithm to construct the hierarchical experience tree. When accomplishing a new task, MetaFlowLLM can first retrieve the most relevant MetaFlow node from the experience tree and then execute it accordingly. To effectively generate valid MetaFlows from historical data, we further propose a reinforcement learning pipeline to train the MetaFlowGen. Extensive experimental results on AppWorld and WorkBench demonstrate that integrating with MetaFlowLLM, existing agents (e.g., ReAct, Reflexion) can gain substantial performance improvement with reducing execution costs. Notably, MetaFlowLLM achieves an average success rate improvement of 32.3 % on AppWorld and 6.2 % on WorkBench, respectively. The code is available at https://github.com/RUCBM/MetaFlowLLM .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Reflexion: language agents with verbal reinforcement learning 引用了 ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • Reflexion: language agents with verbal reinforcement learning 引用了 WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • ExpeL: LLM Agents Are Experiential Learners 引用了 ALFWorld: Aligning Text and Embodied Environments for Interactive Learning
  • ExpeL: LLM Agents Are Experiential Learners 引用了 Reflexion: language agents with verbal reinforcement learning
  • ExpeL: LLM Agents Are Experiential Learners 引用了 Language Models are Few-Shot Learners
  • ExpeL: LLM Agents Are Experiential Learners 引用了 WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
  • WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper13

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan 等NeurIPS 2023 · 5,828 次引用
  3. WebShop: Towards Scalable Real-World Web Interaction with Grounded Language AgentsShunyu Yao, Howard Chen, John Yang, Karthik NarasimhanNeurIPS 2022 · 1,477 次引用
  4. ALFWorld: Aligning Text and Embodied Environments for Interactive LearningMohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk 等ICLR 2021 · 819 次引用
  5. ExpeL: LLM Agents Are Experiential LearnersAndrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin 等AAAI 2024 · 484 次引用

相关 Paper

  1. AdaptFlow: Adaptive Workflow Optimization via Meta-LearningRunchuan Zhu, Bowen Jiang, Lingrui Mei, Fangkai Yang 等EMNLP Findings 2025 · 1 次引用
  2. DyFlow: Dynamic Workflow Framework for Agentic ReasoningYanbo Wang, Zixiang Xu, Yue Huang, Xiangqi Wang 等NeurIPS 2025 · 24 次引用
  3. AFlow: Automating Agentic Workflow GenerationJiayi Zhang, Jinyu Xiang, Zhaoyang Yu, Fengwei Teng 等ICLR 2025
  4. AutoTool: Efficient Tool Selection for Large Language Model AgentsJingyi Jia, Qinbin LiAAAI 2026 · 4 次引用
  5. Flow: Modularized Agentic Workflow AutomationBoye Niu, Yiliao Song, Kai Lian, Yifan Shen 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖