[论文解读] RuleSmith: Multi-Agent LLMs for Automated Game Balancing
RuleSmith 使用多智能体大模型自我对弈结合贝叶斯优化,自动平衡一个不对称、参数化的游戏(CivMini),实现接近相等的胜率并提供可解释的规则调整。
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.
研究动机与目标
- 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.
提出的方法
- 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.

实验结果
研究问题
- 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?
主要发现
- 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.

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。