Machine learning (ML) is increasingly vital for critical infrastructure, from optimizing power grids to diagnosing medical conditions. However, the sensitive nature of the data involved—such as ECG readings or sensor data from energy grids—poses significant privacy risks. This paper presents a comprehensive benchmark of Privacy-Preserving Machine Learning (PPML) techniques specifically for time-series classification, a domain often overlooked in favor of image recognition.
The Challenge of Time-Series Privacy
Critical infrastructure relies heavily on high-dimensional, sequential time-series data. Unlike static images, this data can reveal intricate patterns about individual behavior or system vulnerabilities. If a model is compromised via "inversion" attacks, sensitive raw data could be reconstructed. The goal of this research is to quantify the "privacy tax"—the loss in accuracy and speed—when applying protective measures to these sequential datasets.
Benchmarking Methodology
The researchers evaluated several PPML techniques against a baseline 1D-AlexNet model using 16 datasets from the UEA & UCR repositories, covering sectors like energy, healthcare, and manufacturing.
The study compared five primary approaches:
- Differential Privacy (DP-SGD): Adds mathematical noise to gradients to prevent the model from memorizing specific data points.
- Federated Learning (FedAVG): Keeps data localized in "silos" (e.g., separate hospitals), sharing only model updates for central averaging.
- Federated Ensembling (FE): Combines predictions from independent local models rather than averaging weights.
- Secret Sharing & Homomorphic Encryption (HE): Uses the CrypTen framework to perform computations on encrypted data.
- Fusion Approach: A hybrid of Differential Privacy and Federated Ensembling.
Key Insights: The Privacy-Performance Trade-off
The study revealed that PPML is not a one-size-fits-all solution. The effectiveness of these techniques varies wildly based on the dataset and hyper-parameters.
The Sensitivity of Differential Privacy
DP-SGD proved to be highly temperamental. Its success depends heavily on the noise multiplier and gradient clipping; improper tuning can lead to a total failure of model convergence. As shown in the results, increasing the noise multiplier improves the privacy budget (lowering Epsilon) but often at a steep cost to the F1-score.
Ensembling vs. Federated Averaging
A surprising finding was that simple Federated Ensembling often outperformed the more complex FedAVG in terms of accuracy. While the baseline AlexNet achieved an average F1-score of 87.77%, Federated Ensembling maintained a high 85.45%. However, the authors note that ensembling lacks the robust protection against model inversion provided by FL or DP.
The Encryption Bottleneck
While mathematically secure, Secret Sharing (SS) is currently impractical for real-time industrial use. The computational overhead is massive. In the ECG5000 task, standard training took 0.004 seconds per batch, while encrypted training via CrypTen took over 35 seconds—a 350x slowdown.
Quantitative Results
The "privacy tax" is evident when comparing the F1-scores across different methods. While the baseline is 87.77%, applying DP drops it to 75.76%, and FedAVG drops it further to 63.91%.
As illustrated in the figure above, the relationship between privacy (Epsilon) and accuracy (F1) is dataset-dependent. For example, the ECG5000 dataset shows relative resilience to noise, while the FordA dataset experiences significant performance volatility as the noise multiplier increases.
Conclusion and Future Directions
The research highlights a fundamental tension between privacy and model utility. For practitioners in critical infrastructure, the authors recommend a "top-down" strategy: start with maximum privacy settings and gradually relax them until performance reaches an acceptable threshold. Future work must address the computational hurdles of encryption and the conflict between Explainable AI (XAI) and privacy-preserving techniques to ensure models are both secure and auditable.
Summary updated