LLM-Powered Hierarchical Language Agent for Real-time Human-AI Coordination

Jijia Liu, Chao Yu, Jiaxuan Gao, Yuqing Xie, Qingmin Liao +2 more
12/23/2023
cs.AIcs.HC

No official code found. Best implementation: HosnLS/Hierarchical-Language-Agent (45 stars, last commit 2024-01-09).

Abstract

AI agents powered by Large Language Models (LLMs) have made significant advances, enabling them to assist humans in diverse complex tasks and leading to a revolution in human-AI coordination. LLM-powered agents typically require invoking LLM APIs and employing artificially designed complex prompts, which results in high inference latency. While this paradigm works well in scenarios with minimal interactive demands, such as code generation, it is unsuitable for highly interactive and real-time applications, such as gaming. Traditional gaming AI often employs small models or reactive policies, enabling fast inference but offering limited task completion and interaction abilities. In this work, we consider Overcooked as our testbed where players could communicate with natural language and cooperate to serve orders. We propose a Hierarchical Language Agent (HLA) for human-AI coordination that provides both strong reasoning abilities while keeping real-time execution. In particular, HLA adopts a hierarchical framework and comprises three modules: a proficient LLM, referred to as Slow Mind, for intention reasoning and language interaction, a lightweight LLM, referred to as Fast Mind, for generating macro actions, and a reactive policy, referred to as Executor, for transforming macro actions into atomic actions. Human studies show that HLA outperforms other baseline agents, including slow-mind-only agents and fast-mind-only agents, with stronger cooperation abilities, faster responses, and more consistent language communications.

View on arXivView PDF

Code Implementations(1)

459CSS, PythonDec 4, 20232 years agoNOASSERTION

Similar Papers

Cite this paper

@article{liu2023llmpowered,
  title  = {LLM-Powered Hierarchical Language Agent for Real-time Human-AI Coordination},
  author = {Jijia Liu and Chao Yu and Jiaxuan Gao and Yuqing Xie and Qingmin Liao and Yi Wu and Yu Wang},
  year   = {2023},
  eprint = {2312.15224},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.15224v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.15224.svg)](https://codeofpaper.com/paper/2312.15224)

Discussion