FedTraj: enabling effective federated trajectory clustering with hierarchical cross-silo interactions
Kaining ZHANG , Qian TAO , Yiming NIU , Yongxin TONG
Front. Comput. Sci. ›› 2027, Vol. 21 ›› Issue (3) : 2103609
Trajectory clustering is a fundamental technique in mobility analysis, underpinning critical tasks such as route reconstruction, travel pattern discovery, and anomaly detection. With the widespread adoption of location-aware devices, trajectory data have become increasingly voluminous and geographically fragmented, residing across multiple organizations. Due to stringent privacy regulations, centralizing raw trajectory data for joint analysis is typically infeasible. Data federation offers a viable path toward collaborative trajectory analysis while respecting data privacy constraints. However, most existing trajectory clustering methods were developed under centralized assumptions and cannot be directly applied in federated settings. These methods face significant challenges when deployed across distributed data sources, including the lack of suitable distance metrics for heterogeneous trajectory data and the absence of efficient mechanisms for cluster generation under secure computation protocols. To address these challenges, we formally define the problem of federated trajectory clustering and propose FedTraj, a hierarchical framework tailored for clustering fine-grained trajectory data, i.e., trajectory segments. The framework consists of two core components: local clustering with cross-silo model training and sampling-based federated clustering. Additionally, we introduce a triangle inequality-based candidate enhancement mechanism to improve computational efficiency. Experimental results on real-world datasets demonstrate that FedTraj achieves promising performance in both clustering quality and running time. To the best of our knowledge, this work presents the first solution for secure and efficient trajectory segment clustering in federated settings.
data federation / trajectory clustering / data privacy
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
Wang C, Chen X, Wang J, Wang H. ATPFL: automatic trajectory prediction model design under federated learning framework. In: Proceedings of the 31st IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2022, 6563–6572 |
| [7] |
|
| [8] |
|
| [9] |
Tong Y, She J, Ding B, Wang L, Chen L. Online mobile Micro-Task allocation in spatial crowdsourcing. In: Proceedings of the 32nd IEEE International Conference on Data Engineering. 2016, 49–60 |
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
Yao D, Zhang C, Zhu Z, Huang J, Bi J. Trajectory clustering via deep representation learning. In: Proceedings of the 27th IEEE International Joint Conference on Neural Networks. 2017, 3880–3887 |
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
|
| [38] |
|
| [39] |
|
| [40] |
|
| [41] |
|
| [42] |
|
| [43] |
Porto taxi trajectory dataset. See www.kaggle.com/c/pkdd-15-predict-taxi-service-trajectory-i website, 2022 |
| [44] |
|
| [45] |
|
| [46] |
|
| [47] |
|
| [48] |
|
| [49] |
|
| [50] |
|
| [51] |
|
| [52] |
|
| [53] |
Lochman Y, Olsson C, Zach C. Learned trajectory embedding for subspace clustering. In: Proceedings of the 33rd IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024, 19092–19102 |
| [54] |
|
| [55] |
|
| [56] |
|
| [57] |
|
| [58] |
|
| [59] |
|
| [60] |
|
| [61] |
|
| [62] |
|
| [63] |
|
Higher Education Press
/
| 〈 |
|
〉 |