Local Differential Privacy based Federated Learning for Internet of Things

Yang Zhao, Jun Zhao, Mengmeng Yang, Teng Wang, Ning Wang, Lingjuan Lyu, Dusit Niyato, Kwok-Yan Lam

Introduction

In the rapidly evolving landscape of the Internet of Things (IoT), particularly within the Internet of Vehicles (IoV), balancing data utility with user privacy remains a critical challenge. This paper, published in the IEEE Internet of Things Journal, introduces LDP-FedSGD, a federated learning framework designed to protect sensitive user data while maintaining high model accuracy and communication efficiency.

The Challenge: Privacy vs. Utility in IoT

Crowdsourcing applications like traffic monitoring or ride-sharing rely on real-time data from users. However, this data collection introduces two primary hurdles:

  1. Privacy Risks: Even without sharing raw data, an "honest-but-curious" server can infer sensitive information—such as exact locations—from the gradients uploaded during machine learning training.
  2. Communication Constraints: IoT devices often operate on limited bandwidth. Uploading high-dimensional, high-precision gradients is both expensive and slow.

Existing solutions, such as the Laplace or Duchi mechanisms, often suffer from a "utility trap," where they provide strong privacy at the cost of significant model accuracy degradation, or vice versa.

System architecture of LDP-based Federated Learning in IoV.

Proposed LDP Mechanisms

The authors propose a suite of novel Local Differential Privacy (LDP) mechanisms that perturb data on the user's device before transmission:

  • Three-Outputs Mechanism: Optimized for high-privacy regimes (small $\epsilon$), this mechanism uses three discrete output possibilities to reduce noise variance while requiring only two bits for encoding.
  • Piecewise Mechanisms (PM-OPT & PM-SUB): PM-OPT is mathematically optimal for low-privacy regimes (large $\epsilon$), while PM-SUB offers a simplified version suitable for low-power IoT devices.
  • Hybrid Mechanism (HM-TP): This approach probabilistically combines the Three-Outputs and PM-SUB mechanisms to minimize noise variance across the entire spectrum of privacy budgets.
  • Discretization Post-Processing: A method to convert continuous LDP outputs into finite parts without increasing worst-case noise variance, facilitating efficient transmission over limited bandwidth.

Key Insights and Performance

A central finding of the research is that no single LDP mechanism is universally superior; utility is highly dependent on the privacy budget ($\epsilon$). Discrete mechanisms typically excel when privacy is the priority, whereas continuous piecewise mechanisms perform better when a larger privacy budget is available.

Comparison of worst-case variance across different privacy budgets for various LDP mechanisms.

As shown in the performance analysis, the proposed HM-TP mechanism consistently outperformed standard Laplace and Duchi mechanisms in Mean Square Error (MSE) across various real-world datasets, including human activity recognition (WISDM), census records (MX & BR), and vehicle classification data. In classification tasks using Logistic Regression and SVM, these new mechanisms achieved significantly lower misclassification rates than existing state-of-the-art methods.

Conclusion

The LDP-FedSGD framework demonstrates that it is possible to achieve robust privacy protections in IoT environments without sacrificing model performance or communication efficiency. By tailoring the perturbation mechanism to the specific privacy budget, the authors provide a flexible and theoretically sound solution for modern distributed learning. Future work aims to extend these mechanisms to Federated Averaging (FedAvg) and more complex deep learning architectures.

Summary updated

BibTeX
@article{zhao2021local,
  author = {Yang Zhao and Jun Zhao and Mengmeng Yang and Teng Wang and Ning Wang and Lingjuan Lyu and Dusit Niyato and Kwok-Yan Lam},
  title = {{Local Differential Privacy based Federated Learning for Internet of Things}},
  journal = {IEEE Internet of Things Journal},
  year = {2021},
  url = {https://openreview.net/forum?id=vY3zO8QWRb},
}
Figure