AI Model Forecasts Disease Risk Decades in Advance

Imagine a future where your medical history could help predict what health conditions you might face in the next two decades. Researchers have developed a generative AI model that uses large-scale health records to estimate how human health may change over time. It can forecast the risk and timing of over 1,000 diseases and predict health outcomes over a decade in advance.

This new generative AI model was custom-built using algorithmic concepts similar to those used in large language models (LLMs). It was trained on anonymised patient data from 400,000 participants from the UK Biobank. Researchers also successfully tested the model using data from 1.9 million patients in the Danish National Patient Registry. This approach is one of the most comprehensive demonstrations to date of how generative AI can model human disease progression at scale and was tested on data from two entirely separate healthcare systems.

"Our AI model is a proof of concept, showing that it’s possible for AI to learn many of our long-term health patterns and use this information to generate meaningful predictions," said Ewan Birney, Interim Executive Director at the European Molecular Biology Laboratory (EMBL). "By modelling how illnesses develop over time, we can start to explore when certain risks emerge and how best to plan early interventions. It’s a big step towards more personalised and preventive approaches to healthcare."

This work, published in the journal Nature, was a collaboration between EMBL, the German Cancer Research Centre (DKFZ), and the University of Copenhagen.

Just as large language models can learn the structure of sentences, this AI model learns the "grammar" of health data to model medical histories as sequences of events unfolding over time. These events include medical diagnoses or lifestyle factors such as smoking. The model learns to forecast disease risk from the order in which such events happen and how much time passes between these events.

"Medical events often follow predictable patterns," said Tom Fitzgerald, Staff Scientist at EMBL’s European Bioinformatics Institute (EMBL-EBI). "Our AI model learns those patterns and can forecast future health outcomes. It gives us a way to explore what might happen based on a person’s medical history and other key factors. Crucially, this is not a certainty, but an estimate of the potential risks."

The model performs especially well for conditions with clear and consistent progression patterns, such as certain types of cancer, heart attacks, and septicaemia, which is a type of blood poisoning. However, the model is less reliable for more variable conditions, such as mental health disorders or pregnancy-related complications that depend on unpredictable life events.

Like weather forecasts, this new AI model provides probabilities, not certainties. It doesn’t predict exactly what will happen to an individual, but it offers well-calibrated estimates of how likely certain conditions are to occur over a given period. For example, it could predict the chance of developing heart disease within the next year. These risks are expressed as rates over time, similar to forecasting a 70% chance of rain tomorrow. Generally, forecasts over a shorter period of time have higher accuracy than long-range ones.

For example the model predicts varying levels of risk for heart attacks. Taking the UK BioBank cohort at the age of 60-65, the risk of heart attack varies from a chance of 4 in 10,000 per year for some men to approximately 1 in 100 in other men, depending on their prior diagnoses and lifestyle. Women have a lower risk on average, but a similar spread of risk. Moreover, the risks increase, on average, as people age. A systematic assessment on data from the UK Biobank not used for training showed that these calculated risks correspond well to the observed number of cases across age and sex groups.

The model is calibrated to produce accurate population-level risk estimates, forecasting how often certain conditions occur within groups of people. However, like any AI model, it has limitations. For example, because the model's training data from the UK Biobank comes primarily from individuals aged 40–60, childhood and adolescent health events are underrepresented. The model also contains demographic biases due to gaps in the training data, including the underrepresentation of certain ethnic groups.

While the model isn’t ready for clinical use, it could already help researchers:

  • understand how diseases develop and progress over time,
  • explore how lifestyle and past illnesses affect long-term disease risk,
  • simulate health outcomes using artificial patient data, in situations where real-world data are difficult to obtain or access.

In the future, similar AI tools trained on more representative datasets could assist clinicians in identifying high-risk patients early. With ageing populations and rising rates of chronic illness, being able to forecast future health needs could help healthcare systems plan better and allocate resources more efficiently. But much more testing, consultation, and robust regulatory frameworks are needed before AI models can be deployed in a clinical setting.

"This is the beginning of a new way to understand human health and disease progression," said Moritz Gerstung, Head of the Division of AI in Oncology at DKFZ and former Group Leader at EMBL-EBI. "Generative models such as ours could one day help personalise care and anticipate healthcare needs at scale. By learning from large populations, these models offer a powerful lens into how diseases unfold, and could eventually support earlier, more tailored interventions."

This AI model was trained using anonymised health data under strict ethical rules. UK Biobank participants gave informed consent, and Danish data were accessed in accordance with national regulations that require the data to remain within Denmark. Researchers used secure, virtual systems to analyse the data without moving them across borders. These safeguards help ensure that AI models are developed and used in ways that respect privacy and uphold ethical standards.

Shmatko A, Jung AW, Gaurav K, Brunak S, Mortensen LH, Birney E, Fitzgerald T, Gerstung M.
Learning the natural history of human disease with generative transformers.
Nature. 2025 Sep 17. doi: 10.1038/s41586-025-09529-3

Most Popular Now

Using Deep Learning for Precision Cancer…

Altuna Akalin and his team at the Max Delbrück Center have developed a new tool to more precisely guide cancer treatment. Described in a paper published in Nature Communications, the...

AI-Powered CRISPR could Lead to Faster G…

Stanford Medicine researchers have developed an artificial intelligence (AI) tool to help scientists better plan gene-editing experiments. The technology, CRISPR-GPT, acts as a gene-editing “copilot” supported by AI to help...

Groundbreaking AI Aims to Speed Lifesavi…

To solve a problem, we have to see it clearly. Whether it’s an infection by a novel virus or memory-stealing plaques forming in the brains of Alzheimer’s patients, visualizing disease processes...

AI Spots Hidden Signs of Depression in S…

Depression is one of the most common mental health challenges, but its early signs are often overlooked. It is often linked to reduced facial expressivity. However, whether mild depression or...

AI Model Forecasts Disease Risk Decades …

Imagine a future where your medical history could help predict what health conditions you might face in the next two decades. Researchers have developed a generative AI model that uses...

AI Model Indicates Four out of Ten Breas…

A project at Lund University in Sweden has trained an AI model to identify breast cancer patients who could be spared from axillary surgery. The model analyses previously unutilised information...

AI Tools Help Predict Severe Asthma Risk…

Mayo Clinic researchers have developed artificial intelligence (AI) tools that help identify which children with asthma face the highest risk of serious asthma exacerbation and acute respiratory infections. The study...