Beyond Winning and Losing: Modeling Human Motivations and Behaviors Using Inverse Reinforcement Learning

Baoxiang Wang, Tongfang Sun, Xianjun Sam ZhengarXiv 2018

Abstract

In recent years, reinforcement learning (RL) methods have achieved super-human performance in games like Go and Poker by focusing on winning. However, these studies often ignore the complex human motivations essential for understanding diverse player behaviors. We present Multi-Motivation Behavior Modeling (MMBM), a novel framework that uses inverse RL to model the underlying value structures of players. MMBM does not require system dynamics access, making it feasible for complex environments like massively multiplayer online games (MMOGs). Tested on the World of Warcraft Avatar History dataset (70,000+ users over three years), our model reveals significant differences in value structures across player groups, predicts diverse gameplay behaviors with high accuracy, and quantifies the impact of game redesigns.

The Challenge: Beyond Scalar Rewards

Standard AI agents are often "single-minded," optimizing for a single scalar reward like a game score. In contrast, human behavior in complex virtual worlds is driven by multifaceted motivations—ranging from social interaction and teamwork to competition and escapism. Traditional Inverse Reinforcement Learning (IRL), which infers goals from observed behavior, typically requires a simulator or "what-if" queries, which are unavailable in massive historical datasets. MMBM addresses these gaps by modeling human value structures using only off-policy logs.

Methodology: Multi-Motivation Behavior Modeling (MMBM)

The MMBM framework operates in two primary stages:

  1. Individual Reward Estimation: The model uses Deep Q-Networks (DQN) to independently estimate the value of five key motivational dimensions derived from psychological theory: Advancement, Competition, Relationship, Teamwork, and Escapism.
  2. Weight Discovery (The IRL Step): Assuming a player's behavior is a weighted combination of these dimensions, MMBM employs Linear Programming (LP) to find the specific weights ($\phi$) that best align the observed human trajectories with "optimal" behavior.
The MMBM workflow: from zone transaction networks to user reward spider maps.

This off-policy approach allows the model to learn directly from historical data without needing to run a live simulation of the game environment.

Dataset: Three Years in Azeroth

The study utilizes the World of Warcraft Avatar History (WoWAH) dataset, a massive longitudinal record of over 70,000 unique users from 2006 to 2009. The data includes player locations and status sampled every 10 minutes, providing a rich foundation for behavioral analysis.

Key Insights and Results

The MMBM model successfully quantified the "value structures" of different player segments:

  • The Motivation Profile: The average player's motivation was found to be roughly 40% Advancement, 21% Relationship, 16% Teamwork, 12% Escapism, and 10% Competition.
  • Class-Based Differences: The model confirmed class-specific tropes. For instance, Priests (support roles) showed significantly higher weights for "Relationship" and "Teamwork" compared to Warriors or Hunters.
  • Expansion Dynamics: The release of the Wrath of the Lich King expansion caused a sharp spike in "Advancement" and "Competition" as players raced to the new level cap.
Spider maps showing general WoW motivation profiles and class-specific differences.

Prediction Performance

MMBM was used to predict future player movement (next zone). It achieved 56.5% accuracy, significantly outperforming baselines like Large Margin Q-Learning (47.2%) and Policy Imitation (31.0%). Beyond accuracy, MMBM offers interpretability, explaining why a player moved based on their inferred motivations (e.g., a social player moving to a high-teamwork zone).

Conclusion and Future Work

While MMBM assumes players act optimally to satisfy their rewards—a limitation given that players often make mistakes—it provides a powerful lens for understanding complex human behavior. Future research will aim to incorporate player skill levels and apply this framework to real-world domains like urban planning and social network analysis.

Summary updated

BibTeX
@misc{wang2018beyond,
  author = {Baoxiang Wang and Tongfang Sun and Xianjun Sam Zheng},
  title = {{Beyond Winning and Losing: Modeling Human Motivations and Behaviors Using Inverse Reinforcement Learning}},
  year = {2018},
  eprint = {1807.00366},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.00366},
}
Figure