NTH

Time-Aware Tranformer-Based Prediction Model for AECOPD

AuthorsWeihao Qu, Ling Zheng, Dongyang Wang, Jiacun Wang, Haowen Pan

September 1, 2026 2 min read
Watch on YouTube
The one-line take

A time-aware Transformer uses daily ventilator data to predict COPD flare-ups earlier without waiting for delayed clinical measurements.

Key results

87
Patient cohort

COPD patients with one month of home ventilator respiratory data

100
Data compression

Fold reduction achieved by retaining respiratory-signal jump points

0.91
Best accuracy

Random Forest using the 128-dimensional Time-Aware Transformer representation

0.86
Decision Tree accuracy

Accuracy with the 128-dimensional Time-Aware Transformer representation

0.63
Traditional baseline accuracy

Best Random Forest result using aggregated peak-to-peak and first-order-difference features

What the paper found

This paper presents a Time-Aware Transformer for predicting acute exacerbations of chronic obstructive pulmonary disease, or AECOPD, using only respiratory signals from patients’ home ventilators, avoiding the latency of laboratory and clinical data. The system compresses high-frequency Flow, Pressure, SpO2, ResRate, TidalVolume, MinuteVent, and Leak measurements by retaining significant “jump points,” reducing approximately 30 days of data by 100-fold. It embeds event types, values, and time gaps, then uses self-attention to model how respiratory symptoms evolve over time and produces a fixed patient representation for downstream classifiers. The study used ventilator data from 87 COPD patients, divided into 50 training, 15 validation, and 22 test samples. A Transformer with 4 attention heads and 2 encoder layers generated representations tested with Logistic Regression, SVM, Decision Tree, Random Forest, and XGBoost. The best result came from a 128-dimensional representation paired with Random Forest, reaching 0.91 accuracy; the corresponding Decision Tree score was 0.86. Removing time embeddings substantially weakened performance, while the traditional feature-aggregation baseline using peak-to-peak and first-order-difference sequences reached only 0.63 with Random Forest. The findings show that explicitly encoding elapsed time can improve early AECOPD classification from continuous home-monitoring data, although the small patient cohort and limited test set call for larger validation studies.

Original abstract

The rapid symptom change of Acute exacerbation of chronic obstructive pulmonary disease (AECOPD) makes it critical to have time-sensitive prediction models. However, most current machine learning models studying AECOPD use clinical and laboratory data, which will inevitably cause latency. To ensure timely detection of AECOPD and minimize latency, this paper focuses on home monitoring scenarios where only respiratory data from daily-use ventilators is available. We introduce a Time-Aware transformer-based AECOPD prediction model, which generates meaningful patient representations using the Time-Aware transformer to capture the symptoms and their temporal progression in ventilator data. Our experimental results demonstrate that our Time-Aware transformer-based approach outperforms traditional methods in multiple classification tasks, highlighting its potential to enhance AECOPD prediction accuracy.

Read the original paper

More in Transformers

Browse all 42 papers →
03Transformer

Transformers Stop Thinking Too Early, and a Tiny LoRA Fixes It

Zehao Jin, Ruixuan Deng, Junran Wang

A small LoRA update appears to make transformers carry information through many more layers, dramatically extending their ability to follow long chains without retraining the full model.

Read analysis