Abstract
Federated Learning (FL) enables collaborative machine learning while keeping data decentralized. However, deploying FL in Internet of Things (IoT) environments faces a "trilemma" of model accuracy, privacy protection, and resource consumption. This paper introduces DP-PASGD (Differentially Private Periodic Averaging SGD), a framework that optimizes communication frequency and privacy noise to maximize performance under strict resource and privacy budgets. Experimental results on real-world datasets demonstrate that DP-PASGD significantly outperforms standard differentially private SGD in resource-constrained scenarios.
Introduction
The proliferation of smart devices has led to a surge in data generated at the edge. Federated Learning (FL) has emerged as a promising paradigm for training models on this data without compromising user privacy by keeping raw data on-device. However, standard FL algorithms like Stochastic Gradient Descent (SGD) require frequent communication between devices and a central server, which is often infeasible for battery-strapped IoT devices with limited bandwidth.
Furthermore, local data storage does not guarantee absolute privacy; sensitive information can be inferred from model updates. While Differential Privacy (DP) can mitigate this risk by adding noise, it introduces a trade-off between privacy and accuracy. This research addresses the challenge of balancing these competing requirements—communication efficiency, privacy, and accuracy—within a unified optimization framework.
The DP-PASGD Framework
The authors propose DP-PASGD (Differentially Private Periodic Averaging SGD) to navigate the IoT trilemma. The framework operates through a five-step iterative process involving a cloud server and multiple edge devices.
Key innovations include:
- Periodic Averaging: Instead of sending updates every single step, devices perform $\tau$ local updates before synchronizing with the server. This significantly reduces communication overhead.
- Gradient Perturbation: To ensure differential privacy, Gaussian noise is added to the local gradients. The authors use Zero-Concentrated Differential Privacy (zCDP) to track the privacy loss over multiple iterations more tightly than standard DP.
- Optimization Framework: The core contribution is a mathematical model that treats the selection of the aggregation period ($\tau$), total iterations ($K$), and noise magnitude ($\sigma$) as an optimization problem. By deriving a theoretical upper bound on the optimality gap, the authors transform the selection of these parameters into a tractable optimization problem.
Experimental Evaluation
The framework was evaluated using two real-world datasets representing typical IoT classification tasks:
- Adult Dataset: Used for income prediction (logistic regression). The authors created two versions: Adult-1 (non-i.i.d., split by education level) and Adult-2 (i.i.d., evenly distributed).
- Vehicle Dataset: Acoustic and seismic sensor data for vehicle classification (SVM). Similarly split into Vehicle-1 (non-i.i.d., by sensor) and Vehicle-2 (i.i.d.).
Key Results and Insights
The primary finding is that DP-PASGD consistently achieves higher testing accuracy than standard DP-SGD for a fixed resource budget.
As shown in the figures above, DP-PASGD reaches higher accuracy plateaus more quickly than the baseline. This is attributed to the "U-shaped" relationship between the aggregation period ($\tau$) and accuracy. If $\tau$ is too small, the communication budget is exhausted prematurely; if too large, local models diverge too much from the global optimum. DP-PASGD's optimization strategy successfully identifies the "sweet spot" for $\tau$ and $K$ based on the specific privacy and resource constraints of the environment. Notably, the authors' approximate solution for finding these optimal parameters performed nearly as well as an exhaustive brute-force grid search.
Conclusion and Future Work
DP-PASGD provides a robust solution for deploying private machine learning in resource-constrained IoT networks. By theoretically bounding the convergence error and optimizing communication frequency, the framework ensures high model utility without exceeding battery or privacy limits.
While the current analysis assumes convex loss functions, future work will explore extending these results to non-convex deep learning models. Additionally, the authors suggest exploring Personalized Differential Privacy (where different users have different privacy requirements) and applying the framework to Multi-task Learning scenarios.
Summary updated