ProDiff: Prototype-Guided Diffusion for Minimal Information Trajectory Imputation

Tianci Bu, Le Zhou, Wenchuan Yang, Jianhong Mou, Kang Yang, Suoyi Tan, Feng Yao, Jingyuan Wang, Xin Lu

TL;DR

ProDiff is a novel framework designed to reconstruct missing human movement data using "minimal information"—specifically, just the start and end points of a trip. By combining prototype learning (which identifies common urban movement patterns) with diffusion probabilistic models, it outperforms existing state-of-the-art methods in accuracy and captures the macro-level logic of how humans actually navigate cities.

What Problem Does This Paper Address?

Trajectory data—the digital breadcrumbs left by our phones and GPS devices—is essential for urban planning, traffic management, and infectious disease tracking. However, this data is rarely perfect. Signal dead zones, battery-saving modes, and device limitations often result in massive gaps in the recorded paths.

Traditional vs. Minimal Information Imputation

Existing imputation (data-filling) methods usually rely on having at least a sparse set of intermediate points or metadata like velocity to guess where a person went. These methods assume that even a sparse trajectory retains the essential pattern of the trip. But what if you only have the start and the end? Traditional interpolation (like drawing a straight line) fails to capture the complex, non-linear ways humans move through city streets. ProDiff tackles this "minimal information" challenge by learning the underlying grammar of human mobility.

Methods

ProDiff consists of two primary engines working in tandem to reconstruct trajectories from minimal data:

ProDiff Architecture
  1. Prototype Condition Extractor (PCE): This module acts as the model's knowledge base. It uses a Transformer-based encoder to analyze vast amounts of unlabeled trajectory data and cluster them into "prototypes"—representative patterns of movement (e.g., a typical commute from a residential suburb to a business district). During inference, the model uses the two known endpoints to query these prototypes, finding the most likely movement pattern that fits the trip.
  2. Denoising Diffusion Probabilistic Model (DDPM): This is the generative engine. It starts with a cloud of random Gaussian noise and, guided by the prototypes and the fixed endpoints, iteratively "denoises" that cloud into a realistic, high-fidelity trajectory.

The authors employ a joint training objective that optimizes both the generation of the path and the distinctiveness of the prototypes simultaneously. This ensures the prototypes aren't just random clusters but serve as highly effective guides for the diffusion process.

Datasets

The researchers evaluated ProDiff on two diverse, real-world datasets:

  • WuXi: A massive dataset derived from mobile signal data in WuXi, China, covering 33,000 users over 10 days. This represents high-volume, passive tracking data.
  • FourSquare: A public dataset of user check-ins in New York and Tokyo. This represents lower-frequency, active location data where gaps are much more common.

Key Insights and Ideas

  • Macro-level "Common Sense": Most models try to predict the next point based on the previous one (micro-level). ProDiff recognizes that human movement is goal-oriented. By using prototypes, the model gains a form of "urban common sense"—it knows that people usually take specific corridors between certain parts of a city.
  • The Power of Contrastive Loss: To make the prototypes effective, the authors used a contrastive loss function. This forces the model to make different prototypes as distinct as possible in the vector space, preventing the blurry or averaged trajectories often seen in simpler models.
  • Plug-and-Play Generalizability: One of the most surprising findings was that the PCE (the prototype module) isn't just for diffusion. When the authors plugged the PCE into older generative architectures like cVAEs and cGANs, those models also saw significant performance boosts.

Key Results

ProDiff sets a new benchmark for trajectory imputation:

  • Accuracy Boost: It improved imputation accuracy by 6.28% on FourSquare and 2.52% on WuXi compared to previous best methods (like DiffTraj and TimesNet).
  • High Fidelity: Further analysis showed a 0.927 correlation between the traffic flows generated by ProDiff and actual ground-truth traffic patterns, meaning the generated data is statistically indistinguishable from real movement for most urban analysis tasks.
  • Efficiency: By using a variant called ProDDIM, the researchers achieved a 10x speedup in generating trajectories with only a negligible drop in accuracy, making it viable for large-scale applications.

Limitations and Future Work

While ProDiff is robust, the authors noted a few areas for future growth:

  • Random vs. Fixed Points: The model performs best when the known points are the start and end. If the known points are randomly scattered throughout the trip, the model’s performance diverges slightly from theoretical expectations, suggesting that the consistency of the sampling matters.
  • Personalization: Currently, ProDiff learns general human behavior. Future iterations could incorporate reinforcement learning to adapt to individual habits (e.g., learning that a specific user always takes a scenic route).
  • Dynamic Environments: The current model doesn't explicitly account for real-time variables like traffic accidents or weather, which could be integrated into the conditioning module in future versions.

Summary updated

BibTeX
@inproceedings{bu2025prodiff,
  author = {Tianci Bu and Le Zhou and Wenchuan Yang and Jianhong Mou and Kang Yang and Suoyi Tan and Feng Yao and Jingyuan Wang and Xin Lu},
  title = {{ProDiff: Prototype-Guided Diffusion for Minimal Information Trajectory Imputation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=9rG2oAWj0s},
}
Figure