Society of Mind Meets Real-Time Strategy: A Hierarchical Multi-Agent Framework for Strategic Reasoning

Daechul Ahn, San Kim, Jonghyun Choi

TL;DR

This paper introduces HIMA, a hierarchical multi-agent framework for real-time strategy games like StarCraft II, which uses specialized imitation learning agents coordinated by a strategic planner. HIMA significantly improves strategic reasoning, adaptability, and computational efficiency compared to existing LLM-based approaches, demonstrating the power of combining specialized modules with meta-level orchestration.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown promise in predicting action sequences, but they struggle with complex, dynamic, and long-horizon tasks like real-time strategy (RTS) games. In games such as StarCraft II (SC2), agents must manage resources, adapt to partially observable environments, and execute intricate strategies that involve both short-term tactics and long-term planning. Existing LLM-based methods often fail to maintain coherent build orders, manage resources efficiently, and adapt to evolving battlefield conditions, leading to fragmented strategies and suboptimal performance.

Methods

The core of the proposed solution is the Hierarchical Imitation Multi-Agent (HIMA) framework. HIMA employs a "society of mind" approach, where multiple specialized imitation learning agents, each trained on expert demonstrations for specific strategies (e.g., air superiority, ground combat), generate structured, multi-step action sequences. These sequences are then orchestrated by a Strategic Planner (SP), a meta-controller that synthesizes the agents' proposals into a single, adaptive plan. The SP uses a "temporal Chain-of-Thought" (t-CoT) reasoning process to align immediate, short-term, and long-term objectives, considering environmental context. A feedback system allows the SP to adapt to unexpected game events or failed actions. For training the specialized agents, the authors use a dataset construction pipeline that extracts state-action pairs and prompts an LLM to generate "Tactical Rationales" (TRs) explaining the reasoning behind the actions.

Datasets

  • SC2EGSet: A dataset of professional StarCraft II replays annotated with detailed game states and player actions, used for training the imitation agents.
  • TEXTSCII-ALL: A newly introduced, comprehensive SC2 evaluation environment that covers all three races (Protoss, Terran, Zerg) and all nine possible player-opponent match-ups, expanding upon previous work that focused on single match-ups.

Key Insights and Ideas

  • Specialization is Key: Breaking down complex strategies into specialized agents, each focusing on a particular playstyle or unit composition, leads to more coherent and effective long-term planning than a single monolithic model.
  • Hierarchical Orchestration: A meta-controller (Strategic Planner) is crucial for integrating the outputs of specialized agents, ensuring that individual tactical decisions align with overarching strategic goals.
  • Temporal Reasoning Matters: The "temporal Chain-of-Thought" (t-CoT) approach, which explicitly links immediate, short-term, and long-term objectives, significantly improves strategic coherence and responsiveness.
  • Rationales Enhance Planning: Providing "Tactical Rationales" (TRs) to imitation agents improves their decision-making quality by offering strategic context.
  • Structured Action Sequences Reduce LLM Calls: Generating longer, structured action sequences per decision point, rather than single actions at every timestep, drastically reduces the number of LLM calls, leading to greater computational efficiency and smoother gameplay.

Key Results

  • Superior Win Rates: HIMA consistently outperforms state-of-the-art (SoTA) approaches across various difficulty levels and all nine race match-ups in the TEXTSCII-ALL environment, achieving up to a 100% win rate against SoTA opponents in head-to-head matches.
  • Computational Efficiency: HIMA significantly reduces LLM call overhead, with an average of only 11 calls per 20-minute game, compared to hundreds for other methods, leading to a much lower total LLM call time.
  • Improved Adaptability: The hierarchical structure and feedback system allow HIMA to adapt to dynamic battlefield conditions and recover from failed actions more effectively.
  • Effective Specialization: Clustering agents based on unit composition proved to be the most effective criterion for creating specialized agents, leading to superior performance.

Limitations and Future Work

  • Terran Micro-Demands: The authors note that HIMA's performance is comparatively lower for Terran, which they attribute to the race's higher micro-management demands, a focus beyond the current macro-control oriented evaluation. Addressing these scenarios is a key direction for future work.
  • Model Generalizability: While GPT-40 achieved the highest performance for the Strategic Planner, the paper explores the generalizability across various open-source and closed-source LLMs, suggesting further research into optimal model selection.
  • Further Exploration of Clustering: While unit composition clustering was most effective, the paper mentions exploring other criteria and analyzing their impact on response diversity.

Summary updated

BibTeX
@inproceedings{ahn2025society,
  author = {Daechul Ahn and San Kim and Jonghyun Choi},
  title = {{Society of Mind Meets Real-Time Strategy: A Hierarchical Multi-Agent Framework for Strategic Reasoning}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=VYdbeSoXWD},
}
Figure