Urban Vehicle Mobility Characteristic Mining and Trip Generation Based on Knowledge Graph

Guilong Li, Yixian Chen, Jun Xie, Qinghai Lin, Zhaocheng HearXiv 2022 · OpenReview

Abstract

Building efficient Intelligent Transportation Systems (ITS) requires high-resolution, individual-level vehicle data. However, traditional data management faces scalability issues, and privacy concerns often prevent the sharing of real-world datasets. This paper presents a framework that leverages Knowledge Graphs (KGs) to organize massive trip data and mine mobility patterns. By decomposing these graphs into "unit graphs," the authors developed an algorithm to generate synthetic, privacy-preserving traffic data that maintains the statistical characteristics of real-world urban mobility.

Introduction

Urban planners and researchers require detailed vehicle data to optimize traffic flow and infrastructure. Two primary hurdles exist: data organization and privacy. Traditional structured databases often result in linear $O(n)$ search complexity for complex correlations. Furthermore, simple anonymization of license plates is insufficient to protect privacy, as unique spatio-temporal patterns can still identify individuals. This study addresses these issues by modeling traffic data within a Knowledge Graph and using it as a foundation for synthetic data generation.

Knowledge Graph Construction

The proposed approach begins with modeling traffic data as a graph of entities and relations. The ontology includes entities such as Vehicles, Trips, Zones, TimeSpans, and Dates, linked by relations like hastrip, tripOzone, and tripDzone.

Ontology schema for the individual-level vehicle trip knowledge graph.

This graph structure allows for $O(1)$ data acquisition via hashing, significantly improving retrieval efficiency over traditional relational databases.

Mobility Mining and Classification

To understand urban dynamics, the researchers defined "Association Scores" and "Distribution Concentrations" to label vehicles. Using a decision-tree-like logic, vehicles are classified into five distinct categories: Commuter, Passing vehicle, Vehicle of random, Vehicle of stable, and Vehicle of high frequency.

Decision logic for classifying vehicles into mobility categories based on trip frequency and patterns.

This classification allows the system to capture macro-level behaviors, such as the morning rush hour for commuters, which is essential for realistic data synthesis.

Graph-Based Synthetic Data Generation

Unlike standard deep learning models like GANs, which may struggle with strict spatial constraints (e.g., a trip must start where the previous one ended), this framework uses a graph-based approach. The KG is decomposed into "unit graphs"—atomic trip structures. A rolling generation algorithm then reassembles these units into a new, synthetic KG using "characteristic graphs" as templates. This ensures that synthetic vehicles behave realistically without mirroring exact sensitive paths, thus preserving privacy.

Experimental Results

The study utilized a dataset from Xuancheng City, China, comprising over 8 million trips from 822,569 unique vehicles over 35 days. The resulting KG contained over 10 million entities and relations.

Key results include:

  • Statistical Similarity: The synthetic data closely matched historical patterns, with KL divergence for temporal distributions ranging from 0.00017 to 0.00054.
  • O-D Flow Accuracy: The top 500 Origin-Destination (O-D) flows in the synthetic data mirrored real-world fluctuations.
  • Spatial Continuity: Interestingly, the synthetic data showed higher spatial continuity (85.6% to 95.4%) than the raw historical data (60-70%). This is because the generation algorithm "heals" gaps caused by missed sensor detections in the real world.

Conclusion

This research demonstrates that Knowledge Graphs provide a robust foundation for both organizing complex urban mobility data and generating high-fidelity synthetic datasets. While there is an inherent trade-off between data utility and individual privacy, the generated data proves highly effective for macro-level traffic analysis and ITS development. Future work will explore incorporating multi-modal data and automating threshold adjustments for vehicle labeling.

Summary updated

Abstract

The operation of urban transportation produces massive traffic data, which contains abundant information and is of great significance for the study of intelligent transportation systems. In particular, with the improvement of perception technology, it has become possible to obtain trip data in individual-level of vehicles. It has finer granularity and greater research potential, but at the same time requires higher requirements in terms of data organization and analysis. More importantly it cannot be made public due to privacy issues. To handle individual-level urban vehicle trip big data better, we introduce the knowledge graph for the study. For organization of individual level trip data, we designed and constructed an individual-level trip knowledge graph which greatly improves the efficiency of obtaining data. Then we used the trip knowledge graph as the data engine and designed logical rules to mine the trip characteristics of vehicles by combining the transportation domain knowledge. Finally, we further propose an individual-level trip synthesis method based on knowledge graph generation to address the privacy issue of individual-level traffic data. The experiment shows that the final generated trip data are similar to the historical one in mobility patterns and vehicle associations, and have high spatial continuity.
BibTeX
@misc{li2022urban,
  author = {Guilong Li and Yixian Chen and Jun Xie and Qinghai Lin and Zhaocheng He},
  title = {{Urban Vehicle Mobility Characteristic Mining and Trip Generation Based on Knowledge Graph}},
  year = {2022},
  eprint = {2203.04085},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.04085},
}
Figure