Failure Prediction in Production Line Based on Federated Learning: An Empirical Study

Ning Ge, Guanghao Li, Li Zhang, Yi Liu

Introduction

In the landscape of Industry 4.0, predictive maintenance has emerged as a critical capability for modern manufacturing. Predicting part failures on an assembly line can save millions in wasted materials and operational downtime. However, a significant bottleneck persists: data privacy. High-performing AI models typically require massive, pooled datasets. Yet, in competitive manufacturing, production data is a closely guarded trade secret. Strict regulations and security concerns often prevent the sharing of raw data, forcing a reliance on Centralized Learning (CL), which necessitates moving sensitive data to a single server—a process fraught with security risks.

This study explores Federated Learning (FL) as a viable alternative. In FL, the model travels to the data rather than the data traveling to the model. The central question is whether FL can achieve accuracy comparable to CL without compromising data privacy.

Methodology: Federated SVM and Random Forest

The researchers adapted two foundational machine learning algorithms for federated environments:

  1. FedSVM (Federated Support Vector Machine): Tailored for Horizontal FL (HFL) scenarios, where different workshops possess the same types of data (features) but for different products (samples). As shown in Figure 1, the server aggregates and averages model parameters from various clients to iteratively build a global model.
  2. FedRF (Federated Random Forest): Designed for Vertical FL (VFL), where different departments hold different information (features) about the same products. This implementation improves upon standard federated forests by incorporating optimal feature selection and pre-pruning to enhance efficiency and robustness.
Workflow of the Federated Support Vector Machine (FedSVM) architecture.

Experimental Setup

The study utilizes the Bosch Production Line Challenge dataset, a benchmark for manufacturing AI characterized by its scale (over 1.1 million samples) and complexity (968 features). A primary challenge is the extreme class imbalance, with failures representing only 0.58% of the data.

To rigorously evaluate the FL models, the researchers established an experimental framework centered on four research questions (RQs), comparing FL against CL counterparts regarding global performance, stability, and handling of unknown data.

Experimental framework and research questions for evaluating FL performance.

Key Insights and Results

The empirical results suggest that the "privacy tax"—the performance loss associated with using FL instead of CL—is negligible. The researchers defined a significance threshold of $\delta = 0.1$; differences below this value indicated performance equivalence.

  • Performance Equivalence: For both FedSVM and FedRF, the performance gap compared to CL was consistently below the 0.1 threshold across metrics such as Accuracy, F1-score, and MCC. For instance, the Accuracy difference for FedSVM was 0.034, while for FedRF it was a mere 0.025.
  • Robustness to Heterogeneity: Despite the highly heterogeneous nature of factory data, the FL models remained stable. This robustness is crucial for real-world deployment where data distributions vary across different segments of a production line.
  • Optimization Success: The custom optimizations for FedRF (pruning and feature selection) yielded significant gains, achieving an accuracy of 0.825, a substantial improvement over the 0.552 observed in previous federated forest implementations.

Conclusion and Future Work

This study demonstrates that Federated Learning can effectively replace Centralized Learning for production line failure prediction, offering robust performance while preserving data privacy.

However, several avenues for future research remain. While SVM and Random Forest were the focus here, state-of-the-art failure prediction often utilizes Long Short-Term Memory (LSTM) networks for time-series analysis; developing Federated LSTMs is a logical next step. Additionally, while the Bosch dataset is comprehensive, validating these findings across diverse manufacturing industries and optimizing the trade-off between encryption overhead and model accuracy will be essential for widespread adoption.

Summary updated

BibTeX
@article{ge2022failure,
  author = {Ning Ge and Guanghao Li and Li Zhang and Yi Liu},
  title = {{Failure Prediction in Production Line Based on Federated Learning: An Empirical Study}},
  journal = {J. Intell. Manuf.},
  year = {2022},
  doi = {10.1007/s10845-021-01775-2},
}
Figure