Cross-Sample Augmented Test-Time Adaptation for Personalized Intraoperative Hypotension Prediction

Kanxue Li, Yibing Zhan, Hua Jin, Chongchong Qi, Xu Lin, Baosheng YuarXiv 2025 · DOI

Abstract

Intraoperative hypotension (IOH) is a critical surgical complication linked to adverse patient outcomes, including kidney injury and myocardial infarction. While Test-Time Adaptation (TTA) offers a path toward personalized prediction, it often suffers from a "data scarcity" paradox: models trained on a patient's stable history may fail to anticipate sudden, rare blood pressure drops. This paper presents Cross-Sample Augmented Test-Time Adaptation (CSA-TTA), a framework that personalizes predictions by retrieving similar historical events from a cross-sample bank. By augmenting current patient data with relevant past cases, CSA-TTA maintains sensitivity to rare hypotensive events. Evaluated on large-scale datasets like VitalDB, the framework demonstrates significant improvements in recall and F1-score, particularly in zero-shot deployment scenarios, while maintaining real-time efficiency.

Introduction

Intraoperative hypotension (IOH)—a dangerous drop in blood pressure during surgery—is difficult to predict because every patient reacts differently to anesthesia and surgical stress. Standard predictive models often struggle with personalization. While Test-Time Adaptation (TTA) allows a model to update itself using the current patient's data during the procedure, it faces a significant challenge. Because IOH events are rare, a TTA model training only on a patient's stable history becomes biased toward stability, often producing "overly smooth" predictions that miss sudden, life-threatening changes.

Methodology

The authors introduce CSA-TTA (Cross-Sample Augmented Test-Time Adaptation), which addresses data scarcity by "borrowing" similar historical events from other patients to train the model in real-time. The framework consists of three main stages:

  1. Cross-Sample Bank Construction: A library of historical blood pressure segments is categorized into "hypotensive" and "non-hypotensive" sets from thousands of previous surgeries.
  2. Coarse-to-Fine Retrieval: To find relevant data efficiently, a two-step search is employed. K-Shape clustering identifies representative patterns (Coarse), and Dynamic Time Warping (DTW) calculates semantic similarity to pull the "Top-K" most similar examples (Fine).
  3. Multi-Task Optimization: During surgery, the model is updated using a combination of self-supervised "masked reconstruction" and retrospective forecasting.
The CSA-TTA framework architecture, detailing the bank construction, retrieval process, and multi-task optimization strategy.

Finally, a Hybrid Trigger mechanism combines a "hard trigger" (detecting sustained low pressure) and a "soft trigger" (evaluating average risk) to provide a probabilistic warning to clinicians.

Experimental Results

The framework was evaluated on the VitalDB public dataset (6,388 patients) and an In-Hospital Dataset for zero-shot generalization. CSA-TTA consistently outperformed standard TTA and static baseline models.

  • VitalDB Performance: On the 2-second sampling task, it improved Recall by +1.33% and the F1-score by +1.13% in fine-tuned settings.
  • Zero-Shot Gains: In the challenging zero-shot setting, improvements were more dramatic, with Recall jumping by +7.46% and F1 by +5.07%.
  • Clinical Validation: On the in-hospital dataset, the model improved Recall by 9.56%, demonstrating its readiness for clinical environments.
  • Efficiency: The adaptation process is efficient, taking between 1.7 and 6.6 seconds per update, making it viable for real-time intraoperative monitoring.
Case study visualizations for Case 5633 (5-min horizon) and Case 1543 (15-min horizon), showing CSA-TTA's superior tracking of ground truth compared to the base model.

Discussion and Conclusion

The core innovation of CSA-TTA is that personalization does not require looking only at the current patient. By leveraging similar physiological "morphologies" from a cross-sample bank, the model maintains a memory of what a hypotension event looks like, even when the current patient is stable. This approach is particularly effective for zero-shot portability, allowing foundation models to adapt to new hospital populations on the fly without extensive local fine-tuning.

Future work includes evolving the static sample bank into a dynamic one and improving robustness for unique "out-of-distribution" physiological patterns. Beyond blood pressure, the CSA-TTA framework holds potential for other critical monitoring tasks, such as predicting cardiac arrhythmias or post-operative respiratory failure.

Summary updated

BibTeX
@misc{li2025cross,
  author = {Kanxue Li and Yibing Zhan and Hua Jin and Chongchong Qi and Xu Lin and Baosheng Yu},
  title = {{Cross-Sample Augmented Test-Time Adaptation for Personalized Intraoperative Hypotension Prediction}},
  year = {2025},
  eprint = {2512.15762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.15762},
}
Figure