Next Article in Journal
A Closed-Form Analytical Evaluation of the Directivity of Planar Array Antennas with Different Types of Radiating Elements
Previous Article in Journal
Development and Field Validation of WaziSense, a Low-Cost Solar-Powered IoT Smart Tensiometer for Soil–Water Monitoring and Irrigation Scheduling in Semi-Arid Agriculture
Previous Article in Special Issue
YOLOv11-SR: An Enhanced YOLOv11-Based Framework for Defect Detection in Complex Substation Inspection Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Bearing Single-Source Domain Generalization Fault Diagnosis Method Based on Adaptive Frequency-Domain Augmentation and Unsupervised Contrastive Learning

1
School of Electrical and Automation Engineering, East China Jiaotong University, Nanchang 330013, China
2
School of Mechatronics and Vehicle Engineering, East China Jiaotong University, Nanchang 330013, China
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(17), 5349; https://doi.org/10.3390/s26175349
Submission received: 10 July 2026 / Revised: 12 August 2026 / Accepted: 21 August 2026 / Published: 24 August 2026
(This article belongs to the Special Issue Deep Learning Based Intelligent Fault Diagnosis—2nd Edition)

Abstract

Cross-domain distribution shifts severely degrade the diagnostic performance of rolling bearing models under unseen variable operating scenarios. Single-source domain generalization (SDG) builds fault diagnosis models using only single-source vibration data, which fits the practical limitations of industrial data collection. Existing contrastive learning methods adopt uniform spectral perturbations for data augmentation, which easily corrupt fault harmonic characteristics and require massive, labeled training samples. To tackle these drawbacks, this paper proposes an unsupervised contrastive learning framework named FDACL. An adaptive frequency-domain augmentation (AFA) module equipped with learnable weights is designed to separate fault-critical frequency bands from noise components. Differentiated amplitude perturbations are applied to two categories of spectral signals to generate diverse pseudo-samples while retaining intrinsic fault information. A shared encoder is trained with combined InfoNCE contrast loss and classification loss to learn domain-invariant fault representations. Validations are carried out on three datasets, namely Case Western Reserve University (CWRU), Paderborn University (PU), and the industrial CRRC Qingdao Sifang railway wheelset bearing dataset acquired from physical test benches. FDACL achieves average cross-speed diagnostic accuracies of 92.68% and 77.85% on CWRU and PU, respectively, and maintains competitive performance on the Qingdao Sifang industrial dataset. It outperforms state-of-the-art baselines by 4.23–8.71% across all SDG transfer tasks. Ablation experiments and hyperparameter analysis verify the efficacy of the AFA module and contrastive learning scheme, providing an unsupervised diagnostic approach for railway bearings under unknown working conditions.

1. Introduction

Intelligent operation and maintenance technologies have been increasingly adopted for critical mechanical equipment such as high-speed trains and aircraft [1]. Rolling bearings serve as core components in these mechanical systems and are typically subjected to harsh operating conditions. Their health status directly governs the reliability and safety of the entire piece of equipment. Therefore, accurate monitoring and timely diagnosis of bearing faults are essential for ensuring efficient and safe industrial production [2].
From the perspective of technical evolution, existing bearing fault diagnosis technologies can be classified into three typical categories. The first category refers to pure signal processing algorithms that exclude machine learning frameworks, which adopt wavelet transform, variational mode decomposition, and other time-frequency analysis tools to extract manual fault features with favorable interpretability; yet, they lack self-adaptability under variable working loads and rotating speeds [3]. The second type is simulation-driven machine learning diagnosis, which establishes multi-body dynamic and finite element models to generate abundant labeled vibration samples for compensating the scarcity of measured fault data, while inherent distribution discrepancies exist between simulated signals and real test rig measurements [4]. The third branch corresponds to physics-model-based intelligent diagnosis, which embeds bearing kinematic laws and vibration dynamic equations into neural networks to improve model interpretability, yet most existing implementations are built upon supervised training and require multi-domain labeled datasets [5]. Each of the three technical routes has its own applicable scenarios and unavoidable drawbacks, which have promoted continuous innovation of intelligent diagnostic algorithms.
In recent years, breakthroughs in deep learning have advanced the application of artificial intelligence in the automatic fault detection and identification of mechanical equipment [6]. Deep-learning-based bearing fault diagnosis methods have achieved nearly 100% classification accuracy on multiple public datasets. Nevertheless, these approaches rely on a critical assumption that the training and test data follow identical data distributions. In practical industrial scenarios, variations in ambient conditions, rotating speeds, and loads inevitably lead to distribution shifts between datasets, which drastically degrade the performance of pre-trained models on unseen working conditions and severely limit their practical engineering applicability [7].
Domain adaptation represents the mainstream solution to mitigate distribution shifts, yet it requires target-domain samples during the training phase [8]. Given the diversity of operating conditions for industrial machinery, it is impractical to collect vibration signals covering all potential working scenarios in advance, which creates a data acquisition bottleneck for domain adaptation methods. By contrast, domain generalization (DG) algorithms require no target-domain data for training and aim to construct models capable of generalizing directly to unseen domains, making them more suitable for real engineering deployments [9]. Existing DG research predominantly focuses on multi-source DG, which trains models by leveraging data collected from multiple distinct source domains [10]. However, collecting multi-source datasets incurs high costs and poses implementation obstacles in most industrial sites. Accordingly, single-source domain generalization (SDG) techniques that only demand data from one source domain possess greater practical potential [11]. The core distinction between single-source and multi-source DG lies in the quantity of training source domains [12]. Although SDG imposes stricter constraints and brings greater challenges to algorithm design, it imposes looser data requirements and aligns better with real industrial demands [13].
At present, SDG has been extensively investigated in computer vision and natural language processing, while relevant studies in the field of fault diagnosis predominantly focus on multi-source DG. For instance, Wang et al. [14] proposed DGNetMSAC, which decouples domain-related features via domain-specific auxiliary classifiers and convolutional autoencoders, and improves generalization performance by adopting a domain-invariant classifier. Shen [15] introduced a semantic-discriminative augmentation method to address imbalanced DG. Zhao et al. further established a standardized benchmark for cross-domain fault diagnosis to systematically evaluate the performance of various existing algorithms [16].
In contrast, research on SDG for machinery fault diagnosis remain scarce. Zhao and Shen put forward AMINet, the pioneering SDG model in fault diagnosis, which addresses distribution shifts via a domain generation module and mutual information minimax game [17]. Kim et al. [18] constructed the SDGPI framework that integrates signal processing priors to enhance model generalization and interpretability. Wang et al. developed MSGACN to generate diverse feature representations relying on style transfer and adversarial learning [19]. Nevertheless, all the above methods are developed under supervised learning paradigms and require abundant labeled samples. To date, unsupervised SDG approaches for fault diagnosis have rarely been explored, leaving an obvious research gap in this field [20].
Based on the above literature review, the main research gaps and limitations of existing single-domain generalization (SDG) fault diagnosis approaches can be summarized as follows:
(1)
Most time series contrastive learning frameworks adopt universal random augmentation strategies for vibration signals. These generic augmentation operations treat all frequency components equally, which may destroy fault-related spectral harmonic features and lose critical fault information when generating augmented samples.
(2)
Most existing single-domain generalization diagnostic methods belong to supervised learning paradigms, which require abundant accurately annotated fault samples for model training. In practical industrial scenarios, collecting large-scale labeled vibration data is labor-intensive and costly, which severely restricts the real-world applicability of such supervised solutions.
(3)
Current single-domain generalization fault diagnosis approaches rarely differentiate fault-critical spectral components from noise-dominated interference components in the frequency domain. An identical perturbation intensity is imposed over the full frequency spectrum, which weakens the feature extraction capacity and degrades generalization performance under unknown working conditions.
To address the aforementioned research gaps, this paper presents an unsupervised contrastive learning framework named FDACL. Specifically, we design an adaptive frequency-domain augmentation module equipped with a learnable mechanism that automatically distinguishes fault-sensitive spectral components from irrelevant frequency bands. Differentiated amplitude modulation is implemented on the two categories of components to simulate diverse shifts in operating conditions, which yields sufficient pseudo-target samples exclusively using single-source domain data. Moreover, the proposed augmentation strategy is embedded within an unsupervised contrastive learning pipeline. The model minimizes the feature distance between each raw sample and its augmented view while maximizing the feature discrepancy across dissimilar samples, enabling it to extract domain-invariant feature embeddings robust to variable working conditions and realize single-source domain generalization (SDG) for rolling bearing fault diagnosis. Thanks to the massive pseudo-target samples produced by the augmentation module, the model can accurately approximate latent target data distributions even when only limited source training data are available, and it retains a strong generalization capability under small-sample circumstances. The main contributions of this work, addressing the above-mentioned research gaps correspondingly, are summarized as follows:
(1)
To address the heavy annotation dependency of supervised single-domain generalization (SDG) fault diagnosis methods mentioned in Gap 1, an unsupervised contrastive-learning framework named Frequency-Domain Adaptive Contrastive Learning (FDACL) has been constructed. The proposed framework learns discriminative fault representations without relying on large-scale labeled vibration samples, which improves the practicability for real industrial bearing diagnosis scenarios.
(2)
To address the drawback of indiscriminate universal augmentation in existing contrastive-learning pipelines described in Gap 2, an adaptive frequency-domain augmentation (AFA) module has been designed. It generates augmented vibration samples while preserving fault-related spectral harmonic features, avoiding the loss of critical fault information during data augmentation.
(3)
In response to the limitation that existing approaches apply uniform perturbation over the full frequency spectrum, as illustrated in Gap 3, the AFA module implements differentiated amplitude perturbation for fault-critical spectral components and noise-dominated interference components. This mechanism enhances the capability to extract domain-invariant fault features and boosts diagnostic generalization performance under unseen working conditions.
The remainder of this paper is organized as follows. Section 2 introduces the basic theories of single-source domain generalization and unsupervised contrastive learning. Section 3 elaborates on the proposed FDACL framework and its core adaptive frequency-domain augmentation module. Section 4 presents comprehensive experimental verification, including experimental configuration, baseline algorithms, ablation studies, and three case studies on the CWRU, Paderborn University (PU), and CRRC Qingdao Sifang wheelset bearing datasets. Section 6 conducts a horizontal performance comparison between the proposed FDACL and other state-of-the-art bearing diagnosis methods reported in the recent literature. Section 7 summarizes the overall findings, discusses the inherent limitations of our method, and prospects future research directions.

2. Related Theory

This chapter introduces the basic theories closely related to this work, including single-source domain generalization and unsupervised contrastive learning. The definitions and fundamental principles are provided in the following subsections, which lay the theoretical basis for the proposed FDACL method.

2.1. Multi-Source and Single-Source Domain Generalization

DG aims to build models capable of generalizing to unseen target domains [21]. Since target-domain data are unavailable during training, extracting domain-invariant features from limited source-domain information constitutes its core challenge. Current mainstream research mostly centers on the multi-source domain generalization (MDG) paradigm, which integrates heterogeneous data from multiple source domains and exploits complementary cross-domain information to boost model generalization. Nevertheless, constrained by practical factors such as data acquisition costs and privacy regulations, multi-source datasets are difficult to acquire steadily in real-world scenarios, which hinders the practical deployment of relevant methods. In contrast, SDG completes model training using merely one source domain, presenting superior advantages in data collection and practical deployment and better conforming to real application demands. As illustrated in Figure 1, the essential distinction between MDG and SDG lies in the composition of training data: the former learns from multiple heterogeneous source domains, whereas the latter relies solely on a single source domain. Correspondingly, SDG is subject to stricter constraints when mining transferable shared features across domains, resulting in substantially higher generalization difficulty than MDG. Despite greater technical obstacles, SDG has emerged as a vital research branch of DG oriented toward practical applications due to its lower data dependence and higher practical value.

2.2. Unsupervised Learning

Unsupervised learning is a training paradigm that eliminates manual labeling requirements, enabling low-cost utilization of massive unlabeled datasets. Unlike limited supervision signals provided by sparse labeled samples, unlabeled data fully retains intricate patterns and inherent correlations within raw data distributions, laying a solid foundation for learning universal data representations. Contrastive learning stands as one of the core frameworks for unsupervised representation learning and has achieved remarkable progress in fault diagnosis, time series analysis, and other research areas [22]. Its core mechanism lies in training feature encoders by optimizing contrastive loss functions. Specifically, the loss function constrains the encoder to minimize the feature distance between positive sample pairs (semantically identical instances) while maximizing the distance between negative sample pairs (semantically distinct instances). By clustering similar samples and separating dissimilar ones in the feature space, contrastive learning can learn discriminative and transferable feature representations. A schematic illustration of contrastive learning is presented in Figure 2.
Considering the challenges of expensive data annotation for industrial vibration time series, contrastive learning has achieved great success in general time series representation learning tasks [23]. A series of representative self-supervised contrastive frameworks has been proposed for generic time series modeling. TS2Vec [24] performs hierarchical contrastive learning to capture timestamp-wise robust representations for arbitrary-length time series. Temporal Neighborhood Coding (TNC) [25] builds temporal contrastive objectives to distinguish temporally neighboring signals from irrelevant non-neighboring segments. TS-TCC [23] designs a cross-view prediction auxiliary task to enhance the consistency of feature embeddings between two augmented views of raw time series. MHCCL [26] further introduces masked hierarchical clustering to refine temporal contrastive representation learning for multivariate sequential data. Although these pioneering works adopt diverse network architectures and training objectives, the core principle of contrastive learning remains consistent: pulling positive pairs (views from the same original signal) close and pushing negative pairs (samples from different fault modes/working conditions) apart in latent feature space [9]. Accordingly, high-quality view generation via data augmentation becomes an indispensable prerequisite for guaranteeing effective contrastive training.
For mechanical vibration signal analysis, InfoNCE loss is naturally compatible with the above contrastive learning paradigm and particularly suitable for bearing cross-condition fault diagnosis. On one hand, InfoNCE implements instance-wise contrast without extra category-level supervision, which matches the unsupervised single-source training setting of this paper where all source-domain samples are unlabeled. On the other hand, the cosine similarity metric embedded in InfoNCE can precisely quantify the feature discrepancy between original vibration spectra and augmented pseudo-condition samples generated by our adaptive frequency-domain augmentation module. The positive pairs constructed by spectrum-differentiated perturbation retain consistent fault characteristic semantics, while negative pairs naturally carry domain shift differences caused by rotating speeds and loads. Optimizing InfoNCE loss can therefore drive the encoder to filter out domain-specific interference and excavate intrinsic fault-discriminative features invariant to varying working conditions.
Within the framework of unsupervised contrastive learning, the construction of positive and negative pairs heavily relies on data augmentation strategies [27]. Positive samples are generally generated by applying mild augmentation operations to raw signals, whereas negative samples are produced via aggressive augmentation transformations or directly sampled from other instances in the training set. For one-dimensional vibration signals, mainstream augmentation approaches include random Gaussian noise injection, random amplitude scaling, random time stretching and random cropping. Owing to its unique advantages, unsupervised contrastive learning has exhibited prominent application prospects in time series research fields plagued by high labeling costs.

3. Proposed Method

On the basis of the above theory, this section describes the architecture of the proposed FDACL in detail. The adaptive frequency-domain augmentation module and the overall contrastive learning pipeline are elaborated in separate subsections.

3.1. Adaptive Frequency-Domain Augmentation Module

To fully exploit the global characteristics of mechanical vibration signals in the frequency domain and address the drawbacks of conventional fixed augmentation strategies, including severe corruption of fault semantics and insufficient discriminability of features learned via unsupervised learning, this paper proposes an adaptive frequency-domain augmentation (AFA) module, the schematic diagram of which is illustrated in Figure 3.
Let the raw one-dimensional vibration signal with length L be defined as x ( t ) . The discrete Fourier transform (DFT) is first applied to convert the time-domain signal into its spectral form:
x f = F ( x ) F
where F ( x ) denotes the discrete Fourier transform, and F = L / 2 + 1 represents the number of effective frequency bins.
Leveraging the orthogonality and conjugate symmetry of Fourier basis functions, complete signal features can be retained by merely processing the first F frequency-domain components. To quantify the contribution of each frequency component to fault discrimination, a learnable weight vector for frequency components is introduced:
s = s 1 , s 2 , , s F T F
The sigmoid function is applied to normalize the weight vector to the interval (0, 1), yielding the importance weight of each frequency bin:
w f = σ ( s f ) = 1 1 + exp ( s f ) , f = 1 , 2 , , F
Here, a value of w f close to 1 indicates that the corresponding frequency component contains abundant fault-sensitive information, while a value approaching 0 implies that the component is dominated by noise and redundant information. A threshold τ is adopted to partition frequency components into a core component set F c and a non-core component set F n :
F c = { f i σ ( s i ) > τ } F n = { f i σ ( s i ) τ }
In the developed AFA module, τ is set as a fixed predefined hyperparameter rather than a learnable variable updated via backpropagation during model training, with a default value of 0.5 adopted throughout all experiments in this work. This static threshold design eliminates the extra computational overhead caused by optimizing an additional segmentation parameter and maintains a stable spectrum partition criterion throughout the entire training procedure. During iterative optimization, only the lightweight weight vector s is updated continuously to adjust the normalized importance score σ ( s i ) of each spectral bin, while τ acts merely as a fixed discriminant boundary to separate fault-sensitive characteristic frequencies and trivial noise-dominated frequency components.
The end-to-end optimization objective jointly optimizes two categories of trainable parameters: the weight matrices of the feature extraction encoder backbone and the lightweight frequency importance weight vector s for spectral component evaluation. All parameters are updated synchronously via a unified Adam optimizer without introducing gradient constraints for the segmentation threshold τ .
A dynamic augmentation mask M is generated according to component importance, and correction vectors ω c r i t for core frequency components and ω d i s t for non-core frequency components are constructed separately to implement differentiated augmentation on the two types of components:
M f = U ( 0.9 , 1.1 ) , f F c ( w crit ) U ( 1 / h p , h p ) , f F n ( w dist )
where U ( ) stands for uniform distribution over a bounded real interval. For fault-critical spectral components, the amplitude scaling factor is sampled uniformly within the narrow range [ 0.9 , 1.1 ] , introducing mild fluctuations to retain intrinsic fault feature information without distortion. For non-critical spectral components dominated by operating-condition interference and random noise, a wider uniform interval is adopted to simulate drastic spectral discrepancies across unseen working domains. In all experimental tasks of this work, the hyperparameter hp is fixed to 2, so the random scaling coefficients for non-core components follow U ( 0.5 , 2 ) . The broad variation range strengthens the diversity of generated pseudo cross-domain samples and improves the model’s robustness against unknown load and speed variations. w crit imposes slight amplitude perturbations on core fault components to prevent the destruction of critical features, whereas w dist introduces large-amplitude disturbances to non-core components to enhance the model’s robustness against varying working conditions and noise.
Accordingly, the augmented frequency-domain representation can be uniformly formulated as follows:
x ˜ f = x f ( w crit + w dist ) = x f M
In Equation (6), denotes element-wise multiplication. The augmented time-domain signal is recovered via an inverse discrete Fourier transform:
x ˜ = F 1 ( x ˜ f )
After the above adaptive frequency-domain augmentation, the proposed module strictly preserves the semantic integrity of critical fault characteristic frequencies while introducing spectral disturbances correlated with variable working loads and rotating speeds. This procedure generates pseudo-target domain samples carrying cross-domain discrepancy characteristics, which further facilitates the construction of semantically consistent yet distribution-diverse contrastive views for subsequent unsupervised contrastive learning. The augmentation module is jointly optimized end-to-end with the feature encoder during training. It requires neither target-domain data nor manually predefined prior knowledge of fault frequency bands. Instead, the module autonomously learns the importance of each frequency component and dynamically adjusts augmentation intensity, providing core support for the model to extract domain-invariant fault feature representations with strong robustness.

3.2. Frequency-Domain Differentiated Augmentation Contrastive Learning Module

To address the insufficient generalization performance of bearing fault diagnosis models under single-source domain settings when deployed to unseen working conditions, this paper proposes an unsupervised contrastive learning model termed FDACL. The overall framework of FDACL is depicted in Figure 4, which consists of four key modules: frequency-domain representation construction, adaptive frequency-domain augmentation, feature encoding and contrastive learning, and downstream fault diagnosis. The proposed framework can learn cross-condition robust features by utilizing only unlabeled source-domain data.
First, raw vibration time series signals are fed into the model and mapped to the frequency domain via fast Fourier transform, to explicitly extract fault-related characteristic frequency information of bearings. Based on the obtained frequency-domain representations, an adaptive frequency-domain augmentation module is introduced to impose learning-driven, differentiated perturbations on the spectrum. Relying on a frequency component importance learning mechanism, this module adaptively distinguishes fault-critical and non-critical frequency components. Mild perturbations are applied to critical components to preserve consistent fault semantics, while intensive large-amplitude disturbances are imposed on non-critical components to simulate spectral variations under diverse operating conditions. Consequently, pseudo-target domain samples with inter-domain discrepancies are generated from source-domain raw samples.
Subsequently, the original frequency-domain sample x f and its augmented counterpart x ˜ f are simultaneously fed into a parameter-shared feature encoder f θ ( ) to generate the corresponding feature representations:
z 0 = f θ X f , z 1 = f θ X ˜ f
The extracted features will then be fed into a two-layer projector to obtain projection vectors for InfoNCE loss calculation during pre-training. In the unsupervised contrastive learning stage, an instance-wise InfoNCE contrastive loss is adopted to regularize the learned feature representations:
L con = log exp sim z 0 , z 1 / T k = 1 B exp sim z 0 , z k / T
where sim ( , ) denotes the cosine similarity function, B represents the batch size, and T is the temperature coefficient. This loss function enforces consistency between different frequency-domain views derived from an identical signal in the feature space, while enlarging the feature distance between distinct samples. It thereby guides the encoder to extract domain-invariant feature representations robust to variations in working conditions.
To avoid an extreme distribution of the frequency scoring vector and to prevent failure in core component identification, a weight regularization term is incorporated into the total loss function:
L reg = λ 1 F f = 1 F w f
where λ denotes the balance hyperparameter that controls the contribution of the weight regularization term to the total loss. This hyperparameter is tuned via preliminary experiments on the validation set. Subsequent concise quantitative experiments are carried out to reveal the correlation between this regularization coefficient and cross-domain diagnostic performance. The final overall loss is formulated as follows:
L total = L con + L reg
After the unsupervised pre-training is finished, all parameters within the feature encoder fθ are completely frozen and no longer updated. Only a lightweight one-layer linear classifier is introduced for downstream fault-classification tasks. The frozen encoder projects input frequency-domain signals into fixed-dimension domain-invariant features, and cross-entropy loss is utilized to optimize only the weights and biases of the linear classifier. The AdamW optimizer, learning rate, and training epochs for this linear classifier are set identically to those adopted by supervised baselines for fair comparison. During the inference phase, our framework requires neither labeled samples from target domains nor additional fine-tuning on the encoder. Reliable fault diagnosis across varying rotational speeds and loads can be achieved relying merely on the model pre-trained by single-source-domain data.
To clearly summarize the complete training and inference workflow of the proposed FDACL method, we provide the step-by-step algorithm implementation in Algorithm 1, which systematically records all core operations, including data preprocessing, adaptive frequency-domain augmentation, contrastive loss optimization, and a two-stage training strategy.
Algorithm 1 Pseudocode of FDACL
Input: Source-domain vibration dataset D s , total training epochs E
Output: Well-trained FDACL model for unseen target-domain fault diagnosis
1: Preprocess: Segment raw one-dimensional vibration signals into sample sequences
2: Initialize feature encoder, AFA module, classification head with random weights
3:   for epoch = 1 to E do
4:     Sample mini-batch samples from source-domain dataset D s
5:     Generate augmented signal views via Adaptive Frequency-Domain Augmentation
6:     Extract hierarchical domain-invariant features by dual-stream feature encoder
7:     Compute instance contrastive loss L c o n
8:     Compute AFA regularization loss L r e g
9:     Calculate total loss L t o t a l = L c o n + L r e g
10:     Update network parameters by minimizing L t o t a l with Adam optimizer
11:   end for
12:  Freeze all parameters of the pre-trained feature encode f θ
13:  Train lightweight one-layer linear classifier using cross-entropy loss
14: Inference: For unseen target-domain samples, extract features and predict fault labels
15: return Trained FDACL model
Benefiting from the above elaborate design, FDACL effectively models complex variations such as shifting rotational speeds without prior target-domain data or label information. Trained solely on data collected from a single working condition, the proposed method maintains stable and superior fault-classification accuracy when generalized to unseen operating domains.

4. Materials

This section fully introduces all experimental supporting materials adopted in this paper, including three bearing vibration datasets, hardware and software experimental platforms, and unified data preprocessing pipelines. Sample waveform visualizations and detailed parameter tables of each dataset are provided in corresponding subsections for clear reproducibility.

4.1. Experimental Hardware and Software Platform

All experiments are implemented using the PyTorch 1.13.1 deep learning framework with CUDA 11.8 for GPU acceleration. The hardware platform consists of an Intel 64 Family 6 Model 140 Stepping 1 CPU and an NVIDIA GeForce MX450 graphics card. To eliminate the influence of random fluctuations, each experiment is repeated 10 times, and the average results are recorded for analysis.

4.2. Data Preprocessing Pipeline

Before model training, unified preprocessing operations are applied to all raw vibration signals. The raw one-dimensional vibration sequences are segmented into non-overlapping samples with a fixed length of 1024 points. A fast Fourier transform (FFT) is then performed to convert time-domain waveforms into frequency-domain spectra, which are used as the input to the model. No additional filtering or denoising operations are artificially introduced, so as to preserve the original industrial noise features and realize realistic simulation of cross-domain distribution shifts.

4.3. Case Western Reserve University Bearing Dataset

Figure 5 illustrates the structure of the experimental test rig for Case Western Reserve University (CWRU) bearing fault diagnosis. This platform mainly consists of core components, including an electric motor, torque transducer, mounting base, dynamometer, and electronic controller, which are utilized to collect bearing vibration signals.
Experiments are carried out under four distinct rotational speeds to simulate practical variable-speed operating conditions. The dataset covers four types of bearing health states: normal (NA), inner race fault (IR), outer race fault (OR), and rolling element fault (RF). For each fault mode, three different damage severities are configured, with corresponding defect sizes of 0.1778 mm, 0.3556 mm and 0.5334 mm, as detailed in Table 1.
In this work, vibration signals collected from the drive-end bearing with a sampling frequency of 12 kHz are adopted. The dataset contains a total of 10 fault categories, comprehensively covering combinations of various rotational speeds and fault severities. It is well-suited for evaluating the performance of fault diagnosis algorithms under variable-speed working conditions.

4.4. Paderborn University Bearing Dataset

To further validate the generalization performance of the proposed FDACL method and eliminate the potential reliability concerns raised by the limitations of the CWRU dataset, additional experiments are conducted on the Paderborn University (PU) bearing dataset. The PU dataset contains real bearing fault samples acquired from accelerated lifetime tests conducted on a modular bearing test rig, as illustrated in Figure 6, which provides more realistic and industrially relevant fault scenarios compared to artificially seeded fault samples. The test rig consists of an electric motor, a torque transducer, a bearing test module, a rotor, and a load motor. Vibration signals are collected at a sampling frequency of 64 kHz. Six health conditions of rolling bearings are selected for experimental evaluation, including the normal condition, inner race fault, outer race fault, and rolling element fault with different damage severities.
Four distinct operating conditions are included in the PU dataset, with variations in rotational speed, load torque, and radial force. The detailed configuration of each operating domain is summarized in Table 2. Compared with the CWRU dataset, where speed variations are relatively minor and load changes are applied in a less controlled manner, the PU dataset exhibits more significant domain shifts across different operating conditions, making it a more challenging and reliable benchmark for evaluating domain generalization methods.

4.5. Wheelset Bearing Dataset from CRRC Qingdao Sifang

The configuration of the CRRC Qingdao Sifang wheelset bearing test rig adopted in this case study is illustrated in Figure 7. The platform mainly consists of key components, including a cooling fan motor, drive motor, wheelset axle, belt transmission system, test bearing, and horizontal and vertical loading devices. By coordinately adjusting these components, diverse operating states of bearings can be simulated, providing a reliable experimental platform for accurate acquisition of wheelset bearing vibration signals.
To reproduce practical variable-speed operating conditions, the bearing is operated under three distinct rotational speeds. Four bearing health states are configured on the test rig, namely normal condition, inner race fault, outer race fault and rolling element fault, so as to comprehensively evaluate the variable-speed fault diagnosis capability of the proposed method.
Detailed parameters of the bearing dataset are summarized in Table 3. Figure 8 displays raw vibration waveforms of wheelset bearings under three distinct working conditions (D0–D2). Obvious discrepancies in amplitude fluctuation characteristics and frequency distributions can be observed among signals collected under different operating conditions and health states, which distinctly reflect the data distribution shifts induced by varying working conditions.

5. Experimental Verification and Result Analysis

This chapter conducts comprehensive quantitative and qualitative analyses to verify the generalization, robustness and computational efficiency of the proposed FDACL method. Comparative experiments against state-of-the-art baselines, small-sample tests, feature visualization, computational overhead statistics, hyperparameter sensitivity analysis, and systematic ablation studies are presented in separate subsections.

5.1. Baseline Methods and Implementation Details

In this subsection, we compare the proposed FDACL with several classic and state-of-the-art DG approaches. Detailed descriptions of all comparative baselines are presented below:
(1)
Empirical risk minimization (ERM): ERM serves as the fundamental baseline and is solely trained with standard cross-entropy loss [28].
(2)
Invariant risk minimization (IRM): IRM leverages causal inference tools to formalize the mathematics of spurious and invariant correlations. It mitigates the over-reliance of machine learning systems on data biases, enabling stable generalization to unseen test distributions [29].
(3)
Risk extrapolation (REx): Proposed in [30], REx alleviates distribution shifts by minimizing risk discrepancies across training domains to reduce the model’s sensitivity to extreme variations during deployment.
(4)
Conditional contrastive domain generalization (CCDG): This method aims to maximize mutual information among samples of identical categories collected from distinct domains, while simultaneously minimizing mutual information between samples belonging to different fault classes [31].
(5)
Style-agnostic networks (SagNet): SagNet decouples domain-style encodings from categorical representations to avoid prediction bias induced by domain styles, forcing the model to prioritize intrinsic content features instead of domain-specific styles [32].
(6)
Deep Domain Confusion (DDC): A classic unsupervised domain adaptation baseline based on feature distribution alignment. DDC introduces Maximum Mean Discrepancy (MMD) loss to narrow the feature distribution gap between source and target domains without accessing any target label information. This approach matches the unsupervised training paradigm of our FDACL framework. We adopt DDC for a fair cross-paradigm comparison between self-supervised contrastive learning and traditional unsupervised feature alignment strategies [33].
(7)
Hilbert Envelope Spectrum + SVM (HSVM): We perform the Hilbert transform on raw vibration signals to extract fault-impulse-sensitive envelope spectra, then manually construct multi-dimensional feature vectors combining time-domain statistics, frequency-domain amplitudes and envelope spectral indicators. A support vector machine (SVM) with a radial basis function (RBF) kernel is utilized as the classifier for fault identification. This baseline is included to compare the adaptive feature learning superiority of FDACL against fixed handcrafted signal features [34].
Among the above baselines, ERM, IRM, REx, CCDG, and SagNet fall into supervised deep learning frameworks; DDC is an unsupervised deep domain adaptation method; and Hilbert Envelope Spectrum + SVM represents the conventional signal processing diagnostic route. To guarantee fair, consistent and credible quantitative evaluation, we unify the network architecture, training hyperparameters and dataset preprocessing rules for all deep-learning-based competitors, and align the raw signal input rules for the traditional signal processing pipeline:
(1)
FDACL and all deep learning baselines adopt the same simplified ResNet backbone illustrated in Figure 9, followed by a unified single-layer fully connected linear classifier for final fault classification.
(2)
Hyperparameter settings: We apply unified training hyperparameters across all models. The batch size is set to 64, the total number of training epochs is 300, the initial learning rate is 0.01, and the AdamW optimizer is consistently utilized.
(3)
Training pipeline division:
Figure 9. Structure of the simplified ResNet backbone network.
Figure 9. Structure of the simplified ResNet backbone network.
Sensors 26 05349 g009
Supervised DG baselines (ERM, IRM, REx, CCDG, SagNet): The backbone encoder and linear classifier are trained end-to-end for 300 epochs using fully labeled source-domain data.
Unsupervised deep learning methods (DDC, FDACL): No target labels are involved during training. For FDACL, the encoder backbone undergoes 300 epochs of self-supervised pre-training with unlabeled source signals; all backbone weights are frozen after pre-training, and only the single-layer linear classifier is further trained for another 300 epochs under identical optimization settings. The classifier fine-tuning stage involves far less computational overhead than end-to-end training of supervised methods. We fix the training iterations of the classification head to eliminate unfair comparisons caused by inconsistent fine-tuning steps.
By standardizing all experimental constraints above, we eliminate performance discrepancies originating from mismatched network structures, hyperparameters, or input data. The average diagnostic accuracy obtained under such unified settings can objectively reflect the intrinsic cross-domain generalization capacity of each algorithm.

5.2. Case Study 1: CWRU Bearing Dataset

5.2.1. Experimental Results and Analysis

To comprehensively evaluate the performance of the proposed FDACL, two experimental test scenarios are designed in this paper.
Scenario 1 (sufficient training samples): In this scenario, 80% of the samples from the source domain are allocated to the training set to simulate a circumstance with abundant training data.
Scenario 2 (limited small samples): To mimic the practical challenge of scarce training data, the number of samples per fault category was gradually reduced to construct a small-sample learning setting.
From the perspective of practical industrial deployment, an important experimental design is adopted: apart from the training samples, all remaining source-domain samples are incorporated into the target-domain test set. This design ensures that the model maintains stable performance on the original source domain while achieving favorable generalization ability toward unseen target domains, which better satisfies the requirements of real-world engineering deployment.
(1)
Scenario 1 (sufficient training samples): Under the experimental setup with abundant training samples, a complete cross-load transfer diagnostic task suite is constructed based on the CWRU dataset. The detailed partition of all transfer tasks is summarized in Table 4. All tasks uniformly perform classification for 10 bearing health and fault states (C0–C9). The diagnostic accuracy results of the 12 transfer tasks are presented in Table 5, where the best performance for each task is highlighted in bold, and the second-best result is underlined.
As shown in Table 5, the proposed FDACL does not rank first on every single cross-domain transfer task of the CWRU dataset, yet it delivers prominent and robust generalization performance, especially on the most difficult transfer scenarios. First of all, FDACL attains the optimal diagnostic accuracy on tasks A10, A11, and A12, which are recognized as high-challenge cross-working-condition transfer tasks with obvious distribution shifts between source and target domains. For other tough tasks with severe performance degradation of contrastive methods, such as A2 and A3, FDACL achieves the top-two accuracy among all deep learning baselines and significantly outperforms the traditional signal processing pipeline HSVM (Hilbert Envelope Spectrum + SVM) by a large margin. Notably, ERM, IRM, REx, CCDG, SagNet and DDC are all deep learning baselines trained with labeled source data, while HSVM relies on manually handcrafted signal features with supervised SVM classification. In stark contrast, our FDACL operates under an unsupervised pre-training paradigm and does not utilize any fault label information in the entire training stage. Even without label supervision, FDACL maintains competitive or even superior diagnostic accuracy compared with all supervised counterparts across most cross-load transfer tasks. In particular, the performance gap between FDACL and all baselines becomes wider on hard tasks (A3, A10, A12) where distribution discrepancy is severe. The traditional HSVM method suffers drastic accuracy decline under cross-domain shifts, since fixed handcrafted signal features fail to capture invariant fault characteristics under varying loads. This fully demonstrates that the proposed FDACL can automatically mine robust frequency-domain invariant representations via self-supervised contrastive learning, verifying its strong generalization ability and superiority for bearing fault diagnosis under variable operating conditions.
We employ the t-SNE dimensionality reduction technique to visualize the fault feature representations learned by all competing methods. Figure 10 illustrates the feature distribution of the challenging cross-load transfer task A10, which enables an intuitive visual comparison of the feature clustering quality across different algorithms. For the supervised baseline ERM, the extracted features exhibit severe global scattering. Most fault categories form loose clusters, and obvious overlap appears among samples belonging to C0, C1 and C4, making it impossible to generate compact, well-separated feature regions. IRM and REx deliver marginal improvements in intra-class aggregation, but prominent cross-domain dispersion persists. Samples corresponding to minor fault types spread over a wide range, and the boundaries between distinct fault clusters remain blurred and intertwined. CCDG and SagNet obtain a tighter intra-class feature concentration relative to the above methods, yet they lack sufficient discriminative capacity for highly similar fault patterns. Severe sample mixing and cluster misalignment can be observed for categories C2 and C5, and the overall feature clusters still maintain loose structures.
By contrast, the features learned by our proposed FDACL achieve outstanding aggregation performance for identical fault samples collected under disparate load conditions. Each fault category forms compact, complete and independent feature clusters. The samples of C0, C1 and C4 are clearly separated into isolated concentrated regions, which greatly suppresses feature scattering caused by cross-domain distribution shifts and minimizes inter-class overlapping areas.
In particular, C2 and C5 share highly analogous fault signatures, leading to extensive sample mixing and indistinct cluster boundaries for all baseline approaches. However, FDACL produces far more compact intra-class distributions, negligible cross-domain mixing and drastically fewer ambiguous sample points between these two similar fault modes.
In summary, compared with all supervised deep learning baselines and the traditional signal-processing-based HSVM pipeline, FDACL effectively aligns homogeneous fault features extracted under varying loads and rotating speeds. It yields well-defined cluster structures, tighter within-class feature aggregation, and wider inter-class decision margins. This superior unsupervised cross-domain feature clustering performance visually verifies the powerful invariant feature learning capability of FDACL for cross-load bearing fault diagnosis on the CWRU dataset.
Apart from diagnostic accuracy, computational overhead is a vital metric for practical bearing fault diagnosis. As shown in Table 6, FDACL adopts a two-stage training strategy: the entire encoder backbone is frozen after pre-training, and only the lightweight linear classifier is optimized. Unlike all end-to-end deep learning baselines, FDACL’s efficiency gains only appear in the training phase, while inference FLOPs and total model parameters stay consistent due to the shared backbone. All deep learning baselines (ERM, IRM, REx, CCDG, SagNet, DDC) share identical network structures, yet extra loss functions make them consume more GPU memory and training time than ERM. The traditional HSVM method has the shortest training time without neural networks or GPU support, but it suffers terrible cross-domain generalization. Benefiting from only 0.65 K trainable parameters in the fine-tuning stage, FDACL achieves the lowest training cost among all deep models. Compared with ERM, it cuts peak GPU memory by 43.1% and training time by 15.8% with superior accuracy, realizing a favorable balance between generalization and computational efficiency for industrial deployment.
We supplement Figure 11 to visualize the training loss convergence characteristics of all deep learning comparison methods on the CWRU dataset. As shown in Figure 11, FDACL achieves faster and more stable loss convergence than all supervised and unsupervised deep baselines, which intuitively verifies the superior optimization efficiency of our two-stage training strategy. Since HSVM is a traditional signal processing-SVM pipeline without iterative epoch training, it cannot be plotted in this loss curve figure, and we provide hyperparameter sensitivity analysis of HSVM as alternative visualization.
The convergence curve in Figure 11 demonstrates that FDACL achieves faster and smoother loss fitting across variable working conditions, enabling rapid model retraining for on-site equipment calibration and reducing maintenance downtime. The confusion matrix error distribution shows that traditional baselines fail to detect incipient bearing micro-faults, which would lead to unplanned shutdowns in practice; FDACL’s superior identification accuracy for subtle damage supports condition-based early maintenance instead of periodic blind disassembly. The narrow 95% confidence interval of FDACL’s test accuracy guarantees stable and reliable monitoring outputs for standardized maintenance scheduling. Overall, the proposed FDACL provides robust, interpretable diagnostic support for rolling bearing predictive maintenance in rail transit equipment, balancing operational safety and maintenance expenditure.
(2)
Scenario 2 (small-sample setting): Experiments on the CWRU dataset were carried out to evaluate generalization performance under scarce training data. Domain 3 is set as the source domain, and Domain 1 serves as the target domain.
To fully simulate practical industrial data-limited scenarios, where labeled bearing fault samples are hard and costly to collect, we gradually reduce the number of training samples drawn from the source domain to construct a series of small-sample test settings. Specifically, we fix the source domain as Domain 3 of the CWRU dataset and extract a limited number of labeled samples for each fault category as training data, where the sample size per class is sequentially set to 50, 45, 40, 35, 30, 25, 20, 15, 10, nine, eight, seven, six, five, four, three, two and, finally, one. The corresponding classification accuracy curves under all sample scales are visualized in Figure 12. As clearly reflected by the plotted curves, the majority of baseline DG models suffer sharp, severe accuracy degradation when the number of labeled samples per fault category shrinks, and the performance drop becomes particularly drastic once the per-class sample quantity falls below 10. In stark comparison, the proposed FDACL framework demonstrates remarkable small-sample generalization robustness with the flattest accuracy curve across the whole sample quantity range. Only minor accuracy loss can be observed even when training with merely one or two samples per fault class. Under all extremely scarce labeled data conditions, FDACL consistently achieves the highest diagnostic accuracy and surpasses all comparative baseline algorithms by a considerable performance gap.

5.2.2. Hyperparameter Sensitivity Analysis

To quantitatively reveal the influence of regularization weight λ on the cross-domain generalization performance of FDACL, independent sensitivity experiments are carried out on the CWRU bearing dataset. The candidate values of λ are uniformly set as { 1 × 10 4 , 5 × 10 4 , 1 × 10 3 , 5 × 10 3 , 1 × 10 2 } .
For the CWRU dataset, the average cross-domain diagnostic accuracy under different λ values is recorded in Figure 13. It can be observed that when λ is lower than λ = 1 × 10 3 , insufficient regularization fails to constrain the over-concentration of component scoring weights, resulting in weak domain-invariant feature extraction and low generalization accuracy. When λ increases to λ = 1 × 10 3 , the regularization strength reaches a reasonable balance, and FDACL achieves the highest average classification accuracy on all cross-load transfer tasks. If λ is further increased beyond λ = 1 × 10 3 , an excessive weight penalty overly suppresses the amplitude difference in frequency importance weights, which damages the model’s ability to distinguish fault-critical spectral components and gradually reduces diagnostic performance. Within the range 5 × 10 4 ~ 5 × 10 3 , the accuracy fluctuation is controlled within a narrow interval, which verifies that the model does not present strong sensitivity to λ on the CWRU dataset.

5.3. Case Study 2: Paderborn University Bearing Dataset

5.3.1. Experimental Results and Analysis

The detailed partition of all single-source generalization transfer tasks on the PU dataset is summarized in Table 7. All tasks uniformly conduct classification for six distinct bearing health conditions, including the normal condition, inner race fault, outer race fault, and rolling element fault, with different damage severities (0–5).
We systematically conduct a total of 12 cross-working-condition transfer tasks based on the Paderborn University (PU) bearing dataset, which covers multiple combinations of varying rotational speeds, radial forces, and load torques. The averaged ten-run diagnostic accuracy of all comparative methods on the four groups of cross-domain transfer subtasks is summarized in Table 8. To facilitate intuitive comparison and quantitative analysis of model performance, we adopt uniform formatting rules for the table: the highest average classification accuracy on each source-target transfer task is highlighted in bold font, while the suboptimal second-best accuracy value is marked with a solid underline, making the performance ranking of all algorithms straightforward to identify at a glance.
Taking transfer task B3 as a representative example, the classification performance can be further analyzed from the perspective of the confusion matrix, as illustrated in Figure 14. Under this cross-domain transfer scenario, the proposed FDACL achieves the highest diagnostic accuracy of 84.85 ± 2.59 %, outperforming ERM, IRM, REx, CCDG and SagNet by 8.42%, 18.60%, 11.64%, 9.40% and 7.26%, respectively. As observed from the confusion matrices, conventional domain generalization methods suffer from severe inter-class confusion, especially for fault categories with similar spectral characteristics, which leads to degraded generalization performance on unseen target domains. By contrast, FDACL yields higher diagonal values and lower off-diagonal elements in the confusion matrix. It effectively suppresses misclassification among easily confused fault classes, demonstrating that the adaptive frequency-domain augmentation module helps the model capture discriminative fault-related spectral features and mitigate feature aliasing caused by domain shifts.
We further evaluate the computational overhead on the PU dataset with severe cross-domain distribution shifts, as summarized in Table 9. All deep learning methods adopt the identical encoder backbone, so they maintain equal total parameters (7.50 K) and inference FLOPs (453.03 M), consistent with the CWRU setup. For all end-to-end baselines (ERM, IRM, REx, CCDG, SagNet, DDC), the entire network undergoes gradient updates, resulting in 7.50 K trainable parameters, higher peak GPU memory usage and longer training durations. By contrast, FDACL freezes the full pre-trained backbone and only optimizes the linear classification head, cutting trainable parameters down to merely 0.65 K. The efficiency improvement in FDACL is exclusively reflected in the training backpropagation phase, while the inference computational cost stays the same as all comparative deep models. The traditional HSVM method requires no neural network computation and achieves the shortest training time (13.24 s), yet it cannot extract deep fault features and suffers from extremely poor cross-domain diagnosis accuracy. Owing to larger domain discrepancy on the PU dataset, the peak GPU memory and training time of all deep learning models rise moderately relative to the CWRU dataset. Even under this challenging setting, FDACL still yields remarkably lower peak GPU memory and shorter training time than every end-to-end domain generalization baseline. This outcome demonstrates that our two-stage training framework effectively reduces training-side computational overhead and is highly applicable to practical industrial bearing fault diagnosis.

5.3.2. Hyperparameter Sensitivity Analysis

Independent sensitivity experiments are further conducted on the PU dataset with more obvious cross-domain distribution shifts, and the corresponding accuracy curve is plotted in Figure 15. Similar variation trends can be observed compared with the CWRU dataset, and the unified hyperparameter configuration consistent with CWRU is adopted for all PU experimental groups. When λ = 1 × 10 3 , the model gains the optimal overall generalization performance across all cross-speed and cross-load transfer tasks of PU. Too small a λ value leads to overfitting on single-source vibration samples, while an overly large λ weakens the adaptive discrimination capacity of the AFA module. Compared with the CWRU dataset, the accuracy fluctuation range of the PU dataset under varying λ is slightly wider, which is attributed to the larger domain discrepancy of working conditions. Nevertheless, the model still maintains stable accuracy near the optimal λ and will not collapse due to minor parameter deviations. Combining the experimental results of two datasets, λ = 1 × 10 3 is selected as the unified hyperparameter configuration for all comparative and ablation experiments in this paper.

5.4. Case Study 3: Wheelset Bearing Dataset from CRRC Qingdao Sifang

5.4.1. Experimental Results and Analysis

All comparative models adopted in this case study are consistent with the baseline methods employed in the previous case study, ensuring fair and unified experimental evaluation criteria across different datasets. The detailed task division and domain configuration of all cross-speed transfer tasks conducted on the CRRC Qingdao Sifang wheelset bearing dataset are summarized in Table 10. The quantitative DG diagnosis results of the proposed FDACL and other state-of-the-art baseline models under all transfer scenarios are illustrated in Table 11. Overall, the proposed FDACL achieves optimal or suboptimal diagnostic accuracy in the vast majority of cross-working-condition transfer tasks and yields stable and superior generalization performance compared with other competing methods. This phenomenon fully demonstrates the outstanding feature alignment ability and robust cross-domain adaptation capability of the proposed method. Specifically, FDACL exhibits distinct advantages in numerous challenging cross-speed generalization scenarios with severe data distribution shifts caused by rotational speed variations. For instance, in the transfer task where Domain 1 is treated as the source domain and Domain 0 as the unseen target domain, FDACL achieves a high diagnostic accuracy of 98.97%, which substantially exceeds the performance of the second-best SagNet method and obtains a significant performance improvement. Similarly, in the transfer task from source Domain 2 to target Domain 1, FDACL still maintains a promising accuracy of 96.54%, consistently outperforming other supervised baseline approaches. These comprehensive experimental results further validate that FDACL can effectively suppress negative interference from speed-induced domain discrepancies and extract stable, discriminative, and domain-invariant fault features for reliable cross-domain bearing fault diagnosis. Nevertheless, FDACL suffers a mild accuracy drop on tasks with huge speed gaps and heavy low-frequency noise. The current AFA module only optimizes spectral amplitude adjustment without dedicated time-domain denoising operations, so severe noise will partially obscure weak fault harmonics and cause slight feature aliasing. In contrast, all compared baselines adopt blind global transformation and fail to separate fault-sensitive frequency bands, leading to much more drastic performance decline under large distribution shifts.
Similarly, for the transfer task of generalizing from source Domain 2 to target Domain 1, FDACL reaches an accuracy of 96.54%, significantly higher than all competing baselines. These experimental results demonstrate that FDACL can effectively mitigate distribution discrepancies induced by rotational speed variations and enable robust extraction of discriminative fault features.
Figure 16 presents the Pareto-front comparison between diagnostic accuracy and computational overhead for all competing approaches. The left panel illustrates the trade-off between classification accuracy and peak GPU memory consumption, while the right panel describes the relationship between accuracy and total training time. It can be observed that most comparative methods occupy the right-hand region of the coordinate plane, which indicates that they require higher GPU memory resources or longer training duration to achieve competitive diagnostic results. By contrast, the red star marker corresponding to FDACL is located in the upper-left area of both panels. This position signifies that FDACL yields the highest diagnostic accuracy, meanwhile maintaining low peak GPU memory and short training time. Benefiting from the two-stage training scheme with a frozen backbone encoder, only the lightweight linear classifier head is updated during downstream adaptation, effectively reducing the volume of parameters participating in gradient backpropagation. The above results demonstrate that FDACL achieves an optimal Pareto balance between diagnostic performance and training-side computational cost, showing great application potential for practical bearing fault diagnosis scenarios.
To verify the physical interpretability of the learnable frequency weight vector in the AFA module, we quantitatively match the top-10 high-attention frequency peaks extracted by the model against the theoretical geometric fault frequencies of the CRRC Qingdao Sifang wheelset bearing. Based on the bearing geometric parameters ( d = 26 mm , D = 160 mm , Z = 16 , α = 10 ° ) and the operating speed ( n = 589   r / min ), four theoretical characteristic frequencies and their 1–5-order harmonics are calculated: inner race fault frequency BPFI = 91.10 Hz, outer race fault frequency BPFO = 65.97 Hz, rolling element fault frequency BSF = 29.43 Hz, and cage fault frequency FTFO = 4.12 Hz. A frequency tolerance window of ± 5 Hz is defined as the matching judgment threshold. The spectrum-matching verification in Figure 17 is shown below, where dashed lines with different colors correspond to the theoretical fault characteristic frequencies of four failure modes, and green triangular markers denote the key frequency peaks extracted by the AFA module. As counted in the text box on the graph, all 10 high-attention dominant frequency components extracted by the model are successfully matched to the theoretical fault fundamental frequencies or their integer harmonics within the tolerance range, achieving a 100% matching rate. This perfect one-to-one matching relationship fully proves that the adaptive frequency enhancement (AFA) module possesses strong physical interpretability. It can autonomously screen out frequency components corresponding to real bearing fault signatures from the full-band spectrum, instead of capturing meaningless random noise. This conclusion provides reliable physical mechanism support for the proposed FDACL model in the field of railway axle box bearing intelligent fault diagnosis.
To deeply interpret the DG performance of the proposed FDACL, this paper conducts a visualization analysis on raw samples and their feature vectors encoded by the model. Figure 18 presents frequency-domain signal samples under distinct rotational speeds and the corresponding feature vectors encoded by FDACL for identical fault types based on the wheelset bearing dataset from CRRC Qingdao Sifang. In the left three-dimensional plot, the red, blue, and yellow curves denote samples from the source domain D0 and two target domains D1 and D2, respectively. It can be intuitively observed that obvious discrepancies in amplitude and waveform exist among raw signals collected under different rotating speeds. In contrast, after encoding via FDACL, the corresponding feature vectors overlap heavily and are nearly identical in the feature space. This visualization result demonstrates that FDACL can effectively align feature representations of samples originating from distinct working-condition domains, which further reveals the internal mechanism behind the outstanding performance of the model on various DG tasks.

5.4.2. Ablation Experiment

Systematic ablation experiments are conducted in this study to validate the contribution of each core component within the proposed FDACL framework. Four classic frequency-domain data augmentation schemes are chosen as comparative baselines, abbreviated as FN, FM, FW, and FR, respectively. Specifically, FN injects Gaussian white noise with an SNR range of 10–20 dB into frequency-domain signals; FM randomly masks 20–80% spectral components; FW performs global amplitude scaling on the full spectrum with a scaling factor ξ ( 0 , 5 ) ; and FR applies independent random amplitude scaling r ( 0 , 5 ) to each frequency component. All four baseline methods boost data diversity via blind, unweighted amplitude distortion over the whole frequency spectrum.
As summarized in Table 12, extra ablation variants are further constructed to quantitatively analyze the independent contribution of each core component. The four frequency augmentation baselines (FN, FM, FW, FR) replace the proposed AFA module one by one, which directly reveals the performance superiority brought by the adaptive frequency band screening mechanism of AFA. The AE variant removes the unsupervised InfoNCE contrastive loss and only adopts supervised ERM loss for training, so the accuracy gap between AE and full FDACL fully demonstrates the critical generalization promotion of contrastive learning. In addition, the AT variant transfers the AFA module to raw time-domain vibration signals without frequency conversion. The obvious accuracy decline in AT proves that the designed AFA module is specially tailored for frequency-domain vibration features and possesses strong frequency-targeted optimization capability.
To verify the necessity of unsupervised contrastive learning for SDG, we construct the ERM and AE ablation variants. The ERM variant removes the entire AFA module and only adopts supervised empirical risk minimization training. The AE variant retains AFA while disabling contrastive learning, where model training relies solely on ERM loss after AFA. Furthermore, the AT variant is designed to investigate the generalization of the AFA module, which directly applies the AFA operation to raw time-domain vibration signals rather than frequency-domain spectra. Table 12 provides complete definitions for all baseline and ablation configurations, covering FN, FM, FW, FR, ERM, AE, and AT.
The proposed AFA module appears structurally similar to the combination of FW and FR, but its core mechanism is essentially distinct from conventional augmentation operations. Instead of applying identical random perturbations to all frequency bins, AFA learns trainable weights to evaluate the discriminative importance of each frequency component, splitting the spectrum into fault-critical frequency bands and trivial non-critical bands. Mild random perturbations are imposed on critical frequencies to retain intrinsic fault semantic information, whereas heavy random disturbances are assigned to non-critical bands to mimic distribution shifts induced by varying operating speeds. As a result, AFA acts as an adaptive generative augmentation strategy that balances fault semantic preservation and cross-domain distribution expansion, instead of a simple unweighted spectral transformation.
The quantitative distribution results of diagnostic accuracy are illustrated in Figure 19. The proposed FDACL achieves state-of-the-art performance across all three cross-working-condition transfer tasks (T1, T3 and T6), with its accuracy distribution tightly concentrated at high values and minimal dispersion, which strongly demonstrates the outstanding cross-domain generalization capacity of the proposed framework. The violin plots of ablation variants explicitly illustrate the sources of FDACL’s superior performance from three aspects:
First, comparing the AT variant with FDACL, we observe that the AFA module customized for frequency-domain signals delivers far better performance than directly applying augmentation operations to raw time-domain vibration signals. For bearing vibration signals, fault-related information is embedded in a set of characteristic harmonics and sidebands in the frequency domain, where the relative amplitude relationships among these spectral components carry critical fault physical semantics. When the amplitude-adjusting AFA operation is directly imposed on raw time-domain waveforms, the temporal perturbation cannot selectively act on individual frequency components. Such time-domain random scaling will arbitrarily disrupt the inherent amplitude ratios among fault characteristic frequencies, sidebands, and rotational harmonics, thereby destroying the physical correlation of fault features and contaminating fault semantic information. In contrast, performing amplitude perturbation in the frequency domain supports band-wise independent manipulation. We can apply mild perturbation to fault-dominant spectral lines to retain their relative amplitude relationships, while introducing large-range disturbance to noise-dominated irrelevant frequency bands. This frequency-selective manipulation preserves the physical harmonic structure of bearing faults, which accounts for the substantially better generalization of frequency-domain AFA over its time-domain AT counterpart.
Second, significant accuracy degradation can be observed in ERM and AE after removing unsupervised contrastive learning. The overall accuracy distribution shifts downward with distinctly reduced mean values, which confirms that unsupervised contrastive learning serves as the core constraint for learning domain-invariant discriminative fault features.
Third, compared with four conventional frequency-domain random augmentation baselines (FN, FM, FW, FR) that impose blind uniform spectral disturbances and only yield marginal performance gains, the combination of AFA and unsupervised contrastive learning enables the model to automatically distinguish fault-critical frequency components from trivial, irrelevant bands. This joint design effectively mitigates severe distribution discrepancies induced by varying operating speeds, and consequently yields the best diagnostic performance on all cross-domain transfer tasks.

6. Comparative Analysis with Additional State-of-the-Art Papers

Considering that the CWRU bearing dataset used in this paper has been widely applied in existing cross-domain fault diagnosis research, we selected five representative, recently published studies focusing on variable-load bearing fault diagnosis based on the CWRU dataset for comprehensive horizontal comparison, including TAD-Mix [35], AG-WPEA-DC [36], PKECA [37], DEMDGN [38], and DFS-DG [39]. All cross-domain transfer experimental settings are unified to be consistent with our work, and the average diagnostic accuracy reported in each study is summarized in Table 13.
As illustrated in Table 13, the average diagnostic accuracy of the proposed FDACL reaches 92.68% across all cross-load transfer tasks on the CWRU bearing dataset, showing competitive overall performance compared with five mainstream SOTA variable-load fault diagnosis methods. PKECA and TAD-Mix achieve higher average accuracies of 95.38% and 94.72%, relying on global distribution matching and intensive time-domain data augmentation to mitigate overall domain discrepancies. Differently, FDACL integrates adaptive frequency enhancement and contrast learning to capture subtle fault frequency information from raw vibration signals. Even though its overall average accuracy is marginally inferior to PKECA and TAD-Mix, FDACL achieves optimal results on transfer tasks with distinct fault frequency discrepancies and outperforms DEMDGN and DFS-DG in average accuracy.

7. Conclusions

This chapter summarizes the core work, key experimental findings and engineering value of the proposed Frequency-Domain Adaptive Contrastive Learning (FDACL) framework. Consistent conclusions derived from three distinct bearing datasets are summarized, the practical advantages under scarce labeled data are discussed, and existing research limitations and future research directions are outlined.

7.1. Global Discussion

Across the CWRU, PU and CRRC wheelset bearing datasets, FDACL exhibits consistent advantages. Unlike supervised domain generalization models that rely on a large amount of labeled data, FDACL implements fully unsupervised pre-training and only requires unlabeled single-source vibration signals, which significantly reduces the data labeling cost in industrial scenarios. The specially designed AFA module can distinguish fault-critical frequency components from noise-dominated bands and implement targeted perturbation rather than blind full-spectrum disturbance, thus preserving inherent fault harmonic information during sample augmentation. Moreover, the two-stage training strategy drastically reduces the number of trainable parameters in the fine-tuning phase, cutting GPU memory usage and training duration while sustaining stable cross-domain generalization capacity, making the method more compatible with embedded industrial diagnostic devices. In addition, FDACL only suffers mild accuracy degradation under extreme small-sample settings, whereas most comparative models experience sharp performance drops, which demonstrates its strong adaptability to sparse data. Nevertheless, comprehensive experimental results on multiple datasets also reveal several obvious shortcomings of the proposed model. The frequency discrimination logic of the AFA module is only developed for single-channel, one-dimensional vibration signals, without corresponding processing strategies for multi-channel mixed monitoring signals. In addition, the hyperparameters controlling frequency perturbation intensity need manual tuning for different sampling frequencies, and the model lacks a fully self-adaptive optimization mechanism. Furthermore, the feature alignment capability of FDACL declines remarkably when there exists an enormous mechanical structure gap between source and target domains, restricting its applicability across entirely distinct types of mechanical equipment.
Despite the competitive generalization performance achieved by the proposed FDACL across three bearing datasets, this work still has an inherent physical limitation in the design of the AFA module, which we explicitly discuss here for objectivity. The current AFA module only adopts differentiated amplitude perturbation to simulate the cross-domain discrepancies of vibration signals, while it lacks independent frequency-axis scaling operations to replicate the core physical law that rotational speed variation shifts bearing fault characteristic frequencies. In real rotating machinery systems, different speeds directly change the fundamental frequency and harmonic positions of fault signatures; simple amplitude adjustment cannot fully reproduce such frequency migration phenomena. Therefore, when the target domain has an extremely large speed gap relative to the source domain and obvious frequency offset exists, the data samples generated by AFA cannot completely fit the real spectral distribution of unseen working conditions, leading to the slight diagnostic accuracy decline observed in several difficult cross-speed transfer tasks. In future research, we will integrate frequency stretching/compression transformation into the augmentation pipeline to jointly simulate both amplitude and frequency shifts caused by variable speeds, further improving the physical completeness of the augmentation strategy. Apart from this core limitation, the AFA module is only applicable to single-channel vibration signals at present and requires manual adjustment of spectrum segmentation thresholds for different sampling frequencies, which will also be optimized in follow-up studies.

7.2. Concluding Remarks

This subsection concludes the core contributions, experimental results and engineering significance of FDACL. It summarizes unified laws from three bearing datasets and proposes future improvements against the model’s drawbacks.
Aiming to address label scarcity and accuracy drops under varying working conditions, this work builds the FDACL single-source generalization model by combining adaptive frequency augmentation and unsupervised contrastive learning. The AFA module distinguishes fault-related frequency bands with learnable weights and generates diverse pseudo samples via differentiated perturbation. Guided by InfoNCE loss, the model extracts speed- and load-robust fault features without any target-domain labels.
Validated on the CWRU, PU and CRRC datasets, FDACL matches or outperforms mainstream supervised DG methods on most cross-working tasks and maintains stable performance under extremely limited samples. Visualization and ablation tests confirm the necessity of each component. This method provides a low-label, high-generalization solution for industrial bearing diagnosis.

Author Contributions

Methodology, K.D.; Validation, K.D.; Software, K.D. and P.Q.; Visualization, P.Q.; Writing—Original Draft, K.D.; writing—Review and Editing, P.Q. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Science and Technology Project of the Jiangxi Provincial Department of Education (Grant No. GJJ2200626).

Institutional Review Board Statement

This study did not involve human participants or animal experiments, and therefore ethical review and approval were not required for this research.

Informed Consent Statement

Not applicable.

Data Availability Statement

Dataset available on request from the authors. Informed consent was obtained from all subjects involved in the study.

Acknowledgments

The authors would like to thank the editor and referees for their valuable comments.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yue, W.; Wang, H. DG-LDM: A Dual-Guided Latent Diffusion Model for Data Augmentation in Imbalanced Fault Diagnosis. Adv. Eng. Inform. 2026, 71, 104405. [Google Scholar] [CrossRef] [Scilit]
  2. Jia, P.; Yang, X.; Tang, Y.; Liu, B.; Li, W.; Liu, W. Universal Attack Based Focal Enhancement for Bearing Fault Diagnosis. Knowl.-Based Syst. 2026, 348, 116344. [Google Scholar] [CrossRef] [Scilit]
  3. Lei, Y.; Yang, B.; Jiang, X.; Jia, F.; Li, N.; Nandi, A.K. Applications of Machine Learning to Machine Fault Diagnosis: A Review and Roadmap. Mech. Syst. Signal Process. 2020, 138, 106587. [Google Scholar] [CrossRef] [Scilit]
  4. Yu, K.; Fu, Q.; Ma, H.; Lin, T.R.; Li, X. Simulation Data Driven Weakly Supervised Adversarial Domain Adaptation Approach for Intelligent Cross-Machine Fault Diagnosis. Struct. Health Monit. 2021, 20, 2182–2198. [Google Scholar] [CrossRef] [Scilit]
  5. Arias Chao, M.; Kulkarni, C.; Goebel, K.; Fink, O. Fusing Physics-Based and Deep Learning Models for Prognostics. Reliab. Eng. Syst. Saf. 2022, 217, 107961. [Google Scholar] [CrossRef] [Scilit]
  6. Zhang, L.; Zhang, H.; Xiao, Q.; Zhao, L.; Hu, Y.; Liu, H.; Qiao, Y. Numerical Model Driving Multi-Domain Information Transfer Method for Bearing Fault Diagnosis. Sensors 2022, 22, 9759. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Wang, C.; Huang, C.; Zhang, L.; Xiang, Z.; Xiao, Y.; Qian, T.; Liu, J. Denoising Diffusion Implicit Model Combined with TransNet for Rolling Bearing Fault Diagnosis Under Imbalanced Data. Sensors 2024, 24, 8009. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. An, Y.; Zhang, K.; Chai, Y.; Zhu, Z.; Liu, Q. Gaussian Mixture Variational-Based Transformer Domain Adaptation Fault Diagnosis Method and Its Application in Bearing Fault Diagnosis. IEEE Trans. Ind. Inf. 2024, 20, 615–625. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, C.; Wang, Z.; Liu, Q.; Dong, H.; Liu, W.; Liu, X. A Comprehensive Survey on Domain Adaptation for Intelligent Fault Diagnosis. Knowl.-Based Syst. 2025, 327, 114109. [Google Scholar] [CrossRef] [Scilit]
  10. Peng, Y.; Shao, H.; Xiao, Y.; Wang, J.; Liu, B. Dual-Stage Interpretable Domain Generalization Fault Diagnosis: Integrating Prior Knowledge and Gradient-Weighted Class Activation Mapping. Eng. Appl. Artif. Intell. 2026, 166, 113655. [Google Scholar] [CrossRef] [Scilit]
  11. Xiao, Y.; Shao, H.; Yan, S.; Wang, J.; Peng, Y.; Liu, B. Domain Generalization for Rotating Machinery Fault Diagnosis: A Survey. Adv. Eng. Inform. 2025, 64, 103063. [Google Scholar] [CrossRef] [Scilit]
  12. Deng, Z.; Hu, N.; Yang, Y.; Yin, Z.; Luo, H.; Lin, X.; Hao, J.; Zhou, Z. Physics-Guided Counterfactual Causal Learning for Explainable Single-Source Domain Generalization Cross-Machine Bearing Fault Diagnosis. Adv. Eng. Inform. 2026, 69, 103955. [Google Scholar] [CrossRef] [Scilit]
  13. Zhao, C.; Shen, W. Adaptive Open Set Domain Generalization Network: Learning to Diagnose Unknown Faults under Unknown Working Conditions. Reliab. Eng. Syst. Saf. 2022, 226, 108672. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, R.; Huang, W.; Lu, Y.; Zhang, X.; Wang, J.; Ding, C.; Shen, C. A Novel Domain Generalization Network with Multidomain Specific Auxiliary Classifiers for Machinery Fault Diagnosis under Unseen Working Conditions. Reliab. Eng. Syst. Saf. 2023, 238, 109463. [Google Scholar] [CrossRef] [Scilit]
  15. Zhao, C.; Shen, W. Imbalanced Domain Generalization via Semantic-Discriminative Augmentation for Intelligent Fault Diagnosis. Adv. Eng. Inform. 2024, 59, 102262. [Google Scholar] [CrossRef] [Scilit]
  16. Zhao, C.; Zio, E.; Shen, W. Domain Generalization for Cross-Domain Fault Diagnosis: An Application-Oriented Perspective and a Benchmark Study. Reliab. Eng. Syst. Saf. 2024, 245, 109964. [Google Scholar] [CrossRef] [Scilit]
  17. Zhao, C.; Shen, W. Adversarial Mutual Information-Guided Single Domain Generalization Network for Intelligent Fault Diagnosis. IEEE Trans. Ind. Inf. 2023, 19, 2909–2918. [Google Scholar] [CrossRef] [Scilit]
  18. Kim, I.; Wook Kim, S.; Kim, J.; Huh, H.; Jeong, I.; Choi, T.; Kim, J.; Lee, S. Single Domain Generalizable and Physically Interpretable Bearing Fault Diagnosis for Unseen Working Conditions. Expert Syst. Appl. 2024, 241, 122455. [Google Scholar] [CrossRef] [Scilit]
  19. Wang, J.; Ren, H.; Shen, C.; Huang, W.; Zhu, Z. Multi-Scale Style Generative and Adversarial Contrastive Networks for Single Domain Generalization Fault Diagnosis. Reliab. Eng. Syst. Saf. 2024, 243, 109879. [Google Scholar] [CrossRef] [Scilit]
  20. Wei, J.; Wang, Q.; Zhang, G.; Wang, Y.; Zhao, H. Discrete Wavelet Convolutional Network with Cross-Contrast Perturbation for Single Domain Generalization in Fault Diagnosis. Mech. Syst. Signal Process. 2025, 239, 113286. [Google Scholar] [CrossRef] [Scilit]
  21. Zhang, S.; Shan, S.; Shen, Y.; Li, C.; Zhang, K.; Wei, H. Causal Feature-Aware Dynamic Graph Neural Network for Open-Set Domain Generalization Diagnosis in Multi-Sensor Systems. Adv. Eng. Inform. 2026, 70, 104227. [Google Scholar] [CrossRef] [Scilit]
  22. Zhang, K.; Cai, R.; Zhou, C.; Liu, Y. Debiased Contrastive Learning for Time-Series Representation Learning and Fault Detection. IEEE Trans. Ind. Inf. 2024, 20, 7641–7653. [Google Scholar] [CrossRef] [Scilit]
  23. Eldele, E.; Ragab, M.; Chen, Z.; Wu, M.; Kwoh, C.-K.; Li, X.; Guan, C. Self-Supervised Contrastive Representation Learning for Semi-Supervised Time-Series Classification. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 15604–15618. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Yue, Z.; Wang, Y.; Duan, J.; Yang, T.; Huang, C.; Tong, Y.; Xu, B. TS2Vec: Towards Universal Representation of Time Series. In Proceedings of the 36th AAAI Conference on Artificial Intelligence; AAAI: Palo Alto, CA, USA, 2022; Volume 36, pp. 8980–8987. [Google Scholar] [CrossRef] [Scilit]
  25. Tonekaboni, S.; Eytan, D.; Goldenberg, A. Unsupervised Representation Learning for Time Series with Temporal Neighborhood Coding. arXiv 2021. [Google Scholar] [CrossRef] [Scilit]
  26. Meng, Q.; Qian, H.; Liu, Y.; Cui, L.; Xu, Y.; Shen, Z. MHCCL: Masked Hierarchical Cluster-Wise Contrastive Learning for Multivariate Time Series. In Proceedings of the 37th AAAI Conference on Artificial Intelligence; AAAI: Palo Alto, CA, USA, 2023; Volume 37, pp. 9153–9161. [Google Scholar] [CrossRef] [Scilit]
  27. Yu, K.; Lin, T.R.; Ma, H.; Li, X.; Li, X. A Multi-Stage Semi-Supervised Learning Approach for Intelligent Fault Diagnosis of Rolling Bearing Using Data Augmentation and Metric Learning. Mech. Syst. Signal Process. 2021, 146, 107043. [Google Scholar] [CrossRef] [Scilit]
  28. McGoff, K.; Nobel, A.B. Empirical Risk Minimization and Complexity of Dynamical Models. Ann. Stat. 2020, 48, 2031–2054. [Google Scholar] [CrossRef] [Scilit]
  29. Yin, Z.; Wang, J.; Xiao, Y.; Zhao, H.; Li, T.; Zhou, W.; Liu, A.; Liu, X. Improving Deepfake Detection Generalization by Invariant Risk Minimization. IEEE Trans. Multimed. 2024, 26, 6785–6798. [Google Scholar] [CrossRef] [Scilit]
  30. Crane, A.L.; Ferrari, M.C.O. Evidence for Risk Extrapolation in Decision Making by Tadpoles. Sci. Rep. 2017, 7, 43255. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Ragab, M.; Chen, Z.; Zhang, W.; Eldele, E.; Wu, M.; Kwoh, C.-K.; Li, X. Conditional Contrastive Domain Generalization for Fault Diagnosis. IEEE Trans. Instrum. Meas. 2022, 71, 1–12. [Google Scholar] [CrossRef] [Scilit]
  32. Wu, J.; Liu, H.; Shi, W.; Liu, M.; Li, W. Style-Agnostic Representation Learning for Visible-Infrared Person Re-Identification. IEEE Trans. Multimed. 2024, 26, 2263–2275. [Google Scholar] [CrossRef] [Scilit]
  33. Zhong, J.; Lin, Q.; Huang, F.; Lei, Y.; Xiao, S. Deep Imbalanced Adversarial Domain Adaptation Network for Cross Domain Fault Diagnosis. Meas. Sci. Technol. 2026, 37, 276105. [Google Scholar] [CrossRef] [Scilit]
  34. Yang, Y.; Yu, D.; Cheng, J. A Fault Diagnosis Approach for Roller Bearing Based on IMF Envelope Spectrum and SVM. Measurement 2007, 40, 943–950. [Google Scholar] [CrossRef] [Scilit]
  35. Ren, H.; Wang, J.; Zhu, Z.; Zhang, Y.; Zhang, S. Targeted Augmentation Domain-Mixed Network for Single-Source Domain Generalization Fault Diagnosis. IEEE Trans. Reliab. 2026, 75, 1925–1938. [Google Scholar] [CrossRef] [Scilit]
  36. Feng, Z.; Tong, Q.; He, Y.; Lu, F.; Wang, B.; Jiang, X.; Du, S.; Zhao, J.; Zhu, R. Attention-Guided Wavelet Packet Energy Autoencoder with Distribution Consistency for Single-Source Domain Generalization Fault Diagnosis. Meas. Sci. Technol. 2026, 37, 276004. [Google Scholar] [CrossRef] [Scilit]
  37. Lu, F.; Tong, Q.; Jiang, X.; Du, X.; Xu, J.; Huo, J. Prior Knowledge Embedding Convolutional Autoencoder: A Single-Source Domain Generalized Fault Diagnosis Framework under Small Samples. Comput. Ind. 2025, 164, 104169. [Google Scholar] [CrossRef] [Scilit]
  38. Guo, Y.; Ju, G.; Zhang, J. A Domain Generalization Network for Imbalanced Machinery Fault Diagnosis. Sci. Rep. 2024, 14, 25447. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Cai, H.; Yang, B.; Xue, Y.; Li, J.; Xu, Y.; Yang, X.; Ye, J. Dynamic Feature Separation Domain Generalization for Bearing Fault Diagnosis. Eng. Res. Express 2024, 6, 045264. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Conceptual schematic of multi-source domain generalization and single-source domain generalization tasks.
Figure 1. Conceptual schematic of multi-source domain generalization and single-source domain generalization tasks.
Sensors 26 05349 g001
Figure 2. Conceptual schematic diagram of unsupervised contrastive learning.
Figure 2. Conceptual schematic diagram of unsupervised contrastive learning.
Sensors 26 05349 g002
Figure 3. Adaptive frequency-domain augmentation module.
Figure 3. Adaptive frequency-domain augmentation module.
Sensors 26 05349 g003
Figure 4. Overall framework of the proposed FDACL.
Figure 4. Overall framework of the proposed FDACL.
Sensors 26 05349 g004
Figure 5. CWRU test rig.
Figure 5. CWRU test rig.
Sensors 26 05349 g005
Figure 6. PU dataset test rig.
Figure 6. PU dataset test rig.
Sensors 26 05349 g006
Figure 7. Test rig of Qingdao Sifang wheelset bearing.
Figure 7. Test rig of Qingdao Sifang wheelset bearing.
Sensors 26 05349 g007
Figure 8. Visualization of vibration signals across different domains.
Figure 8. Visualization of vibration signals across different domains.
Sensors 26 05349 g008
Figure 10. t-SNE visualization results under transfer task A10.
Figure 10. t-SNE visualization results under transfer task A10.
Sensors 26 05349 g010
Figure 11. Variation in training loss with training epochs on the CWRU dataset.
Figure 11. Variation in training loss with training epochs on the CWRU dataset.
Sensors 26 05349 g011
Figure 12. Results for the small sample size case.
Figure 12. Results for the small sample size case.
Sensors 26 05349 g012
Figure 13. Sensitivity analysis of the balance coefficient λ on the CWRU dataset.
Figure 13. Sensitivity analysis of the balance coefficient λ on the CWRU dataset.
Sensors 26 05349 g013
Figure 14. Confusion matrices for task B3 on the PU dataset.
Figure 14. Confusion matrices for task B3 on the PU dataset.
Sensors 26 05349 g014
Figure 15. Sensitivity analysis of the balance coefficient λ on the PU dataset.
Figure 15. Sensitivity analysis of the balance coefficient λ on the PU dataset.
Sensors 26 05349 g015
Figure 16. Computational complexity of the model on the Qingdao Sifang bearing dataset.
Figure 16. Computational complexity of the model on the Qingdao Sifang bearing dataset.
Sensors 26 05349 g016
Figure 17. Matching verification between AFA-extracted key frequencies and theoretical bearing fault frequencies.
Figure 17. Matching verification between AFA-extracted key frequencies and theoretical bearing fault frequencies.
Sensors 26 05349 g017
Figure 18. Feature-encoding results of the proposed FDACL method.
Figure 18. Feature-encoding results of the proposed FDACL method.
Sensors 26 05349 g018
Figure 19. Results of the ablation studies.
Figure 19. Results of the ablation studies.
Sensors 26 05349 g019
Table 1. Parameters of the CWRU bearing dataset.
Table 1. Parameters of the CWRU bearing dataset.
Health ConditionDomain LabelLoad (HP)Rotational Speed (rpm)Sampling Frequency (kHz)Fault Severity (mm)
NA, IR,
OR, RF
00179712 kHz0.1778
1117720.3556
2217500.5334
3317300.1778
Table 2. Operating condition configurations of the PU dataset.
Table 2. Operating condition configurations of the PU dataset.
Domain LabelLoad Torque (Hm)Radial Force (N)Speed (rpm)
00.710001500
10.71000900
20.110001500
30.74001500
Table 3. Parameters of Qingdao Sifang bearing dataset.
Table 3. Parameters of Qingdao Sifang bearing dataset.
Health ConditionDomain LabelSpeed (rpm)Sampling Frequency (kHz)Fault Severity (mm)
NA, IR,
OR, RF
058920IR: 10 × 30
OR: 10 × 45
RF: 3 × 35
1786
2983
Table 4. Transfer task details of the CWRU bearing dataset.
Table 4. Transfer task details of the CWRU bearing dataset.
Task NumberSource DomainTarget DomainLabel
A101C0~C9
A202
A303
A410
A512
A613
A720
A821
A923
A1030
A1131
A1232
Table 5. Diagnostic results of the CWRU dataset. (Note: Values in bold represent the optimal results, and underlined values represent the suboptimal results.)
Table 5. Diagnostic results of the CWRU dataset. (Note: Values in bold represent the optimal results, and underlined values represent the suboptimal results.)
TaskMethod
ERM (%)IRM (%)REx (%)CCDG (%)SagNet (%)DDC (%)HSVM (%)FDACL (%)
A198.41 ± 0.4098.14 ± 0.7797.91 ± 1.5196.01 ± 1.0596.78 ± 0.9995.64 ± 1.0288.21 ± 2.1497.65 ± 1.08
A293.84 ± 1.4893.11 ± 2.7891.73 ± 5.8088.29 ± 2.9991.96 ± 1.9396.07 ± 0.0985.14 ± 2.2193.27 ± 1.74
A368.22 ± 3.1469.41 ± 4.1767.16 ± 8.6664.71 ± 5.8367.32 ± 4.4889.96 ± 2.0168.47 ± 2.1475.56 ± 5.01
A496.98 ± 1.2595.95 ± 0.5496.36 ± 0.7894.82 ± 2.1294.12 ± 1.9492.68 ± 4.0285.41 ± 0.0793.66 ± 2.64
A599.24 ± 0.4698.72 ± 1.6299.23 ± 1.0998.44 ± 1.1999.47 ± 0.4698.01 ± 1.2184.01 ± 3.2597.90 ± 1.05
A684.54 ± 3.6883.17 ± 3.5985.82 ± 4.0685.60 ± 4.2687.51 ± 3.2596.45 ± 3.1477.65 ± 5.2189.26 ± 3.44
A794.03 ± 1.1293.95 ± 1.2293.24 ± 2.1292.44 ± 1.5491.02 ± 1.4994.01 ± 2.2179.64 ± 1.0495.05 ± 1.37
A898.36 ± 0.1597.78 ± 0.9298.11 ± 0.4597.07 ± 0.7998.23 ± 0.3896.69 ± 1.2493.07 ± 6.0797.05 ± 0.73
A997.39 ± 0.7097.12 ± 0.7696.42 ± 3.8791.43 ± 2.9097.78 ± 0.6296.54 ± 4.4889.25 ± 8.5098.45 ± 0.96
A1084.75 ± 3.8384.30 ± 2.9183.16 ± 3.4584.63 ± 2.6982.70 ± 3.1084.65 ± 2.0167.25 ± 3.4786.38 ± 1.83
A1193.71 ± 1.3991.99 ± 1.9193.19 ± 1.7092.77 ± 1.1393.51 ± 1.9592.01 ± 3.4790.21 ± 2.5791.39 ± 1.99
A1294.39 ± 1.3193.45 ± 1.4993.19 ± 1.2892.31 ± 0.8493.65 ± 1.4893.03 ± 0.3488.75 ± 0.2696.57 ± 1.64
Table 6. Comparison of computational overhead among different domain generalization methods in the CWRU dataset. (Note: Values in bold represent the optimal results.)
Table 6. Comparison of computational overhead among different domain generalization methods in the CWRU dataset. (Note: Values in bold represent the optimal results.)
ModelTotal Params (K)Trainable Params (K)FLOPs (M)Peak GPU Mem (MB)Time (s)
ERM7.507.50453.03142682.29
IRM7.507.50453.031542157.88
REx7.507.50453.031564161.45
CCDG7.507.50453.031580163.71
SagNet7.507.50453.031572164.24
DDC7.507.50453.031530155.32
HSVM----12.35
FDACL7.500.65453.0381269.27
Table 7. Transfer task details of the PU bearing dataset.
Table 7. Transfer task details of the PU bearing dataset.
Task NumberSource DomainTarget DomainLabel
B1010~5
B202
B303
B410
B512
B613
B720
B821
B923
B1030
B1131
B1232
Table 8. Diagnostic results of the PU dataset. (Note: Values in bold represent the optimal results, and underlined values represent the suboptimal results.)
Table 8. Diagnostic results of the PU dataset. (Note: Values in bold represent the optimal results, and underlined values represent the suboptimal results.)
TaskMethod
ERM (%)IRM (%)REx (%)CCDG (%)SagNet (%)DDC (%)HSVM (%)FDACL (%)
B121.79 ± 2.5728.34 ± 6.2628.55 ± 2.3932.66 ± 1.4432.16 ± 2.5030.52 ± 3.1241.26 ± 4.3569.30 ± 4.69
B290.42 ± 2.0582.73 ± 5.8588.85 ± 2.9791.16 ± 1.3190.74 ± 0.6485.37 ± 4.2148.71 ± 3.9286.05 ± 3.16
B376.43 ± 2.4567.25 ± 8.3473.21 ± 3.8775.45 ± 2.6877.59 ± 1.7378.62 ± 3.5846.33 ± 5.1784.85 ± 2.59
B442.29 ± 5.1935.51 ± 9.6840.85 ± 4.9539.45 ± 3.9050.33 ± 5.0348.76 ± 4.0240.15 ± 3.6470.67 ± 6.07
B550.55 ± 4.0339.35 ± 9.0146.76 ± 3.7347.93 ± 4.1254.60 ± 2.4652.18 ± 3.8543.89 ± 4.0874.51 ± 2.74
B642.17 ± 3.3332.34 ± 7.1839.51 ± 2.9441.59 ± 3.1546.31 ± 3.6844.27 ± 3.6942.07 ± 3.3171.20 ± 3.91
B793.93 ± 1.4171.19 ± 1.6693.27 ± 0.6593.78 ± 1.4194.58 ± 1.4792.35 ± 2.1749.24 ± 2.8691.01 ± 1.49
B833.19 ± 2.1831.74 ± 6.7035.95 ± 2.9135.12 ± 1.7037.64 ± 2.0836.82 ± 3.2540.68 ± 4.7365.97 ± 5.54
B979.18 ± 2.1759.64 ± 1.6177.82 ± 3.3777.46 ± 2.7277.34 ± 2.0978.56 ± 2.9445.12 ± 3.4582.38 ± 2.38
B1080.99 ± 0.8764.04 ± 1.2481.33 ± 0.9181.67 ± 1.2082.70 ± 1.3982.15 ± 2.6847.56 ± 3.0287.72 ± 1.83
B1139.57 ± 1.8638.02 ± 4.8842.24 ± 2.7140.54 ± 1.2742.89 ± 2.2641.36 ± 3.0741.93 ± 4.2970.05 ± 5.20
B1275.28 ± 2.0368.17 ± 6.0475.21 ± 1.8776.44 ± 2.0778.42 ± 2.3377.19 ± 2.8544.75 ± 3.7780.53 ± 2.21
Table 9. Comparison of computational overhead among different domain generalization methods in the PU dataset. (Note: Values in bold represent the optimal results.)
Table 9. Comparison of computational overhead among different domain generalization methods in the PU dataset. (Note: Values in bold represent the optimal results.)
ModelTotal Params (K)Trainable Params (K)FLOPs (M)Peak GPU Mem (MB)Time (s)
ERM7.507.50453.03142682.29
IRM7.507.50453.031542157.88
REx7.507.50453.031564161.45
CCDG7.507.50453.031580163.71
SagNet7.507.50453.031572164.24
DDC7.507.50453.031545168.2
HSVM----13.24
FDACL7.500.65453.0381269.27
Table 10. Transfer task details of the Qingdao Sifang bearing dataset.
Table 10. Transfer task details of the Qingdao Sifang bearing dataset.
Task NameSource DomainTarget DomainLabel
T101L0~L3
T202
T310
T412
T520
T621
Table 11. Diagnostic results on the Qingdao Sifang bearing dataset. (Note: Values in bold represent the optimal results, and underlined values represent the suboptimal results.)
Table 11. Diagnostic results on the Qingdao Sifang bearing dataset. (Note: Values in bold represent the optimal results, and underlined values represent the suboptimal results.)
TaskMethod
ERM (%)IRM (%)REx (%)CCDG (%)SagNet (%)DDC (%)HSVM (%)FDACL (%)
T199.44 ± 0.3878.92 ± 4.7687.42 ± 7.9485.81 ± 6.2289.58 ± 6.7790.16 ± 5.8348.35 ± 3.2199.69 ± 0.80
T297.99 ± 0.8873.10 ± 1.3277.68 ± 4.0975.71 ± 3.1977.03 ± 2.9878.42 ± 3.5646.72 ± 2.9489.23 ± 9.05
T371.50 ± 3.3170.00 ± 5.9773.00 ± 1.6469.68 ± 0.7175.00 ± 8.6374.27 ± 4.1942.18 ± 4.0598.97 ± 1.73
T475.05 ± 0.0273.02 ± 1.5174.64 ± 0.5074.00 ± 1.3675.14 ± 1.9175.83 ± 2.6443.64 ± 3.1794.47 ± 4.36
T559.97 ± 1.1565.90 ± 0.6866.24 ± 0.2764.41 ± 1.5361.54 ± 0.8663.75 ± 3.0240.93 ± 3.6687.76 ± 5.17
T667.82 ± 1.4662.45 ± 1.0662.97 ± 1.2461.95 ± 1.5562.36 ± 0.7965.11 ± 2.8741.57 ± 2.8296.54 ± 2.51
Table 12. Descriptions of ablation method configurations.
Table 12. Descriptions of ablation method configurations.
MethodDescription
FNRandomly inject Gaussian white noise with signal-to-noise ratio ranging from 10 dB to 20 dB into frequency-domain signals
FMRandomly mask 20% to 80% of the components of frequency-domain signals
FWGlobally scale the entire frequency-domain signal by a factor ξ , where ξ ( 0 , 5 )
FRMultiply each component of the frequency-domain signal by a random scalar r , r ( 0 , 5 )
ERMSupervised training implemented via empirical risk minimization (ERM) without the AFA module
AEDisable unsupervised contrastive learning. Perform AFA first, followed by supervised training with ERM loss
ATApply the proposed AFA module to raw time-domain vibration signals
Table 13. Average classification accuracies of FDACL and five referenced SOTA methods on CWRU. (Note: Values in bold represent the optimal results)
Table 13. Average classification accuracies of FDACL and five referenced SOTA methods on CWRU. (Note: Values in bold represent the optimal results)
ModelBrief Core IdeaAvg. Accuracy
TAD-MixTime-domain data augmentation94.72
AGWPEA-DCFixed wavelet attention network93.15
PKECAStatic time-frequency prior learning95.38
DEMDGNMulti-source distribution alignment91.66
DFS-DGStatic invariant feature separation92.41
FDACLAdaptive frequency + contrast learning92.68
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

Deng, K.; Qu, P. Bearing Single-Source Domain Generalization Fault Diagnosis Method Based on Adaptive Frequency-Domain Augmentation and Unsupervised Contrastive Learning. Sensors 2026, 26, 5349. https://doi.org/10.3390/s26175349

AMA Style

Deng K, Qu P. Bearing Single-Source Domain Generalization Fault Diagnosis Method Based on Adaptive Frequency-Domain Augmentation and Unsupervised Contrastive Learning. Sensors. 2026; 26(17):5349. https://doi.org/10.3390/s26175349

Chicago/Turabian Style

Deng, Kaisheng, and Ping Qu. 2026. "Bearing Single-Source Domain Generalization Fault Diagnosis Method Based on Adaptive Frequency-Domain Augmentation and Unsupervised Contrastive Learning" Sensors 26, no. 17: 5349. https://doi.org/10.3390/s26175349

APA Style

Deng, K., & Qu, P. (2026). Bearing Single-Source Domain Generalization Fault Diagnosis Method Based on Adaptive Frequency-Domain Augmentation and Unsupervised Contrastive Learning. Sensors, 26(17), 5349. https://doi.org/10.3390/s26175349

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop