Reinforced Imitative Graph Representation Learning for Mobile User Profiling: An Adversarial Training Perspective

Dongjie Wang, Pengyang Wang, Kunpeng Liu, Yuanchun Zhou, Charles E. Hughes, Yanjie Fu

Abstract

Mobile user profiling is essential for urban planning and personalized recommendation systems, yet capturing the dynamic and sequential nature of human mobility remains a significant challenge. We introduce Reinforced Imitative Representation Learning (RIRL), a novel framework that treats user profiling as an imitation task. By training an agent to mimic a user's movement patterns through an adversarial reinforcement learning strategy, RIRL learns high-fidelity representations that integrate spatial knowledge and temporal context. Our evaluation on real-world datasets from New York City and Beijing demonstrates that RIRL consistently outperforms state-of-the-art baselines in predicting user visits and identifying venue categories.

Introduction

Quantifying human characteristics through mobility history—mobile user profiling—is a cornerstone of modern location-based services. However, traditional methods often treat this as a static mapping problem, ignoring the "why" behind sequential destination choices. Human mobility is driven by evolving interests and external contexts such as traffic and time of day. The authors of this work propose a powerful intuition: if an AI agent can perfectly imitate a user's trajectory, it must have captured the optimal representation of that user’s underlying profile.

Methodology: The RIRL Framework

The RIRL framework consists of two primary components designed to work in an adversarial loop: the Representation Module and the Imitation Module.

The RIRL architecture featuring the Representation Module (Generator) and the Imitation Module (Discriminator).

1. The Representation Module (Generator)

This module constructs a "state" by fusing three data sources:

  • User Profiles: Initialized from historical behavior.
  • Spatial Knowledge Graph (KG): Provides semantic context about Points of Interest (POIs) and their relationships.
  • Temporal Context: Real-time data such as traffic flow (derived from taxi transaction records).

A novel gated mechanism, inspired by LSTMs, updates these profiles incrementally. This allows the model to decide how much "old" information to retain versus how much "new" interest to incorporate from recent visit events.

2. The Imitation Module (Discriminator)

The imitation module is a Deep Q-Network (DQN) agent that takes the state from the representation module and attempts to predict the user's next visit (the "action").

Adversarial Training for Stability

A major challenge in combining Reinforcement Learning (RL) with representation learning is the inherent randomness of RL exploration. This randomness typically introduces noisy gradients that can destabilize the learned profiles. RIRL addresses this by adopting an adversarial perspective: the representation module acts as a generator, while the imitation/reward system acts as a discriminator. Profiles are updated based on the gap between current rewards and maximum possible rewards, steering the representation toward high-accuracy directions without the chaos of random exploration.

Key Results

The framework was rigorously tested against baselines such as Probabilistic Matrix Factorization (PMF), WaveNet, and LSTMNet using check-in data from New York City and Beijing.

Performance comparison of RIRL against baselines across Precision, Recall, Similarity, and Distance metrics.

As shown in the experimental results, RIRL (specifically the RIRL-TD variant) consistently achieves superior accuracy. Key findings include:

  • Higher Precision and Recall: RIRL-TD significantly outperforms traditional deep learning models in predicting the correct category of the next visit.
  • Reduced Physical Error: The "Average Distance" metric shows that RIRL's predictions are physically closer to the actual locations visited by users compared to baselines.
  • The Power of TD-Error: Using Temporal Difference (TD)-based sampling—which focuses on instances where the model's prediction was most "surprised"—proved more effective than simple reward-based sampling (RIRL-r).

Conclusion

RIRL demonstrates that imitation is a potent proxy for understanding human mobility. By stabilizing the interaction between reinforcement learning and representation modules through an adversarial lens, the framework captures the nuances of user behavior more effectively than static models.

While the results are promising, future work is needed to address the cold-start problem for new users and to reduce the computational complexity associated with training DQNs alongside large-scale Spatial Knowledge Graphs. Additionally, exploring the model's performance in environments with less granular contextual data remains an important next step for global scalability.

Summary updated

BibTeX
@inproceedings{wang2021reinforced,
  author = {Dongjie Wang and Pengyang Wang and Kunpeng Liu and Yuanchun Zhou and Charles E. Hughes and Yanjie Fu},
  title = {{Reinforced Imitative Graph Representation Learning for Mobile User Profiling: An Adversarial Training Perspective}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16567},
}
Figure