Visual abstractsVisuals
ResearchJHEP Reports · Dec 19, 2025

PHENO-RAG: An artificial intelligence tool for guideline-informed management decisions in hepatocellular carcinoma

Celsa C, Giuffrè M, Di Maria G, Gruttadauria S, Palazzo U, Miraglia R, et al
Gastroenterology & HepatologyAdult
Read the full paper free at PubMed Central ↗

Abstract

Background & aims Management of hepatocellular carcinoma (HCC) poses unique challenges due to its development in the context of chronic liver disease and the availability of multiple treatment options. Although multidisciplinary team (MDT) management improves outcomes, universal MDT discussion is resource-intensive, underscoring the need for effective patient-stratification tools. We developed a novel large language model (LLM) framework, PHENO-RAG, that integrates contemporary HCC management guidelines with patient-specific clinical data. Methods We retrospectively analysed 489 clinical reports from 424 patients treated at a tertiary referral centre between September 2020 and November 2024. Eight locally hosted LLMs were tested: Llama-3-8B/70B, GPT-oss-20B/120B, Qwen-3-8B/80B, and Falcon-7B/40B. Two ablation studies assessed clinical concept extraction (using REGEX, pure LLMs, and hybrid REGEX+LLM pipelines) and decision generation across six configurations (zero-shot/few-shot with unstructured vs. structured notes, with and without retrieval-augmented generation [RAG] using clinical guidelines). The primary outcome was exact-match accuracy against real-world clinical decisions for treatment allocation, clinical complexity, and recommendation for MDT discussion. Results GPT-oss-120B+REGEX achieved the best overall agreement (median F1 for categorical concepts 0.92 [95% CI 0.85-0.95]; median intraclass correlation coefficient for numerical parameters 0.93 [95% CI 0.85-0.94]). For decision support, accuracy increased with structured inputs, few-shot exemplars, and RAG across all models. Under the strongest configuration (few-shot+RAG on structured notes), GPT-oss-120B reached 86.5% exact match for treatment allocation, 88.6% for clinical complexity, and 66.9% for MDT recommendation; Llama-3-70B achieved 80.8%, 83.4%, and 63.0%, respectively. Performance in the baseline zero-shot, unstructured-note configuration was substantially lower. Conclusions PHENO-RAG delivers accurate, guideline-concordant support for HCC treatment allocation and complexity grading from real-world notes, with performance driven less by model family alone than by hybrid extraction, input structuring, in-context examples, and evidence retrieval. MDT referral remains the hardest task - appropriate for prioritization rather than automation. Prospective, multi-site and multimodal validation is warranted. Impact and implications Clinical decisions in the management of hepatocellular carcinoma are complex and multiparametric, requiring resource-intensive multidisciplinary care and creating challenges for optimal treatment allocation across different healthcare settings. We developed PHENO-RAG, a large language model-based framework that combines patient phenotyping through automated clinical information extraction from real-world clinical notes with treatment decision support, based on international guidelines. Our framework demonstrated concordance of 86.5% with real-world clinical decisions for treatment allocation and 88.6% for clinical complexity assessment, suggesting potential to enhance decision consistency and quality of care. In clinical practice, this AI-assisted framework could help standardize hepatocellular carcinoma management workflows, support training of hepatology and oncology fellows, assist in quality assurance programs, and facilitate more systematic identification of complex cases requiring multidisciplinary consultation, particularly in resource-constrained settings.

DOI: 10.1016/j.jhepr.2025.101715 · PubMed: 41830877

Spotted a mistake? Suggest a correction

More in Gastroenterology & Hepatology

ResearchJHEP Rep · Nov 21, 2026 · Gastroenterology & Hepatology

Low public awareness of liver cancer risk factors found in survey

Low public awareness of hepatocellular carcinoma risk factors

ResearchJHEP Rep · Nov 21, 2026 · Gastroenterology & Hepatology

Pre-emptive TIPS reduces further decompensation after gastric variceal hemorrhage

Pre-emptive TIPS Reduces Further Decompensation Following Gastric Variceal Hemorrhage: A Real-World Multicenter Analysis

ResearchJHEP Rep · Nov 21, 2026 · Gastroenterology & Hepatology

Tenofovir associated with lower hepatocellular carcinoma risk than entecavir

Comparative risk of hepatocellular carcinoma among people with chronic hepatitis B treated with tenofovir or entecavir: A population-based linkage study

Randomized trialVisual abstractGut Microbes · Nov 21, 2026 · Gastroenterology & Hepatology

Antibiotic effects on gut-derived short chain fatty acid pools in healthy volunteers

Meta-analysisVisual abstractHepatol Commun · Nov 20, 2026 · Gastroenterology & Hepatology

Liver stiffness decreased by 2.76 kPa after 56 days of alcohol abstinence

Alcohol abstinence and liver stiffness by vibration-controlled transient elastography: A systematic review and meta-analysis