TL;DR
The Neural Individualized Context-aware Embeddings (NICE) model combines non-negative tensor factorization with deep learning to predict player performance and game outcomes in League of Legends. By learning latent representations that capture how individual players uniquely respond to game contexts—like champion choices and balance patches—NICE significantly outperforms standard machine learning baselines in predicting match wins, in-game stats, and player engagement.
What Problem Does This Paper Address?
Predicting human behavior is notoriously difficult because people aren't monolithic; we react to our environments in highly individualized ways. In the world of Multiplayer Online Battle Arena (MOBA) games like League of Legends (LoL), this "context" is constantly shifting. Developers release regular "patches" that buff or nerf characters, and players must choose from over 100 champions, each requiring different skills.
Existing predictive models often generalize these contextual effects across the entire population (e.g., "this patch makes Mages stronger for everyone"). However, a "pro" player might adapt to a patch differently than a novice, and a "specialist" who only plays one character will have a different performance profile than a "generalist." The authors aim to bridge this gap by creating a model that accounts for the heterogeneity of human behavior through individualized, context-aware embeddings.
Methods
The authors propose the NICE framework, which operates in two main stages:
- Tensor Factorization: They represent the game data as a sparse 3-way tensor: Users × Global Context (Game Versions) × Individual Context (Champions). Each cell in the tensor represents how often a specific user played a specific champion during a specific game version.
- They use Non-Negative Tensor Factorization (NTF) to decompose this massive, sparse array into low-dimensional latent factors (embeddings) for users, versions, and champions.
- To handle the extreme sparsity (only 20-30% of the tensor is populated), they employ a masked minimization approach, ensuring the model only learns from observed data points.
- Deep Learning Decoder: The learned latent embeddings are then fed into a deep neural network (DNN). The model integrates the user's latent profile with the specific context of a match (e.g., which champion they picked) using a Hadamard product. This combined vector, along with other metadata (match duration, role, lane), passes through eight fully connected layers to produce a final prediction.
Datasets
The study utilizes a large-scale League of Legends dataset spanning from April 2014 to November 2016.
- Scale: 18,713 players across 436,805 matches, totaling approximately 1 million unique player-match pairs.
- Preprocessing: The authors filtered for players with at least 15 matches to ensure enough data to build a meaningful behavioral profile.
- Features: Includes match metadata (queue type, map, version), in-game performance (kills, deaths, assists), and contextual choices (champion, lane, role).
Key Insights and Ideas
- Specialists vs. Generalists: By calculating the entropy of champion type distributions, the authors identified a clear divide in player behavior. "Specialists" focus intensely on a few characters, while "Generalists" spread their play across many. NICE captures these fundamental differences in its latent user embeddings.
- Latent Factors Map to Game Roles: The tensor factorization naturally "discovered" game archetypes. For example, one latent component strongly associated with "Controller" champions (who focus on assists) while another mapped to "Slayers" and "Mages" (high kill/high death roles).
- Capturing the "Meta": The temporal embeddings (game versions) successfully tracked shifts in the game's "meta" (the most effective tactics). They identified a distinct shift during the 2016 pre-season where a new group of novice players entered the ecosystem, which the model was able to isolate and account for.
Key Results
NICE consistently outperformed baselines like Random Forest, XGBoost, and a standard DNN across all tested metrics:
- Winning Outcome: Achieved an AUC of 0.953, surpassing the best baseline (XGBoost at 0.948).
- User Engagement: In the difficult task of predicting if a match would be a player's last in a session (end-of-session), NICE improved the AUC by 17% over baselines (0.680 vs 0.579).
- In-Game Stats: The model saw a 9% gain in NRMSE for predicting kills and a 6% gain for assists. The authors attribute this to the model's superior ability to understand champion-specific performance trends.
Limitations and Future Work
- Data Sparsity: While the masked NTF approach helps, the tensor remains incredibly sparse. The model's performance relies heavily on having enough historical data for a specific user to form an embedding.
- Categorical Constraints: The current tensor construction focuses on categorical variables (champions, versions). The authors note that while it can be adapted for continuous variables, this study primarily stuck to discrete contexts.
- Future Directions: The researchers plan to extend this to "multi-way" data (tensors with more than three dimensions) and explore applications in other domains like personalized health and social media behavior, where individualized context is equally critical.
Summary updated