Abstract
How can balance be quantified in game settings? This question is crucial for game designers, especially in player-versus-player (PvP) games, where analyzing the strength relations among predefined team compositions—such as hero combinations in multiplayer online battle arena (MOBA) games or decks in card games—is essential for enhancing gameplay and achieving balance. We have developed two advanced measures that extend beyond the simplistic win rate to quantify balance in zero-sum competitive scenarios. These measures are derived from win value estimations, which employ strength rating approximations via the Bradley-Terry model and counter relationship approximations via vector quantization, significantly reducing the computational complexity associated with traditional win value estimations. Throughout the learning process of these models, we identify useful categories of compositions and pinpoint their counter relationships, aligning with the experiences of human players without requiring specific game knowledge. Our methodology hinges on a simple technique to enhance codebook utilization in discrete representation with a deterministic vector quantization process for an extremely small state space. Our framework has been validated in popular online games, including Age of Empires II, Hearthstone, Brawl Stars, and League of Legends. The accuracy of the observed strength relations in these games is comparable to traditional pairwise win value predictions, while also offering a more manageable complexity for analysis. Ultimately, our findings contribute to a deeper understanding of PvP game dynamics and present a methodology that significantly improves game balance evaluation and design.
Introduction
In competitive gaming environments, achieving perfect balance is a primary objective for designers. Traditionally, win rates have served as the primary metric for identifying overpowered or underpowered strategies. However, win rates are often insufficient as they fail to account for player skill variability and the "intransitive" nature of many games—cyclic relationships similar to Rock-Paper-Scissors where Strategy A beats B, B beats C, and C beats A.
Standard scalar strength ratings, such as Elo, cannot capture these complex dynamics. While a full pairwise win-value table could theoretically model every interaction, the astronomical number of possible team compositions in modern games makes this approach computationally prohibitive. This research proposes a method to compress these relationships into a manageable format that aligns with human intuition, such as identifying archetypes like "Aggro" or "Control."
Methodology: Neural Rating and Counter Tables
The proposed framework employs a two-stage neural architecture to model game outcomes by separating raw strength from situational counter-relationships.
- Neural Rating Table (NRT): Utilizing a Siamese neural network, this component implements the Bradley-Terry model to assign a scalar strength value ($\lambda$) to each composition.
- Neural Counter Table (NCT): To capture the "residuals"—deviations from the scalar rating caused by specific matchups—the model uses Vector Quantization (VQ). This process clusters thousands of unique compositions into $M$ discrete "counter categories." A compact $M \times M$ table then stores the specific bonuses or penalties applied when these categories interact.
A key technical contribution is the introduction of a VQ Mean Loss function. This addresses "codebook underutilization," a common issue in small discrete spaces where many potential categories remain unused. By encouraging embedding vectors to gravitate toward the data, the model ensures that all $M$ categories represent meaningful strategic archetypes.
Metrics for Balance Evaluation
Based on the win-value estimations, the authors introduce two novel metrics for quantifying balance:
- Top-D Diversity: Measures the number of "playable" compositions that remain within a specific win-value threshold of the top-rated strategy.
- Top-B Balance: Identifies the number of "non-dominated" compositions. A composition is considered "dominated" if another strategy exists that is strictly superior across all potential matchups and counter-relationships.
Experimental Results and Insights
The framework was validated using both synthetic datasets and large-scale match data from titles such as Age of Empires II (AoE2), Hearthstone, Brawl Stars, and League of Legends.
- Efficiency and Accuracy: The NCT approach reduces space complexity from $O(N^2)$ to $O(N + M^2)$. In AoE2, the model achieved 97.7% accuracy, comparable to the "gold standard" PairWin method while being significantly more scalable.
- Emergent Archetypes: The model successfully identified strategic archetypes without prior game knowledge. In Hearthstone, it clustered decks into "Aggro," "Control," and "Combo" categories. In AoE2, it grouped civilizations by their military and economic strengths (e.g., "Heavy Cavalry" vs. "Archery").
- Case Studies: In AoE2, the model pinpointed the "Romans" civilization as significantly over-tuned. In Hearthstone, while "Treant Druid" showed high raw strength, the model highlighted "Aggro Paladin" as a critical counter-balance, explaining why the game remained strategically diverse despite high win rates for specific decks.
Conclusion
This research provides a robust methodology for evaluating game balance by modeling both transitive strength and intransitive counter-relationships. By compressing complex interactions into discrete categories, designers can more easily identify redundant content and ensure a diverse competitive meta. Future work aims to extend this framework to asymmetric games and incorporate in-game decision-making and drafting phases.
Summary updated