Skip to main content
QUICK REVIEW

[Paper Review] RuleSmith: Multi-Agent LLMs for Automated Game Balancing

Ziyao Zeng, Chen Liu|arXiv (Cornell University)|Feb 5, 2026
Artificial Intelligence in GamesComputer Science0 citations
TL;DR

RuleSmith uses multi-agent LLM self-play combined with Bayesian optimization to automatically balance an asymmetric, parameterized game (CivMini), achieving near-equal win rates and providing interpretable rule adjustments.

ABSTRACT

Game balancing is a longstanding challenge requiring repeated playtesting, expert intuition, and extensive manual tuning. We introduce RuleSmith, the first framework that achieves automated game balancing by leveraging the reasoning capabilities of multi-agent LLMs. It couples a game engine, multi-agent LLMs self-play, and Bayesian optimization operating over a multi-dimensional rule space. As a proof of concept, we instantiate RuleSmith on CivMini, a simplified civilization-style game containing heterogeneous factions, economy systems, production rules, and combat mechanics, all governed by tunable parameters. LLM agents interpret textual rulebooks and game states to generate actions, to conduct fast evaluation of balance metrics such as win-rate disparities. To search the parameter landscape efficiently, we integrate Bayesian optimization with acquisition-based adaptive sampling and discrete projection: promising candidates receive more evaluation games for accurate assessment, while exploratory candidates receive fewer games for efficient exploration. Experiments show that RuleSmith converges to highly balanced configurations and provides interpretable rule adjustments that can be directly applied to downstream game systems. Our results illustrate that LLM simulation can serve as a powerful surrogate for automating design and balancing in complex multi-agent environments.

Motivation & Objective

  • Automate the balancing of asymmetric, rule-driven games using language-model agents without hand-crafted heuristics.
  • Exploit a parameterized rule space to study how health, economy, production, and scoring influence balance.
  • Develop an efficient optimization loop that handles expensive, noisy evaluations via acquisition-based adaptive sampling.

Proposed method

  • Instantiate two LLM agents to play asymmetric factions (Empire and Nomads) from a parameterized rule space theta.
  • Evaluate balance using a balance loss L(theta) = |w_E - 0.5| + |w_N - 0.5| + 0.5 * w_D, estimated via N self-play games.
  • Optimize theta with Bayesian optimization over a continuous relaxation of the rule space, followed by deterministic discretization to valid configurations.
  • Use adaptive sampling based on Expected Improvement to allocate more evaluation games to promising candidates.
  • Incorporate a retrieval-augmented generation (RAG) system to fetch relevant textual rules and output structured JSON actions for all units per turn.
  • Demonstrate the approach on CivMini, a 7x7 grid with two factions and 12 tunable parameters spanning economy, combat, production, and scoring.
Figure 1: Overview of RuleSmith. Multi-agent LLMs perform zero-shot self-play using solely the rule book under parameterized rule sets to automatically optimize asymmetric strategy games and other rule-driven systems. This figure is generated by Nano Banana Pro.
Figure 1: Overview of RuleSmith. Multi-agent LLMs perform zero-shot self-play using solely the rule book under parameterized rule sets to automatically optimize asymmetric strategy games and other rule-driven systems. This figure is generated by Nano Banana Pro.

Experimental results

Research questions

  • RQ1Can multi-agent LLM self-play, grounded in executable rulebooks, produce useful evaluations for balancing a parameterized asymmetric game?
  • RQ2Does coupling LLM-driven self-play with Bayesian optimization enable efficient discovery of balanced rule configurations in high-dimensional spaces?
  • RQ3How do model capacity and evaluation budgets affect balance outcomes and the transferability of optimized parameters across settings?
  • RQ4What interpretable adjustments to economy, combat, production, and scoring emerge as the algorithm balances asymmetric factions?

Key findings

  • RuleSmith converges to highly balanced configurations where win-rate disparities approach 0% in CivMini.
  • Optimized parameters yield interpretable insights into how health scaling, resource efficiency, and production tempo influence fairness.
  • Adaptive sampling with acquisition-based budgeting improves efficiency over fixed-sample BO and random baselines.
  • Balanced parameters transfer across evaluation settings when model capacities match, with larger models showing strategic advantages in cross-play scenarios.
  • Ablation studies show adaptive sampling outperforms fixed sampling and other baselines in achieving near-equal win rates.
Figure 2: Overview of the RuleSmith method. We represent an asymmetric, turn-based strategy game (CivMini) as a parameterized rule space $\theta\in\Theta$ , including economy, combat, production, scoring, and game-length parameters. Given a candidate rule configuration $\theta_{t}$ , two role-specif
Figure 2: Overview of the RuleSmith method. We represent an asymmetric, turn-based strategy game (CivMini) as a parameterized rule space $\theta\in\Theta$ , including economy, combat, production, scoring, and game-length parameters. Given a candidate rule configuration $\theta_{t}$ , two role-specif

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.