Identifying user habits through data mining on call data records

Filippo Maria Bianchi, Antonello Rizzi, Alireza Sadeghian, Corrado Moiso

TL;DR

This paper introduces a framework to automatically extract "digital fingerprints" of mobile user behavior from sparse, anonymized Call Data Records (CDRs). By using a novel unsupervised clustering algorithm called LD-ABCD, the researchers can identify complex recurring habits—like a specific routine of weekend morning calls—without any prior knowledge of the user or the geographic context.

What Problem Does This Paper Address?

Telecom operators sit on mountains of Call Data Records (CDRs), which track when and where calls are made. This data is a goldmine for urban planning, epidemic tracking, and personalized marketing. However, there are two major hurdles:

  1. Privacy: To protect users, CDRs are often "pseudo-anonymized" and stripped of detail, leaving only a few sparse features (User ID, timestamp, and a broad location ID).
  2. Complexity: Human behavior isn't uniform. One user might have a habit defined by where they are (a workplace routine), while another habit is defined by when they act (a Sunday night call to family).

Standard data mining tools often struggle to find these "local" patterns because they try to apply the same rules to the entire dataset. This paper seeks a way to automatically discover these diverse habits without being told what to look for.

Methods

The authors propose a multi-step pipeline centered on a new approach to unsupervised learning:

  • Feature Augmentation: Since raw CDRs are sparse, the authors derive new "implicit" features. They transform timestamps into categorical periods (Morning, Afternoon, Evening) and calculate the time elapsed since the previous call (prev_call).
  • LD-ABCD (Local Dissimilarity - Agent Based Cluster Discovery): This is the core innovation. It’s a multi-agent system where "agents" perform random walks on a graph of data points. Crucially, each agent can learn a local metric—it decides which features (time, location, or day) are most important for a specific cluster. This allows the system to find overlapping habits that might be invisible to global algorithms.
  • Comparison with PROCLUS: They benchmark their results against PROCLUS, a well-known subspace clustering algorithm, to see if their specialized approach holds up against established methods.
  • Visualization: They use Principal Component Analysis (PCA) to map high-dimensional clusters into 3D space and use "habit pie charts" to make the discovered patterns human-readable.

Datasets

The study uses the Orange "Data for Development" (D4D) challenge dataset.

  • Scope: It contains anonymized mobile phone and SMS trajectories for 50,000 users in Ivory Coast.
  • Timeline: Data spans from December 2011 to April 2012.
  • Structure: Each record includes a user_id, timestamp, and subref_id (one of 255 sub-prefectures).

Key Insights and Ideas

  • The Power of Local Metrics: The most important "aha moment" is that a single user has multiple "habit profiles" that rely on different variables. For "User 4," one habit (Cluster 1) was defined almost entirely by the day of the week (Saturdays), while another (Cluster 4) was defined by the specific time of day (Thursday afternoons).
  • Stability over Stochasticity: While many clustering algorithms (like PROCLUS) are sensitive to initial conditions and can produce different results every time they run, LD-ABCD proved remarkably stable. It consistently identified the same "dense regions" of behavior across multiple runs.
  • Unsupervised Discovery of $k$: Unlike K-Means or PROCLUS, which require the researcher to guess the number of clusters ($k$) beforehand, LD-ABCD identifies the number of relevant habits automatically during its "discovery" phase.

Key Results

  • Pattern Identification: The framework successfully extracted distinct "digital fingerprints." For example, it identified that "User 6014" had a recurring habit of calling from a specific prefecture (ID 58) on Friday evenings exactly 5 minutes after a previous activity.
  • LD-ABCD vs. PROCLUS: In head-to-head tests, PROCLUS was found to be unstable. It produced a high variance in the number of "outliers" (sometimes labeling up to 60% of data as noise) and struggled to distinguish between overlapping clusters in the middle of the data distribution.
  • Interpretability: By using the "local metric" weights, the authors could semantically describe why a cluster existed (e.g., "This cluster is 86% driven by location and 100% driven by the work-day boolean").

Limitations and Future Work

  • Computational Cost: The authors admit that LD-ABCD is computationally expensive in terms of both time and memory. Because it relies on a multi-agent graph-based approach, it requires significant resources compared to simpler, less accurate algorithms.
  • Scalability: While the system works well for individual user trajectories, the authors note that the next step is to scale this to group users together.
  • Future Directions: The researchers plan to use these individual "fingerprints" to group users into broader social classes or behavioral categories, which could help telecom companies design better network infrastructure or more tailored service plans.

Summary updated

BibTeX
@article{bianchi2016identifying,
  author = {Filippo Maria Bianchi and Antonello Rizzi and Alireza Sadeghian and Corrado Moiso},
  title = {{Identifying user habits through data mining on call data records}},
  journal = {Engineering Applications of AI},
  year = {2016},
  url = {https://openreview.net/forum?id=Nzrv2IyKE_O},
}
Figure