Non-negative Tensor Factorization for Human Behavioral Pattern Mining in Online Games

Anna Sapienza, Alessandro Bessi, Emilio FerraraarXiv 2017

TL;DR

This paper applies Non-negative Tensor Factorization (NTF) to League of Legends match data to uncover distinct, interpretable player archetypes based on their gameplay styles. Surprisingly, the authors find that players' strategic behaviors remain remarkably stable over their first 100 matches, a phenomenon they attribute to the game's skill-based matchmaking system balancing win rates and removing the incentive to adapt.

What Problem Does This Paper Address?

Multiplayer Online Battle Arena (MOBA) games like League of Legends (LoL) generate massive amounts of behavioral data. While this data offers a goldmine for understanding human interaction, cooperation, and learning, extracting meaningful and interpretable patterns is highly challenging.

Traditional analysis methods often flatten this data, losing either the social dynamics (how players differ) or the temporal dynamics (how players change over time). The authors tackle this by trying to simultaneously capture who the players are, what strategies they deploy, and how these behaviors evolve across their match histories.

Methods

To preserve the multi-dimensional relationships in the data, the authors represent the dataset as a three-dimensional tensor: Players $\times$ Features $\times$ Time (Matches).

Instead of standard matrix factorization, they use Non-negative Tensor Factorization (NTF) via the PARAFAC/CANDECOMP decomposition. The non-negativity constraint is crucial here: because gameplay metrics (like kills or gold) cannot be negative, forcing the decomposed components to be non-negative makes the resulting factor matrices highly interpretable as "levels of membership."

The methodology follows these key steps:

  1. Feature Selection: A decision tree classifier is trained to predict match outcomes from over 50 features. The top four features responsible for 99% of the information gain are retained: assists, deaths, kills, and gold earned.
  2. Tensor Decomposition: The tensor is decomposed using the Alternating Non-negative Least Squares (ANLS) framework combined with Block Principal Pivoting (BPP).
  3. Rank Selection: The authors use the Core Consistency Diagnostic (CORCONDIA) to determine the optimal number of behavioral components, settling on a rank of $R = 3$.
  4. Clustering: Players are mapped into the component space and grouped into three disjoint clusters using $k$-means.

Datasets

The study uses a dataset collected via the official Riot Games API:

  • Scope: 961 unique players and their first 100 matches, totaling roughly 100,000 matches.
  • Control: To minimize environmental variables, the data is strictly limited to matches played on the game's most popular map, Summoner's Rift.

Key Insights and Ideas

  • The Three Archetypes: The NTF successfully separates players into three distinct, intuitive gameplay styles based on feature weights:
  • Individualists (Cluster 0): Focused heavily on securing kills and maximizing personal gold.
  • Aggressive/Lower Performers (Cluster 1): High kills and gold, but balanced by a disproportionately high number of deaths.
  • Cooperative Players (Cluster 2): Characterized by high assists, solid gold accumulation, and very low deaths.
Figure 1: Feature membership in the components: we report the matrix B in which we zero-out the entries which are not included in the 95% of the norm of the component. Here, the colorbar indicates the level of membership of each feature to the three different components. Te features are respec- tively: assists (0), deaths (1), kills (2), and gold (3).
  • Strategic Stagnation: The most surprising finding is that the temporal activation of these components is nearly flat. Over the course of 100 matches, players rarely change or adapt their core strategy.
  • The Matchmaking Trap: Why don't players change their strategies? The authors point to LoL's Elo-based matchmaking system. Because the game constantly pairs players against opponents of similar skill to ensure a 50% win probability, players are rarely penalized enough by their natural playstyle to feel incentivized to change it.

Key Results

  • Cluster Breakdown: The $k$-means algorithm divided the 961 players into Cluster 0 (411 players), Cluster 1 (304 players), and Cluster 2 (246 players). The distinctiveness of these clusters was validated by a solid Silhouette score of 0.35.
  • Win Rate Skew: Kernel Density Estimation (KDE) of win rates confirmed that all three clusters hover close to a 50% win rate. However, Cluster 0 (Individualists) showed a statistically significant, albeit marginal, skew toward higher win rates compared to the cooperative Cluster 2.
Figure 4: Mean feature values and related standard errors over time. Te different subfigures show the player perfor- mance related to a certain feature over time. We computed the mean and the standard error over the values related to users belonging to the same cluster. Clusters are marked by a unique symbol and color, which is maintained in all the figures, to highlight the different cluster characteristics.

Limitations and Future Work

The authors note a few limitations and areas for exploration:

  • Data Window: The study only looks at a player's first 100 matches. It remains unclear if behavioral shifts occur much later in a player's lifecycle (e.g., after entering ranked competitive play).
  • Role Blindness: The features do not explicitly account for the specific "champion" or role selected (e.g., support vs. carry), which naturally dictates gameplay metrics like assists and kills.
  • Future Directions: The authors propose expanding this framework to other game datasets and exploring how game developers might use targeted incentives or rewards to actively "nudge" players out of strategic stagnation.

Summary updated

BibTeX
@misc{sapienza2017non,
  author = {Anna Sapienza and Alessandro Bessi and Emilio Ferrara},
  title = {{Non-negative Tensor Factorization for Human Behavioral Pattern Mining in Online Games}},
  year = {2017},
  eprint = {1702.05695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.05695},
}

Loading related content...

Figure