Skip to main content
QUICK REVIEW

[论文解读] LLM-Coordination: Evaluating and Analyzing Multi-agent Coordination Abilities in Large Language Models

Saaket Agashe, Yue Fan|arXiv (Cornell University)|Oct 5, 2023
Topic ModelingComputer Science被引用 10
一句话总结

本论文提出 LLM-Co 框架,使 LLM 能参与多智能体协作博弈,并显示在持续协作中 GPT-4 超越 RL 基线,且在明确协助指令提示下得到帮助。

ABSTRACT

Large Language Models (LLMs) have demonstrated emergent common-sense reasoning and Theory of Mind (ToM) capabilities, making them promising candidates for developing coordination agents. This study introduces the LLM-Coordination Benchmark, a novel benchmark for analyzing LLMs in the context of Pure Coordination Settings, where agents must cooperate to maximize gains. Our benchmark evaluates LLMs through two distinct tasks. The first is Agentic Coordination, where LLMs act as proactive participants in four pure coordination games. The second is Coordination Question Answering (CoordQA), which tests LLMs on 198 multiple-choice questions across these games to evaluate three key abilities: Environment Comprehension, ToM Reasoning, and Joint Planning. Results from Agentic Coordination experiments reveal that LLM-Agents excel in multi-agent coordination settings where decision-making primarily relies on environmental variables but face challenges in scenarios requiring active consideration of partners' beliefs and intentions. The CoordQA experiments further highlight significant room for improvement in LLMs' Theory of Mind reasoning and joint planning capabilities. Zero-Shot Coordination (ZSC) experiments in the Agentic Coordination setting demonstrate that LLM agents, unlike RL methods, exhibit robustness to unseen partners. These findings indicate the potential of LLMs as Agents in pure coordination setups and underscore areas for improvement. Code Available at https://github.com/eric-ai-lab/llm_coordination.

研究动机与目标

  • 评估多智能体任务中 LLM 的心智理论(Theory of Mind)与情境推理(Situated Reasoning)。
  • 评估基于LLM的代理在持续协作中的协调性与对伙伴变异性的鲁棒性。
  • 探索在协作任务中显式主动协助及其对提示策略的依赖。
  • 在 AI-AI 与 AI-人类代理代理设置中,将 LLM-Co 代理与强化学习基线进行比较。

提出的方法

  • 引入 LLM-Coordination (LLM-Co) 框架,将游戏状态与规则转换为 LLM 提示。
  • 提供文本 Game Description G、指令 D_i,以及状态描述 D(S) 加上可行动作集合 M_f,以引导 LLM 输出。
  • 使用 Action Manager 将中级 LLM 动作转换为低级游戏动作。
  • 在三个协作博弈上评估 LLM-Co 代理:Collab Escape、Collab Capture,以及 Overcooked-AI,其中包括带有显式协助布局的 Overcooked。
  • 开发 LLM-ToM-Reasoning 测试集,以评估 Theory of Mind 与 Situated Reasoning。
  • 比较 GPT-4 与其他 LLM(GPT-3.5-turbo、Vicuna-33B、Vicuna-13B)在 ToM/Situated Reasoning 上的表现,并在持续协作与 AI-人类代理场景中对 LLM-Co 与 PPO 和 PBT 基线进行基准测试。
Figure 1: The CollabCapture game involves two agents, Alice (Blue) and Bob (Green), chasing a thief across multiple rooms. Some rooms are connected by doors, which can be controlled by buttons in different rooms.
Figure 1: The CollabCapture game involves two agents, Alice (Blue) and Bob (Green), chasing a thief across multiple rooms. Some rooms are connected by doors, which can be controlled by buttons in different rooms.

实验结果

研究问题

  • RQ1LLMs 是否能够在多智能体协作任务中推断伙伴意图(心智理论)?
  • RQ2LLM-Co 代理在较长时间范围内维持协调和适应未知伙伴的能力如何?
  • RQ3在多智能体任务的 AI-AI 与 AI-人类代理设置中,LLM-Co 代理是否优于强化学习基线?
  • RQ4LLM-Co 代理是否能提供显式、主动的协助,以及需要哪些提示来引发它?

主要发现

  • GPT-4 在 LLM-ToM-Reasoning 测试集上取得最高表现,在心智理论(ToM)与情境推理(Situated Reasoning)任务上接近人类水平的准确度。
  • LLM-Co 代理在 Overcooked-AI 布局中的持续协作上超越 RL 基线,GPT-4 实现强大的 AI-AI 与 AI-人类代理表现。
  • 在显式协助布局中,当用 helper 指令提示时,LLM-Co 代理可以提供帮助,在这些布局上超过 MARL 基线。
  • LLM-Co 代理对伙伴变化表现出鲁棒性,不依赖固定策略,在人类代理场景中展示适应性。
  • LLM-Co 代理为其行为提供可解释的文本内在推理,为决策过程提供在标准 RL 基线中不易获得的洞察。
Figure 2: All layouts from the overcooked environment we use for our tests. The two agents Alice (Blue) and Bob (Green) need to collaborate to cook, plate, and deliver onion soups. From Left to Right: Cramped Room, Asymmetric Advantages, Forced Coordination, Coordination Ring, and Counter Circuit.
Figure 2: All layouts from the overcooked environment we use for our tests. The two agents Alice (Blue) and Bob (Green) need to collaborate to cook, plate, and deliver onion soups. From Left to Right: Cramped Room, Asymmetric Advantages, Forced Coordination, Coordination Ring, and Counter Circuit.

阅读本论文

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

在 Nubint 中阅读本论文

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