NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Enhancing Privacy of Spatiotemporal Federated Learning Against Gradient Inversion Attacks

Lele Zheng, Yang Cao, Renhe Jiang, Kenjiro Taura, Yulong Shen, Sheng Li, Masatoshi Yoshikawa

Abstract

Federated Learning (FL) is widely used for privacy-preserving training on sensitive spatiotemporal data. However, Gradient Inversion Attacks (GIA) pose a significant threat by reconstructing raw inputs from shared gradients. This paper introduces ST-GIA, the first attack specifically designed for human mobility data that exploits spatiotemporal continuity and road network constraints. To mitigate this, an adaptive defense strategy is proposed that dynamically manages privacy budgets based on leakage risk, achieving a superior balance between data utility and security.

Introduction

While Federated Learning is designed to preserve privacy by keeping raw data on-device, the sharing of "gradients" (mathematical model updates) introduces a vulnerability. Recent research into Gradient Inversion Attacks (GIA) has shown that these gradients can be reverse-engineered to reveal private information. Most existing GIA research focuses on images or text, leaving the privacy of spatiotemporal data—such as GPS trajectories—largely unexplored.

Spatiotemporal data possesses unique properties: human movement is continuous and constrained by physical infrastructure like road networks. Standard attacks fail to exploit these priors, leading to suboptimal reconstruction. This paper addresses this gap by introducing a specialized attack and a corresponding adaptive defense mechanism.

Methodology

The ST-GIA Attack

The Spatiotemporal Gradient Inversion Attack (ST-GIA) enhances reconstruction through three key innovations:

  1. Spatiotemporal Initialization: Unlike standard attacks that start with random noise, ST-GIA uses the reconstructed location from the previous training round to initialize the current round, exploiting the inherent continuity of human trajectories.
  2. Road Network Mapping: During optimization, the algorithm "snaps" coordinates to the nearest road network points, significantly narrowing the search space using geographical priors.
  3. Multi-round Calibration: By averaging results across multiple training rounds where the same data point is used, the attacker stabilizes the final reconstructed location.
Overview of the ST-GIA framework and its three-step inversion process within a federated learning environment.

Adaptive Privacy Defense

To mitigate these risks, the authors propose an Adaptive Privacy-preserving Strategy consisting of:

  • Importance-Aware Budget Allocation: Recognizing that early training rounds are more susceptible to leakage, the system measures risk via the Attack Success Rate (ASR) and allocates a higher Differential Privacy (DP) budget (more noise) to these high-risk phases.
  • Personalized Geo-Indistinguishability Exponential Mechanism (PGEM): This allows users to define specific "constraint domains" (e.g., a neighborhood) and perturbs their location within that domain to satisfy local differential privacy requirements.

Experimental Evaluation

The framework was evaluated using three real-world mobility datasets: NYCB (NYC taxi data), Tokyo (Foursquare check-ins), and Gowalla (social network locations). Trajectories were sampled at 10-minute intervals for 100 users to simulate a realistic FL environment.

Key Results and Insights

The experiments demonstrated that ST-GIA significantly outperforms general-purpose inversion attacks. On the NYCB dataset, ST-GIA achieved an ASR of 0.652, whereas image-centric methods like DLG and InvGrad achieved only 0.434 and 0.013, respectively.

Performance comparison of ST-GIA against baseline gradient inversion methods, highlighting its superior Attack Success Rate (ASR).

Key insights include:

  • Continuity as a Vulnerability: Using the last known position for initialization increased the attack success rate by over 20% compared to random initialization.
  • Geographical Regularization: Incorporating road network constraints acts as a powerful filter, preventing impossible reconstructions (e.g., locations in water).
  • Non-Uniform Risk: Gradient leakage risk decreases as the model converges, justifying the use of adaptive noise allocation to preserve utility without sacrificing security.

Conclusion

This work highlights a critical privacy gap in spatiotemporal federated learning. By tailoring attacks to the physical realities of human movement, the authors demonstrate that standard FL protections may be insufficient. The proposed adaptive defense offers a promising path forward, balancing the need for high-quality mobility models with the imperative of user privacy. Future research will focus on extending these findings to other spatiotemporal tasks like traffic flow prediction.

Summary updated

BibTeX
@inproceedings{zheng2024enhancing,
  author = {Lele Zheng and Yang Cao and Renhe Jiang and Kenjiro Taura and Yulong Shen and Sheng Li and Masatoshi Yoshikawa},
  title = {{Enhancing Privacy of Spatiotemporal Federated Learning Against Gradient Inversion Attacks}},
  booktitle = {DASFAA},
  year = {2024},
  url = {https://openreview.net/forum?id=xxVgpxzu71},
}
Figure