← Latest papers
💻 computer science

Identifying cohorts at elevated risk of cancers using generative modeling of patient health states

The paper introduces GenEHR, a generative model trained on millions of diverse electronic health records that effectively forecasts future cancer diagnoses within a five-year window, demonstrating significant potential as a clinical decision-support tool for prioritizing high-risk patients for early screening and prevention.

Original author: Chris Sander

Published 2026-11-19
📖 5 min read🧠 Deep dive

Original author: Chris Sander

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

Cancer is a disease that often reveals itself too late. When a tumor is found early, while it is still small and contained, doctors have many ways to treat it, and the chances of survival are high. But once the disease spreads, options shrink and outcomes worsen. This reality has driven a global effort to find better ways to spot cancer before symptoms appear. The most common strategy is screening, where healthy people undergo tests like mammograms or colonoscopies. However, screening everyone is expensive, logistically difficult, and can lead to unnecessary anxiety and procedures for those who are not actually at risk. The ideal solution would be to identify the specific individuals whose health histories suggest they are about to develop cancer, allowing doctors to focus their resources on those who need them most. To do this, researchers have turned to electronic health records, the digital archives that contain a patient's entire medical journey, including diagnoses, medications, lab results, and the timing of every doctor's visit. These records hold subtle clues about future illness, but the patterns are often too complex and spread out over years for traditional methods to catch.

A researcher at Harvard Medical School has developed a new approach to reading these records, creating a system they call GenEHR. Instead of trying to look for a single warning sign, this system learns to understand the entire story of a patient's health. It is built on a type of artificial intelligence known as a generative model, which is trained on the medical histories of millions of people from five different large health systems in the United States and the United Kingdom. The model does not just read a list of diseases; it learns the rhythm of a patient's life. It pays close attention to the time between visits, understanding that a blood test ordered a week after an abnormal result signals something very different than a test ordered a year later. By learning from real-world data, the system figures out which combinations of events, medications, and time gaps tend to happen before a cancer diagnosis. It essentially learns the shape of a patient's health state as it changes over time, creating a detailed mental map of what a healthy trajectory looks like and how it begins to deviate toward disease.

The researcher then adapted this general health model to specifically predict the risk of 17 different types of cancer, including aggressive forms like pancreatic and ovarian cancer. They tested the system on millions of patient records, asking it to look at a person's history up to a certain point and predict whether they would be diagnosed with cancer in the next five years. The results were striking. The system was able to identify groups of people who were at a much higher risk than the average person. For example, when the model selected the top 1,000 highest-risk patients from a large group, the number of actual cancer cases found in that small group was dozens of times higher than what would be expected by chance. In some cases, the system flagged patients more than a year before they were actually diagnosed, suggesting it was picking up on early signals that standard care had missed. This ability to spot the disease earlier could allow doctors to intervene sooner, potentially catching the cancer while it is still treatable.

One of the most important aspects of this work is how the system explains its decisions. The researcher did not just get a number; they could trace back which specific events in a patient's history contributed most to the high-risk score. For pancreatic cancer, the model identified signals such as new-onset diabetes, high blood sugar, and specific digestive issues appearing in the years before diagnosis. For ovarian cancer, it pointed to menopausal disorders and family history. These findings align with what doctors already know, but the system also found patterns that were less obvious, such as the timing of certain medications or the sequence of lab tests. The model treats the time between visits as a crucial piece of information, recognizing that the gap between appointments carries meaning about a patient's health status. This attention to timing allows the system to distinguish between routine check-ups and urgent follow-ups, a nuance that many previous models missed.

The study does not claim that this tool is ready to be used in every doctor's office tomorrow. The results come from looking back at past records, and the researcher emphasizes that the next step is to test the system in real-time clinical settings. They propose a three-step path forward: first, using the model to identify high-risk groups; second, offering those groups targeted screening or prevention programs; and third, treating any cancer found at that early stage. The ultimate goal is to create a system where AI helps doctors decide who needs extra attention, making screening more efficient and effective. By focusing on the people most likely to benefit, the healthcare system could save resources while saving lives. The researcher is now working with partners in the United States, Canada, and Europe to set up these prospective trials, where the model will score patients without immediately changing their care, allowing scientists to see if the predictions hold true in the real world. If successful, this approach could transform how we approach cancer prevention, moving from a one-size-fits-all strategy to a personalized system that catches the disease when it is still small and manageable.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →