Introduction
Hepatic neoplasms are categorically classified into primary tumours originating within the liver and secondary tumours arising from metastatic dissemination of malignancies from other primary sites. Hepatocellular carcinoma (HCC) is a leading global cancer (comprising 75–85% of cases) and the most common primary liver malignancy. It is ranked second in cancer-related deaths and is primarily linked to chronic liver diseases caused by hepatitis B or C, consumption of aflatoxin-contaminated foods, excessive alcohol consumption, obesity, type 2 diabetes, tobacco smoking, and metabolic-associated fatty liver disease (MAFLD) [1–5]. HCC incidence varies geographically, with higher rates in HBV-endemic regions. In most cases, HCC develops in the context of cirrhosis. Cholangiocarcinoma (CCA) (10–15%) is the second most common primary liver cancer [2–7]. It arises from the epithelial cells of the intrahepatic and extrahepatic bile ducts and is classified based on its anatomical location in the biliary tree [7–9]. Combined hepatocellular-cholangiocarcinoma (cHCC-CCA) is a primary malignancy of the liver displaying characteristics of both hepatic and biliary differentiation. This tumour, classified as a “biphenotypic” neoplasm, is a seldom observed phenomenon, accounting for fewer than 5% of all primary liver cancers [7]. Epithelioid haemangioendothelioma (EH) represents a rare low-grade malignant liver tumour, typically asymptomatic at detection [10, 11]. Liver angiosarcoma, originating from endothelial cells, is exceptionally rare and highly aggressive [12–14]. Malignant fibrous histiocytoma (MFH) is an uncommon liver tumour, with extremities being the most common site [12, 13]. Undifferentiated embryonal sarcoma (UES) is a highly malignant liver neoplasm typically found in children aged 6 to 10 years [12, 13, 15]. Nested stromal epithelial tumour (NSET), a recently identified primary neoplasm, is extremely rare in the liver [16]. Primary hepatic neuroendocrine tumours (PHNT) constitute a mere 0.3% of all neuroendocrine tumours and are exceptionally rare [17]. The liver serves as a frequent site for metastasis, primarily attributed to its distinctive cellular and architectural composition that provides a conducive environment for tumour cells [18, 19]. Various malignancies originating from the gastrointestinal tract, breast, prostate, neuroendocrine system, and sarcomas exhibit a propensity to metastasise to the liver. Notably, in the United States, liver metastases surpass primary liver tumours in prevalence [18, 20, 21]. Metastatic diseases, accounting for over 90% of solid tumour-related mortalities, exert a significant impact on the healthcare system, leading to escalated costs, heightened spending, and increased demand for healthcare resources [22, 23]. The existing body of literature predominantly focuses on specific cancer subtypes, particularly colorectal cancer, while overlooking other cancers with liver metastatic potential, such as pancreatic, breast, and prostate cancers [24–27]. Historical data suggest that individuals with liver metastases have a poorer prognosis compared to those without this condition. However, there is a lack of direct quantification of this disparity, and few contemporary studies that provide supporting evidence for these observations [27, 28]. This study aimed to comprehensively explore the profound impact of artificial intelligence (AI) and image processing in the context of liver cancer, with a specific focus on their pivotal roles in the domains of diagnosis, treatment guidance, and prognosis. Through an in-depth narrative review, we aim to elucidate the various applications of AI and image processing in enhancing the understanding and management of liver cancer, highlighting their potential to revolutionise current practices in oncology. Two independent reviewers screened the studies, resolving any discrepancies through discussion.
AI and medical applications
AI involves the creation of computer algorithms that perform tasks typically associated with human intelligence. AI encompasses a wide spectrum of technological advancements facilitating the simulation of human cognitive abilities by robots and computers [29, 30]. This term is widely used to encompass various forms of learning, including machine learning, representation learning, deep learning, natural language processing, and large language models. There exists a wide range of potential applications for large language model (LLM) technology in the field of medicine, benefiting both patients and healthcare providers [31]. The overarching goal of AI in the field of medicine is to utilise these technologies to extract pertinent information from well-organised databases and aid in affecting clinical decision-making [32]. AI technologies have multiple functions, such as assisting in diagnoses and selecting therapies, predicting risks, stratifying diseases, minimising medical errors, and enhancing productivity [33, 34].
Radiomics in liver lesion diagnosis
Radiological diagnosis of focal liver lesions relies on the subjective visual assessment of ultrasound (US), computed tomography (CT), or magnetic resonance imaging (MRI). However, the heterogeneity of these lesions poses challenges in accurate classification. Therefore, radiomics on hepatic lesions has gained interest. Numerous studies have demonstrated the feasibility of liver tumour classification using radiomics across various imaging modalities [35–42].
Zhao et al. reported a computer-aided approach to distinguish 6 types of hepatic lesions based on radiomics features in unenhanced CT scans, achieving an overall accuracy of 88% and 76% in training and testing sets, respectively [35]. Oyama et al. utilised texture analysis and topological data analysis on T1-weighted MR images to differentiate between HCC, metastatic tumours, and HHs, reaching an accuracy of 92% [36]. In differentiating between benign and malignant hypervascular hepatocellular lesions, radiomics approaches have shown promising results [37]. Nomograms combining radiomics scores and clinical factors exhibited good differentiation capability in preoperative assessments. Radiomics analyses with clinical factors were also effective in discriminating between focal nodular hyperplasia (FNH) and HCC, as well as FNH and hepatocellular adenoma (HCA) [37, 38]. Recent advancements in radiomics including a study by Wang et al. with the use of PyRadiomics to extract 1316 features from MR images for distinguishing between combined hepatocellular cholangiocarcinoma, HCC, and cholangiocarcinoma. Their model, incorporating high-order features, demonstrated a 10% improvement in classification compared to low-order image features. These findings underscore the potential of radiomics in enhancing the precision of liver lesion diagnosis and classification [41]. Chu et al. analysed 203 intrahepatic cholangiocarcinomas (ICCs) and developed a predictive model for avoidable resections. The radiomic model outperformed the clinical model, achieving a sensitivity of 0.846 and a specificity of 0.771 in the validation cohort [43]. In a study by Quin et al., a multilevel model incorporating clinicopathology, molecular pathology, and radiology predicted early recurrence after curative intent surgery [44]. Analysing 18,120 radiomic features from CT studies and 48 clinical features, the radiomics-based model demonstrated superior performance to conventional staging systems, offering prognostic value for postoperative management. Hao et al. devised a non-invasive CT-based radiomics analysis model for predicting early recurrence in 177 ICC patients. Employing Max-Relevance Min-Redundancy (MRMR) and Gradient Boosting Machine (GBM) on stable radiomic models, the model achieved high AUCs of 0.802 and 0.781 in the training and testing sets, respectively [45]. In total, radiomics, corresponding to the extraction and analysis of quantitative features from medical images, has emerged as a promising field in radiology [46]. It can be coupled with AI, enhancing diagnostic accuracy and providing more valuable insights for personalised medicine [47]. Indeed, the last decade has seen increased development of computerised tools that convert images into quantitative mineable data (radiomics) and their subsequent analyses with AI [48]. Radiomics, which utilises computers to extract a large amount of information from different types of images, and forms various quantifiable features aided by AI algorithms that select relevant features to build models for predicting the outcomes of clinical problems. However, while initial studies looking at radiomics have been very promising, there has been poor standardisation and generalisation of radiomic results, limiting the translation of this approach into clinical practice. This is particularly evident in issues related to data quality control, repeatability, reproducibility, generalisability of results, and concerns about model overfitting. To address these limits, Hu et al. propose that future radiomic research should be assessed via the radiomics quality score established by Lambin et al. [49, 50]. Awareness of their potential is the prerequisite for improving research standards and encouraging their adoption by the scientific community [51].
The role of image processing and machine learning in liver cancer
Machine learning (ML), a closely linked discipline within the field of AI, refers to the overarching concept denoting a machine’s capability to learn and subsequently enhance its patterns and models for analytical purposes [52, 53]. In the field of image processing, an essential step is referred to as “image smoothing”, which aims to enhance the quality of the image by reducing noise and distortions. This stage plays a crucial role in facilitating the extraction and classification of image features. Particularly in the analysis of biological images, it becomes imperative to utilise an appropriate filtering methodology. To achieve exceptional outcomes, it becomes necessary to carefully select a liver tumour image denoising algorithm that is highly effective. Additionally, the employment of segmentation algorithms holds promise in effectively removing undesirable elements from liver images. Further investigation and advancement in research and development are needed in the areas of denoising, segmentation, feature selection, and prediction algorithm selection as they pertain to liver tumour imagery [54]. Chlebus et al. performed feature extraction on CT imaging data of liver cancer and utilised these features as training parameters to construct an artificial neural network (ANN)-assisted diagnosis model. This ANN was simulated and employed for liver cancer diagnosis in CT images. The results demonstrated notable enhancements in the sensitivity and specificity of liver cancer diagnosis [55].
AI and histopathological applications in liver specimens
In recent years, advancements in AI have significantly contributed to its widespread application within the medical domain. Specifically, deep learning algorithms have emerged as potent tools in machine learning, leveraging deep neural network architectures [56, 57]. These networks have found utilisation in diverse tasks such as computer vision and natural language processing [58]. Of particular significance is their remarkable application in medical image analysis and timely detection of various diseases [59–62]. Yu-shiang et al. employed a binary classifier based on GoogLeNet (Inception-V1) to classify histopathology images of hepatocellular carcinoma (HCC). The classifier demonstrated an accuracy of 91.37% (±2.49), a sensitivity of 92.16% (±4.93), and a specificity of 90.57% (±2.54) in the classification of HCC [62]. Lu et al. utilised pre-trained CNN models, namely VGG 16, Inception V3, and ResNet 50, to effectively differentiate between normal and cancer samples based on extracted HCC histopathological images. Nevertheless, one limitation of the study is the absence of multiple classification sample categories [63]. The integration of a multiphoton microscope with a deep learning algorithm has been empirically validated to effectively categorise hepatocellular carcinoma (HCC) differentiation, presenting a groundbreaking approach to computer-aided diagnosis [64]. This study aimed to assess the performance of 5 specific deep learning models – VGG16, ResNet50, ResNet_CBAM, SENet, and SKNet – in the context of classification experiments [65, 66]. The VGG16 network is characterised by its simplicity and a relatively small number of hyperparameters. It is primarily focused on constructing a convolutional layer using a 3 × 3 filter with a stride of 1, wherein the padding parameter is considered. This architectural design of the VGG network simplifies the neural network structure. However, one of the drawbacks of the VGG network is its large number of parameters, which leads to significant resource consumption during training processes [67, 68]. CBAM is a straightforward and efficient module used in convolutional neural networks. It enhanced the representation ability of intermediate feature maps within the network. Additionally, CBAM is designed as a versatile and integrated module that can be seamlessly incorporated into any end-to-end neural network architecture [69]. The concept underlying the SENet is characterised by its simplicity, enabling straightforward integration with pre-existing network structures. The SENet model introduces a novel block structure known as the SE block, wherein each feature layer is employed within the squeeze compression model architecture, employing excitation to effectively capture feature channel dependencies [70, 71]. SKNet and SENet are modules that can be seamlessly incorporated into a neural network architecture. These modules employ the attention mechanism to merge feature maps obtained from convolutional kernels of varying sizes. The size of the attention is determined by the deterministic information extracted by these diverse convolutional kernels [72]. The SKNet model incorporates a soft attention mechanism into the network architecture, enabling the network to gather information from various receptive fields. This enhances the generalisation ability of the network, resulting in a network structure that performs better on different tasks and datasets [73].
AI in the treatment of liver cancer
To overcome limitations commonly associated with performing liver resections, various definitions and risk scores exist for evaluating the complexity of laparoscopic liver resections, with the IWATE criteria being the prevailing choice in current practice [74]. Operating on tumours greater than 10 cm poses significant challenges, often pushing the boundaries of what is technically resectable. Trocar placement, liver lobe mobilisation, and tumour perforation due to shear forces are among the intraoperative difficulties that may arise [75]. Filmann et al. reported that the mortality rate following liver resection exhibits an incremental rise commensurate with the extent and necessity of biliary reconstruction, potentially reaching as high as 25% [76]. Augmented reality (AR) was used as an alternative tool, which requires the implementation of robotic hepatic surgery technologies for guidance in challenging anatomical locations. Despite the enhanced depth perception provided by the 3D visualisation and the improved video resolution and magnification, the robotic system still presents the disadvantages inherent to a minimally invasive approach in comparison to an open hepatectomy [77, 78]. From an oncological perspective, augmented reality (AR) technology in combination with AI-assisted programs plays a significant role in tumour localisation and guiding parenchymal transection during surgical procedures. It proved effective in preoperative planning by providing a 3D rendering of the tumour and its surrounding structures. Intraoperatively, AI in combination with AR allows precise targeting of the lesion and resection margins, enhancing the accuracy of surgical resection. AR offers advanced visualisation tools and assists in optimising surgical strategies for improved outcomes in cancer treatment [77–82]. Tactile feedback provided by the sense of touch assists the operator in accurate positioning about various intrahepatic landmarks. Notably, in the first order pedicles, arteries, veins, and biliary structures exhibit a thickened fibrotic sheath, and the lack of sensation in robotic surgery may lead to surgeon disorientation during dissection, potentially resulting in vascular injuries. Moreover, the presence of lesions in vital regions such as the hepatic confluence may render robotic dissection more intricate [81]. Heat-based (microwave, radiofrequency) and other types of transhepatic ablative procedures are considered alternative treatments for small hepatic lesions (< 3 cm ideally), offering similar oncological outcomes to liver resections, with fewer postoperative complications [83, 84]. Intraoperative ultrasound (US) guidance is typically utilised to localise the lesion. However, the US lacks a three-dimensional perception, and the ablation process itself can produce artifacts that obscure the target, thereby affecting the efficacy of the treatment. To address these limitations, some studies have proposed the use of an AR interface in preclinical studies, which would allow for better planning of the procedure and guide needle placement through a cooperative system involving a surgeon robot [85, 86]. Over the last 2 decades, there has been a notable and continuous escalation in the quantity and intricacy of robotic-guided interventions [87, 88]. Originally trailed in the late 1980s within the realm of neurosurgery, these systems subsequently underwent development for application in interventional radiology [89, 90]. Gradually, they have become a useful tool for performing biopsies and tumour ablations, proving particularly invaluable in instances that would otherwise necessitate a high level of expertise [91, 92]. In a 2023 systematic review of 429 percutaneous liver thermal ablations and 57 liver biopsies, all robot-guided, Bodard et al. demonstrated that the mean deviation of the probes was reduced by 30% and that robot-assisted interventions required 40% fewer readjustments [93]. Additionally, robotic systems reduced operating time, ranging from 15% to 25%. Finally, the average radiation dose delivered to the patient and operator was reduced by 50% compared to manual procedures. As of today, a few robotic devices have received FDA and/or CE approval, including the MAXIO, EPIONE, ROBIO-EX, AcuBot, and ACE robotic systems [93]. These procedures have garnered significant attention in the context of liver interventions, attributed to the elevated prevalence of liver diseases, the anatomical challenges of the liver, and the escalating demand for minimally invasive methodologies [94, 95]. In the domain of liver procedures, ensuring a secure trajectory to reach the target without causing harm to critical structures assumes paramount importance. This is especially critical for tumour ablation procedures such as microwave ablation (MWA), radiofrequency ablation (RFA), and irreversible electroporation (IRE), where a meticulous and efficient workflow is imperative for ensuring both the safety and efficacy of the treatment [96, 97]. The quantity of needle insertions, coupled with considerations such as depth, location, and tumour size, profoundly influences the safety of the procedure for the patient and subsequently impacts treatment outcomes [97, 98]. Advanced software improves post-operative ablation margin assessment, enhancing precision in procedures like microwave and radiofrequency ablation [98]. This leads to more effective treatment, reducing the risk of residual tumour cells and positively impacting long-term patient outcomes. Post-operative failure to meticulously account for these parameters may increase the risk of complications or tumour cell seeding, particularly in the context of challenging tumour locations such as the caudate lobe or the hepatic dome. Neglecting these parameters may elevate the risk of complications or the seeding of tumour cells [95–98]. In the context of a liver transplantation program, the primary constraint in the provision of medical care currently resides in the limited availability of organs. The United Network for Organ Sharing (UNOS) has conducted a survey that revealed a notable reduction of approximately 20% in the number of patients who remain eligible for liver transplantation [99]. The initial endeavour to guide the allocation of organs utilising donor information was carried out by Feng et al., who introduced the quantitative donor risk index [100]. This approach involved employing a Cox regression model to prognosticate graft failure solely based on donor characteristics [100]. Various strategies, including machine learning, are being explored to address the imbalance between the number of individuals in need of liver transplants and the limited availability of donated organs. Pérez-Ortiz et al. conducted a study employing ordinal regression and support vector machine techniques to develop a model that could be utilised alongside the Model for End-Stage Liver Disease (MELD) score. The aim was to allocate organs to those patients ranked highest on the waiting list according to their MELD scores, while also considering their likelihood of improved survival outcomes [101].
AI’s predictability of treatment response
Surgical resection is a curative treatment and offers long-term survival for patients with synchronous or metachronous colorectal liver metastases (CLM) [102]. However, only a small percentage (20%) of newly diagnosed patients are suitable candidates for surgery. For those patients who are not eligible for surgery, ablative therapies have emerged as a viable treatment option with acceptable safety and efficacy profiles [103–105]. Despite these advancements, recurrence after CLM treatment remains a significant issue, with a high overall risk of local or distant tumour development following surgical resection or ablation, where resection showed improved local tumour progression (LTP), liver progression-free survival (LPFS), and overall survival (OS) compared to ablative techniques [106, 107]. These studies have not considered as a factor the ablation margins. A recent meta-analysis suggests that achieving a minimal thermal ablation margin of 10 mm yields optimal outcomes for colorectal liver metastases (CLM). However, it is emphasised that a minimal margin of 5 mm is crucial for effective local tumour control [108]. Early recurrences are associated with a poorer prognosis. The use of chemotherapy is crucial in determining the outcome of patients with resectable or unresectable CLM, and it has the potential to convert up to one-third of initially unresectable patients into candidates for potentially curative treatment [109]. Ensuring an accurate evaluation of the response to chemotherapy is of utmost significance in the context of personalised treatment decision-making, particularly in determining the suitability for surgical intervention or the necessity for administering second-line treatment options [110]. In a study conducted by Wei et al., a deep learning (DL) radiomics model was utilised to predict the response of colorectal liver metastases (CLM) patients to various chemotherapy regimens (CAPEOX, mFOLFOX6, FOLFIRI, or XELIRI) based on contrast-enhanced CT scans [111]. The predictions were made by the response evaluation criteria in solid tumours. The results from the validation cohort showed that the deep learning (DL) model had an area under the curve (AUC) of 0.820 (95% confidence interval (CI): 0.681–0.959). Furthermore, when the DL-based model was combined with the measurement of carcinoembryonic antigen (CEA) serum levels, the AUC increased to 0.830 (95% CI: 0.688–0.973). In metastatic cases, treatment with trastuzumab and lapatinib is beneficial in around 70% of patients [112]. Taghavi et al. developed a machine learning (ML)-based radiomics analysis of pretreatment CT scans combined with patients’ clinical features to predict early local tumour progression after ablation treatment. Within this study, up to 5 nodules per patient with a maximum diameter of 30 mm were included. The authors reported a concordance index of 0.79 (95% CI: 0.78–0.80) in the validation cohort for their predictive model [113]. Anti-epidermal growth factor receptor (EGFR) therapies have demonstrated efficacy in the treatment of colorectal liver metastases (CLM) with wild-type RAS mutational status. However, there remains a significant demand for dependable biomarkers that can accurately assess the risk-benefit ratio of these therapies on an individual patient basis with AI assistance [114]. Dercle et al. developed an AI model using ML techniques. This model was designed to assess changes in tumour phenotype based on interval CT scan images taken at baseline and 8 weeks later. The findings of this study indicate that the developed model successfully predicted sensitivity to anti-EGFR therapy with a sensitivity value of 0.80 and a 95% confidence interval (CI) ranging from 0.69 to 0.94. Additionally, the model demonstrated a statistically significant association with overall survival (p < 0.05), further emphasising its potential clinical relevance in prognostic applications [115]. The artificial neural network (ANN) model created by Spelt et al. was used to retrospectively examine a cohort of 241 patients who had undergone liver resection for colorectal liver metastasis (CLM) in a single-centre setting. Out of the 28 potential risk variables assessed, the ANN model identified 6 variables (age, preoperative chemotherapy, size of largest metastasis, haemorrhagic complications, preoperative CEA level, and number of metastases) that were more effective in predicting survival compared to the Cox regression model. The ANN model achieved a C-index of 0.72, indicating improved accuracy in survival prediction, while the Cox regression model achieved a C-index of 0.66 [116].
Future perspectives of AI in liver cancer
Exploring AI’s potential in medicine, future perspectives encompass precision diagnostics, personalised treatments, and transformative healthcare innovations. AI has the potential to greatly aid radiologists in the identification of colorectal liver metastases (CLM) by analysing medical images. In this regard, AI algorithms can play a crucial role in automatically segmenting the liver, which can enable a comprehensive preoperative evaluation of the future liver volume and the resection of liver tissue for the surgical team. This aids in the development of an effective treatment strategy. Additionally, AI-based simulations and educational tools can assist in the training of young healthcare professionals specialising in both surgical and oncological fields. These tools can enhance their ability to accurately diagnose and treat, thereby improving patient outcomes [117–119]. AI-driven therapeutic interventions may prove advantageous for patients who have been deemed unsuitable candidates for surgical treatments. Leveraging computational analysis of genetic and molecular data, AI has the potential to identify plausible pharmaceutical interventions [120]. Recent advancements in the understanding of spatially varying perfusion coefficients, which can be obtained through imaging modalities, have the potential to significantly enhance precision medicine on a global scale. By integrating this knowledge into image analysis techniques, it becomes possible to evaluate the heterogeneity of perfusion in biological tissues with greater accuracy and precision. This breakthrough finding holds immense promise in revolutionising the field of precision medicine and has far-reaching implications for improving diagnostic capabilities and treatment strategies worldwide [121, 122]. Detecting these processes at an early stage could reveal the development of metastatic lesions within the hepatic parenchyma [122, 123]. The advent of robotic systems presents promising avenues for addressing challenges associated with procedural planning, instrument manipulation, precise probe placement, and margin assessment. This technological integration holds the potential to enhance precision and accuracy in liver interventions, thereby contributing to improved overall outcomes in the realm of medical procedures [124].
While existing studies have demonstrated the role of AI and image processing in liver cancer with promising results, it is important to note that many of these studies are not of high-level evidence, such as randomised controlled trials (RCTs). Despite this limitation, there remains a significant need for standardisation and the conduct of large-scale randomised trials to validate and further elucidate the findings from these studies. Standardisation of AI algorithms, imaging protocols, and data analysis methods is crucial to ensure reproducibility and comparability across studies. Additionally, large, randomised trials are essential to assess the clinical utility and effectiveness of AI-based approaches in improving diagnosis, treatment guidance, and prognosis in liver cancer patients. Only through rigorous standardisation and high-quality evidence from large randomised trials can the full potential of AI and image processing in liver cancer be realised.
Conclusions
The integration of AI in liver cancer holds immense promise, offering advancements in early detection, treatment stratification, and prognostic assessment. While preliminary results are encouraging, standardising AI methodologies is crucial. Continued research is essential to validate and refine AI algorithms across diverse patient populations. The integration of AI into routine clinical practice for liver cancer requires comprehensive studies to establish efficacy, reliability, and adherence to standardised protocols. AI promises a more individualised and secure approach to patient care, and collaborative efforts in research and clinical validation will shape the future landscape of AI-driven innovations in liver cancer management.