Evaluating Privacy-Preserving Machine Learning in Critical Infrastructures: A Case Study on Time-Series Classification

Dominique Mercier, Adriano Lucieri, Mohsin Munir, Andreas Dengel, Sheraz Ahmed

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.

Overview of the PPML benchmarking framework, illustrating the transition from raw UCR data to various privacy-preserving training paradigms including Federated Learning and Differential Privacy.

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%.

Performance (Weighted F1) and Privacy Budget (Epsilon) vs. Noise Multiplier for ECG5000, ElectricDevices, and FordA datasets.

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

Abstract

With the advent of machine learning in applications of critical infrastructure such as healthcare and energy, privacy is a growing concern in the minds of stakeholders. It is pivotal to ensure that neither the model nor the data can be used to extract sensitive information used by attackers against individuals or to harm whole societies through the exploitation of critical infrastructure. The applicability of machine learning in these domains is mostly limited due to a lack of trust regarding the transparency and the privacy constraints. Various safety-critical use cases (mostly relying on time-series data) are currently underrepresented in privacy-related considerations. By evaluating several privacy-preserving methods regarding their applicability on time-series data, we validated the inefficacy of encryption for deep learning, the strong dataset dependence of differential privacy, and the broad applicability of federated methods.
BibTeX
@article{mercier2021evaluating,
  author = {Dominique Mercier and Adriano Lucieri and Mohsin Munir and Andreas Dengel and Sheraz Ahmed},
  title = {{Evaluating Privacy-Preserving Machine Learning in Critical Infrastructures: A Case Study on Time-Series Classification}},
  journal = {IEEE Trans. Industrial Informatics},
  year = {2021},
  doi = {10.1109/tii.2021.3124476},
}
Figure