Physics-guided cross-domain adaptation: a hierarchical hybrid transformer framework with contrastive learning for robust fault diagnosis under variable working conditions
Authors:
Open Access
- 16 June 2026
- journal article
- Published by Springer Nature in Scientific Reports
- Vol. 16 (1)
Abstract
The domain shift problem induced by variable working conditions severely constrains the cross-domain generalization capability of data-driven fault diagnosis models. Existing methods lack collaborative modeling of the multi-scale time-frequency characteristics of vibration signals at the feature extraction level. They also neglect the constraint guidance of fault physical mechanisms on the feature alignment process at the domain adaptation level. To address these deficiencies, this paper proposes a physics-guided cross-domain adaptation framework-a Hierarchical Hybrid Transformer network with Contrastive Learning (PgHHT-CL). The framework comprises three key designs. At the feature encoding level, a hierarchical hybrid Transformer encoder is constructed. It achieves collaborative extraction of transient impulse components and periodic modulation components in vibration signals through gated interactive fusion of local convolutional branches and global self-attention branches across multiple abstraction levels. At the domain adaptation level, a physics-guided cross-domain contrastive learning strategy leverages the order-invariance relationship between fault characteristic frequencies and rotational frequency from bearing dynamics prior knowledge to constrain the construction of cross-domain positive and negative sample pairs. The feature alignment process is thereby required to satisfy physical consistency beyond statistical distribution matching. At the training optimization level, a joint optimization objective integrates classification loss, cross-domain contrastive loss, and physical consistency loss, with a progressive weight adjustment strategy to ensure stable convergence of multi-task learning. Extensive cross-condition transfer experiments on two public bearing datasets from Case Western Reserve University and Paderborn University show that PgHHT-CL achieves average diagnostic accuracies of 94.94 ± 0.32% and 90.26 ± 0.50%, respectively, attaining the highest mean accuracy across all 18 transfer tasks among the representative state-of-the-art baselines selected for comparison. The framework also exhibits notable robustness under large domain shift and strong noise conditions. Ablation experiments and feature visualization analyses further validate the effectiveness and physical interpretability of the physics-guided strategy and hierarchical hybrid architecture.Keywords
This publication has 34 references indexed in Scilit:
- Multi-sensor data fusion-enabled lightweight convolutional double regularization contrast transformer for aerospace bearing small samples fault diagnosisAdvanced Engineering Informatics, 2024
- Data-driven bearing health management using a novel multi-scale fused feature and gated recurrent unitReliability Engineering & System Safety, 2023
- A self-attention based contrastive learning method for bearing fault diagnosisExpert Systems with Applications, 2023
- Towards trustworthy rotating machinery fault diagnosis via attention uncertainty in transformerJournal of Manufacturing Systems, 2023
- Gradient aligned domain generalization with a mutual teaching teacher-student network for intelligent fault diagnosisReliability Engineering & System Safety, 2023
- A novel domain generalization network with multidomain specific auxiliary classifiers for machinery fault diagnosis under unseen working conditionsReliability Engineering & System Safety, 2023
- Diagnosisformer: An efficient rolling bearing fault diagnosis method based on improved TransformerEngineering Applications of Artificial Intelligence, 2023
- Intelligent fault diagnosis of rotating machinery using a multi-source domain adaptation network with adversarial discrepancy matchingReliability Engineering & System Safety, 2022
- Deep imbalanced domain adaptation for transfer learning fault diagnosis of bearings under multiple working conditionsReliability Engineering & System Safety, 2022
- Domain adaptation network base on contrastive learning for bearings fault diagnosis under variable working conditionsExpert Systems with Applications, 2022