Abstract
Accurate monitoring of the Depth of Anesthesia (DOA) is essential for ensuring patient safety and optimizing drug delivery during surgical procedures. While Target-Controlled Infusion (TCI) systems for propofol and remifentanil are standard, predicting the resulting Bispectral Index (BIS) remains challenging due to individual physiological variability and the non-linear nature of drug interactions. This paper introduces a hybrid deep learning framework that combines classical pharmacokinetic-pharmacodynamic (PK-PD) models with a Transformer-based architecture. By incorporating Gated Residual Networks (GRN) for covariate processing and Label Distribution Smoothing (LDS) to mitigate data imbalance, the proposed model achieves superior predictive accuracy, particularly during critical transitions in anesthesia depth.
Introduction
In modern clinical practice, anesthesiologists rely on the Bispectral Index (BIS)—a dimensionless scale from 0 to 100 derived from electroencephalogram (EEG) signals—to monitor a patient's state of consciousness. Maintaining an optimal BIS range (typically 40–60) is vital; values that are too high risk intraoperative awareness, while values that are too low can lead to post-operative complications.
Current predictive methods face significant hurdles. Traditional PK-PD models, such as the Schnider and Minto models, often require manual parameter adjustments and struggle to capture the rapid, idiosyncratic responses of individual patients. Conversely, standard deep learning approaches like Long Short-Term Memory (LSTM) networks frequently suffer from "over-smoothing," where the model fails to predict sudden spikes or drops in BIS because it over-optimizes for the stable maintenance phase. Furthermore, clinical datasets are inherently imbalanced, with the vast majority of data representing the maintenance phase, leaving "few-shot" states like induction or emergence poorly represented.
Methodology
The researchers developed a multi-stage architecture designed to leverage both medical domain knowledge and the representative power of neural networks.
Hybrid Architecture
The framework is divided into three primary components:
- Pharmacodynamic Encoder: Rather than discarding established medical theory, the model uses a traditional PK-PD model to generate a baseline "pseudo-historical" BIS. An LSTM layer then acts as a "correction" mechanism, learning to adjust this baseline for time lags and individual biases.
- Gated Residual Networks (GRN): To process static patient data (e.g., age, weight, height, gender), GRNs are employed. These networks allow the model to dynamically suppress irrelevant variables and focus on the physiological features most relevant to drug metabolism.
- Temporal Fusion Decoder: A Transformer-based multi-head attention mechanism is used to learn the complex, non-linear interactions between propofol and remifentanil over time.
Addressing Data Imbalance
A core innovation of this work is the application of Label Distribution Smoothing (LDS). In regression tasks involving continuous values like BIS, standard models tend to bias toward the mean. As shown in the dataset distribution, the "many-shot" region (BIS 30–50) dominates the training data.
By applying LDS and a reweighted loss function, the model is forced to prioritize accuracy in the "few-shot" regions (very deep or very shallow anesthesia), which are often the most clinically critical periods.
Results and Discussion
The model was rigorously tested using the open-access VitalDB dataset (180 training cases, 152 testing cases) and an independent in-house dataset of 44 cases to evaluate generalization.
Predictive Accuracy
The proposed Transformer-based model achieved a Root Mean Square Error (RMSE) of 9.52, significantly outperforming the traditional PK-PD model (RMSE 15.64) and a baseline LSTM (RMSE 10.20). Crucially, in regions characterized by abrupt changes in patient state, the Transformer model tracked the ground truth BIS much more closely than competing models, which tended to remain flat or lag behind.
Real-time Performance and Generalization
The model demonstrates high computational efficiency, with an inference time of just 0.014 seconds. This makes it highly suitable for real-time clinical monitoring. Furthermore, the model maintained its performance lead on the in-house dataset, proving its robustness across different hospital environments and patient demographics.
Conclusion
This research demonstrates that a hybrid approach—combining the structural priors of PK-PD models with the flexibility of Transformer architectures—can significantly improve the accuracy of anesthesia depth prediction. By specifically addressing the problem of data imbalance through LDS, the model provides more reliable warnings of sudden changes in patient state. Future work will focus on refining the model's performance during the induction phase and exploring its integration into automated, closed-loop drug delivery systems.
Summary updated