Next Article in Journal
A Chemistry-Inspired Cross-Lingual Transfer in Multi-Lingual NLP via Graph Structural Optimization
Next Article in Special Issue
Evaluating RUL Predictive Models: A Risk-Based Predictive Maintenance Approach
Previous Article in Journal
Etch-ViGen: A Video Generation Model for Etching Simulation
Previous Article in Special Issue
A Synergistic Multi-Agent Framework for Resilient and Traceable Operational Scheduling from Unstructured Knowledge
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Remaining Useful Life Prediction of Rolling Bearings Based on Federated Domain Generalization

School of Mechatronics and Vehicle Engineering, Chongqing Jiaotong University, Chongqing 400074, China
*
Author to whom correspondence should be addressed.
AI 2026, 7(5), 150; https://doi.org/10.3390/ai7050150
Submission received: 10 March 2026 / Revised: 17 April 2026 / Accepted: 20 April 2026 / Published: 22 April 2026

Abstract

Objectives: To address the difficulty of data sharing under privacy constraints and the performance degradation of conventional federated models caused by pronounced inter-client data heterogeneity in rolling bearing remaining useful life prediction, an FDG-based framework is developed for this task. Methods: The proposed framework jointly optimizes client-side feature learning and server-side aggregation. On the client side, a domain-adversarial learning mechanism together with a gradient reversal strategy is introduced to suppress domain-related information in degradation representations and enhance domain-invariant feature learning. On the server side, a distribution-aware dynamic aggregation strategy is designed to adaptively assign aggregation weights by jointly considering client predictive performance and feature distribution discrepancies, thereby mitigating the adverse effects of non-IID data on model aggregation. Conclusions: A federated training scenario is constructed using the PHM 2012 and XJTU-SY datasets, which involve two different bearing types. Experimental results show that, without requiring raw data to leave local clients, the proposed framework improves the accuracy and generalization capability of rolling bearing remaining useful life prediction.

1. Introduction

The development of prognostics and health management (PHM) technologies has significantly advanced the understanding of equipment reliability and maintenance cost control and has been widely adopted in industrial applications [1]. Remaining useful life (RUL) prediction is one of the core tasks in PHM and is commonly defined as the remaining operational time before failure. Accurate RUL prediction not only provides an essential basis for equipment health condition assessment but also serves as a key prerequisite for implementing scientific maintenance [2]. As one of the most critical fundamental components in rotating machinery, rolling bearings strongly affect the overall performance and operating condition of equipment and are widely used in aerospace, energy systems, rail transportation, and other industrial applications. Therefore, accurate RUL prediction of rolling bearings is of great importance for ensuring mechanical system stability and improving equipment reliability [3].
Existing RUL prediction methods can be broadly classified into two categories: model-driven methods and data-driven methods [4]. Model-driven methods rely heavily on degradation mechanism modeling and prior assumptions, which imposes clear limitations in increasingly complex operating environments; in contrast, data-driven methods can directly learn deep feature representations from monitoring signals and thus offer greater flexibility and adaptability [5]. With the rapid advances in sensing technology and artificial intelligence, data-driven deep learning methods have been widely adopted for RUL prediction. Convolutional neural networks [6], recurrent neural networks [7], and attention mechanisms [8] have been extensively employed to learn complex nonlinear feature relationships from data through continuous parameter optimization, thereby improving the accuracy of RUL modeling and prediction [9].
Although existing deep learning methods have achieved promising predictive performance, in real industrial scenarios, substantial variations in vibration characteristics and degradation patterns across operating conditions, together with inter-bearing differences in material properties, installation and manufacturing errors, and actual service conditions, often lead to distribution mismatch, thereby causing distribution shift and degrading model generalization [10]. Ragab et al. [11] proposed a contrastive adversarial domain adaptation method that incorporates contrastive loss into the adversarial adaptation framework, enabling the model to learn domain-invariant features while fully exploiting target-domain-specific information, thus effectively improving RUL prediction performance across operating conditions. Shi et al. [12] proposed a domain generalization-based intelligent method that learns discriminative domain-invariant features through multi-source data augmentation, adversarial training, and a sample-adaptive selection and weighting strategy, thereby enhancing model generalization under unseen operating conditions. Methods such as domain adaptation and domain generalization have significantly improved model generalization. However, with the development of the Industrial Internet, operational data are often distributed across different devices and clients, and restrictions imposed by data privacy protection, security policies, and communication costs make centralized sharing of raw data difficult, thereby giving rise to the data island problem [13]. Consequently, raw data cannot be effectively centralized, making it difficult to satisfy the ideal training conditions required by centralized deep learning methods.
In this context, federated learning enables collaborative model training across multiple nodes without sharing raw data, thus providing a new paradigm for addressing the data island problem [14]. Chen et al. [15] effectively integrated the global and local models through an adaptive local fusion strategy and proposed a personalized bearing RUL prediction method based on the Federated Averaging (FedAvg) algorithm. However, the conventional Federated Averaging strategy generally relies on the assumption that client data are independent and identically distributed so that the global model can achieve satisfactory aggregation performance. Since rolling bearing data often exhibit pronounced non-independent and identically distributed (non-IID) characteristics, the conventional FedAvg algorithm tends to induce inconsistent local update directions, thereby degrading global model performance [16].
To address data heterogeneity in federated environments, existing studies have explored this issue from multiple perspectives. Chen et al. [17] proposed the GHDR-FL method within a federated learning framework, integrating personalized client-side model architectures to enable RUL prediction in distributed data environments. By selecting clients with similar data distributions for aggregation, this method alleviates the adverse effects of non-IID data on global model performance to some extent; however, it remains limited by the requirement that clients with similar data distributions must still participate in training. To overcome the prediction challenges caused by discrepancies across multiple operating conditions, Kang et al. [18] proposed a personalized federated learning method with dual-stage aggregation for life prediction. By combining multi-scale feature enhancement with a two-stage parameter aggregation mechanism based on model similarity, the method effectively mitigates negative transfer across operating conditions while preserving data privacy. Bai et al. [19] proposed a lightweight federated learning-based RUL prediction method that achieves efficient and deployable prognostics by constructing an adaptive sparse self-attention graph convolutional GRU model and incorporating a dynamically weighted averaging aggregation strategy. Qin et al. [20] proposed a dynamically weighted federated learning framework for RUL prediction, in which client models are adaptively aggregated through a maximum mean discrepancy-based dynamic weighting mechanism, thereby alleviating the adverse impact of data heterogeneity on federated training and improving prognostic performance in multi-client settings. At present, most federated learning-based life prediction methods mainly focus on alleviating the training bias caused by non-IID data through the allocation of inter-client aggregation weights, while paying insufficient attention to domain-invariant representation learning of degradation features within clients, making it difficult to mitigate the adverse impact of data heterogeneity on model performance at the feature level.
Although traditional cross-domain modeling methods can alleviate distribution shift to some extent and enable cross-domain life prediction, they rely on centralized training conditions and are therefore difficult to apply in scenarios where raw data cannot be shared because of data privacy constraints. In addition, most federated learning-based life prediction methods mainly attempt to alleviate inter-client discrepancies through aggregation weight design, while paying insufficient attention to the essential issues of domain-invariant degradation feature learning and aggregation. Therefore, under data privacy constraints and inter-client data heterogeneity, existing methods still have room for improvement.
This study focuses on mitigating the impact of data heterogeneity in federated environments on rolling bearing remaining useful life prediction from both the feature learning and model aggregation perspectives under privacy-preserving conditions and develops an FDG framework for rolling bearing remaining useful life prediction. By introducing a client-side domain-adversarial learning mechanism and a server-side distribution-aware dynamic aggregation strategy, the proposed method improves predictive performance and generalization capability without sharing raw data. The main research contents are as follows: (1) To address data privacy constraints, inter-client data heterogeneity, and the performance degradation caused by non-independent and identically distributed data in rolling bearing remaining useful life prediction, an FDG framework is established to clearly define the research task and the overall design concept; (2) A baseline RUL prediction model, CBL-LTA, is developed, in which CNN is used to extract local degradation features and a lightweight temporal attention mechanism is incorporated into the BiLSTM network to model the life evolution process, thereby providing a predictive foundation for federated learning; (3) A domain-adversarial training mechanism is introduced during client-side local training to learn domain-invariant degradation features and thereby mitigate the influence of distribution discrepancies across client data. In addition, by jointly considering client predictive performance and feature distribution discrepancies, a server-side distribution-aware dynamic aggregation strategy is designed to adaptively assign aggregation weights and alleviate the adverse effects of non-independent and identically distributed data on the federated model; (4) Federated scenario experiments are conducted on two full-life rolling bearing datasets involving different bearing types to validate the effectiveness of the proposed method, and comparative experiments further demonstrate its superior performance.

2. Problem Formulation

2.1. Data Distribution and Privacy Issues in Rolling Bearing RUL Prediction

Data-driven rolling bearing remaining useful life prediction is highly dependent on the scale, completeness, and operating-condition coverage of the training data, and high-performance models usually require support from multiple full-life-cycle datasets. However, in practical industrial environments, full-life-cycle monitoring data are extremely difficult to acquire, and such data are often distributed across different enterprises or equipment nodes with mutually independent sources, making it difficult to construct a unified large-scale training set. Data held by different entities often remain isolated for long periods, leading to the data island problem, which limits the shared utilization of data resources and makes it difficult for a single node to train a predictive model with strong generalization capability.
In this context, federated learning is introduced to address data privacy issues. Multiple clients are configured to hold different bearing lifetime datasets to simulate distributed data storage, and each client performs model training locally while updating the global model through parameter exchange. In the testing stage, the global model is used to predict unseen bearing data that were not involved in training, thereby evaluating model performance. The goal is to develop a federated RUL prediction model that preserves data privacy, adapts to distribution discrepancies across multiple operating conditions, and maintains stable predictive performance and strong generalization capability.

2.2. Analysis of Data Heterogeneity in Federated Learning

In federated RUL prediction scenarios, data often exhibit non-IID characteristics, which are mainly manifested in the following three aspects: (1) Cross-condition discrepancies: Bearing data collected under different operating conditions differ in vibration amplitude, frequency components, and degradation rates, resulting in discrepancies in input feature distributions and degradation mapping relationships. Such distribution shift can impair the collaborative learning effectiveness of the model across different clients: (2) Bearing-specific differences: Even under the same operating condition, differences in initial state, manufacturing error, and microscopic defects across bearings can lead to distinct degradation trajectories. If the model overly relies on specific bearing-dependent characteristics, its generalization performance may degrade during testing: (3) Imbalanced degradation stages: Bearing lifetime data typically consist of a long healthy stage and a relatively short failure stage, and such sample imbalance may cause the model to underemphasize critical degradation stages, thereby compromising prediction stability.
These heterogeneity issues can weaken the ability of conventional federated learning to model cross-domain shared features during aggregation. Therefore, this study focuses on how to combine domain-invariant feature extraction with adaptive model-parameter aggregation while keeping raw training data local, thereby mitigating the adverse effects of data heterogeneity on federated model performance and improving the predictive performance and generalization capability of rolling bearing remaining useful life prediction.

3. FDG-Based Rolling Bearing RUL Prediction Method

Motivated by data privacy and security concerns together with data distribution discrepancies in federated environments, this study develops a federated domain generalization framework for rolling bearing RUL prediction (FDG). The overall FDG framework mainly consists of two core modules: an RUL prediction model and a federated learning framework. First, a stable temporal prediction model is constructed to provide the predictive basis for the federated learning framework. Second, a domain-invariant feature learning mechanism is introduced during client-side training to mitigate feature distribution shifts caused by variations across bearing instances and operating conditions. Finally, a distribution-aware dynamic aggregation strategy is designed on the server side to adaptively assign aggregation weights according to client model performance and distribution discrepancies, thereby enhancing the stability and generalization capability of the global model. The resulting framework is intended to alleviate the adverse impact of domain discrepancies on predictive performance from both the feature learning and model aggregation levels, thereby enabling privacy-preserving rolling bearing RUL prediction.

3.1. Baseline Prediction Model

Rolling bearing vibration signals are typically characterized by strong noise, pronounced local impulsive components, and a degradation process that evolves progressively over time. To achieve accurate rolling bearing RUL prediction, a baseline prognostic model, CBL-LTA, is developed, which consists of a feature extractor and an RUL predictor, as shown in Figure 1. The feature extractor is responsible for learning degradation-related representations from raw vibration signals. The RUL predictor models the degradation evolution process based on the extracted features. This architecture captures both local degradation patterns and long-term temporal dependencies, providing a stable basis for subsequent domain-invariant feature learning.

3.1.1. Feature Extraction Module

In rolling bearing vibration signals, degradation-related information is often manifested as local waveform patterns and variations in frequency band energy. Directly feeding raw sequences into a recurrent network is susceptible to noise interference and makes it difficult to efficiently extract local discriminative features. Therefore, a 1D convolutional neural network is introduced as the feature extraction module. Through local receptive fields and weight sharing, convolutional layers capture local temporal patterns and frequency-related characteristics in vibration signals, suppress noise interference, and enhance local degradation representations.
Let the input vibration signal sample be defined as:
x = x 1 , x 2 , , x T
Then, the convolutional feature extraction process can be formulated as:
f t = σ W c x t : t + l 1 + b c
where W c represent the convolution kernel weights, b c denotes the bias term, l represent the kernel length, x t : t + l 1 represents a local subsequence of length l starting at time step t , σ · denotes the nonlinear activation function, for which ReLU is used in this study, and f t denotes the convolutional feature response at the t-th temporal position.
By sliding the convolution kernels along the time axis, the model can automatically learn local degradation patterns and translation-invariant features from vibration signals, thereby improving its sensitivity to impulsive components and frequency band variations.

3.1.2. RUL Predictor Module

The bearing degradation process exhibits strong temporal dependence, and relying solely on local features makes it difficult to accurately characterize the evolution trend of bearing life. To capture the temporal dependencies in the degradation evolution process, a bidirectional long short-term memory network (BiLSTM) is employed to model the convolutional feature sequence.
The long short-term memory network regulates the input, retention, and output of information through the input, forget, and output gates. At time step t , let the input be x t , the hidden state at the previous time step be h t 1 , and the cell state be c t 1 ; then the LSTM computation can be formulated as:
f t = σ W f x t + U f h t 1 + b f i t = σ W i x t + U i h t 1 + b i c ~ t = t a n h W c x t + U c h t 1 + b c c t = f t c t 1 + i t c ~ t o t = σ W o x t + U o h t 1 + b o h t = o t t a n h c t
where f t denotes the forget gate, i t denotes the input gate, c ~ t denotes the candidate cell state, c t denotes the updated cell state, o t denotes the output gate, and h t denotes the output hidden state. σ denotes the Sigmoid activation function, t a n h denotes the hyperbolic tangent function, and denotes element-wise multiplication.
BiLSTM consists of a forward LSTM and a backward LSTM, which propagate information along the temporal forward and backward directions, respectively, thereby capturing bidirectional dependencies in the time series. Its output is obtained by concatenating the hidden states of the two networks:
h t = h t ; h t
This structure can simultaneously exploit historical and future contextual information, enhance the model’s perception of global temporal features, and capture the latent temporal evolution patterns in rolling bearing degradation signals. However, conventional BiLSTM usually treats the hidden states at all time steps equally in the output stage, which may weaken the contribution of information from critical degradation stages.
To this end, a lightweight temporal attention (LTA) mechanism is introduced to improve the temporal information fusion scheme. Let the output hidden state of the BiLSTM at time step t be h t R d and the sequence length be T ; then the input to the LTA can be formulated as:
H = [ h 1 , h 2 , , h T ] T R T × d
The importance score of each time step is computed through a learnable linear transformation:
e t = w T h t + b
where w and b denote the trainable weight and bias parameters, respectively.
To ensure the non-negativity and interpretability of the weight, the scores at all time steps are normalized by the Softmax function to obtain attention weights:
α t = exp ( e t ) k = 1 T exp ( e k ) , t = 1 T α t = 1
The final context vector is obtained as the weighted sum of the hidden states over all time steps:
c = t = 1 T α t h t
This mechanism assigns importance weights to different time steps through a learnable linear transformation, highlights periods sensitive to RUL variation, and enables the model to focus on critical degradation intervals. It avoids the complex Query-Key-Value similarity computations and high-dimensional matrix operations required by conventional self-attention, thereby effectively reducing the parameter count and computational complexity.
By embedding the LTA into the hidden-state fusion process of the BiLSTM, the model can not only fully exploit bidirectional temporal information to characterize degradation evolution patterns but also emphasize the contribution of critical time steps in degradation progression to the prediction results, thereby improving the effectiveness of temporal modeling and prediction accuracy.

3.2. Client-Side Domain-Invariant Feature Learning

In federated learning scenarios, different clients usually correspond to different bearing instances or operating conditions, and the significant differences in their vibration signals lead to feature distribution shifts, making it difficult for the model to learn unified and stable degradation representations across clients. If only conventional supervised learning objectives are used, the model tends to overfit feature patterns associated with specific bearing instances or operating conditions, thereby resulting in a marked performance degradation on unseen bearing instances. Therefore, relying on conventional federated parameter aggregation is often insufficient to alleviate distribution heterogeneity, and feature representations must be constrained during client-side training so that the model focuses more on degradation patterns that are independent of data distribution.
Accordingly, a domain-adversarial learning mechanism is introduced on the client side. By incorporating a domain discriminator together with a gradient reversal strategy, the feature extraction network is encouraged to progressively remove domain-related information while optimizing RUL prediction accuracy, thereby yielding more stable and better-aligned degradation representations.
In the baseline prediction model, the output of the feature extractor G f · is formulated as:
z i = G f x i
where x i denotes the i-th vibration signal sample and z i denotes its corresponding feature representation.
If the extracted features still contain evident domain-specific information, the model may rely on such information for prediction rather than genuinely learning the underlying degradation evolution patterns. To this end, an additional domain discriminator G d · is constructed on the client side to predict the domain label d i of each sample from the feature representation z i
d i ^ = G d z i
The objective of the domain discriminator is to maximally distinguish feature distributions across different domains. If the feature representations exhibit strong domain-discriminative characteristics, the domain discriminator can achieve high classification accuracy. Conversely, if the features become domain-invariant, the domain classification performance will decrease significantly. In the FDG framework, the domain discriminator serves to quantify the residual domain information in the learned features and provides feedback signals for subsequent adversarial optimization.
To achieve domain-invariant feature learning, training the domain discriminator alone is insufficient; the feature extraction network must also be subjected to an adversarial constraint so that it actively suppresses domain-related information. A Gradient Reversal Layer (GRL) is introduced to implement the adversarial mechanism. During forward propagation, the GRL leaves the feature representation unchanged. During backpropagation, the gradient of the domain classification loss with respect to the features is multiplied by a negative coefficient, forcing the feature extraction network to update in a direction that confuses the domain discriminator. The corresponding gradient update can be formulated as:
L d o m a i n z λ L d o m a i n z
where λ denotes the adversarial strength coefficient used to balance prediction accuracy and domain invariance, and the negative sign indicates reversal of the gradient direction.
During client-side training, the overall optimization objective consists of two components: the RUL prediction loss L r u l , which constrains prognostic accuracy, and the domain classification loss L d o m a i n , which measures domain discriminability. The overall loss function is defined as:
L t o t a l = L r u l + λ L d o m a i n
When λ is small, the model places greater emphasis on prediction accuracy; as λ increases, the model places more emphasis on domain-invariant regularization. By properly tuning the adversarial strength, the model can suppress domain-specific information in the learned features while maintaining RUL prediction accuracy.
As training proceeds, the feature distributions of different clients gradually move toward a shared representation space, thereby providing a more consistent feature basis for subsequent server-side federated aggregation. This strategy helps reduce the risk of negative transfer under non-IID conditions and provides support for improving generalization within the FDG framework.

3.3. Distribution-Aware Dynamic Aggregation Mechanism

Although the domain-adversarial mechanism has reduced feature-level distribution discrepancies within clients, differences may still persist among client models in terms of predictive capability and distribution alignment. Therefore, it is necessary to further introduce a distribution-aware dynamic aggregation strategy on the server side, which adaptively adjusts aggregation weights according to client model quality and distribution characteristics, thereby improving the robustness and generalization capability of the global model.
To improve the adaptability of the aggregation process to distribution heterogeneity, a server-side dynamic weighting strategy is introduced based on predictive performance and distribution discrepancy.
From the perspective of predictive performance, the average RUL prediction loss of each client after local training in the current round can reflect the quality of its model update. Let the average prediction loss of the k-th client after round t be denoted by L r u l k . A smaller loss indicates that the current local model better captures the degradation patterns in the client’s local data.
From the perspective of distribution consistency, the server computes the client feature distribution discrepancy measure D k t using the client-uploaded feature statistics μ k and σ k together with the current global feature statistics μ g and σ g , as formulated below:
D k t = mean μ k μ g 2 + mean σ k σ g 2
where a smaller D k t indicates that the feature distribution of client k is more closely aligned with the current global shared feature space.
Since the numerical ranges of prediction loss and distribution discrepancy may differ, the server first normalizes L r u l k and D k t for each client separately to prevent any single factor from dominating the aggregation process. On this basis, the dynamic aggregation weight of client k is defined as:
α k t = exp β L ~ r u l k γ D ~ k t j = 1 K   exp β L ~ j k γ D ~ j t
where β and γ denote the weighting coefficients of the predictive performance term and the distribution discrepancy term, respectively. Clients with smaller average RUL loss and feature distributions closer to the global statistics are assigned larger weights during aggregation.
The server then performs weighted aggregation of the model parameters uploaded by all clients according to the dynamic weights, yielding the global model parameters for the next round:
θ t + 1 = k = 1 K α k t θ k t
where θ k t denotes the model parameters uploaded by the k-th client after local training in round t, and θ t + 1 denotes the aggregated global model parameters.
In this way, the server-side aggregation process does not rely solely on simple averaging, but instead jointly considers client predictive capability and feature distribution consistency to adaptively adjust each client’s contribution to the global model, thereby helping mitigate the adverse effects of heterogeneous data and improving the stability and generalization capability.

3.4. Architecture of the FDG Model

Based on the baseline prediction model, the client-side domain-adversarial learning mechanism, and the server-side distribution-aware dynamic aggregation strategy, a federated domain generalization framework for rolling bearing RUL prediction is constructed, as illustrated in Figure 2.

4. Training Procedure of the FDG Model

Through client-side local training and server-side collaborative optimization, the FDG framework enables multi-source knowledge fusion without sharing raw data. By reducing distribution discrepancies across different bearing datasets through a domain-adversarial mechanism and incorporating adaptively weighted aggregation, it suppresses negative transfer, enhances global model stability, and ultimately improves model generalization. The training procedure of the FDG model is illustrated in Figure 3.
  • Global model initialization: The server initializes the prediction model and global model parameters and sets hyperparameters such as the number of federated communication rounds, the number of local training epochs, and the adversarial strength coefficient. At the beginning of the first training round, the initialized prediction model is distributed to all clients.
  • Global model dissemination: At the beginning of each federated communication round, the server transmits the current global model parameters to all clients. Each client uses the received parameters to synchronize its local feature extractor and RUL predictor, ensuring that the current round starts from a consistent global state.
  • Client-side local training: After synchronizing the local model, each client performs training using its local data. On the one hand, the input signals are fed into the feature extractor and the RUL predictor branch to compute the mean squared error loss between the predicted values and the ground-truth RUL labels, thereby ensuring prognostic accuracy. On the other hand, the extracted features are passed through the Gradient Reversal Layer and then fed into the domain discriminator to compute the domain classification loss, thereby suppressing domain-related information. These two loss terms jointly enable the model to learn domain-invariant features while preserving its degradation modeling capability.
  • Upload of model parameters and statistical information: After local training is completed, each client uploads the updated model parameters, the training loss of the current round, and the local feature statistics to the server. Since no raw data are transmitted during this process, privacy protection requirements are satisfied.
  • Server-side distribution-aware dynamic aggregation: After receiving the uploaded information from all clients, the server first computes the distribution discrepancy measure based on client feature statistics and evaluates the update quality of each client using its RUL prediction loss. It then determines the dynamic weights and performs weighted aggregation to obtain the global model parameters for the next round.
  • Training termination: When the maximum number of communication rounds T is reached, training is terminated and the final global model is obtained; otherwise, the process proceeds to the next round and repeats Steps 2–5.
  • Final prediction: After training is completed, the final global model is used to perform RUL prediction on the test set. The vibration signals of the test bearings are fed into the model to obtain the predicted RUL values, thereby enabling rolling bearing remaining useful life prediction.

5. Experimental Setup and Results Analysis

5.1. Dataset Description

(1)
IEEE PHM 2012 rolling bearing dataset
The experiments are validated on the PHM 2012 bearing accelerated degradation dataset, which was collected using the PRONOSTIA bearing degradation test platform. This dataset is characterized by complete data records, clear degradation trajectories, and well-defined operating conditions. The test rig consists of three core subsystems, namely the drive system, loading system, and monitoring system [21], as illustrated in Figure 4.
In this dataset, vibration signals are recorded at fixed time intervals, with a sampling frequency of 25.6 kHz, a sampling interval of 10 s, and a sampling duration of 0.1 s for each acquisition. The experiment covers three different operating conditions, and the condition information of the data used in this study is listed in Table 1.
Considering that differences in loading direction may lead to different degradation sensitivities in vibration signals measured along different directions, the horizontal vibration signals, which contain richer degradation information, are selected to validate the proposed method, thereby ensuring the interpretability and stability of the prediction results.
(2)
XJTU-SY rolling bearing dataset
The XJTU-SY rolling bearing accelerated life test dataset was obtained from rolling bearing accelerated life tests conducted by Xi’an Jiaotong University and is a representative full-life bearing dataset for prognostics and health management research. The experimental platform consists of an AC motor, a motor speed controller, a shaft, support bearings, a hydraulic loading system, and test bearings [22], as shown in Figure 5.
This dataset contains vibration signals of rolling bearings operating to failure under three different operating conditions, and the data collected under Condition 1 are used in this study. The detailed operating-condition information is listed in Table 2. In the XJTU-SY dataset, vibration signals are acquired using acceleration sensors at a sampling frequency of 25.6 kHz, with a sampling interval of 1 min and a sampling duration of 1.28 s for each acquisition. The sampled data are stored in chronological order, and the horizontal vibration signals are used in the experiments.

5.2. Experimental Setup

To validate the proposed method, experiments are conducted on two different datasets. The two datasets involve different bearing types and collectively cover four operating conditions, based on which a federated learning scenario is constructed to simulate collaborative training among four clients. Each client holds two complete sets of full-life bearing run-to-failure data for local model training. In addition, four complete sets of full-life bearing data that are not involved in training are used as the test set to evaluate the predictive performance of the model on unseen samples. The data allocation for each client is listed in Table 3.
The model parameter settings and network architecture used in the experiments are listed in Table 4. The key hyperparameters of the model are mainly determined according to the principle of balancing training stability, predictive performance, and generalization capability in heterogeneous federated scenarios. Among them, the domain-adversarial weight λ is used to regulate the relative strength between the life prediction objective and domain-invariant feature learning. When λ is too small, the domain-adversarial constraint becomes insufficient, making it difficult to learn domain-invariant features; when λ is too large, excessive emphasis is placed on domain confusion, which in turn compromises prediction accuracy. In the dynamic aggregation strategy, the weighting coefficients β and γ are used to control the contributions of the training loss term and the distribution discrepancy term to the aggregation weights, respectively. The selected values indicate that predictive performance is treated as the primary criterion during aggregation, while feature distribution discrepancies are incorporated as a moderate corrective factor, thereby improving the stability and generalization capability of global model updates.

5.3. Performance Evaluation Metrics

To objectively evaluate the performance of the proposed method in the rolling bearing RUL prediction task, mean absolute error (MAE) and root mean square error (RMSE) are used as evaluation metrics. The definitions of these metrics are given as follows:
M A E = 1 n i = 1 n | y i y ^ i |
R M S E = 1 n i = 1 n ( y i y ^ i ) 2
where y i denotes the true RUL value, y ^ i denotes the predicted RUL value, and n denotes the number of samples. MAE and RMSE directly quantify the deviation between the predicted and actual values; a larger prediction error results in larger values for both metrics.

5.4. Comparative Experimental Setup

To validate the effectiveness of the proposed method for rolling bearing RUL prediction, comparative experiments are conducted against several commonly used methods, as described below:
  • Baseline prediction model: In this method, the model is trained only on a single local training set, and each client independently trains its own prediction model using locally available data. No federated learning mechanism is involved, and there is no data exchange or parameter sharing among clients.
  • Centralized learning: In centralized learning, the training data from all clients are merged into a single dataset, without considering data privacy, and the prediction model is trained using all available data. This method is not affected by decentralized parameter updates or aggregation errors in federated learning and can fully exploit all training samples under ideal data-sharing conditions. In this study, the proposed prediction model is adopted as the backbone, and all training data are combined for centralized training as a comparative setting.
  • FedAvg: As the most classical parameter aggregation method in federated learning, the Federated Averaging algorithm treats all clients equally after local training and model upload, assuming that each client contributes equally to the global model. It updates the global model through simple averaging without considering data differences among clients.
  • FedDwa [19]: The FedDwa method employs a dynamic weighted aggregation strategy, in which the training loss of each client is used to quantify its relative contribution to the global model, thereby determining dynamic aggregation weights for server-side aggregation.
  • Proposed method: While preserving data privacy, each client performs adversarial training using local data, and iterative optimization is achieved through dynamic aggregation based on both training performance and feature distribution discrepancies.

5.5. Experimental Results and Analysis

To visually compare the predictive performance of different methods on the test set, the trained shared models are evaluated on the test bearing data after model training is completed. Figure 6 compares the prediction results of different methods on the same bearing, while Table 5 and Figure 7 present the quantitative performance metrics and the corresponding bar charts, respectively. To ensure the stability of the experimental results, all reported results are averaged over five runs under the same experimental conditions.
The prediction results show that, compared with the other methods, FDG shows predictions that are generally closer to the true RUL values on the four test bearings, exhibits better trend consistency, and can track the actual life degradation process more stably. FDG achieves MAE values of 0.042 ± 0.003, 0.101 ± 0.006, 0.090 ± 0.006, and 0.108 ± 0.009, along with RMSE values of 0.057 ± 0.005, 0.128 ± 0.009, 0.118 ± 0.007, and 0.126 ± 0.011 on the four test bearings, respectively, all of which are the lowest among the compared methods under the current setting. Moreover, the fluctuation range across repeated experiments remains within approximately 5–9%. To further assess the statistical robustness of the experimental results, the Wilcoxon signed-rank test was employed to examine whether the performance improvements of FDG over the comparison methods were statistically significant. The test results indicate that the observed performance improvements are statistically significant (p < 0.05), demonstrating that the proposed method exhibits good stability and reliability across repeated experiments.
Compared with the Baseline, FDG reduces the average MAE and average RMSE on the four test bearings by 29.3% and 29.5%, respectively. The Baseline results verify the predictive effectiveness of the proposed baseline model CBL-LTA, which can learn representative degradation patterns from local data and thereby provide a reliable predictive foundation for federated learning scenarios. Under the current experimental setting, FDG achieves lower average MAE and RMSE than the centralized baseline. The centralized training was implemented using the proposed prediction model as the backbone, with bearing data from different types and operating conditions directly combined for training. Because no explicit mechanism was introduced to handle distribution discrepancies across different data sources, the model tends to be biased toward the dominant data distribution, which adversely affects its performance. It should be noted, however, that this result only reflects the current model architecture and experimental configuration, and does not imply that the proposed method is universally superior to all centralized training approaches. Compared with FedAvg, FDG reduces the average MAE and average RMSE by 51.9% and 49.6%, respectively. This indicates that, in non-IID federated environments, conventional parameter averaging is insufficient to cope with pronounced inter-client data heterogeneity. When different clients correspond to datasets collected from different bearing types and operating conditions, parameter updates are prone to bias, which degrades model performance and may even lead to worse results than directly mixing all data for training. Compared with FedDwa, FDG further reduces the average MAE and average RMSE by approximately 37.4% and 34.6%, respectively. Although FedDwa already accounts for differences in client contribution during aggregation and thus achieves clear improvements over FedAvg, its main enhancement is still confined to server-side weight allocation and does not explicitly consider whether the features learned by different clients are aligned in a consistent representation space. In contrast, FDG not only learns domain-invariant degradation features through client-side adversarial training but also performs server-side dynamic aggregation by jointly considering training loss and feature distribution discrepancies. As a result, it can mitigate the adverse effects of non-IID data at both the feature level and the parameter level, which explains its superior performance.
The fundamental reason for the superior performance of FDG is that it effectively mitigates the performance degradation of federated learning under non-IID conditions through the synergistic effect of domain-invariant degradation feature learning and distribution-aware dynamic aggregation. Domain-invariant feature learning enables the model to focus more on degradation patterns shared across different clients, suppresses domain-specific information associated with bearing instances and operating conditions, and allows the feature extractor to learn deeper domain-irrelevant degradation features, thereby improving model generalization. The distribution-aware dynamic aggregation strategy, in turn, adaptively adjusts aggregation contributions according to client training quality and distribution discrepancies, thereby helping improve the predictive accuracy and generalization capability of the global model in complex industrial scenarios.
To simulate a federated learning scenario, an experimental setting was constructed using the PHM 2012 and XJTU-SY datasets, involving two different bearing types under multiple mixed operating conditions, thereby partially reflecting the data distribution patterns encountered in real industrial environments. Although this experiment is still conducted under controlled federated conditions and cannot fully capture the complexity of real industrial systems, it nevertheless reflects, to a certain extent, the predictive performance of the proposed method under heterogeneous data conditions.

6. Conclusions

To address data privacy constraints, pronounced inter-client data heterogeneity, and the performance degradation of federated learning models caused by non-IID data in rolling bearing remaining useful life prediction, an FDG-based framework is developed for rolling bearing remaining useful life prediction:
(1)
A federated learning framework is established on the basis of CBL-LTA, and a client-side domain-adversarial learning mechanism is introduced. By incorporating a domain discriminator together with a gradient reversal strategy, the feature extractor is encouraged to learn more stable domain-invariant degradation representations while optimizing RUL prediction accuracy, thereby enhancing model generalization. On the server side, a distribution-aware dynamic aggregation strategy is designed to adaptively assign parameter aggregation weights by jointly considering client predictive performance and feature distribution discrepancies. In this way, the proposed framework works collaboratively at both the feature level and the parameter level, thereby helping alleviate data heterogeneity in federated environments and improving the predictive performance and generalization capability of the global model.
(2)
The PHM 2012 and XJTU-SY datasets, involving two different bearing types, are used to simulate a federated training scenario. Experimental results show that, while keeping raw data local, the proposed method can help mitigate the adverse effects of data heterogeneity across multiple operating conditions and bearing instances on federated training, achieve desirable prediction results, and show strong predictive performance and practical potential under heterogeneous data conditions.
Although the current experimental setup constructs a federated learning scenario using multiple sets of bearing data from different bearing types and operating conditions, it remains, overall, a relatively controlled simulation setting. At present, the number of clients is limited, the client data partitioning scheme is predefined, and the datasets used are relatively complete and well curated. However, real industrial federated deployment usually involves a larger number of client nodes, more complex and dynamically evolving data distributions, incomplete monitoring data, heterogeneous local computing resources, and practical constraints such as communication latency, unstable connectivity, and limited bandwidth. Therefore, a gap still exists between the current experimental setup and real industrial deployment, leaving considerable room for further improvement.
Future work may consider constructing larger-scale federated learning scenarios that more closely resemble real industrial network structures, thereby enhancing the applicability of the method under multi-client settings and unstable communication conditions. It is also worthwhile investigating generalization strategies for completely unseen scenarios, such as improving the model’s ability to generalize to unknown bearing types and previously unseen equipment environments. In addition, model compression and communication optimization strategies can be integrated to further improve the practical potential of the method for online monitoring and edge deployment scenarios.

Author Contributions

R.C.: Conceptualization, Writing—original draft, Visualization, Validation. C.Z.: Supervision, Writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key R&D Program of China (2023YFB3406204), National Natural Science Foundation of China (52475548), Joint Fund for Innovation and Development of Natural Science Foundation of Chongqing Municipality (CSTB2025NSCQ-LZX0113), Chongqing Municipal Graduate Students’ Joint Training Base Program (JDLHPYJD2024006), and the Research and Innovation Program for Graduate Students in Chongqing (CYS25543).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, L.; Cao, H.; Ye, Z.; Xu, H.; Yan, J. DVGTformer: A Dual-View Graph Transformer to Fuse Multi-Sensor Signals for Remaining Useful Life Prediction. Mech. Syst. Signal Process. 2024, 107, 110935. [Google Scholar] [CrossRef]
  2. Xu, D.; Xiao, X.; Liu, J.; Sui, S. Spatio-Temporal Degradation Modeling and Remaining Useful Life Prediction under Multiple Operating Conditions Based on Attention Mechanism and Deep Learning. Reliab. Eng. Syst. Saf. 2023, 229, 108886. [Google Scholar] [CrossRef]
  3. Huang, K.; Ren, Z.; Lin, T.; Zhu, Y.; Zhu, L. A Dual-Perspective Joint Domain Generalization Network for Bearing Fault Diagnosis under Unseen Working Conditions. Adv. Eng. Inform. 2025, 66, 103447. [Google Scholar] [CrossRef]
  4. Zhang, Y.; Xin, Y.; Liu, Z.; Chi, M.; Ma, G. Health Status Assessment and Remaining Useful Life Prediction of Aero-Engine Based on BiGRU and MMoE. Reliab. Eng. Syst. Saf. 2022, 220, 108263. [Google Scholar] [CrossRef]
  5. Xiao, X.; Zhang, J.; Xu, D. Contrastive Domain-Invariant Generalization for Remaining Useful Life Prediction under Diverse Conditions and Fault Modes. Reliab. Eng. Syst. Saf. 2025, 253, 110534. [Google Scholar] [CrossRef]
  6. Zhu, J.; Chen, N.; Peng, W. Estimation of Bearing Remaining Useful Life Based on Multiscale Convolutional Neural Network. IEEE Trans. Ind. Electron. 2019, 66, 3208–3216. [Google Scholar] [CrossRef]
  7. Wu, J.-Y.; Wu, M.; Chen, Z.; Li, X.-L.; Yan, R. Degradation-Aware Remaining Useful Life Prediction with LSTM Autoencoder. IEEE Trans. Instrum. Meas. 2021, 70, 3511810. [Google Scholar] [CrossRef]
  8. Xu, Z.; Zhang, Y.; Miao, Q. An Attention-Based Multi-Scale Temporal Convolutional Network for Remaining Useful Life Prediction. Reliab. Eng. Syst. Saf. 2024, 250, 110288. [Google Scholar] [CrossRef]
  9. Ferreira, C.; Gonçalves, G. Remaining Useful Life Prediction and Challenges: A Literature Review on the Use of Machine Learning Methods. J. Manuf. Syst. 2022, 63, 550–562. [Google Scholar] [CrossRef]
  10. Miao, M.; Yu, J. A Deep Domain Adaptative Network for Remaining Useful Life Prediction of Machines Under Different Working Conditions and Fault Modes. IEEE Trans. Instrum. Meas. 2021, 70, 3518214. [Google Scholar] [CrossRef]
  11. Ragab, M.; Chen, Z.; Wu, M.; Foo, C.S.; Kwoh, C.K.; Yan, R.; Li, X. Contrastive Adversarial Domain Adaptation for Machine Remaining Useful Life Prediction. IEEE Trans. Ind. Inform. 2021, 17, 5239–5249. [Google Scholar] [CrossRef]
  12. Shi, Y.; Deng, A.; Deng, M.; Xu, M.; Liu, Y.; Ding, X.; Bian, W. Domain Augmentation Generalization Network for Real-Time Fault Diagnosis under Unseen Working Conditions. Reliab. Eng. Syst. Saf. 2023, 235, 109188. [Google Scholar] [CrossRef]
  13. Leng, J.; Li, R.; Xie, J.; Zhou, X.; Li, X.; Liu, Q.; Chen, X.; Shen, W.; Wang, L. Federated Learning-Empowered Smart Manufacturing and Product Lifecycle Management: A Review. Adv. Eng. Inform. 2025, 65, 103179. [Google Scholar] [CrossRef]
  14. Banabilah, S.; Aloqaily, M.; Alsayed, E.; Malik, N.; Jararweh, Y. Federated Learning Review: Fundamentals, Enabling Technologies, and Future Applications. Inf. Process. Manag. 2022, 59, 103061. [Google Scholar] [CrossRef]
  15. Chen, X.; Wang, H.; Lu, S.; Yan, R. ALC—PFL Bearing Remaining Useful Life Prediction Method Based on Personalized Federated Learning. Chin. J. Sci. Instrum. 2023, 44, 69–78. [Google Scholar]
  16. Zhang, J.; Tian, J.; Yan, P.; Wu, S.; Luo, H.; Yin, S. Multi-Hop Graph Pooling Adversarial Network for Cross-Domain Remaining Useful Life Prediction: A Distributed Federated Learning Perspective. Reliab. Eng. Syst. Saf. 2024, 244, 109950. [Google Scholar] [CrossRef]
  17. Chen, X.; Wang, H.; Lu, S.; Xu, J.; Yan, R. Remaining Useful Life Prediction of Turbofan Engine Using Global Health Degradation Representation in Federated Learning. Reliab. Eng. Syst. Saf. 2023, 239, 109511. [Google Scholar] [CrossRef]
  18. Kang, S.; Yang, D.; Wang, Y.; Wang, Q.; Xie, J. Life Prediction Method for Rolling Bearings under Different Operating Conditions Based on Secondary Aggregation Personalized Federated Learning. J. Vib. Shock. 2025, 44, 254–266. [Google Scholar]
  19. Bai, R.; Li, Y.; Qiao, B.; Wang, X.; Wang, T.; Noman, K. FedDwa: A Lightweight Federated Learning with Dynamic Weighted Average Aggregation Method for Machines RUL Prediction. Adv. Eng. Inform. 2026, 69, 104075. [Google Scholar] [CrossRef]
  20. Qin, Y.; Yang, J.; Zhou, J.; Pu, H.; Zhang, X.; Mao, Y. Dynamic Weighted Federated Remaining Useful Life Prediction Approach for Rotating Machinery. Mech. Syst. Signal Process. 2023, 202, 110688. [Google Scholar] [CrossRef]
  21. Nectoux, P.; Gouriveau, R.; Medjaher, K.; Ramasso, E.; Morello, B.; Zerhouni, N.; Varnier, C. PRONOSTIA: An Experimental Platform for Bearings Accelerated Degradation Tests. In Proceedings of the IEEE International Conference on Prognostics and Health Management, Beijing, China, 23–25 May 2012; pp. 1–8. [Google Scholar]
  22. Wang, B.; Lei, Y.; Li, N.; Li, N. A Hybrid Prognostics Approach for Estimating Remaining Useful Life of Rolling Element Bearings. IEEE Trans. Reliab. 2018, 69, 401–412. [Google Scholar] [CrossRef]
Figure 1. Network architecture of the baseline model.
Figure 1. Network architecture of the baseline model.
Ai 07 00150 g001
Figure 2. FDG Model Structure Diagram.
Figure 2. FDG Model Structure Diagram.
Ai 07 00150 g002
Figure 3. FDG Training Flowchart.
Figure 3. FDG Training Flowchart.
Ai 07 00150 g003
Figure 4. Platform of PRONOSTIA.
Figure 4. Platform of PRONOSTIA.
Ai 07 00150 g004
Figure 5. XJTU-SY Bearing Accelerated Life Test platform.
Figure 5. XJTU-SY Bearing Accelerated Life Test platform.
Ai 07 00150 g005
Figure 6. Comparison chart of prediction results. (a) shows the prediction results of different methods for the test bearing Bearing1_3; (b) shows the prediction results of different methods for the test bearing Bearing2_3; (c) shows the prediction results of different methods for the test bearing Bearing3_3; (d) shows the prediction results of different methods for the test bearing B1_3.
Figure 6. Comparison chart of prediction results. (a) shows the prediction results of different methods for the test bearing Bearing1_3; (b) shows the prediction results of different methods for the test bearing Bearing2_3; (c) shows the prediction results of different methods for the test bearing Bearing3_3; (d) shows the prediction results of different methods for the test bearing B1_3.
Ai 07 00150 g006
Figure 7. Performance comparison bar chart.
Figure 7. Performance comparison bar chart.
Ai 07 00150 g007
Table 1. Information of the IEEE PHM 2012 bearing dataset.
Table 1. Information of the IEEE PHM 2012 bearing dataset.
Working ConditionBearing NumberLoad (kN)Speed (rpm)Bearing Type
1Bearing1_1~Bearing1_341800NSK6307DU
2Bearing2_1~Bearing2_34.21650
3Bearing3_1~Bearing3_351500
Table 2. Information of the XJTU-SY bearing dataset.
Table 2. Information of the XJTU-SY bearing dataset.
Working ConditionBearing NumberLoad (kN)Speed (rpm)Bearing Type
1B1_1~B1_3122100LDKUER204
Table 3. Client dataset configuration.
Table 3. Client dataset configuration.
ClientData SourceTraining SetTest Set
Client 1PHM 2012Bearing1_1 Bearing1_2Bearing1_3
Client 2Bearing2_1 Bearing2_2Bearing2_3
Client 3Bearing3_1 Bearing3_2Bearing3_3
Client 4XJTU-SYB1_1 B1_2B1_3
Table 4. Model parameter settings.
Table 4. Model parameter settings.
ParameterValueParameterValue
Number of clients4CNN layers4
Communication rounds30CNN channels32, 64, 128, 128
Local training epochs5Convolution kernel size7, 5, 5, 3
Batch size256BiLSTM layer2
Learning rate1 × 10−4BiLSTM hidden dimensions64, 128
Domain adversarial weight λ0.02FC1128
Loss weighting coefficient β1FC264
Distribution weighting coefficient γ0.15Output1
Table 5. Model performance evaluation metrics.
Table 5. Model performance evaluation metrics.
MethodsBearing1_3Bearing2_3Bearing3_3B1_3
MAERMSEMAERMSEMAERMSEMAERMSE
Baseline0.0670.0870.1340.1780.1060.1310.1810.231
Centralized0.0820.1000.1700.2300.1670.2030.1990.237
FedAvg0.0960.1080.2230.2910.1750.2340.2090.233
FedDwa0.0780.0920.1540.1960.1450.1770.1570.187
FDG0.0420.0570.1010.1280.0900.1180.1080.126
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chen, R.; Zhang, C. Remaining Useful Life Prediction of Rolling Bearings Based on Federated Domain Generalization. AI 2026, 7, 150. https://doi.org/10.3390/ai7050150

AMA Style

Chen R, Zhang C. Remaining Useful Life Prediction of Rolling Bearings Based on Federated Domain Generalization. AI. 2026; 7(5):150. https://doi.org/10.3390/ai7050150

Chicago/Turabian Style

Chen, Renxiang, and Ci Zhang. 2026. "Remaining Useful Life Prediction of Rolling Bearings Based on Federated Domain Generalization" AI 7, no. 5: 150. https://doi.org/10.3390/ai7050150

APA Style

Chen, R., & Zhang, C. (2026). Remaining Useful Life Prediction of Rolling Bearings Based on Federated Domain Generalization. AI, 7(5), 150. https://doi.org/10.3390/ai7050150

Article Metrics

Back to TopTop