Could a computer spot a pregnancy complication months before it happens, using nothing more than the information already sitting in a patient’s medical record? A new study from researchers at Kaiser Permanente and MIT suggests the answer is a qualified yes, at least for three of the most common complications of pregnancy. The research, published in the journal Communications Health, trained 49 machine learning models on the records of more than 440,000 pregnancies and found they could flag higher risk of gestational diabetes, high blood pressure in pregnancy, and preeclampsia as early as 12 weeks into pregnancy.
The findings are genuinely encouraging, and they come with equally genuine limits. The models worked well for the three conditions that develop gradually over pregnancy, but they struggled with the complications that strike at or near delivery, such as preterm birth and stillbirth. They also lost accuracy when tested on patients outside the health system they were trained on, and they performed worse for Black patients on two of the three conditions they handled best. None of the models is being used in patient care today, and the study did not test whether using them would improve outcomes for mothers or babies. This is research news, not a new test anyone can ask for at a clinic visit.
The Study in Numbers
The study, published on November 11, 2026, was a collaboration between Kaiser Permanente’s Division of Research in Northern California, MIT, and the University of California, San Francisco, with Marzyeh Ghassemi of MIT as co-senior author. Ghassemi is a principal investigator at the MIT Jameel Clinic, which focuses on bringing machine learning research into real-world health care.
The team worked with electronic health records from 442,760 pregnancies seen at Kaiser Permanente Northern California between 2011 and 2021. From those records they built 49 separate models: one for each of seven complications, at each of seven points in pregnancy, spaced six weeks apart from conception to 36 weeks. The seven complications were gestational diabetes, gestational hypertension, preeclampsia, preterm birth, stillbirth, placental abruption, and babies born small for gestational age. The models used a standard machine learning method called XGBoost, well suited to the structured, tabular data found in health records: vital signs, lab results, diagnoses, and other information clinics already collect.
That last point is central to the study’s design. The models used only routine data, nothing that would require a new test, a new device, or a special visit. If a health system already keeps electronic records, it already has the inputs these models need. That makes the approach cheap to run and, in principle, easy to scale. It also means the models are limited to what routine care happens to record.
The team trained each model on 80 percent of the patient records and tested it on the remaining 20 percent, a standard check that a model has genuinely learned something rather than memorised its training data. Then they went further, testing the models on 6,105 pregnancies from the National Institutes of Health’s All of Us Research Program, a dataset drawn from different health systems and a more diverse population. That second test is where the story gets complicated, as it often does when medical AI leaves home.
What the Models Got Right

At 12 weeks into pregnancy, the models scored 0.80 for gestational diabetes, 0.79 for gestational hypertension, and 0.74 for preeclampsia on the AUC scale, a standard accuracy measure where 1.0 is perfect and 0.5 is no better than chance. Those numbers describe the models’ ability to rank patients by risk: a score of 0.80 means that if you pick one patient who went on to develop gestational diabetes and one who did not, the model would rank the first one higher about 80 percent of the time. That is a long way from a diagnosis, but it is a meaningful signal, and it arrives early, in the first trimester, when there is still time to act.
The results compare favourably with the tools clinicians use now. The researchers report that the diabetes and preeclampsia models beat the screening checklists from the National Institutes of Health and the Society for Maternal-Fetal Medicine, the standard risk assessments used in prenatal care today. Those checklists rely on a handful of known risk factors, such as age, body mass index, and family history. The machine learning models, by contrast, weigh hundreds of signals from the record at once.
Early warning matters because the three conditions the models handle best are also the ones where early action can help. Gestational diabetes can often be managed with diet, activity, and monitoring once it is identified. High blood pressure in pregnancy can be watched more closely, and preeclampsia, a dangerous condition marked by high blood pressure and signs of organ damage, can be caught before it becomes an emergency. Low-dose aspirin, for example, is recommended for some patients at higher risk of preeclampsia, and starting it early is part of why a 12-week warning is valuable.
The researchers also modelled what would happen if the predictions were actually used. Steering the top 20 percent of flagged patients into lifestyle counselling for gestational diabetes could save about 10.8 million dollars across the study’s test group, according to their estimates, and aspirin prevention for preeclampsia was cost-effective too. Those are modelled savings, not money already saved, but they suggest an early-warning system could pay for itself if it were ever deployed. The broader question of whether health AI delivers on its financial promises is far from settled, as explored in our coverage of health AI’s unclear financial returns despite billions invested.
Where the Models Struggled
The picture changes sharply for the four complications that happen at or near delivery. Even at 24 weeks, well into the second half of pregnancy, the models scored only 0.68 for preterm birth, 0.65 for babies small for gestational age, 0.67 for stillbirth, and 0.62 for placental abruption. Those numbers are better than chance, but only modestly, and far below the scores for the three conditions the models handled well.
There are good reasons for the gap. Gestational diabetes, hypertension, and preeclampsia develop gradually, and their early signs accumulate in the record over weeks. Birth outcomes, by contrast, are often driven by events that happen suddenly or late: an infection, a placental problem, a complication during labour itself. Routine records may simply not contain the information needed to foresee them. The researchers suggest that adding ultrasound measurements might improve predictions, but that would mean collecting new data, which undermines the study’s appeal as a tool that runs on what clinics already have.
The study is also retrospective, a fundamental limit. The researchers looked backwards at records of pregnancies that had already happened and asked whether the models could have predicted what occurred. No patient’s care changed because of a prediction. A model that predicts well on historical data has not yet shown that it improves health, and the history of medical AI is full of tools that looked strong in retrospect and stumbled when deployed. The next step is prospective testing, where predictions are made in real time and researchers watch what happens next.
The external validation results underline the point. When the models were tested on the 6,105 pregnancies from the NIH All of Us program, performance fell across the board. The Kaiser models were trained on one health system in Northern California, with its own patient mix and record-keeping habits, and those patterns did not travel cleanly. Adapting the models with All of Us data narrowed the gap, but did not close it. A model built in one place needs local work before it can be trusted in another.
The Fairness Problem
The most troubling finding in the study is not about accuracy in general, but about accuracy for whom. The models performed worse for Black patients on preeclampsia and gestational hypertension, mostly by overestimating risk rather than missing cases. In other words, the models were more likely to flag Black patients as high risk when they were not, which could lead to unnecessary worry, extra tests, and interventions that were not needed.
The researchers suggest the gap may partly reflect disparities in how early blood pressure is recorded. If blood pressure is measured earlier and more often for white patients, the models have more and better data for them. That points to a problem in the data rather than in the algorithm itself, but the distinction matters little to the patient on the receiving end of a wrong prediction. A model that works less well for one group is not ready for general use, whatever the cause.
This is not a new problem in medical AI, and it is one of the reasons regulators and researchers have grown cautious about deploying prediction tools in care. Models trained on data from one population routinely underperform on others, and the groups underrepresented in training data are often the same groups that already face worse health outcomes. In maternal health, that pattern is especially stark: the United States has the highest maternal mortality rate of any high-income nation, and Black mothers die at far higher rates than white mothers.
The study’s authors do not hide the issue, and to their credit they report it prominently. Ghassemi has stressed the importance of evaluating and adapting AI models before introducing them into different health care settings. Any health system considering a tool like this would need to test it on its own patients, broken down by race and other factors, before trusting it. That is the same standard that applies across clinical AI, including the draft reports and breast cancer prediction systems showcased at RSNA 2026.
What It Would Take to Reach the Clinic
So what would have to happen before a model like this could be used in a real clinic? The study itself points to several steps, and none of them is quick. First, the models need prospective validation: running them live, on new patients, and checking whether the predictions hold up and whether acting on them changes outcomes. That is a multi-year effort involving clinicians, ethicists, and regulators, not a software update.
Second, the models need local adaptation. The All of Us results show that a model trained at Kaiser does not simply work everywhere else. Each health system that wanted to use it would need to test it on its own records, retrain or fine-tune it on local data, and keep monitoring it as practice changes. That is a significant ongoing commitment, and it is one reason the economics of health AI are harder than the early hype suggested. The benefits of AI in health care are real, but so are the risks and the costs, as laid out in our overview of AI in health care, its benefits, risks, and real examples.
Third, the models need to fit into clinical workflows. A risk score is only useful if a clinician sees it at the right moment, understands what it means, and has a clear next step to offer. A flag that arrives as an extra alert in an already crowded inbox will be ignored. The history of clinical decision support is littered with tools that were technically sound and practically unusable.
None of this diminishes the study. A model that flags three serious complications at 12 weeks, using only data clinics already collect, is a real advance, and the fact that it was tested on more than 440,000 pregnancies gives the findings weight. The study also sets a useful standard for how this kind of research should be reported: with external validation, with fairness results published rather than buried, and with the limits stated plainly.
Bottom line: A Kaiser Permanente and MIT study of 442,760 pregnancies found AI models using routine health records could flag gestational diabetes, hypertension, and preeclampsia risk as early as 12 weeks, with accuracy scores of 0.80, 0.79, and 0.74. But the models struggled with birth outcomes, lost accuracy outside Kaiser, and performed worse for Black patients, and they are not in clinical use. Early warning is promising; the road to the clinic is long.


