Hierarchical Expert Prompt for Large-Language-Model: An Approach Defeat Elite AI in TextStarCraft II for the First Time

Zongyuan Li, Chang Lu, Xiaojie Xu, Runnan Qi, Yanan Ni +6 more
2/16/2025
cs.AI

No official code found. Best implementation: NKAI-Decision-Team/HEP-LLM-play-StarCraftII (60 stars, Apache-2.0, last commit 2024-10-24).

Abstract

Since the emergence of the Large Language Model (LLM), LLM has been widely used in fields such as writing, translating, and searching. However, there is still great potential for LLM-based methods in handling complex tasks such as decision-making in the StarCraft II environment. To address problems such as lack of relevant knowledge and poor control over subtasks of varying importance, we propose a Hierarchical Expert Prompt (HEP) for LLM. Our method improves the understanding of game situations through expert-level tactical knowledge, improving the processing quality of tasks of varying importance through a hierarchical framework. Our approach defeated the highest level (Elite) standard built-in agent in TextStarCraft II for the first time and consistently outperformed the baseline method in other difficulties. Our experiments suggest that the proposed method is a practical solution for tackling complex decision-making challenges. The replay video can be viewed on https://www.bilibili.com/video/BV1uz42187EF and https://youtu.be/dO3PshWLV5M, and our codes have been open-sourced on https://github.com/luchang1113/HEP-LLM-play-StarCraftII.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Hierarchical Expert Prompt for Large-Language-Models: An Approch Defeat Elite AI in TextStarCraft-II for the First Time

603PythonJun 15, 20241 years agoApache-2.0
llmllm-agentstarcraft2text-starcraft2

Similar Papers

Cite this paper

@article{li2025hierarchical,
  title  = {Hierarchical Expert Prompt for Large-Language-Model: An Approach Defeat Elite AI in TextStarCraft II for the First Time},
  author = {Zongyuan Li and Chang Lu and Xiaojie Xu and Runnan Qi and Yanan Ni and Lumin Jiang and Xiangbei Liu and Xuebo Zhang and Yongchun Fang and Kuihua Huang and Xian Guo},
  year   = {2025},
  eprint = {2502.11122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.11122v1}
}

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/2502.11122.svg)](https://codeofpaper.com/paper/2502.11122)

Discussion