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

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Digital Health
Published
2026-10-26
DOI
https://doi.org/10.3389/fdgth.2026.1900897
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Hege Langli Ersdal, Anita Yeconia, Estomih Raphael Mduma, Yuda Munyaw et al.
2 links
Frontiers in Digital Health
ECG Monitoring and Analysis
article

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

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

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.

Frontiers in Digital HealthVol. 8
Stavanger University Hospital (NO), Haydom Lutheran Hospital (TZ), University of Stavanger (NO)
Laerdal Foundation for Acute Medicine, Norges Forskningsråd, Fondation Idella
Good health and well-being
Openalex Percentile: Top 61%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon