Most ML projects in healthcare chase a single number: accuracy, AUROC, F1. But in a labour ward, the worst thing a model can do isn't be wrong — it's be confidently wrong on a trace where the fetal electrode has come off and the "signal" is just noise.
That's the problem I tried to solve with CTG-Escalate, a research prototype for flagging cardiotocography (CTG) traces for senior review.
The problem
Nearly 900,000 babies die during labour each year (intrapartum stillbirths — 46% of all stillbirths in 2023). UNICEF says most of these are preventable with high-quality care. CTG monitoring is a key tool, but it's read by eye, and experts disagree: nine obstetricians reading the same 634 recordings agreed on overall classification only 48% of the time.
Continuous CTG halved neonatal seizures (RR 0.50) but raised caesarean rates (RR 1.63). So the stakes are real in both directions.
What CTG-Escalate does
It's a second reader. It takes a CTG trace and either:
- Flags it for senior review (escalation), or
- Declines to score it — "fix the signal first" — when signal quality is too poor to trust any reading
That second option is the design choice I'm most proud of. In production, a model that scores garbage input with confidence is worse than no model at all. CTG-Escalate declined 7.8% of traces in our test set due to signal loss.
The results (honest version)
Built on retrospective data from one Czech hospital (2010–2012), 166 CTU-UHB recordings:
| Method | AUROC (95% CI) |
|---|---|
| CTG-Escalate | 0.739 (0.628–0.834) |
| Computerized FIGO rule | 0.639 (0.537–0.734) |
| Logistic regression (7 FIGO features) | 0.728 (0.622–0.830) |
| Gradient boosting | 0.788 (0.693–0.873) |
Yes, gradient boosting beat it. I'm putting that in the README on purpose. The point wasn't to build the best classifier — it was to build a system that's safe to deploy: one that knows its operating envelope, abstains when uncertain, and reports exactly how many acidemic births it would miss per 100 labours.
At its pre-selected threshold, CTG-Escalate raised 18.1 escalations per 100 labours and missed 15 of 32 acidemic births. The FIGO rule raised 13.9 and missed 23 of 32. For severe acidemia (pH < 7.05), CTG-Escalate missed 3 of 13; the rule missed 8 of 13.
Why I'm sharing this
This is not a medical device. It's not for clinical use. It's a research prototype that I think demonstrates an important principle: the most valuable thing a clinical AI can do is say "I can't tell you" when the input doesn't support a reliable answer.
The full code, benchmarks, and honest failure analysis are on GitHub: github.com/Sumit884-byte/ctg_escalate @sumit0rn
Feedback welcome — especially from anyone working on clinical ML or trustworthy AI. What would you change about the abstention threshold? How would you validate this on a second site?
