Minimizing User Involvement for Learning Human Mobility Patterns from Location Traces

Basma Alharbi, Abdulhakim Ali Qahtan, Xiangliang Zhang

Presented at AAAI-16, this research introduces HuMoR (Human Mobility Representation), a probabilistic framework designed to automatically extract meaningful patterns from raw, anonymized location data. By treating mobility traces with a methodology similar to linguistic analysis, the authors demonstrate that machines can learn "motifs" of human behavior that often outperform features manually designed by human experts.

The Challenge of Raw Mobility Data

Human mobility data—sourced from GPS, cell towers, or social media check-ins—is a vital resource for urban planning and social analysis. However, converting raw "pings" into usable insights typically requires a "Human-in-the-Loop" approach. Experts must manually define features, such as "radius of gyration" or "time spent at home," which is time-consuming, task-specific, and often misses subtle, latent patterns.

Furthermore, mobility data is inherently messy and suffers from two major imbalances that complicate standard statistical modeling:

  1. User Activity Level: There is a massive disparity between "power users" with thousands of data points and "passive users" who provide only a handful of traces.
  2. Location Popularity: A few locations (like transit hubs or malls) receive millions of visits, while the vast majority of spots receive very few, creating a stark "power-law" distribution.
User activity and location popularity distributions for the MDC and GW datasets, illustrating the significant data imbalances and power-law characteristics.

The HuMoR Framework

The authors propose the Human Mobility Representation (HuMoR) model, a Probabilistic Graphical Model (PGM) inspired by Latent Dirichlet Allocation (LDA). In this analogy, users are treated as documents, locations as words, and motifs (behavioral patterns) as topics.

To overcome the challenges of raw mobility data, HuMoR introduces two key innovations:

  • Sequence-Level Learning: Instead of treating a user's entire history as a single string, trajectories are broken into sequences (e.g., morning vs. evening visits). This allows the model to leverage community-level patterns. If a passive user has only one data point in the morning, the model can infer likely behavior based on motifs learned from more active users during that same timeframe.
  • Asymmetric Priors with Side Features: HuMoR uses metadata, such as timestamps, to condition the model. This helps the model understand that certain motifs are more likely at 8:00 AM than at 11:00 PM, allowing it to group locations that share a context even if they never appear in the same individual user's trace.

Experimental Setup and Datasets

The model was evaluated on two distinct, publicly available datasets representing different data densities:

  1. MDC (Mobile Data Challenge): Dense data based on Call-Detail Records (CDR), averaging 11,870 check-ins per user.
  2. GW (Gowalla): Sparse data from a Location-Based Social Network (LBSN), averaging only 65 check-ins per user.

Key Results and Insights

The authors tested HuMoR on a social link prediction task—predicting whether two users are friends based on their mobility—comparing it against standard techniques like PCA, basic LDA, and "Human Effort" (HE) features.

  • Superior Accuracy: HuMoR achieved the highest Mean AUC (Area Under the Curve) in almost every test case.
  • Resilience to Sparsity: The most striking result occurred with the sparse Gowalla (GW) dataset. While traditional models struggled, HuMoR’s ability to learn from the community allowed it to achieve an AUC of 0.969, vastly outperforming the Human Effort baseline of 0.727.
  • Latent vs. Expert Features: The results suggest that expert-defined features are often too rigid. HuMoR’s latent motifs capture complex behaviors, such as specific commuting routines or weekend leisure patterns, that experts might not explicitly code.

Conclusion and Future Work

HuMoR demonstrates that sparsity in human mobility data can be addressed by learning collective behavioral motifs. While the current implementation relies on computationally expensive Gibbs sampling, future work aims to adopt more efficient parameter inference techniques to scale the model for real-time, massive-scale applications like urban flow prediction and targeted recommendation systems.

Summary updated

BibTeX
@inproceedings{alharbi2016minimizing,
  author = {Basma Alharbi and Abdulhakim Ali Qahtan and Xiangliang Zhang},
  title = {{Minimizing User Involvement for Learning Human Mobility Patterns from Location Traces}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10086},
}
Figure