Skip to main content
QUICK REVIEW

[论文解读] ExpeL: LLM Agents Are Experiential Learners

Andrew Zhao, Daniel Huang|arXiv (Cornell University)|Aug 20, 2023
Topic ModelingComputer Science被引用 15
一句话总结

ExpeL 自主收集经验,从中提取自然语言洞见,并在推理阶段使用这些跨任务洞见,而不更新模型权重,从而提升在多个领域的性能。

ABSTRACT

The recent surge in research interest in applying large language models (LLMs) to decision-making tasks has flourished by leveraging the extensive world knowledge embedded in LLMs. While there is a growing demand to tailor LLMs for custom decision-making tasks, finetuning them for specific tasks is resource-intensive and may diminish the model's generalization capabilities. Moreover, state-of-the-art language models like GPT-4 and Claude are primarily accessible through API calls, with their parametric weights remaining proprietary and unavailable to the public. This scenario emphasizes the growing need for new methodologies that allow learning from agent experiences without requiring parametric updates. To address these problems, we introduce the Experiential Learning (ExpeL) agent. Our agent autonomously gathers experiences and extracts knowledge using natural language from a collection of training tasks. At inference, the agent recalls its extracted insights and past experiences to make informed decisions. Our empirical results highlight the robust learning efficacy of the ExpeL agent, indicating a consistent enhancement in its performance as it accumulates experiences. We further explore the emerging capabilities and transfer learning potential of the ExpeL agent through qualitative observations and additional experiments.

研究动机与目标

  • 在跨任务的自主经验收集基础上,促进无需权重更新的学习。
  • 开发跨任务洞见提取机制,以自然语言形式泛化知识。
  • 实现对过去成功轨迹的检索,以指导新任务的推理。
  • 利用提取的洞见展示从源任务到目标任务分布的迁移学习。

提出的方法

  • 通过试错和 Reflexion,从一组训练任务中收集成功与失败的经验。
  • 使用以提示驱动的 LLM,通过 ADD、UPVOTE、DOWNVOTE、EDIT 操作提取并管理跨任务洞见。
  • 用基于任务相似度的检索,在评估阶段召回与任务最相关的前 k 条成功轨迹,作为少量示例演示。
  • 在推理阶段,用提取的洞见和检索到的示例来增强任务规范。
  • 通过使用类微调的提示,将源任务洞见适配到目标任务来展示迁移学习,且不更新 LLM 权重。
ExpeL: LLM Agents Are Experiential Learners

实验结果

研究问题

  • RQ1LLM 代理是否能够通过从自身收集的经验中学习而在不进行参数更新的情况下提升性能?
  • RQ2跨任务洞见与对先前成功经验的检索是否提升了在多样领域上的泛化能力?
  • RQ3将洞见进行迁移学习在从源任务分布迁移到目标任务分布时扮演何种角色?
  • RQ4不同的洞见提取策略(学习型与手工设计)对性能有何影响?
  • RQ5跨任务学习是否与现有的规划框架(如 ReAct/Reflexion)兼容?

主要发现

  • ExpeL 在 HotpotQA、ALFWorld 与 WebShop 上持续超越基线规划(ReAct/Act)。
  • 将抽象洞见与成功轨迹检索相结合,带来超出单独任一组件使用的性能提升。
  • 将洞见从 HotpotQA 转移到 FEVER 提高了目标性能,微调洞见带来额外提升。
  • 代理提取的洞见优于手工洞见,而更大的 LLM(如 GPT-4)进一步提升结果。
Figure 1: ExpeL Agent Overview. Left: ExpeL operates in three stages: (1) Collection of success and failure experiences into a pool. (2) Extraction/abstraction of cross-task knowledge from these experiences. (3) Application of the gained insights and recall of past successes in evaluation tasks. Rig
Figure 1: ExpeL Agent Overview. Left: ExpeL operates in three stages: (1) Collection of success and failure experiences into a pool. (2) Extraction/abstraction of cross-task knowledge from these experiences. (3) Application of the gained insights and recall of past successes in evaluation tasks. Rig

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。