DipLLM: Fine-Tuning LLM for Strategic Decision-making in Diplomacy

Kaixuan Xu, Jiajun Chai, Sicheng Li, Yuqian Fu, Yuanheng Zhu, Dongbin Zhao · OpenReview

Abstract

Diplomacy is a complex multiplayer game that requires both cooperation and competition, posing significant challenges for AI systems. Traditional methods rely on equilibrium search to generate extensive game data for training, which demands substantial computational resources. Large Language Models (LLMs) offer a promising alternative, leveraging pre-trained knowledge to achieve strong performance with relatively small-scale fine-tuning. However, applying LLMs to Diplomacy remains challenging due to the exponential growth of possible action combinations and the intricate strategic interactions among players. To address this challenge, we propose DipLLM, a fine-tuned LLM-based agent that learns equilibrium policies for Diplomacy. DipLLM employs an autoregressive factorization framework to simplify the complex task of multi-unit action assignment into a sequence of unit-level decisions. By defining an equilibrium policy within this framework as the learning objective, we fine-tune the model using only 1.5% of the data required by the state-of-the-art Cicero model, surpassing its performance. Our results demonstrate the potential of fine-tuned LLMs for tackling complex strategic decision-making in multiplayer games.

Introduction

The game of Diplomacy has long been considered a "grand challenge" for artificial intelligence. Unlike Chess or Go, it involves simultaneous moves and a mix of competition and implicit cooperation. The combinatorial complexity is staggering: a single player managing 34 units faces over $10^{64}$ possible move combinations per turn.

Overview of the DipLLM pipeline and performance comparison against baselines.

Previous state-of-the-art (SOTA) models, such as Meta’s Cicero, achieved mastery through massive data requirements and intensive equilibrium search, often requiring hundreds of GPUs. DipLLM addresses these efficiency gaps by leveraging the pre-trained reasoning capabilities of Large Language Models (LLMs), specifically Llama 3 8B, and introducing a novel factorization framework.

Methodology

DipLLM bridges the gap between general LLM reasoning and specialized strategic gaming through two primary innovations:

Autoregressive Factorization (AF)

Standard LLMs struggle to output a single joint action for dozens of units simultaneously. DipLLM decomposes this task into a sequence of unit-level decisions. The model determines a move for the first unit, then uses that decision as context to determine the move for the second, and so on. This "autoregressive" approach mirrors the natural training objective of LLMs (next-token prediction) and drastically simplifies the action space.

The Autoregressive Factorization (AF) framework for sequential unit-level decision making.

Equilibrium-Guided Fine-Tuning

Rather than simple imitation learning, DipLLM is fine-tuned using a learning objective derived from the Nash Equilibrium. The researchers utilized the piKL-Hedge equilibrium search algorithm to generate "ground truth" labels and Q-values (expected rewards). The model is then trained on structured text prompts that translate the raw board state into a format the LLM can process logically.

Key Results and Insights

DipLLM demonstrates remarkable efficiency and strategic depth:

  • Superior Performance with Minimal Data: DipLLM achieved a Sum-of-Squares (SoS) score of 23.0%, surpassing Cicero's 20.8%. Critically, it reached this SOTA performance using only 0.5k training games—approximately 1.5% of the data required by Cicero.
  • Efficiency: Beyond training efficiency, DipLLM's inference time is 80–90% faster than Cicero’s per turn, making it more viable for real-time applications.
  • Emergent Tactics: The model successfully learned advanced strategic maneuvers, such as "feints"—using a diversionary unit to draw an opponent away from a primary objective.
  • Domain Specificity: Head-to-head tests showed that DipLLM significantly outperformed larger general-purpose models like OpenAI o3-mini and DeepSeek-R1, highlighting the necessity of domain-specific fine-tuning for specialized strategic tasks.

Conclusion and Future Work

DipLLM proves that fine-tuned LLMs can master complex strategic environments with extreme data efficiency. While currently focused on "no-press" Diplomacy (no verbal communication), future work aims to integrate the LLM’s natural language generation for the "press" version of the game, involving negotiation and deception. Additionally, moving toward a self-play mechanism for data generation could further enhance the model's scalability and strategic ceiling.

Summary updated

Abstract

Diplomacy is a complex multiplayer game that requires both cooperation and competition, posing significant challenges for AI systems. Traditional methods rely on equilibrium search to generate extensive game data for training, which demands substantial computational resources. Large Language Models (LLMs) offer a promising alternative, leveraging pre-trained knowledge to achieve strong performance with relatively small-scale fine-tuning. However, applying LLMs to Diplomacy remains challenging due to the exponential growth of possible action combinations and the intricate strategic interactions among players. To address this challenge, we propose DipLLM, a fine-tuned LLM-based agent that learns equilibrium policies for Diplomacy. DipLLM employs an autoregressive factorization framework to simplify the complex task of multi-unit action assignment into a sequence of unit-level decisions. By defining an equilibrium policy within this framework as the learning objective, we fine-tune the model using only 1.5% of the data required by the state-of-the-art Cicero model, surpassing its performance. Our results demonstrate the potential of fine-tuned LLMs for tackling complex strategic decision-making in multiplayer games.
BibTeX
@inproceedings{xu2025dipllm,
  author = {Kaixuan Xu and Jiajun Chai and Sicheng Li and Yuqian Fu and Yuanheng Zhu and Dongbin Zhao},
  title = {{DipLLM: Fine-Tuning LLM for Strategic Decision-making in Diplomacy}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=hfPaOxDWfI},
}
Figure