Frontiers in digital healthOpen accessComputer science

FHRFormer: a self-supervised masked transformer framework for fetal heart rate time-series inpainting and forecasting.

Kjersti Engan, Neel Kanwal, Anita Yeconia Bukhay, Ladislaus Blacy, Yuda Munyaw, Estomih Mduma, Hege Langli Ersdal

Department of Electrical Engineering and Computer Science, University of Stavanger, Stavanger, Norway. · Faculty of Health Sciences, University of Stavanger, Stavanger, Norway.

Key points

From the paper's conclusion
  • The framework also demonstrated short-term FHR forecasting using a 30-minute historical context and a 15-second prediction horizon.

Abstract

INTRODUCTION: Approximately 10% of newborns require assistance to initiate breathing at birth, and around 5% need ventilation support. Continuous fetal heart rate (FHR) monitoring supports the assessment of fetal well-being and timely obstetric interventions. However, wearable FHR monitors are prone to signal dropout caused by maternal movement and sensor displacement, resulting in missing data that complicate automated analysis. Conventional interpolation methods often fail to preserve important temporal and spectral characteristics of FHR signals. METHODS: We developed FHRFormer, a self-supervised masked transformer-based autoencoder for reconstructing missing FHR signals and forecasting short-term FHR dynamics. The model was trained on 4,486 FHR recordings collected using the Moyo monitor during labor in Tanzanian hospitals. By combining temporal reconstruction with frequency-aware loss functions, the framework aims to preserve both local signal morphology and spectral characteristics. Performance was evaluated using independent validation and test datasets, different masking ratios, and varying input patch sizes. RESULTS: FHRFormer demonstrated the ability to reconstruct missing FHR segments while preserving temporal and spectral characteristics consistent with surrounding signals. Reconstruction performance was highest with an input patch size of 30 samples and a masking ratio of 15%, with decreasing accuracy at higher masking ratios. The framework also demonstrated short-term FHR forecasting using a 30-minute historical context and a 15-second prediction horizon. DISCUSSION: FHRFormer offers a promising approach to improving the completeness of FHR recordings for retrospective research and AI-based analysis. Future integration into wearable FHR monitoring devices could support real-time risk detection. However, clinical benefits, including improved prediction of neonatal outcomes, remain to be established.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers