arXiv:2610.30944cs.CVOct 2026

Manuscript Offprint

arXiv:2610.30944

Attention-guided classification and tumor localization of combined hepatocellular-cholangiocarcinoma

Xiaowen Liang, Hélène Cazier, Aurélie Beaufrère, Miguel Albuquerque, Valérie Paradis, Cédric Wemmert

ABSTRACT

Combined hepatocellular-cholangiocarcinomas (cHCC-CCA) are a type of cancer that share components of two other primary liver cancers: hepatocellular carcinoma (HCC) and cholangiocarcinoma (CCA). Accurate diagnosis of cHCC-CCA, of which the behavior may resemble that of either HCC or CCA, remains a challenge due to strong intratumoral heterogeneity. Since the prognoses differ between liver cancer types, it is necessary to improve their morphological characterization and recognition in order to accurately identify cHCC-CCA. In this work, we use whole slide images (WSIs) of the two main types of liver cancer (HCC and CCA) and cHCC-CCA, stained with Hematoxylin–Eosin–Safran (HES), to train a classification model that can distinguish between these subtypes and provides a potential solution for localizing different types of tumors in the combined liver cancer images.

Index Terms— Combined hepatocellular-cholangiocarcinoma, whole-slide imaging, multiple instance learning, attention supervision, tumor component localization

1. INTRODUCTION

Hepatocellular carcinoma (HCC) and cholangiocarcinoma (CCA) are the major primary liver carcinomas, whereas combined hepatocellular-cholangiocarcinoma (cHCC-CCA) exhibits both hepatocytic and cholangiocytic differentiation [1]. This morphological heterogeneity motivates computational approaches for both whole-slide image (WSI) classification and component localization. Calderaro et al. [2] used a classifier trained on pure HCC and intrahepatic CCA (iCCA) to characterize HCC-like and iCCA-like morphology in cHCC-CCA. Beaufrère et al. [3] combined supervised tumor detection with feature clustering to estimate HCC and iCCA component proportions in cHCC-CCA biopsies.

Since detailed WSI annotations are difficult to obtain, weakly supervised multiple instance learning (MIL) performs classification from slide-level labels only. ABMIL [4] introduced attention-based instance aggregation, which CLAM [5] and TransMIL [6] extended through instance-level clustering and inter-instance modeling, respectively. MS-CLAM [7] further incorporated limited patch-level annotations and attention supervision to improve tumor classification and localization. However, high classification accuracy does not guarantee pathologically plausible attention or faithful explanations of model predictions [8].

We propose an attention-supervised three-class MIL model for HCC, CCA, and cHCC-CCA classification, using attention references from a binary HCC–CCA model to encourage pathological plausibility. We also propose a jointly trained dual-branch model that learns complementary attention patterns within tumor regions, generating distinct heatmaps of the same cHCC-CCA slide to localize HCC-like and CCA-like components.