4.1. Experimental Setting
Datasets: We conducted our study on a benchmark dataset collected by the Department of Automation at Tsinghua University [
41]. The dataset was MCC5. The experimental equipment is shown in
Figure 5. This dataset is well suited for evaluating the robustness of fault diagnosis algorithms across varying operating conditions. Data were acquired on an experimental platform consisting of a three-phase asynchronous motor, two triaxial vibration accelerometers (model TES001V) mounted on the motor drive end and the gearbox intermediate shaft to record triaxial vibration acceleration, a torque sensor to measure gearbox input-shaft torque, and an optical encoder to capture key-phase and rotational-speed signals from the motor output shaft. The platform also included a two-stage parallel gearbox and a magnetic-powder brake to apply controllable torque loads. A total of 240 experimental files were produced, covering 24 steady-state and 48 transient-state operating-condition combinations. There were 12 normal status files, totaling 9,215,988 lines (accounting for approximately 5.00%), and 228 faulty status files, with a total of 175,103,772 lines (accounting for approximately 95.00%). To obtain a computationally feasible working dataset, we conducted stratified random sampling, extracting 11,000 lines from each normal file and 500 lines from each faulty file. Eventually, we obtained a candidate pool containing 246,000 records. To maintain consistency with the small-sample industrial setting and ensure computational efficiency, 50,000 records were then randomly sampled from this pool for subsequent experiments, preserving the class distribution of the constructed candidate pool. Each dataset was sampled at 12.8 kHz and contained the speed signal, torque signal, triaxial vibration signals (x, y, z) from the motor, and triaxial vibration signals (x, y, z) from the gearbox intermediate shaft. For variable-speed tests, the load was set to 10 Nm or 20 Nm; for variable-load tests, the rotational speed was fixed at 1000, 2000, or 3000 rpm. The dataset included signals for seven gear-fault conditions and one healthy condition.
This paper introduces a gearbox fault diagnosis dataset [
42] to validate the effectiveness and robustness of the proposed method. The GFD dataset contains four-channel vibration records of both broken teeth and normal conditions. At the raw signal level, the dataset itself consists of a balanced total of 2,021,119 rows. After sliding-window segmentation (window size = 1024, stride = 512), the raw GFD recordings yielded a total of 3921 windowed segments. Given this limited sample size, all available segments were retained for experimentation rather than subsampling. A stratified 80/20 split was then applied, resulting in 3137 training samples and 784 test samples. This full-utilization strategy ensured that no diagnostic information was discarded from an already small-scale benchmark. Data were acquired from four vibration sensors mounted in orthogonal directions while the load was varied from 0% to 90%. The dataset primarily covered normal conditions and tooth damage faults. These files corresponded to varying load levels, starting from 0% and incrementing in steps of 10% up to 90%.
Baselines: In order to conduct a comprehensive experimental comparison, we divided the selected models into two groups. Group 1 comprised traditional machine learning methods: XGBoost, Random Forest, and SVM. Group 2 included time-series modeling approaches, primarily LSTM, GAN, and CNN. Conventional fault diagnosis relies largely on the methods in Group 1, which typically depend on steady-state assumptions or handcrafted features and therefore struggle to accommodate mode drift under changing operating conditions. To mitigate this limitation, we also included representative methods from fault diagnosis and open-set classification as additional baselines. Support vector machines (SVMs) nonlinearly map input vectors into a high-dimensional feature space and construct a linear decision surface to ensure high generalization capability [
43]. Random Forest (RF) is employed as a data fusion tool to integrate deep feature representations, thereby improving the performance of gearbox fault diagnosis [
44]. XGBoost is a novel sparsity-aware algorithm for sparse data, which optimizes the fault discrimination boundary through gradient boosting [
45].
Common time-series models mainly include LSTM, GAN, and CNN. Zhu et al. employed CNN-Transformer to extract local features and model the long-term dependencies within the sequence [
46]. Guo et al. proposed an improved adversarial learning method to generate fault features in order to address the problem of imbalance in fault categories [
47]. In addition, the hybrid CNN-LSTM architecture effectively integrates local and global temporal features [
48]. In gearbox fault diagnosis, this paper employs four methods (deep generative modeling, a sequential modeling architecture, clustering-guided feature learning, and multi-expert fusion) to ensure effective feature enhancement and classification.
Evaluation Metrics: Considering the inherent characteristics of industrial fault diagnosis, we adopted AUC and ACC as the primary evaluation metrics to comprehensively assess model performance. These metrics are widely adopted in the fault diagnosis literature [
49]. AUC and ACC were used as the primary quantitative evaluation metrics. KDE was used as a visualization tool to compare the distributions of selected real and generated features.
Experimental Settings: We set the five core parameters as hyperparameters and conducted an analysis on each one. These parameters were: latent space dimensionality, number of expert networks, discriminator classification loss weight, generator classification loss weight, and optimizer learning rate. Each parameter was varied in the corresponding fault classification and recognition tasks. We then analyzed the specific effects of these hyperparameters on the overall model.
The data preparation was different between the two benchmarks because of scale differences. For MCC5, 50,000 records were sampled randomly (seed = 42) and split into 40,000 training and 10,000 test samples. For GFD, all 3921 windowed segments were split stratified 80/20 (3137 training and 784 test). Despite differences in absolute samples, all models were trained and tested within the same data set for fair intra-dataset comparison. Cross-dataset performance trends continue to be valid since they reflect method robustness across different data regimes. Stratified sampling was used to maintain the proportion of each category within each dataset. This work used a feature-engineering-based representation enhancement scheme, which concretely comprised differential features, cumulative statistical features (cumulative sum and cumulative mean), standardized rate-of-change features, and data structural features extracted via PCA–K-means cluster analysis (including cluster labels, distances to each cluster centroid, and principal components). The aforementioned augmentation strategies enriched the feature representations utilized by the model and were verified via the ablation experiments presented below. The model in this study was implemented with the following hyperparameter configurations: batch size = 64, maximum training epochs = 200, latent space dimension = 256, number of expert networks = 12, gradient clipping threshold = 0.5, and with each individual run using a fixed random seed. The ablation study and the detailed validation in
Section 4.6 were a representative run with seed = 42, whereas the comparative results in
Table 1 were aggregated over multiple predefined seeds. Both the generator and discriminator utilized the Adam optimizer with an initial learning rate of 0.001. For the quality verification of generated data, 500 samples were generated for each category (healthy and faulty states), yielding a total of 1000 synthetic samples. All experiments were conducted on a hardware platform equipped with an NVIDIA GeForce RTX 3080 10 GB GPU (NVIDIA Corporation, Santa Clara, CA, USA), an Intel Core i5-14400F CPU (Intel Corporation, Santa Clara, CA, USA), and 32 GB RAM (Corsair, Fremont, CA, USA). The runtime for one complete training procedure was approximately 10 h.
To ensure rigorous evaluation without data leakage, we strictly adhered to the following protocol: (1) The dataset was first split into training (80%) and test (20%) sets using stratified sampling. (2) All preprocessing steps, including standardization, correlation-based feature selection, PCA dimensionality reduction, and K-means clustering, were fitted exclusively on the training set. (3) The fitted transformations were applied to the test set without refitting. (4) No information from the test set influenced any aspect of feature engineering or model training. This protocol prevented transductive leakage and ensured that the reported metrics reflected true generalization performance.
4.2. Performance Analysis
Comparative experiments were conducted on the gearbox fault diagnosis dataset and the MCC5 dataset to validate the effectiveness of the proposed model. In these comparative experiments, ACC and AUC were adopted as the primary evaluation metrics to compare TGME-GAN with various machine learning and deep learning methods. As shown in
Table 1, the experimental results indicate that the proposed TGME-GAN model outperforms the baseline model on both datasets.
Since these models were developed for different applications, we applied the following modifications to ensure compatibility with GFD and MCC5 data: MHTA-DDPM [
50] time-frequency fusion module replaced direct feature input; SWT-VGG-LSTM [
51] stationary wavelet decomposition replaced engineered features in the three-channel format compatible with VGG backbone; CNN GTFE-Net [
52] Gram matrix-based preprocessing replaced standard engineered features; GRU-AM-TL [
53] originally uses cross-domain transfer learning; in our study, TL was disabled due to the single-domain setting. Only the GRU-attention backbone was retained and adapted to accept engineered tabular features; CNN MT-ConvFormer [
54] multi-task branches are reduced to one binary classification head. The sequence embedding layer of SECN [
55] originally devised for raw sequential signals is adapted to accept engineered tabular features. The performance reported for these baselines may differ from the original publications. This procedure guaranteed fair comparison by comparing all models using the same engineered feature set processed by PCA dimensionality reduction and cluster enhancement. Hyperparameters were tuned using same validation split as that of TGME-GAN.
MHTA-DDPM employs an improved diffusion model for data augmentation combined with a multi-scale time-frequency fusion network to achieve multi-sensor collaborative fault diagnosis of gearboxes under imbalanced conditions. RF-GRNN proposes a “classification-then-regression” multi-task framework that utilizes Random Forest (RF) for damage type classification and General Regression Neural Network (GRNN) for damage severity quantification, offering robust composite damage assessment capabilities. SWT-VGG-LSTM integrates Stationary Wavelet Transform (SWT) with VGG-LSTM, first decomposing hydraulic pump signals via SWT in the time-frequency domain and then extracting spatio-temporal features through the VGG-LSTM network for fault classification. CNN GTFE Net introduces a Gram matrix-based noise reduction strategy (GNR), processing raw signals, denoised signals, and spectra in parallel via three branches while embedding Gramian temporal feature enhancement into a CNN for end-to-end fault diagnosis. SECN incorporates a sequence embedding (SE) layer to map low-dimensional signals into high-dimensional space to eliminate distribution discrepancies, combining multi-scale separable convolutions with global pooling fully connected layers to efficiently extract fault features from rotating machinery. The GRU-AM-TL model employs a gated recurrent unit (GRU) backbone suited for time-series data, augmented with an attention mechanism (AM) for adaptive feature weighting and parameter-based transfer learning (TL) to transfer knowledge from a sample-rich source domain to a target domain with limited samples, thereby improving diagnostic accuracy. WGAN-GP is an improved GAN variant that replaces the weight clipping of vanilla WGAN with gradient penalty in the discriminator loss to enforce Lipschitz constraints, stabilize training, and enhance generation quality. CNN MT-ConvFormer establishes a multi-task framework fusing CNN and Transformer architectures, leveraging shared layers for global feature extraction alongside task-specific branches and redundancy filtering mechanisms to simultaneously handle multiple fault diagnosis tasks. All baseline models were trained on the same engineered feature set processed by PCA to ensure fair comparison.
Contemporary deep models, including GANs and CNN-LSTM, frequently exhibit feature redundancy and lack expert-guided mechanisms. For example, the original GAN can generate augmented samples but uses a simplistic discriminator, yielding a modest AUC of 0.6953 on the gearbox dataset. Likewise, CNN-LSTM combines convolutional and recurrent elements but does not incorporate dynamic gating or expert-based decision modules, which limits its performance. By contrast, the proposed TGME-GAN embeds a CNN-gated clustering sequence with mixture-of-experts (MoE) network into the GAN framework. This architecture facilitates the model’s capability to identify and classify subtle fault signals.
4.3. Ablation Study
Ablation studies were conducted on two fault diagnosis datasets (for the gearbox fault diagnosis dataset and the MCC5 dataset, see
Table 2) to quantify the contribution of each component in the proposed model. In
Table 2, GFD represents the Gearbox Fault Diagnosis dataset, and TGME represents the TGME-GAN model. Beginning with a baseline GAN, we successively added LSTM, the gating mechanism, and CNN to obtain intermediate models H1, H2, and H3 and then compared these with the full TGME-GAN, which further includes clustering and sequential feature learning. We evaluated models using AUC and ACC to capture both discriminative ability and overall predictive performance. Results show steady improvements as modules are added, confirming the contribution and necessity of each component in the final architecture. All ablation experiments described in this section were based on a single representative training run with a random seed of 42. Under this run, the corresponding full model (TGME-GAN) achieved the following:ACC = 0.9051 and AUC = 0.9631 on the GFD dataset and ACC = 0.8626 and AUC = 0.9118 on the MCC5 dataset. All percentage decreases cited in the ablation discussion were calculated relative to these single-run baselines. Multi-seed mean ± standard deviation results are reported in
Table 1 (GFD: ACC = 0.9022 ± 0.0151, AUC = 0.9611 ± 0.0147; MCC5: ACC = 0.8614 ± 0.0114, AUC = 0.9128 ± 0.0132).
Values in this table are derived from a single representative run (seed = 42) to ensure fair comparison across ablation variants under identical initialization. These values may differ slightly from the multi-seed averages reported in
Table 1. This ablation study is based on a baseline GAN framework and incrementally builds four variants. H1 adds an LSTM module to the baseline GAN to capture long-term temporal dependencies in the time-series data. H2 extends H1 by incorporating a gating mechanism to improve selective attention to critical temporal features. H3 further integrates a CNN module into H2 to extract local spatial or frequency-domain characteristics and thus increase sensitivity to complex fault patterns. TGME-GAN (full model) builds on H3 by introducing a clustering-guided sequential modeling mechanism to enable explicit structural modeling and optimization with respect to fault categories. The performance gap between each ablated variant and the full TGME-GAN model was quantified using AUC and ACC, and the differences are reported in a “gains” column (negative values indicate that TGME-GAN achieves superior performance). This comparison makes clear the incremental contribution of each added component to the overall diagnostic capability.
The foundational role of LSTM: On the GFD dataset, model H1 attained an AUC of 0.7683 and an ACC of 0.6899, which were substantially lower than those of TGME-GAN (AUC: 0.9631, ACC: 0.9051). Results on the MCC5 dataset show that LSTM alone (model H1, AUC: 0.7470) could fully capture complex fault patterns that exhibit high dimensionality and time-varying dynamics. This limitation was mitigated by incorporating a gating mechanism into the model H1 (yielding the H2 model), thereby enhancing the model’s adaptability to complex fault patterns. On the MCC5 dataset, the H2 model achieved an AUC of 0.8287 and an ACC of 0.7440, representing improvements of 0.0817 and 0.0441, respectively, over model H1. The H3 model was developed by integrating a CNN into the H2 architecture to capture local patterns in vibration and sensor signals. This enhancement increased the AUC by 0.1083 and the ACC by 0.0975 on the GFD dataset, while on the MCC5 dataset, the AUC and ACC improved by 0.0118 and 0.0392, respectively. Finally, the TGME-GAN model was constructed by integrating a clustering sequence module into the H3 architecture, resulting in further performance enhancement. On the GFD dataset, the AUC increased from 0.8816 to 0.9631 (0.0815) and the ACC improved from 0.8218 to 0.9051 (+0.0833). On the MCC5 dataset, the AUC reached 0.9118 and the ACC reached 0.8626. These results demonstrate that the clustering sequence module effectively enhances both the generalization capability and discriminative power of the model.
Table 2 reports incremental ablation. The following paragraph discusses component removal from the full TGME-GAN model, On the GFD dataset, the full model (TGME) achieved an ACC of 0.9051 and an AUC of 0.9631. Removing the MoE discriminator (replacing it with a single MLP discriminator) resulted in the most significant performance degradation: ACC dropped to approximately 0.8533 (a decrease of ∼5.7%) and AUC to approximately 0.9145 (a decrease of ∼5%). This confirms the critical role of the multi-expert gating mechanism in capturing data distribution differences under heterogeneous operating conditions. Removing the auxiliary classification head reduced ACC to approximately 0.8815 (a decrease of ∼2.4%) and AUC to approximately 0.9452 (a decrease of ∼1.8%), indicating that the additional supervisory signals provided by the auxiliary classification task are essential for learning discriminative feature representations. Replacing the CNN-LSTM generator with a simple MLP caused ACC to drop to approximately 0.8567 (a decrease of ∼4.8%) and AUC to approximately 0.9298 (a decrease of ∼3.3%), validating the advantages of CNN’s local perception and LSTM’s temporal modeling capabilities in generating high-quality synthetic samples. Removing multi-scale temporal features led to an ACC of approximately 0.8423 (a decrease of ∼6.3%) and an AUC of approximately 0.9187 (a decrease of ∼4.4%), demonstrating that dynamic features are indispensable for capturing the temporal evolution patterns of vibration signals. Removing K-means clustering labels reduced ACC to approximately 0.8356 (a decrease of ∼6.9%) and AUC to approximately 0.9124 (a decrease of ∼5.1%), indicating that the distributional structure captured by unsupervised clustering provides useful geometric information for the model. Removing centroid distance features caused ACC to drop to approximately 0.8298 (a decrease of ∼7.5%) and AUC to approximately 0.9067 (a decrease of ∼5.6%), confirming the importance of similarity metrics between samples and cluster centers. Finally, removing PCA dimensionality reduction resulted in an ACC of approximately 0.8187 (a decrease of ∼8.6%) and an AUC of approximately 0.8956 (a decrease of ∼6.7%), suggesting that PCA not only reduces feature dimensionality but also plays a key regularization role by eliminating redundant information. The MCC5 dataset exhibited a highly consistent trend, although with more pronounced metric differentiation: the full model achieved an ACC of 0.8626 and an AUC of 0.9118. Removing the MoE discriminator reduced ACC to 0.8213 (a decrease of ∼4.8%) and AUC to 0.8706 (a decrease of ∼4.5%), indicating that this module has a slightly greater impact on the sharpness of classification boundaries than on overall ranking capability. Removing the auxiliary classification head lowered ACC to 0.8304 (a decrease of ∼3.7%) and AUC to 0.8789 (a decrease of ∼3.6%); the similar magnitudes of decline reflect its relatively balanced contribution to both threshold-sensitive and threshold-insensitive metrics. Replacing the CNN-LSTM generator with an MLP caused ACC to drop to 0.8127 (a decrease of ∼5.8%) and AUC to 0.8561 (a decrease of ∼6.1%); here, the AUC decline surpassed that of ACC, suggesting that the degradation in generation quality disrupts sample ranking more severely than does hard classification. Removing multi-scale temporal features reduced ACC to 0.7958 (a decrease of ∼7.7%) and AUC to 0.8374 (a decrease of ∼8.2%); the more prominent AUC drop corroborates the critical value of temporal dynamic information in distinguishing hard samples. Removing K-means clustering labels lowered ACC to 0.7862 (a decrease of ∼8.9%) and AUC to 0.8283 (a decrease of ∼9.2%), again showing a slightly larger AUC decline, which indicates that clustering structure is particularly important for distinguishing tail-end samples. Removing centroid distance features caused ACC to drop to 0.7775 (a decrease of ∼9.9%) and AUC to 0.8196 (a decrease of ∼10.1%); the widening gap suggests that the absence of distance metrics primarily undermines the model’s ranking confidence in ambiguous regions. Finally, removing PCA reduced ACC to 0.7691 (a decrease of ∼10.8%) and AUC to 0.8107 (a decrease of ∼11.1%).
The ablation results show that all variant models perform worse than the full TGME-GAN, and the performance gap increases as components are removed. These findings indicate that the modules interact and synergize rather than operate independently and that no single component can reproduce the full advantages of the integrated architecture. Ablation experiments verify that the four core modules (clustering embedding, temporal feature engineering, CNN-LSTM generator and gated mixture-of-experts discriminator) deliver positive synergy. Comparative tests on alternative network architectures demonstrate that the proposed four-module integrated scheme achieves state-of-the-art performance, which serves as the optimal design for industrial gearbox fault diagnosis. The ablation study demonstrates that four core modules, namely LSTM for temporal modeling, a gating mechanism for selective feature attention, CNN for local pattern perception, and clustering sequence modeling for fault categories, are each necessary. LSTM provides the capacity to represent long-range temporal dynamics. The gating mechanism dynamically emphasizes informative features while suppressing irrelevant or noisy ones. The CNN detects localized fault signatures, such as impacts and resonances, in sensor signals. The clustering sequence modeling exploits the intrinsic structure of fault categories to refine feature representations. On both the GFD dataset and the MCC5 dataset, TGME-GAN achieves consistently high diagnostic accuracy. Beyond validating the design rationale for each module, these findings offer guidance for future work in industrial fault diagnosis, especially in multimodal feature fusion, structured representation learning, and robust modeling under complex real-world operating conditions.
4.4. In-Depth Analysis
4.4.1. Temporal Modeling with LSTM-Enhanced GAN
In this study of gearbox fault diagnosis, we adopted a GAN-based framework that integrates an LSTM architecture. Gear fault measurements are time series: sensor outputs such as vibration, torque, and rotational speed show strong correlations between adjacent time points. LSTM networks capture long-range dependencies and evolving dynamics, so they model fault progression more realistically than do fully-connected networks and produce more authentic temporal feature distributions. The standard GAN uses a multilayer perceptron (MLP) generator, which assumes feature independence and ignores temporal dynamics. Replacing the MLP with an LSTM-equipped generator enables the model to learn temporal dependencies among features and to produce samples that better reflect physical realism. In addition, we adopted a conditional GAN formulation in which both the generator and the discriminator receive the class label (fault = 0/1) as an additional input, thereby enforcing label consistency.
Ablation experiments show that the GAN + LSTM model attains a higher AUC than does the baseline GAN, reflecting enhanced discriminative capability and more realistic temporal feature modeling. We also visualized and analyzed the generated gear fault data.
Figure 6, which uses kernel density estimation (KDE) plots, illustrates the overlap and separability between the two classes in the embedding space.
From the perspectives of data quality assessment and model performance, the AUC reaches 0.747, and the discriminator achieves a classification ACC of 0.809 on the generated samples, suggesting that the generator has successfully learned structural characteristics associated with faults. The KDE analysis primarily focuses on key operational variables of the gearbox: rotational speed and torque. For the GAN + LSTM model, KDE shows that the generated data reproduce the real-data statistical distributions, capture the fault-induced multimodal variations in speed, and emulate the high-load shifts in torque. The generated and actual density curves are highly similar in shape, peak position, and tail behavior. Therefore, the model can produce synthetic data with clear physical meaning and faithful statistical properties, supplying relatively high-quality data for downstream fault-detection tasks.
In summary, the proposed model’s effectiveness was validated from multiple perspectives, including KDE density plots and the discriminator’s classification accuracy. KDE analysis demonstrates that the statistical distribution of the generated data closely matches that of the real data, indicating that the model is capable of learning and reproducing fault-related dynamic characteristics. The discriminator attains 80.9% classification accuracy on generated samples, which is substantially higher than random chance, confirming that the synthetic data maintain strong semantic consistency. Integrating LSTM markedly improves the temporal coherence and physical plausibility of the generated sequences, making the GAN + LSTM framework better suited to industrial time-series fault data than MLP-based GANs. Consequently, the GAN + LSTM model can produce high-quality gear fault data that enhance fault diagnosis in small samples and thereby support intelligent industrial diagnostics.
4.4.2. Gated MoE Discriminator for Fault Detection
We replace the traditional discriminator (which uses a single feedforward network to map all inputs) with a multi-expert mixture mechanism governed by a gating network. The gated discriminative network comprises multiple expert subnetworks, each learning distinct local feature patterns (for example, different feature subspaces or combinations of vibration characteristics under varying operating conditions). The gating network assigns a weight to each expert, increasing model capacity while avoiding overfitting because only a subset of experts is activated for any given sample. In conditional GANs, the discriminator must both distinguish real from generated samples and classify sample labels (failure = 0/1). The gated structure lets the discriminator select experts according to category or feature subspace, enabling more sensitive judgments of the “pseudo-authenticity” of generated samples. Consequently, this yields richer and more stable gradient signals for the generator, mitigating common GAN training problems such as vanishing gradients and mode collapse. The mixture-of-experts (MoE) architecture integrated with a gating mechanism demonstrates ensemble learning properties. Within this framework, individual experts extract features from diverse perspectives, while the gating network performs soft voting by assigning adaptive weights. When combined with regularization techniques such as dropout and batch normalization, this architecture substantially enhances the model’s generalization capability.
The incorporation of a gating network resulted in improved AUC and ACC values. As illustrated in
Figure 7, the MoE architecture allows each expert to specialize in different data subpatterns, thereby promoting diversity and complementarity among the learned representations.
The experimental results illustrate the cosine similarity between the outputs of different experts. The generally low similarity values (approaching zero) and the absence of high redundancy (similarity > 0.7) suggest that the experts have diversified their representations rather than collapsing into identical mappings. While some pairs exhibit negative correlations, the primary observation is that the gating mechanism successfully encourages diversity among experts. This diversification allows the ensemble to cover a broader range of feature subspaces compared to a single discriminator, potentially contributing to the model’s robustness.
4.4.3. CNN-LSTM Fusion for Local-Global Feature Learning
For local pattern modeling, the generator input is “noise + label.” Inside the generator, the noise is treated as a pseudo-temporal signal and reshaped with unsqueeze into a 1D reshaped latent vector of shape [batch, 1, latent-dim + 1]. The CNN processes this pseudo-sequence to extract local correlations, capturing dependencies among adjacent dimensions of the noise vector. In contrast to multi-sensor time-series outputs of the model (for example, vibration signals along x, y, and z axes), measured data from real systems often exhibit local smoothness or periodicity. The Convolutional Neural Network (CNN), composed of convolutional and pooling layers, identifies basic features and combines them into higher-level hierarchical structures (such as periodic influences or harmonic components), enabling the generator to produce data that align with physical reality. In the CNN-LSTM hybrid architecture, the CNN extracts local spatial or short-range sequential features and supplies them to the LSTM for temporal modeling. This generative strategy better reflects the signal-generation mechanisms inherent to mechanical systems.
As shown in
Figure 8, the minimum area under the curve (AUC) value was 0.54, with pronounced fluctuations observed during the first eight checkpoints (corresponding to the first 80 epochs). At the 21st checkpoint (corresponding to approximately the 200th epoch), the AUC value stabilized at around 0.85. In the AUC curve graph, the x-axis label 1–21 represents the checkpoint number, and the evaluation results are recorded every 10 epochs. Despite initial instability, the final performance indicates that the overall network, comprising CNN, LSTM, and mixture of experts (MoE), has strong modeling capability. The heatmap shows activation values across 128 convolutional channels and 31 sequence positions; brighter colors (yellow and green) denote stronger activation of a channel at a given position. The lack of continuous band-like or block-like high-response regions implies that the CNN did not learn dominant, rigid local motifs. Instead, most channels display modest responses, while a minority show relatively higher activation, indicating that the CNN captured combinations of latent variables and developed a discernible activation structure. A clear distinction appears near the end of the sequence, confirming that the CNN extracts a form of local dependency and uses it to separate healthy from faulty conditions. The averaged CNN activation curves encode class-specific information as distinct local patterns, and the eventual rise of AUC to 0.85 further validates that the CNN contributes meaningfully to overall model performance. The localized activation points in the heatmap also indicate that the CNN has learned local interaction patterns among latent dimensions. The marked difference in activation patterns at position 30 between healthy and faulty samples demonstrates the CNN’s ability to exploit local context for discrimination. Moreover, the non-overlapping activation curves across classes confirm that the CNN generates distinct responses to inputs from different categories.
4.4.4. Clustering-Guided Structure-Aware Generation
Raw signals exhibit complex distributional structure that binary labels (0/1) do not fully capture. We apply PCA and K-means clustering to discover latent geometric partitions in the feature space. Metadata shows that the resulting clusters (, silhouette ) separate primarily by speed (, ) rather than load (, ) or fault labels (, ). Therefore, these clusters reflect data-driven distributional structure rather than predefined physical regimes. Nevertheless, incorporating distance-to-centroid features improves model performance by encoding each sample’s topological position in latent space, providing the discriminator with richer geometric context (ablation study shows AUC gain on MCC5). The circular t-SNE pattern further suggests that the model learns a continuous degradation manifold rather than discrete fault categories, which the MoE gating mechanism can exploit for adaptive feature routing. As a result, decision boundaries become more precise, and heterogeneous samples are less likely to be grouped into the same class, which would otherwise produce ambiguous decisions. Sequential feature engineering captures temporal dynamics because gearbox states evolve over time (for example, vibrations that increase gradually). We generate first-order difference, cumulative mean, normalized change rate, and other time-series features, so the model can approximate trends even without access to original time-series windows. These enhancements supply CNN-LSTM generators with richer dynamic priors, helping synthetic data to match real data not only in static distributions but also in patterns of change. The gating network (MoE) synergizes with structured inputs to enhance representational capacity. A single neural network struggles to model multiple fault modes simultaneously; however, our framework’s discriminator employs an expert network. When inputs include clustering information, the gating network more easily learns strategies such as “different clusters correspond to different experts,” achieving conditional specialization where each subpattern is managed by a dedicated expert.
As shown in
Figure 9, the distribution map plotted by reducing the dimensionality of intermediate discriminator features via t-SNE exhibits a circular structure, in which blue samples (healthy condition) and orange samples (faulty condition) are intertwined. This visualization demonstrates that the model has acquired complex nonlinear decision boundaries instead of being restricted to simple linear classification, which is consistent with the high AUC value obtained by the model. The MoE structure can assign feature extraction tasks to different degradation stages and hand them over to specially trained experts for processing so that even without global category separation, the model can capture local discriminative clues. From a visual perspective, this configuration can generate high-quality synthetic data and reveal the structure of the data. Although clusters reflect speed rather than fault labels, this aligns with gearbox physics where fault signatures are speed-modulated. Topological priors help the MoE discriminator learn and operate within the fault boundaries related to the operating conditions, enabling MoE to learn speed-adaptive fault boundaries.
4.5. Parameter Sensitivity Analysis
In this study, we used AUC and ACC as evaluation metrics to perform a sensitivity analysis of hyperparameters on two representative gearbox fault diagnosis datasets. We focused on five core parameters: latent space dimensionality, number of expert networks, discriminator classification loss weight, generator classification loss weight, and optimizer learning rate. Each parameter was varied in the corresponding fault classification and recognition tasks. We then analyzed the specific effects of these hyperparameters on the overall model. Results are presented in
Figure 10 and
Figure 11.
The two parameters (latent-dim and expert) decide the model feature representation capability and the diversity of expert routing. The experiments show that both have a very “inverted U” curve. In the Gearbox Fault Diagnosis dataset, the peak is reached when latent-dim is 256, and in the more complex MCC5 dataset with more features, the best latent-dim is 512. It can be seen that the latent space dimension needs to be matched with the complexity of the data. The optimal number of experts is 12 in both datasets. An appropriate expert scale can ensure the specificity of features while effectively avoiding the problems of low expert utilization and routing redundancy.
The direct weight of the adversarial loss determines (loss-D and loss-G) the balance of game between generator and discriminator. Low loss-D leads to incomplete adversarial supervision and random guessing, and high loss-G disrupts training stability. Stronger generator signal and weak but stable discriminator feedback are the best combination for maintaining dynamical balance between adversarial training and generalize very well across datasets.
Learning rate is the most sensitive test parameter. LR = 0.001 achieves the best convergence speed and training stability on both datasets (especially MCC5 dataset). Except the one which needs to be adaptively adjusted according to the complexity of the data set (latent-dim), all other four parameters behave exactly the same on two very different data sets, demonstrating the robustness and cross-domain transferability of the hyperparameter configuration of the proposed model. To ensure statistical rigor, the comparative experiments reported in
Table 1 were repeated with multiple predefined random seeds. On the MCC5 dataset, TGME-GAN achieves
and
; on the Gearbox Fault Diagnosis dataset, it achieves
and
. Compared to the strongest baseline MHTA-DDPM, TGME-GAN improves AUC by
on MCC5 while achieving substantially better accuracy on Gearbox Fault Diagnosis (
). The low standard deviations across all methods demonstrate stable performance. Regarding computational cost, the 12-expert MoE discriminator contains
M parameters (Gearbox) and approximately
M parameters (MCC5), with the generator contributing
M, totaling
M and approximately
M respectively. Training was conducted on an Intel i5-14400 CPU with Python 3.8; each epoch required approximately 180 s (Gearbox) or 200 s (MCC5), with a total training time of approximately 10 h over 200 epochs. Inference latency was
ms per sample on CPU, meeting real-time requirements for industrial monitoring. Expert utilization analysis shows an average routing probability of
per expert (theoretical uniform distribution), with maximum usage at
and minimum at
, confirming balanced specialization without collapse. The combination of dropout (
), gradient clipping (
), and early stopping via ReduceLROnPlateau effectively mitigates overfitting, as evidenced by the relatively small standard deviations of the proposed TGME-GAN across the repeated runs.
4.6. Comprehensive Multi-Dimensional Validation of Model Optimality
To fully validate TGME-GAN, we evaluated its diagnostic performance, the fidelity of the synthesized data, and the training stability on the GFD and MCC5 datasets. The comprehensive indicators reported in this section (PR-AUC, F1 score, sensitivity, specificity, synthetic data quality indicators, and training dynamics) are based on the results of a single representative training run with a random seed of 42. On the GFD dataset, the model achieves a PR-AUC of 0.9531, an F1-score of 0.8998, a sensitivity of 0.9138, and a specificity of 0.8833. The false-positive rate (FPR) is 0.1167 and the miss rate is 0.0862. Precision reaches 0.8862, confirming low false alarms. On MCC5, the PR-AUC is 0.8903, the F1-score is 0.8491, the sensitivity is 0.8516, the specificity is 0.8671, the FPR is 0.1329, the miss rate is 0.1484, the accuracy is 0.8626, the ROC-AUC is 0.9118, and the precision is 0.8466. For synthetic data quality, MMD values are 0.1211 (GFD) and 0.2829 (MCC5). FID-style distances are 11.86 (GFD) and 39.22 (MCC5). Average Wasserstein distances are 0.4258 (GFD) and 0.7162 (MCC5), with per-feature ranges of 0.0292–0.6085 (GFD) and 0.1424–0.9520 (MCC5). Variance ratios (Fake/Real) are 1.0721 (GFD) and 0.8309 (MCC5); real/generated variance/std averages are 0.9895/0.9939 vs. 1.0609/1.0280 (GFD) and 1.0965/1.0333 vs. 0.9110/0.9358 (MCC5). Class-conditional coverage for fault samples is 0.0730 (GFD) and 0.0350 (MCC5), with healthy coverage at 0.0770 and 0.0010, respectively. Downstream classification accuracy using only synthetic data reaches 0.9260 (GFD) and 0.9010 (MCC5). Training dynamics show stable convergence. On GFD, peak AUC of 0.9725 occurs at epoch 110; learning rate reductions at epochs 7, 13, and 19 ensure smooth optimization. Final evaluation yields an accuracy of 0.9051 and an of ROC-AUC 0.9631. On MCC5, AUC stabilizes above 0.92 after epoch 130, with a final accuracy 0.8626 and an ROC-AUC 0.9118. Adaptive learning rate scheduling prevents divergence throughout 200 epochs on both datasets. In summary, the consistently high PR-AUC and F1-scores across both datasets confirm the model’s robustness to distribution heterogeneity and limited fault representation in industrial fault diagnosis. The reported MMD/FID-style distances and near-unity variance ratios suggest that the generated samples retain aspects of the real-data distribution and variance. Stable training convergence with adaptive learning rate scheduling further validates the architectural reliability of TGME-GAN, collectively proving its optimality for gearbox fault diagnosis under heterogeneous operating conditions.