Introduction

Cirrhosis is the end stage of chronic liver diseases (CLDs) arising from various etiologies. Clinically, liver biopsies and non-invasive tests assist in determining the fibrosis stages of CLDs. While non-invasive tests are increasingly available1, only liver histology does allow to assess morphological features of CLDs. However, relying solely on collagen degradation may limit our understanding of CLDs staging, as fibrosis does not fully encompass the complexity of biological events that occur as CLDs progress2. A more comprehensive histological assessment ought to consider factors affecting the disease’s progression or regression3.

Vascular changes are a critical factor that has garnered considerable attention in the context of progressing or regressing liver fibrosis4. Previous studies have demonstrated that arterial and ductal densities correlate with the histologic stages as defined by the METAVIR, Ishak, or Laennec systems5,6. Hepatic vascular alterations facilitate the progression of CLDs by disrupting the liver’s internal homeostasis7. Improving vascular changes by protecting endothelial cells can inhibit the liver fibrosis, as evidenced by the use of anticoagulants, simvastatin, and vascular endothelial growth factor (VEGF) modulation8,9,10,11,12,13. Notably, distinct vascular features aid the regression of CLDs by reducing tissue hyperemia7,14. The significance of vascular changes on the progression and regression of liver fibrosis is clear, yet the distinct differences in these changes across various CLDs etiologies remain undefined.

Among existing digital methods for analyzing vessels, microvessel density (MVD) is often used as a surrogate marker for assessing angiogenesis15. Whole-slide scanning and algorithm-based uniform random sampling are employed to minimize sampling errors16. However, traditional MVD metrics cannot differentiate between arteries and veins. The limitations of liver histology in assessing fibrosis stages are multifaceted17,18.

Imaging modalities like magnetic resonance imaging (MRI) and computed tomography (CT) are employed to directly observe blood vessels and bile ducts, while magnetic resonance angiography (MRA) necessitates contrast agents19. In contrast, MRA may be augmented with specific antigens, antibodies, or small molecule fluorescent probes to enhance contrast based on the requirements of scientific research, enabling precise localization20. Yet, given the limits of imaging principles, visualizing microvasculature smaller than 100 μm remains challenging, impeding both widespread application and research efforts.

Machine learning technologies have become increasingly integral in medical research in recent years. For instance, qFibrosis21, founded on second harmonic generation/two-photon (SHG-TP) fluorescence microscopy, offers a stable, repeatable, and visual quantitative method for quantitatively assessing liver fibrosis in CLDs, and which exhibiting high correlation with METAVIR fibrosis scores21,22. Our research introduces a qualitative and quantitative approach (qVessel) based on SHG-TP. This method evaluates changes in microvessel structure across different chronic liver diseases with visible detail. We anticipate that it will significantly enhance the pathological understanding and assist in the regression of liver cirrhosis.

Results

Clinical information

This study included 46 patients with chronic hepatitis B (CHB), comprising 25 males and 21 females, ranging in age from 32 to 65 years. The distribution of patients across METAVIR fibrosis stages was as follows: 7 patients in the F1 stage, 11 in F2, 12 in F3, and 16 in F4. Additionally, the study enrolled 48 patients with primary biliary cholangitis (PBC), including 22 males and 26 females, aged between 33 and 67 years. The breakdown by fibrosis stage for PBC patients was 8 in F1, 15 in F2, 12 in F3, and 13 in F4. The cohort also included 43 patients with metabolic dysfunction-associated steatotic liver disease (MASLD), consisting of 8 males and 35 females aged from 23 to 69 years. The number of MASLD patients at each fibrosis stage was 5 at F1, 8 at F2, 12 at F3, and 18 at F4 (see Table 1 for details).

Table 1 Basic information of chronic hepatis patients due to CHB/PBC/NAFLD.

Arterial recognition results of qVessel

The cross validation showed the qVessel algorithm’s average overall True Positive Rate (TPR) was 0.38, and the True Negative Rate (TNR) was 0.90. Conversely, the False Positive Rate (FPR) stands at 0.10, and the False Negative Rate (FNR) was 0.62. Detailed recognition parameters for each sample were presented in Supplement Table 1. The average repeatability consistency of the qVessel algorithm for the rotated images was 75.85% (Supplement Table 2).

Arterial density (AD) and collagen proportionate area (CPA) increased with progressing liver fibrosis stages

As liver fibrosis progressed from F1 to F4, AD showed positive correlation with fibrosis stages of the three etiologies (P < 0.05) (Fig. 1). The r value of CHB, PBC and MASLD are 0.530 (P = 0.000), 0.470 (P = 0.001), 0.612 (P = 0.000), respectively. However, no significant differences were found between the different etiologies within each fibrosis stage (P > 0.05) (Table 2).

Fig. 1
Fig. 1
Full size image

Changes of AD and CPA in different stages of CLDs.

Table 2 Comparisons between AD in different stages of CLDs.
Table 3 Comparisons between CPA in different stages of CLDs.
Table 4 Comparison of AUROCs between CPA and AD in different CLDs.

Similarly, with progressing liver fibrosis stages (F1 to F4), CPA of the three etiologies also showed positive correlation with fibrosis stages (P < 0.05) (Fig. 1). The r value of CHB, PBC and MASLD are 0.754 (P = 0.000), 0.674 (P = 0.001), 0.612 (P = 0.000), respectively. Yet, there were no significant differences noted between different etiologies within each stage (P > 0.05) (Fig. 1; Table 3).

AD and CPA performed similar diagnostic efficacy in liver cirrhosis

The area under the receiver operating characteristic curve (AUROC) of AD for diagnosing F4 was 0.804 (95% CI, 0.661–0.947; P = 0.001; sensitivity, 81.3%; specificity, 76.7%) in CHB, 0.699 (95% CI, 0.550–0.848; P = 0.036; sensitivity, 92.3%; specificity, 48.6%) in PBC, and 0.776 (95% CI, 0.633–0.920; P = 0.003; sensitivity, 100.0%; specificity, 61.5%) in MASLD.

The AUROC of CPA for diagnosing F4 was 0.848 (95% CI, 0.734–0.962; P = 0.000; sensitivity, 87.5%; specificity, 80.0%) in CHB, 0.873 (95% CI, 0.772–0.974; P = 0.000; sensitivity, 100.0%; specificity, 65.7%) in PBC, and 0.788 (95% CI, 0.654–0.923; P = 0.002; sensitivity, 81.3%; specificity, 69.2%) in MASLD.

There was no significant difference between AD and CPA for diagnosing F4 in CHB(P>0.05), MASLD(P>0.05),and PBC(P = 0.059). (Table 4; Fig. 2)

Fig. 2
Fig. 2
Full size image

AUROC of AD and CPA in diagnosing F4 of CLDs.

Discussion

Assessing liver fibrosis is an effective means to estimate the progression and prognosis of CLDs, to determine the optimal treatment timing, to monitor drug efficacy, and to guide long-term management23. Non-invasive tests (NITs) have been regarded as an ideal indicator for evaluating liver fibrosis, which has good reproducibility and is easy to promote. It mainly includes direct serum markers, composite serum marker diagnostic models, and imaging methods. However, there are no exact serum markers or composite models reported to predict fibrosis regression. Liver stiffness measurement (LSM) which is currently the most well-known transient elastography. Although LSM has certain advantages in the diagnosis of advanced liver fibrosis in CLDs24, its value of drug efficacy evaluation for liver fibrosis has not been widely recognized. Previous randomized controlled trials have shown that the changes of LSM were only a predictor for the regression of inflammation rather than liver fibrosis25,26. The clinical guidelines suggested that the higher LSM, the higher the sensitivity and specificity for liver fibrosis. Given that higher LSM have a wider range of potential for decline, it is more likely to achieve positive conclusions in cirrhosis patients. Therefore, liver biopsies are still the best method for evaluating the stage and drug efficacy of liver fibrosis.

To the best of our knowledge, this study is the first to show arterial changes across various etiologies of CLDs using a non-staining, quantitative methodology. It has been traditionally thought that changes in vascular structure are mostly observed in cirrhosis or advanced stages of fibrosis. Nevertheless, our research indicates that these alterations can also occur in the early to intermediate stages of fibrosis, and that vascular changes differ among the different etiologies of CLDs.

The SHG/TP imaging system was first described and invented by Tai et al.27. Over time, this methodology has evolved and is now extensively applied in the clinical research of liver diseases, allowing for the quantitative analysis of both the quantity and structure of collagen21. Compared to conventional histopathological assessments, this approach can more accurately capture the regression trends in hepatitis B-related fibrosis28,29 and can provide stable and precise evaluations for small liver biopsy specimens that are challenging to assess through traditional pathology30. As such, it considerably reduces inter-observer variability stemming from manual assessments and the inconsistencies between different evaluation systems, such as reconciling between the Ishak and METAVIR fibrosis scoring systems31. Building on this foundation, qVessel expands the capabilities to differentiate and quantify vessels, aiming to digitally visualize liver pathology. This provides a means for quantitative and qualitative comparisons between diseases and offers an objective basis for more refined staging and pharmacodynamic evaluations of liver fibrosis.

The chronic course of liver fibrosis is a struggle between liver inflammation and regeneration, and liver inflammation which is known as parenchymal extinction (PE) is closely related to fibrosis stages. In a normal liver, the portal stroma and sinusoidal reticulin fibers constitute the main types of collagen. During PE, the stroma collapses and collagen concentration can increase from 4% to as much as 50%, with a concomitant decrease in collagen synthesis5. As such, PE is considered a principal factor contributing to the elevated collagen concentration seen in cirrhosis6. This concept has been supported by findings in acute fulminant liver failure32. Based on the concepts, we evaluate the fibrosis stages by observing the morphology and quantity of fibers33,34,35. However, vascular heterogeneity is also an important characteristic in liver fibrosis36. For example, chronic inflammation in the portal tract is characterized not only by fibrotic collagen deposition but also by varying degrees of edema and inflammation of the vascular endothelium, which in severe cases can lead to portal vein thrombosis and occlusion37,38,39. Following early obstruction of small portal veins, portal vein flow becomes relatively insignificant, making hepatic artery flow a useful proxy for inflow load in the sinusoids. With the occurrence of PE, the arteries persist to supply the remaining parenchymal cells. Therefore, AD has been suggested as an indicator of PE. Our research shows that AD displays a strong correlation with CPA and the METAVIR staging system, and both should be considered simultaneously when determining the stages of fibrosis.

Liver injury will stimulate the wound healing response, and rapid cell proliferation requires a large amount of blood flow and nutrient supply, leading to local hypoxia in liver tissue. Under the involvement of hypoxia inducible factor-1 (HIF-1), tissue hypoxia stimulates hepatocytes to upregulate the expression of VEGF, angiopoietin I (Ang I), and related receptors40, thereby inducing angiogenesis and promoting the increase of AD. Meanwhile, other cytokines that have dual effects of promoting fibrosis and angiogenesis, such as platelet growth factor, transforming growth factor-β, fibroblast growth factor, continuously promote the formation of PE through autocrine and paracrine pathways of activated hepatic stellate cells and sinusoidal endothelial cells, ultimately leading to cirrhosis41. The destruction of liver lobules, alteration in tissue blood oxygen concentration, and relative immunosuppression caused by heterogeneous oxygen distribution collectively create a conducive internal environment for tumor development42.

In advanced fibrosis, the increasing of AD in MASLD is greater than that in CHB and PBC, which is consistent with previous reported. The proliferation of artery in the central vein area could been observed in the early stage of MASLD43. The abnormal changes in vessels may be the vascular basis for the occurrence of hepatocellular carcinoma in non- cirrhotic MASLD compared to other CLDs. The reason for this may be related to the histological feature of chicken-wire fibrosis in MASLD. The formation of peri cellular fibrosis completely isolates the exchange of substances between hepatocytes and sinusoids, and the pathological changes of cell apoptosis are more easily observed (ballooning and Mallory bodies). Ischemia and hypoxia stimulate the synthesis and release of VEGF, Ang, endothelin, and nitric oxide, thereby promoting angiogenesis. Although CHB and PBC share similar molecular mechanisms, the fibrosis is more pronounced in the portal area, and the abundant blood flow crossing in the hepatic sinusoids partially alleviates the differences in blood oxygen distribution caused by ischemia and hypoxia.

The three causes of CLDs represent portal tract expansion in post-necrotic fibrosis, biliary fibrosis and pericentral fibrosis respectively44. The different fibrosis types may the main reason for the differences in AUROC of CPA. The differences in AUROC of AD may be related to the different intrahepatic pressure. The physiological structure of liver lobules involves a pressure balance between the fluid inflow and outflow. There is vascular obstruction and local hyperemia that causes a departure from this range, summarized as “in-out-imbalance”(IOI)7. The obstruction of bile flow caused by cholangitis can also induce IOI, thereby limiting the compensation of angiogenesis for hypoxia. This may be the reason for the poor diagnostic efficacy of AD in biliary fibrosis.

Limitations

Our study is limited by the simple sizes; hence, the sample sizes for various diseases are restricted, and sampling error is inherent. Our data is based on self-validation algorithms, new samples are still needed to modify the algorithm and make it more realistic. Since all samples are derived from humans, the qVessel algorithm may not be directly applicable to pharmacodynamic evaluations in animal models, potentially limiting its broader application. Current technological constraints mean that qVessel does not account for the number of vessels in the hepatic sinusoids when quantifying blood vessels. A future objective is to overcome this limitation.

Conclusions

In conclusion, qVessel is a quantitative and qualitative visualization algorithm for liver vessels, which employs a synergistic approach of classical pathology and artificial intelligence. The microvascular alterations it uncovers contribute to a deeper understanding of the pathogenesis and evolution of liver fibrosis, aiding in the refinement of fibrosis staging and in the assessment of clinical drug efficacy.

Methods

Patients

All patients were recruited from January 2010 to December 2023 at Shuguang Hospital. The study collected 46 needle biopsies from patients with CHB, 48 from those with PBC, and 43 from individuals with MASLD. (Approval Number:2015-445-73-01, Institutional Review Board of Shuguang Hospital)

Each liver biopsy specimen was acquired using a 16-gauge needle through transcutaneous biopsy, ensuring a tissue length greater than 1.5 cm. The specimens were then formalin-fixed and paraffin-embedded (FFPE) for preservation.

Histological assessment

The METAVIR staging system was employed to evaluate fibrosis stages on trichrome-stained tissues. An experienced liver histopathologist (Dr. Kun Liu; Pathology Department of Shuguang Hospital).

For SHG-TP, unstained slides of all samples (n = 137) were analyzed on identical equipment (Genesis system; HistoIndex Pte., Singapore) as described previously27,28,29,30. CPA is measured by using SHG45.

Multi-immunohistochemical (Multi-IHC) staining

The sequential immunohistochemistry consisting of iterative cycles of staining, scanning, and antibody/chromogen stripping was performed according to a modified protocol based on previous reports46,47. The slides were visualized with either an anti-mouse or anti-rabbit horseradish peroxidase-conjugated polymer (ab236467, Abcam), followed by peroxidase detection with 3,3’-Diaminobenzidine Tetrahydrochloride (DAB) for CK19(ab52625,1:200, Abcam), 3-Amino-9-Ethylcarbazole (AEC) for a-SMA (ab5694,1:200, Abcam), and Emerald for CD34(ab81289,1:50, Abcam).

Development of qVessel algorithm

The qVessel algorithm was a machine learning-based method for identification of arteries from SHG/TP images (Fig. 3). 56 biopsy samples (23 CHB patients, 19 PBC patients and 14 MASLD patients) with different etiologies and fibrosis stages were randomly selected as the training cohort of qVessel algorithm. After collecting SHG/TP original images of the training cohort, Multi-IHC staining was performed for the same samples. The Multi-IHC images were collected by a digital pathology slide scanner (scn400, LEICA company, Germany). In the Multi-IHC images, Veins were revealed in blue by CD34, bile ducts were revealed in brown by CK19, and arteries were revealed in red by SMA. The locations of veins, bile ducts and arteries were annotated from the Multi-IHC images by a pathologist. The pathologist’s annotations were used as the ground truth for the training of qVessel algorithm.

Fig. 3
Fig. 3
Full size image

Flowchart of qVessel.

As described in the previous study45, collagen and liver tissue regions were detected from the SHG channel and TP channel, respectively, using the Otsu’s automatic threshold method48. All lumen candidates including veins, arteries, bile ducts, fat vacuoles, sinusoids and cracks were identified within the liver tissue region. To differentiate arteries from other lumens, multiple pathological features for the lumen candidates were defined and measured, such as the brightness of lumen wall, the length and width of lumens, the morphological characteristics of collagen fiber and elastin signal surrounding the lumen candidates. Then, we trained a decision tree model for artery classification based on the ground truth and the features of lumen candidates, using the classification and regression tree (CART) method49. qVessel algorithm can measure the AD which was the number of arteries per 1 mm2 tissue area.

To estimate how accurately the model will perform in practice, leave-one-out cross-validation method was used. Briefly, one sample is randomly retained as the validation data while the remaining 55 samples are used as training data to construct the model. The cross-validation process is repeated 56 times, with a different sample left out each time. The overall performance of the model is assessed based on the TPR, TNR, FPR and FNR.

During the process of repeatability test, 19 samples were randomly selected and rotated 90° to evaluate the robustness of qVessel algorithm. The same arteries identified from both raw and rotated images by the algorithm were counted and analyzed for the repeatability test (Supplements results).

Statistical analysis

Data analysis was conducted using SPSS 22.0 software. Measurement data were presented as mean ± standard deviation. Categorical data were described using frequencies, and comparisons were made using the χ2 (chi-square) test. One-way ANOVA was utilized in comparisons of CPA between MASLD and CHB or PBC, respectively. Wilcoxon rank-sum test was used for comparisons of AD between MASLD and CHB or PBC, respectively. The AUROC were used to assess the diagnostic accuracy of CPA and AD for liver cirrhosis, the cut-off value was used Youden Index, 95% confidence interval (95% CI), and sensitivity/specificity approaches to describe the outcomes. Delong test was used to compare AUROC. Statistical significance was established at a two-tailed P-value of less than 0.05 (P < 0.05).