# An interpretable deep learning framework based on TabNet-Cox for risk stratification and prognostic assessment in hepatocellular carcinoma immunotherapy

**Authors:** Wei Dong, Cheng Qian

PMC · DOI: 10.3389/fimmu.2026.1751829 · Frontiers in Immunology · 2026-02-11

## TL;DR

This study develops a deep learning model called TabNet-Cox to predict survival and assess risk in liver cancer patients receiving immunotherapy.

## Contribution

The novel contribution is an interpretable deep learning model for hepatocellular carcinoma immunotherapy prognosis using baseline clinical variables.

## Key findings

- TabNet-Cox achieved a C-index of 0.79 and AUC of 0.81 in predicting overall survival in ICI-treated HCC patients.
- The model effectively stratified patients into distinct risk groups with significantly separated survival curves (P < 0.001).
- SHAP analysis identified key risk factors like AFP, GGT, and LDH, and protective factors like albumin and lymphocyte count.

## Abstract

Therapeutic outcomes after immune checkpoint inhibitors (ICIs) in hepatocellular carcinoma (HCC) are highly heterogeneous. Accurate prognostic assessment is essential for risk stratification and clinical management. This study aimed to develop and validate an interpretable deep-learning survival model, TabNet-Cox, for predicting overall survival (OS) in ICI-treated HCC patients.

A total of 453 consecutive HCC patients treated with ICIs at Harbin Medical University Cancer Hospital between January 2018 and December 2023 were retrospectively enrolled and randomly assigned to a training cohort (n = 339) and an internal validation cohort (n = 114). An independent external validation cohort of 105 patients was collected from the Second Affiliated Hospital of Harbin Medical University under the same inclusion criteria. Baseline demographic variables, tumor characteristics, pretreatment management categories (surgery, locoregional therapy, or none), and laboratory parameters were used to develop TabNet-Cox. Model performance was assessed under a repeated 5-fold cross-validation protocol and further evaluated in the internal and external cohorts using the concordance index (C-index), AUC, and Brier score. SHapley Additive exPlanations (SHAP) and unsupervised clustering were applied for interpretability and phenotype exploration. Clinical utility was examined using decision curve analysis (DCA) with BCLC stage as the reference.

TabNet-Cox showed the best overall performance among the survival models compared, achieving a C-index of 0.79 and an AUC of 0.81 with the lowest Brier score (0.059) in the development setting. In the external validation cohort, TabNet-Cox demonstrated stable discriminative performance, with well-defined ROC curves and good calibration. Using the prespecified risk cut-off, the model effectively stratified patients into distinct risk groups, yielding significantly separated Kaplan–Meier survival curves (P < 0.001). SHAP analysis highlighted AFP, GGT, and LDH as major risk contributors, whereas albumin and lymphocyte count were protective. Unsupervised clustering within high-risk patients suggested two patterns, a tumor burden-dominant phenotype and a liver dysfunction-dominant phenotype, which should be interpreted as hypothesis-generating.

TabNet-Cox provides an accurate and interpretable framework for OS prediction and risk stratification in ICI-treated HCC using routinely available baseline variables. Its performance was supported by resampling-based evaluation and independent external validation, supporting its potential value for individualized prognostic assessment.

## Linked entities

- **Diseases:** hepatocellular carcinoma (MONDO:0007256), liver cancer (MONDO:0002691)

## Full-text entities

- **Genes:** SHROOM4 (shroom family member 4) [NCBI Gene 57477] {aka MRXSSDS, SHAP, shrm4}, CD274 (CD274 molecule) [NCBI Gene 29126] {aka ADMIO5, B7-H, B7H1, PD-L1, PDCD1L1, PDCD1LG1}, COX8A (cytochrome c oxidase subunit 8A) [NCBI Gene 1351] {aka COX, COX8, COX8-2, COX8L, MC4DN15, VIII}, PDCD1 (programmed cell death 1) [NCBI Gene 5133] {aka ADMIO4, AIMTBS, CD279, PD-1, PD1, SLEB2}, ALB (albumin) [NCBI Gene 213] {aka FDAHT, HSA, PRO0883, PRO0903, PRO1341}, AFP (alpha fetoprotein) [NCBI Gene 174] {aka AFPD, FETA, HPAFP}, SLC17A5 (solute carrier family 17 member 5) [NCBI Gene 26503] {aka AST, ISSD, NSD, SD, SIALIN, SIASD}, GGTLC5P (gamma-glutamyltransferase light chain 5 pseudogene) [NCBI Gene 653590] {aka GGT}
- **Diseases:** IBS (MESH:D000081042), BCLC (MESH:D006528), necrosis (MESH:D009336), liver dysfunction (MESH:D017093), hypoalbuminemia (MESH:D034141), hypoxic (MESH:D002534), autoimmune diseases (MESH:D001327), N (MESH:C536108), toxicity (MESH:D064420), liver cirrhosis (MESH:D008103), A-B disease (MESH:D006509), infection (MESH:D007239), Cancer (MESH:D009369), death (MESH:D003643), viral hepatitis (MESH:D014777), inflammatory (MESH:D007249), hepatic dysfunction (MESH:D008107)
- **Chemicals:** bevacizumab (MESH:D000068258), apatinib (MESH:C553458), atezolizumab (MESH:C000594389), camrelizumab (MESH:C000631724), bilirubin (MESH:D001663), Atezo (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12932533/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12932533/full.md

## References

43 references — full list in the complete paper: https://tomesphere.com/paper/PMC12932533/full.md

---
Source: https://tomesphere.com/paper/PMC12932533