AI
Transformer Model Recovers Missing Activity Patterns from Mobile Location Data
A new AI technique fills gaps in location-based service data to reconstruct complete human mobility patterns with improved accuracy and realism.
Location-based service data—the kind collected from mapping apps, ride-sharing platforms, and mobile phones—reveals how people move through cities and spend their time. Yet this data is typically sparse and fragmented, leaving researchers with incomplete sequences of trips and activities that make it hard to understand true human mobility patterns.
When location records are gappy or missing, the full picture of someone's day becomes distorted. Researchers lose the transitions between activities, the rhythm of routines, and the genuine variety in how people move. Existing methods for filling these gaps often produce monotonous or unrealistic reconstructions that don't match how people actually behave.
Researchers have developed a machine learning model called the Variable Selection Network-fused Insertion Transformer (VSNIT) to recover these missing activity sequences. The model combines two key techniques: the Insertion Transformer, which flexibly constructs sequences by filling in missing pieces, and the Variable Selection Network, which intelligently decides which features matter most when making predictions.
The result is a system that can analyze high-quality location data from some individuals and use those patterns to restore gaps in incomplete records for others—all while keeping the data that is already there intact.
Testing shows that VSNIT produces more varied and realistic activity patterns compared to baseline methods. It better captures how activities naturally connect to one another and outperforms existing approaches across multiple accuracy measures. By generating diverse plausible sequences rather than averaging predictions, the model reflects the genuine complexity of human movement patterns.
The approach has implications for urban planning, epidemiology, transportation analysis, and other fields that depend on reliable mobility data. It offers a path toward making location-based service data more complete and useful for research applications.