Dual-Branch Deep Learning with Dynamic Stage Detection for CT Tube Life Prediction

Chen Zhu, Yuedan Liu, Qin Zhibin, Haojie Li, Siyuan Xie, Liangxin Fan, Qilin Liu, Jin HuangSensors 2025 · DOI

TL;DR

This paper introduces DDLNet, a novel dual-branch deep learning architecture for predicting the remaining useful life (RUL) of CT X-ray tubes. By combining a residual self-attention BiLSTM for long-term dependencies and a dilated temporal convolutional network for multi-scale feature extraction, along with a dynamic phase detector and a custom loss function, DDLNet significantly outperforms existing methods in predicting CT tube lifespan, crucial for preventing costly downtime in healthcare.

What Problem Does This Paper Address?

CT scanners are vital medical devices, but their X-ray tubes have a finite lifespan and can fail unexpectedly. These failures lead to significant equipment downtime, disrupting patient care and diagnosis, and are a major maintenance cost. Existing methods for predicting the remaining useful life (RUL) of these tubes struggle because CT tube degradation isn't linear; it occurs in distinct phases (stable and degradation) with complex temporal patterns. Single deep learning models often fail to capture these multi-stage variations and long-term dependencies effectively, leading to inaccurate predictions. This paper aims to bridge this gap by developing a more robust and adaptive RUL prediction system.

Methods

The core of the proposed solution is the Dual-Branch Deep Learning Network (DDLNet). It features two parallel branches:

  • Residual Self-Attention BiLSTM (RSA-BiLSTM): This branch leverages a CNN-QKV generator to extract features and create query, key, and value representations. It then employs a "forward-looking" self-attention mechanism to capture temporal patterns and state transitions. Finally, a bidirectional LSTM processes these enhanced features to model long-term dependencies.
  • Dilated Temporal Convolutional Network (D-TCN): This branch uses multi-layer dilated convolutions to build a large receptive field, enabling it to capture multi-scale temporal features and effectively model non-linear degradation patterns.

A dynamic phase detector is integrated to identify whether the CT tube is in its stable phase (≥30 days of remaining life) or degradation phase (<30 days). This allows the system to adapt its prediction strategy accordingly, defaulting to a fixed RUL of 30 for the stable phase and using the D-TCN output for the degradation phase.

To address sample imbalance (more stable phase data than degradation) and improve prediction accuracy across different RUL ranges, a dynamically weighted triplet mixed loss function is introduced. This function combines base value loss, phase classification loss, and smoothness loss, with adaptive weights that adjust during training based on prediction error and other metrics.

Datasets

The study utilized data from the IoMT system of West China Hospital. Specifically, they collected complete lifecycle data from six CT X-ray tubes (Tube 1 to Tube 6). Each tube generated approximately 45 parameters. This dataset, while limited in size, represents real-world operational data from medical equipment. The authors employed a Leave-One-Out Cross-Validation (LOOCV) strategy, meaning each of the six tubes was used as a test set exactly once, with the remaining five used for training and validation. This approach is crucial for robust evaluation with small datasets.

Key Insights and Ideas

  • Multi-Phase Degradation is Key: The most significant insight is that CT tube degradation isn't a single, smooth process. Recognizing and adapting to distinct "stable" and "degradation" phases is critical for accurate RUL prediction.
  • Dual-Branch Synergy: Combining a BiLSTM (for long-term memory) with a TCN (for multi-scale temporal patterns) in parallel proves more effective than either alone, capturing a richer representation of the degradation process.
  • Adaptive Loss Functions Matter: Standard loss functions struggle with imbalanced datasets and varying prediction needs. A dynamically weighted loss function that prioritizes different aspects (value, phase, smoothness) based on the current prediction state is crucial for optimizing performance.
  • Attention for Temporal Transitions: The "forward-looking" attention mechanism in the RSA-BiLSTM branch is a clever way to explicitly model how the system's state at one time step influences the next, which is vital for understanding degradation transitions.

Key Results

The proposed DDLNet model demonstrated superior performance compared to five other models (LSTM, Transformer, CNN-BiLSTM-Attention, CNN-LSTM, CNN-LSTM-Attention) across six CT tube datasets using LOOCV. The average evaluation metrics were:

  • Mean Squared Error (MSE): 2.92 (significantly lower than others)
  • Mean Absolute Error (MAE): 0.46 (significantly lower than others)
  • Coefficient of Determination (R²): 0.77 (significantly higher than others)

Notably, on Tube 5, where other models had very low R² values (e.g., LSTM at 0.0018), DDLNet achieved an R² of 0.8576. The model also showed the lowest variability (std: 1.39 for MSE, 0.18 for MAE, 0.10 for R²) across different tubes, indicating consistent performance. Ablation studies confirmed that each component of DDLNet (pre-training, RSA-BiLSTM, TCN, and the composite loss function) contributed significantly to the overall performance.

Limitations and Future Work

The authors acknowledge several limitations:

  • Data-Driven Nature: The model is purely data-driven, which can limit interpretability and clinical trust.
  • Single-Institution Evaluation: The study was conducted on data from a single hospital, which may limit the generalizability of the findings to different healthcare settings, CT scanner manufacturers, or tube types.

Future work directions include:

  • Domain Adaptation: Developing techniques to improve model adaptability across diverse CT scanner models, tube types, and operational environments.
  • Practical System Integration: Engineering robust data pipelines, real-time prediction algorithms, and integration protocols for operational clinical systems.
  • Model Interpretability and Clinical Trust: Exploring explainable AI techniques to provide clear reasoning for predictions, quantify uncertainty, and build trust with clinicians and regulatory bodies.
  • Hybrid Modeling: Combining data-driven approaches with physics-based models.
  • Multi-Institutional Validation: Expanding validation to datasets from multiple institutions.

Summary updated

Abstract

CT scanners are essential tools in modern medical imaging. Sudden failures of their X-ray tubes can lead to equipment downtime, affecting healthcare services and patient diagnosis. However, existing prediction methods based on a single model struggle to adapt to the multi-stage variation characteristics of tube lifespan and have limited modeling capabilities for temporal features. To address these issues, this paper proposes an intelligent prediction architecture for CT tubes' remaining useful life based on a dual-branch neural network. This architecture consists of two specialized branches: a residual self-attention BiLSTM (RSA-BiLSTM) and a multi-layer dilation temporal convolutional network (D-TCN). The RSA-BiLSTM branch extracts multi-scale features and also enhances the long-term dependency modeling capability for temporal data. The D-TCN branch captures multi-scale temporal features through multi-layer dilated convolutions, effectively handling non-linear changes in the degradation phase. Furthermore, a dynamic phase detector is applied to integrate the prediction results from both branches. In terms of optimization strategy, a dynamically weighted triplet mixed loss function is designed to adjust the weight ratios of different prediction tasks, effectively solving the problems of sample imbalance and uneven prediction accuracy. Experimental results using leave-one-out cross-validation (LOOCV) on six different CT tube datasets show that the proposed method achieved significant advantages over five comparison models, with an average MSE of 2.92, MAE of 0.46, and R<sup>2</sup> of 0.77. The LOOCV strategy ensures robust evaluation by testing each tube dataset independently while training on the remaining five, providing reliable generalization assessment across different CT equipment. Ablation experiments further confirmed that the collaborative design of multiple components is significant for improving the accuracy of X-ray tubes remaining life prediction.
BibTeX
@inproceedings{zhu2025dual,
  author = {Chen Zhu and Yuedan Liu and Qin Zhibin and Haojie Li and Siyuan Xie and Liangxin Fan and Qilin Liu and Jin Huang},
  title = {{Dual-Branch Deep Learning with Dynamic Stage Detection for CT Tube Life Prediction}},
  booktitle = {Sensors},
  year = {2025},
  doi = {10.3390/s25154790},
}
Figure