Get the app
Oncology2023Impact: 2 out of 3, validated at scale

Pancreatic cancer: an AI flags people at high risk from their medical records

In a study published in Nature Medicine in 2023, an AI read the disease histories of 6 million patients in Denmark and 3 million in the United States to flag people at high risk of pancreatic cancer within three years. In Denmark, its accuracy score reached 0.88 out of 1. The goal is to choose who should be offered closer monitoring, because this cancer is often found too late.

Nature Medicine, 2023Lire en français

Why is pancreatic cancer so hard to catch early?

The pancreas sits behind the stomach and helps with digestion and blood sugar. Its cancer gives few signs at first. According to the authors, around 80% of people are diagnosed once the disease has already spread, and very few then live another five years.

When it is found early, it can be cured with surgery, chemotherapy and radiotherapy. But this cancer is fairly rare, so screening everyone above a certain age would mean a lot of unnecessary tests. Doctors need a way to know whom to watch first.

What did the researchers do?

The team used two huge databases. In Denmark, the national patient registry, with 6 million people including 24,000 pancreatic cancer cases. In the United States, the records of military veterans, with 3 million people including 3,900 cases.

Their AI is a deep learning model, meaning a program that learns patterns by itself from many examples. It looks at no scans and no blood results: only the sequence of diagnoses recorded over the years (such as diabetes or digestive problems). It gives a risk score for the next 3 to 36 months.

To check that it was not just picking up last-minute signs, the researchers also trained it without the diagnoses recorded in the 3 months before cancer was found.

What were the results?

In Denmark, for cancer within 36 months, the best model reached an area under the curve of 0.88. This score runs from 0.5 (chance) to 1 (perfect). It fell to 0.83 when the last 3 months of data were removed, which shows the AI also spots older signals.

Among the 1,000 people over 50 judged most at risk, the estimated relative risk was 59: these people had around 59 times the risk of the general population.

The Danish model, used unchanged on US records, dropped to 0.71. It had to be retrained on US data to climb back to 0.78.

Key figures

  • 9 millionpatients whose records were studied (6 million in Denmark, 3 million in the US)
  • 0.88accuracy score (area under the curve) in Denmark for cancer within 36 months
  • 59estimated relative risk for the 1,000 people over 50 judged most at risk
  • 0.71score of the Danish model used unchanged on US records

Talking through your history with your doctor, with Mima

This AI is not yet used in hospitals. But it points to something simple: what gets recorded in your notes over the years matters, and quiet signs can slip through.

Mima keeps track of your symptoms, appointments and prescriptions in plain words. If tiredness, weight loss or tummy pain keeps going, you can prepare the question: "Should we look into this, given my history?"

Try Mima for free

What could this change for patients?

The aim is not to diagnose cancer but to pick a small group of people who could be offered closer monitoring, such as regular scans. Today, this kind of monitoring mostly exists for people with a family history or a known genetic change.

If the approach holds up, it could widen that net to people who would never have been noticed, with no extra test at the start since their records already exist.

What are the limits?

This is a retrospective study: the AI was tested on past records, not by following patients in real life. We do not yet know whether monitoring the people it flags actually helps them live longer.

The big drop between Denmark and the United States shows that a model has to be adapted to each health system, because records are not filled in the same way. And a high score does not mean you have cancer: most people flagged will never develop it.

Frequently asked questions

Can AI detect pancreatic cancer from medical records?

It does not detect the cancer itself. In this study, it reads a person's history of diagnoses to flag people at high risk, who could then be offered closer monitoring.

What are the early warning signs of pancreatic cancer?

This cancer gives few signs early on. Unexplained weight loss, yellowing of the skin or eyes, or lasting pain in the tummy or back are worth raising with a doctor, who is the only one able to assess them.

Can my doctor use this test today?

No. It is a research study on past records and still needs to be tested with real patients before any routine use.

Why not screen everyone for pancreatic cancer?

This cancer is fairly rare, so screening the whole population would mean many unnecessary tests. That is why targeting a small high-risk group matters.

The original study

Placido D, Yuan B, Hjaltelin JX, et al. “A deep learning algorithm to predict risk of pancreatic cancer from disease trajectories” Nature Medicine, May 8, 2023. DOI : 10.1038/s41591-023-02332-5

Read the full study in Nature Medicine

This article summarizes a scientific study and is not medical advice.