image: AI model forecasts disease risk decades in advance
Credit: Karen Arnott/EMBL-EBI
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.
AI for health forecasting
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.
Future use and limitations
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.”
Data privacy and ethics
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.
Funding
This work was funded by EMBL member state contributions, DKFZ funds and Novo Nordisk Foundation grant.
EMBL’s European Bioinformatics Institute (EMBL-EBI)
EMBL’s European Bioinformatics Institute (EMBL-EBI) is a global leader in the storage, analysis, and dissemination of large biological datasets. We help scientists realise the potential of big data by enhancing their ability to exploit complex information to make discoveries that benefit humankind.
We are at the forefront of computational biology research, with work spanning sequence analysis methods, multi-dimensional statistical analysis, and data-driven biological discovery, from plant biology to mammalian development and disease.
We are part of the European Molecular Biology Laboratory (EMBL) and are located on the Wellcome Genome Campus, one of the world’s largest concentrations of scientific and technical expertise in genomics.
Journal
Nature
Method of Research
Computational simulation/modeling
Subject of Research
People
Article Title
Learning the natural history of human disease with generative transformers
Article Publication Date
17-Sep-2025