A new machine learning study suggests that liver cancer risk can be predicted with high accuracy using nothing more than routine clinical information — age, medical history, and standard blood tests.

Two findings stand out. The model caught more true cases of hepatocellular carcinoma (HCC) — the most common adult liver cancer — than existing risk tools. And layering on more complex inputs, including genomic data, didn’t improve it. That hints that the data already sitting in ordinary medical records may be enough to build an effective early-warning system.

The study was published in Cancer Discovery.

By the numbers

0.88

AUROC — strong ability to separate at-risk patients

15

routine clinical features in the final model

~70%

of cases had no prior liver-disease diagnosis

Why Earlier Detection Matters

Liver cancer is the sixth leading cause of cancer death in the United States, and HCC makes up most adult cases. It’s usually tied to chronic liver disease such as cirrhosis and viral hepatitis — but its biggest danger is silence. Early HCC often causes no symptoms, so many people are diagnosed only after it has advanced and treatment options narrow.

Current screening mostly targets people already known to have chronic liver disease, which leaves a real blind spot: roughly 20% of HCC cases occur in people with no documented liver disease, so they never qualify for routine surveillance. Closing that gap is exactly what a broader risk tool could do.

A Machine Learning Approach to Risk

To test whether AI could widen early detection, researchers built a model on the UK Biobank, a database covering more than 500,000 people. Within it they identified 538 HCC cases — and strikingly, nearly 70% occurred in people without a prior diagnosis of cirrhosis or chronic liver disease.

The team trained the model on 80% of the data and tested it on the remaining 20%. To check whether it travels, they also validated it against the U.S. All of Us program — more than 400,000 participants and a more diverse population — where they identified 445 additional HCC cases.

Routine Clinical Data Won

The model used a “random forest” method, which combines many decision trees to sharpen its predictions. The researchers tried several data combinations, and the strongest version — Model C — paired:

  • demographic information
  • electronic health record data
  • routine laboratory results

Model C reached an AUROC of 0.88, a level considered strong discrimination — meaning it reliably separated people who went on to develop HCC from those who didn’t. Adding genomic data barely moved the needle, which points to a simpler, more scalable path than expensive testing.

Better Than Existing Tools

The team also benchmarked the model against established liver scores — FIB-4, APRI, NFS, and aMAP — which are typically used to gauge fibrosis or cancer risk in patients already known to have liver disease. The machine learning model came out ahead overall, catching more true HCC cases while throwing fewer false alarms.

That balance is the whole point. Miss too many real cases and at-risk people slip through; flag too many healthy ones and you generate needless testing and anxiety. The researchers then trimmed the model down to just 15 routinely collected features — and it still beat the comparison tools.

A Possible Role in Primary Care

The authors see the model as a potential prescreening aid in primary care — not a replacement for specialists, but a way to help clinicians spot which patients warrant a closer liver workup or referral. It could be especially valuable for people who’d otherwise be overlooked because they don’t yet carry a liver-disease diagnosis. If it holds up in practice, it could shift more HCC diagnoses to earlier, more treatable stages.

Important Limitations

The promise comes with caveats. The analysis was retrospective — built on existing records rather than tested live in clinical care. The number of participants with viral hepatitis, a leading cause of HCC worldwide, was relatively small. And while the model held up in a more diverse U.S. group, most of its training data came from white UK Biobank participants, so broader validation is still needed before it’s ready for routine use across different health systems.

What Comes Next

The next step is prospective, multi-center validation — testing whether the model reliably flags the patients who truly need extra liver-focused care in day-to-day practice. Because HCC is relatively uncommon, large health systems will likely be needed to evaluate it properly over time.

For now, the study adds to mounting evidence that AI can sharpen early cancer detection — not through complex or costly tests, but by making smarter use of the information already collected in routine care.

The takeaway

A machine learning model predicted liver cancer risk with strong accuracy using only routine clinical data — outperforming existing tools, even in people without known liver disease. It’s promising but retrospective, and needs real-world validation before clinical use.