A method for digital assessment of renal fibrosis based on a multi-modal deep learning model

By using a multimodal deep learning model, combined with topological anisotropic scanning and adaptive fusion technology, the problems of incomplete information and unstable diagnosis in existing renal fibrosis assessments have been solved, enabling objective quantitative assessment and accurate grading of renal fibrosis, thus improving the accuracy and reliability of diagnosis.

CN123181827APending Publication Date: 2026-11-27THE FIRST PEOPLES HOSPITAL OF FOSHAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611393285.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing renal fibrosis assessment techniques rely on a single data source and lack an understanding of multi-level pathological change patterns and complex spatial relationships of microstructures, resulting in incomplete diagnostic information. Traditional multimodal data fusion strategies cannot effectively handle information conflicts and noise interference, reducing the reliability and stability of diagnosis.

Method used

A multimodal deep learning model is used to extract deep semantic features by acquiring clinical indicator data and whole-slice pathological images. The state space model of topological anisotropic scanning is used to extract deep semantic features. Combined with microstructure segmentation and morphometric features, adaptive weighting and bidirectional verification are performed to output fibrosis grading results.

Benefits of technology

By deeply exploring the complex spatial relationships of the organization's microstructure, maintaining topological continuity, dynamically identifying information quality and value, suppressing information conflicts and noise interference, the accuracy and credibility of the assessment are improved, and the risk of misclassification is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181827A_ABST
    Figure CN123181827A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of digital pathology, and discloses a kind of renal fibrosis digital evaluation method based on multi-modal deep learning model;The clinical index data and whole section pathological image of the kidney tissue sample to be measured are obtained, the pathological image is subjected to deep feature extraction, and the microscopic structure boundary blur area is effectively processed by non-orthogonal scanning path and boundary attenuation factor.Pathological image is subjected to microstructure segmentation, and morphometric features and microenvironment heterogeneity gradient are extracted to generate pathological features.Through discriminant power estimation mechanism, the classification contribution of each modal feature is evaluated, and modal fusion is carried out.Using inter-level blur area adaptive prompt classification head to handle adjacent grade classification problems, through projection distance calculation and antagonistic rejection item optimization, the discriminative feature expression of inter-level blur area is enhanced.The present application improves the accuracy and consistency of renal fibrosis grading, and realizes end-to-end automatic evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital pathology technology, and more specifically, to a digital assessment method for renal fibrosis based on a multimodal deep learning model. Background Technology

[0002] Current renal fibrosis assessment techniques generally rely on a single data source for analysis. Pathologists often make subjective judgments based solely on microscopic observation of tissue sections, lacking a systematic integration of the patient's clinical biochemical indicators. This isolated analysis mode leads to severely incomplete diagnostic information. In actual clinical practice, complex cases frequently arise where pathological morphology does not perfectly match renal function indicators, making it difficult to accurately assess the true extent of disease progression based solely on morphological observation. Secondly, current pathological image analysis techniques remain at the stage of superficial feature recognition, mainly analyzing by extracting simple color distribution, texture patterns, and basic geometric shape features. This method cannot deeply understand the complex spatial relationships and multi-level pathological changes in the renal tissue microstructure. Especially when dealing with the boundary areas of different microstructures such as glomeruli, tubules, and interstitium, traditional regular grid scanning methods artificially disrupt the natural topology of the tissue, leading to confusion of feature information across boundaries and loss of contextual continuity. This technical deficiency is particularly prominent when dealing with early fibrosis or mild pathological changes. Current multimodal data fusion strategies are too simplistic and crude, typically employing linear combinations with fixed weights or simple feature splicing. They lack dynamic mechanisms to perceive differences in the quality and discriminative capabilities of different data sources, and cannot effectively handle potential information conflicts and noise interference between different modalities. In clinical practice, this static fusion approach often leads to the negative impact of low-quality data sources on the overall assessment results, reducing the reliability and stability of the diagnosis.

[0003] In view of this, the present invention proposes a digital assessment method for renal fibrosis based on a multimodal deep learning model to solve the above problems. Summary of the Invention

[0004] To overcome the aforementioned deficiencies of the prior art and to achieve the above objectives, the present invention provides the following technical solution: a digital assessment method for renal fibrosis based on a multimodal deep learning model, comprising: Obtain clinical indicator data and whole-section pathological images of the kidney tissue sample to be tested; The whole-slice pathological image is input into the deep feature extraction network. The deep feature extraction network uses a state-space model based on topological anisotropic scanning to perform multi-directional scanning and feature extraction on the whole-slice pathological image and outputs deep semantic features. Microstructural segmentation was performed on whole-section pathological images, and morphometric features and microenvironmental heterogeneity gradients were extracted based on the segmentation results to obtain pathomic features. Discriminant power is estimated for clinical indicator data and pathomic features respectively. Based on the discriminant power estimation results, deep semantic features, pathomic features and clinical indicator data are adaptively weighted and fused with bidirectional verification to obtain a multimodal fusion representation. The multimodal fusion representation is input into the inter-level fuzzy domain adaptive cue classification head, which outputs the fibrosis grading result of the kidney tissue sample to be tested.

[0005] The technical effects and advantages of the digital assessment method for renal fibrosis based on a multimodal deep learning model of the present invention are as follows: This invention can deeply explore the complex spatial relationships and multi-level pathological changes in tissue microstructures. Particularly when dealing with the boundaries of microstructures, it effectively maintains topological continuity, avoids confusion and loss of boundary information, and improves the accuracy and completeness of feature representation. This invention can dynamically identify and weigh the quality and value of different information sources, adaptively adjust the contribution weight of each part of the information, and effectively suppress information conflicts and noise interference, ensuring high quality and high reliability of the fusion results. By intelligently identifying and specially processing samples in ambiguous regions between levels, this invention can enhance the system's ability to perceive subtle pathological differences and significantly reduce the risk of misclassification of boundary cases. This invention can effectively cope with quality fluctuations and feature differences in data from different sources, ensuring stable performance in various complex scenarios. Attached Figure Description

[0006] Figure 1 This is a schematic diagram of a digital assessment method for renal fibrosis based on a multimodal deep learning model according to the present invention. Detailed Implementation

[0007] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0008] Please see Figure 1 The present invention proposes a digital assessment method for renal fibrosis based on a multimodal deep learning model, comprising the following steps: Step 1: Obtain clinical indicator data and whole-section pathological images of the kidney tissue sample to be tested; Step 2: Input the whole-slice pathological image into the deep feature extraction network. The deep feature extraction network uses a state-space model based on topological anisotropic scanning to perform multi-directional scanning and feature extraction on the whole-slice pathological image and output deep semantic features. Step 3: Perform microstructural segmentation on the whole-section pathological image, and extract morphometric features and microenvironment heterogeneity gradient based on the segmentation results to obtain pathomic features. Step 4: Discriminant power estimation is performed on clinical indicator data and pathomic features respectively. Based on the discriminant power estimation results, deep semantic features, pathomic features and clinical indicator data are adaptively weighted and fused with bidirectional verification to obtain a multimodal fusion representation. Step 5: Input the multimodal fusion representation into the inter-level fuzzy domain adaptive cue classification head, and output the fibrosis grading result of the kidney tissue sample to be tested.

[0009] In this embodiment of the invention, the present invention acquires clinical indicator data and whole-slice pathological images of the kidney tissue sample to be tested. It extracts deep semantic features using a state-space model based on topological anisotropic scanning, combines microstructural segmentation to extract morphometric features and microenvironmental heterogeneity gradients, performs multimodal adaptive weighting and bidirectional verification fusion based on discriminant power estimation, and utilizes an adaptive prompting classification head for inter-level fuzzy domains to output fibrosis grading results. This effectively overcomes the technical problems of existing kidney fibrosis assessment methods, such as reliance on pathologists' subjective experience, lack of quantitative assessment standards leading to poor consistency of assessment results, and the inability of traditional image analysis methods to effectively integrate clinical indicators and pathological image information, and lack of accurate identification capability for fuzzy regions between fibrosis grades. Therefore, it achieves the technical effects of realizing objective quantitative digital assessment of kidney fibrosis, improving assessment accuracy through multimodal deep learning to integrate clinical and pathological information, and achieving accurate grading judgment for fuzzy regions between fibrosis grades, providing reliable quantitative basis for the diagnosis and treatment decisions of kidney diseases.

[0010] In a preferred embodiment of the present invention, the acquisition of clinical indicator data and whole-section pathological images of the kidney tissue sample to be tested includes: Step 1.1: Obtain the clinical indicator data of the patient corresponding to the kidney tissue sample to be tested from the hospital information system. The clinical indicator data includes serum creatinine level, urinary protein quantification, glomerular filtration rate, and disease duration. Specifically, this includes establishing a data interface between the renal fibrosis digital assessment system and the hospital information system. This interface can access the patient's electronic medical records and laboratory reports in real time. For the patient corresponding to the kidney tissue sample to be tested, retrieve the patient's complete clinical laboratory information from the hospital information system using a unique patient identification code. Key clinical indicators related to renal fibrosis were collected: serum creatinine levels were obtained from biochemical test reports; this indicator reflects renal excretory function, with a normal range of 44 to 133 μmol / L in adults, and elevated levels indicating decreased renal function. Urinary protein levels were obtained through 24-hour urine protein quantification; the normal value is less than 150 mg / 24 hours, and elevated levels indicate damage to the glomerular filtration barrier. Glomerular filtration rate (GFR) data were obtained through renal function tests; this indicator directly reflects the glomerular filtration capacity, with a normal value greater than 90 ml / min / 1.73 m² body surface area. Disease duration data were obtained from medical history records, documenting the time span from the initial diagnosis of kidney disease to the current tissue biopsy. All acquired clinical indicator data underwent unit standardization and numerical range verification to ensure data accuracy and consistency.

[0011] Step 1.2: High-resolution digital scanning of HE-stained and Masson-stained sections of the kidney tissue sample to be tested was performed using a whole-section scanner to obtain whole-section pathological images. This specifically includes standardized histological processing of the kidney tissue sample in the pathology laboratory, including formalin fixation, paraffin embedding, and section preparation. Tissue sections with a thickness of 3 to 5 micrometers were prepared and stained with hematoxylin-eosin and Masson trichrome staining, respectively. Hematoxylin-eosin staining can clearly display the morphology and structure of cell nuclei and cytoplasm, suitable for identifying microscopic structures such as glomeruli and renal tubules; Masson trichrome staining can specifically label collagen fibers, making fibrotic areas appear blue, suitable for quantitative assessment of the degree of fibrosis. The stained sections were digitally scanned using a high-resolution whole-section scanner with a scanning resolution set to 40x objective equivalent and a pixel resolution of 0.25 micrometers per pixel, ensuring clear capture of microscopic structural details such as glomerular capillaries and renal tubular epithelial cells. The scanned whole-slice pathological images are stored in a pyramid-shaped format, supporting multi-scale image browsing and analysis. The pixel size of a single whole-slice image typically reaches tens of thousands by tens of thousands of pixels, completely preserving the spatial structural information of the tissue sample.

[0012] Step 1.3 involves preprocessing the whole-slide pathological images, including color normalization and tissue region segmentation. Specifically, after receiving the original whole-slide pathological images from the whole-slide scanner, color normalization is first performed to eliminate color differences between different scanning devices and staining batches. The Reinhard color normalization algorithm is used to uniformly adjust the color distribution of the image to be processed to the color space of the standard reference image. This algorithm independently adjusts the mean and standard deviation of the luminance and color channels in the LAB color space to ensure consistent staining performance from images of different sources. After color normalization, tissue region segmentation is performed to exclude background areas, blank areas on the slide, and artifact areas from the whole-slide images. A threshold segmentation method based on the HSV color space is used, automatically determining the segmentation thresholds for tissue and background areas by analyzing the histogram distribution characteristics of the saturation and luminance channels. After segmentation, a binary tissue mask image is generated, marking the areas containing valid tissue information in the whole-slide pathological image. Further morphological processing of the tissue mask is performed, including hole filling and small area removal, to ensure the continuity and integrity of the tissue regions. The preprocessed whole-slice pathological images and their corresponding tissue masks are input into the subsequent deep feature extraction network.

[0013] In a preferred embodiment of the present invention, the above-mentioned state-space model based on topological anisotropic scanning performs multi-directional scanning and feature extraction on whole-slice pathological images, outputting deep semantic features, including: Step 2.1 involves extracting the semantic boundaries of microstructures in the whole-section pathological image and determining the blurred areas between microstructures based on these semantic boundaries. Specifically, this includes inputting the preprocessed whole-section pathological image into a semantic segmentation network trained on a U-Net architecture, capable of identifying the main microstructure types in kidney tissue, including glomeruli, tubules, interstitial regions, vascular structures, and fibrotic regions. The semantic segmentation network performs classification prediction for each pixel in the whole-section pathological image, outputting a pixel-level microstructure category label map. Based on the classification label map, an edge detection algorithm is used to extract the boundaries between different microstructure categories, i.e., the semantic boundaries. The extraction of semantic boundaries employs a morphological gradient operator, calculating the spatial gradient of the label map to identify category transition positions and generating a set of pixel coordinates for the semantic boundaries. Further analysis of the classification confidence distribution of the semantic boundaries is conducted; for the probability map output by the segmentation network, the predicted probability of each pixel belonging to different categories is extracted. Near the semantic boundary, the probability difference between adjacent microstructure categories is calculated. When the probability difference is less than a preset fuzziness threshold, such as 0.3, it indicates that the classification result of the boundary region has significant uncertainty, and this region is marked as a microstructure boundary fuzzy region. Microstructure boundary fuzzy regions typically appear at the junction of the glomerulus and renal tubule, the transition region between the renal tubule and interstitium, and the edge of fibrosis infiltration. The tissue morphology features of these regions show gradual transitions rather than clear boundaries. The boundary fuzzy region is expanded into a band-shaped region of a certain width through a dilation operation. The width is determined according to the image resolution and the microstructure scale, for example, set to a width of 20 pixels to ensure complete coverage of the transition region.

[0014] Step 2.2: Generate a non-orthogonal scanning path across the blurred area of ​​the microstructure boundary. The non-orthogonal scanning path is dynamically deflected along the normal direction of the blurred area. Specifically, the traditional state-space model uses orthogonal scanning paths from left to right and from top to bottom to serialize the image feature map. This scanning method, when crossing different microstructure boundaries, mixes pixel features belonging to different tissue types into the same hidden state sequence, leading to confusion of microstructure boundary information. To solve this problem, this invention designs a non-orthogonal scanning path generation mechanism based on the blurred area of ​​the microstructure boundary. First, the center line of the blurred area of ​​the microstructure boundary is calculated. This center line is obtained through a skeleton extraction algorithm and represents the main direction of the blurred area. Discrete sampling is performed on the center line, and the tangent direction and normal direction of the center line are calculated at the sampling point. The normal direction is the direction perpendicular to the extension direction of the blurred area, and this direction represents the shortest path direction from one microstructure region to another. A non-orthogonal scanning path is designed based on the normal direction: Within the microstructure region outside the boundary ambiguity area, the scanning path maintains the traditional row-column scanning method. When the scanning path approaches the boundary ambiguity area, the angle between the current scanning direction and the normal direction of the boundary ambiguity area is detected. If the angle is greater than a preset deflection trigger threshold, for example, set to 30 degrees, a dynamic path deflection mechanism is activated. Path deflection is achieved by adjusting the two-dimensional vector of the scanning step size, gradually adjusting the scanning direction to advance along the normal direction of the boundary ambiguity area, ensuring that the scanning path passes through the boundary ambiguity area perpendicularly, rather than extending along the direction of the boundary ambiguity area. The deflection process employs a smooth transition strategy to avoid discontinuities in the scanning sequence caused by sudden path changes. This non-orthogonal scanning path design minimizes the mixing of different microstructure features in a single scanning sequence, maintaining the perception of the topological continuity of the microstructure.

[0015] Step 2.3 involves performing a serialized state-space scan of the feature map along a non-orthogonal scanning path, introducing a boundary attenuation factor when scanning to the blurred region of the microstructure boundary, resulting in deep semantic features with topological continuity awareness. Specifically, this includes using the feature map output from the intermediate layer of the deep feature extraction network as input to the state-space model. This feature map contains multi-channel feature representations encoded by a convolutional neural network. Based on the generated non-orthogonal scanning path, the pixel features in the feature map are serialized, converting the two-dimensional spatially distributed features into a one-dimensional temporal sequence. The state-space model uses a linear state-space equation for feature propagation, which includes a hidden state transition matrix and an observation mapping matrix. The hidden state vector is updated recursively. When scanning to the blurred region of the microstructure boundary, the boundary attenuation factor mechanism is activated. First, the spatial distance between the current scanning position and the nearest center of the blurred region is calculated. This distance is calculated using the Euclidean distance formula, which is the distance between the current pixel coordinates and the coordinates of the nearest point on the center line of the blurred region. The attenuation weight is calculated based on spatial distance, and a Gaussian attenuation function is used to design the relationship between the attenuation weight and spatial distance: when the spatial distance is zero, i.e., at the center of the boundary ambiguity region, the attenuation weight reaches its minimum value, set to 0.1; when the spatial distance exceeds half the width of the boundary ambiguity region, the attenuation weight recovers to 1.0, indicating no attenuation is applied. The Gaussian attenuation function ensures that the attenuation weight changes smoothly and non-linearly with spatial distance, avoiding abrupt feature changes caused by step weight changes. The calculated attenuation weight is multiplied element-wise with the hidden state vector at the current scanning position to achieve attenuation modulation of the hidden state. The attenuated hidden state is suppressed in terms of feature amplitude, reducing the influence of boundary ambiguity region features on subsequent sequence encoding and effectively avoiding context feature confusion between different microstructure regions. When the scanning path leaves the boundary ambiguity region and enters a new microstructure region, the attenuation weight gradually recovers, and the hidden state can fully re-encode the feature information of the current microstructure region, realizing adaptive blocking and updating of the hidden state between different microstructure regions. Through a complete topological anisotropic scanning and boundary attenuation mechanism, the hidden state sequence output by the state-space model fully preserves the topological continuity information of the kidney tissue microstructure, avoiding the structural boundary confusion problem caused by traditional scanning methods. Finally, the hidden state sequence output by the state-space model is subjected to global average pooling to obtain a fixed-dimensional deep semantic feature vector, which serves as a high-level semantic representation of the whole-slice pathological image.

[0016] In a preferred embodiment of the present invention, the introduction of a boundary attenuation factor when scanning to a blurred region of microstructure boundaries includes: Step 2.3.1 calculates the spatial distance between the current scanning position and the center of the nearest microstructure boundary blur region. Specifically, this includes: real-time tracking of the pixel coordinates of the current scanning position during the sequential scanning of the feature map using a non-orthogonal scanning path in the state space model. It queries the pre-generated microstructure boundary blur region marker map to determine if the current pixel is located within or near the boundary blur region. When the current scanning position is detected to be approaching or entering the boundary blur region, the spatial distance calculation process is initiated. First, the coordinate set of all skeleton pixels is extracted from the centerline skeleton data of the boundary blur region. The centerline skeleton represents the geometric center direction of the boundary blur region. Then, the Euclidean distance between the pixel coordinates of the current scanning position and the coordinates of all pixels on the centerline skeleton is calculated. The Euclidean distance is calculated as the square root of the sum of the squares of the differences between the coordinates of two points. All points on the centerline skeleton are traversed to find the skeleton point with the smallest distance to the current scanning position. This minimum distance is the spatial distance between the current scanning position and the center of the nearest microstructure boundary blur region. The unit of spatial distance is pixels, and the value ranges from zero to the maximum half-width of the boundary blur region. This distance accurately reflects the relative position of the current scanning position within the boundary blur region.

[0017] Step 2.3.2 involves calculating the attenuation weight based on spatial distance. The attenuation weight is negatively correlated with the spatial distance. Specifically, after receiving the calculated spatial distance value, a Gaussian function is used to design the calculation formula for the attenuation weight. The Gaussian function ensures that the attenuation weight increases smoothly with the increase of spatial distance, reflecting the negative correlation. In the specific calculation, the spatial distance is first normalized by dividing the spatial distance by a set half-width of the boundary blur area, such as 20 pixels, to obtain the normalized distance. The value of the normalized distance ranges from 0 to 1. Then, the normalized distance is substituted into the Gaussian attenuation function. This function is designed so that the minimum attenuation weight is output when the normalized distance is 0, and the attenuation weight is close to 1 when the normalized distance is 1. The parameters of the Gaussian decay function include a minimum decay weight threshold and a decay rate control parameter. The minimum decay weight threshold is set to 0.1, meaning that even at the center of the blurred boundary region, the hidden state retains 10% of its transmission capability, avoiding information loss due to complete truncation. The decay rate control parameter is adjusted by the standard deviation of the Gaussian function, which is set to one-third of the normalized distance range to ensure that the decay weight exhibits a smooth gradient characteristic within the blurred boundary region. The calculated decay weight value ranges from 0.1 to 1.0. This weight value accurately reflects the spatial relationship between the current scan position and the center of the blurred boundary region, providing precise weight coefficients for subsequent hidden state modulation.

[0018] Step 2.3.3 multiplies the decay weights with the hidden state vector at the current scan position to suppress contextual feature confusion when crossing microstructural boundaries, enabling adaptive blocking and updating of the hidden state across different microstructural regions. Specifically, this involves: obtaining the hidden state vector calculated by the state-space model at the current scan position. This hidden state vector is a high-dimensional feature vector, typically with dimensions of 256 or 512, containing accumulated contextual information from the start of the scan sequence to the current position. The decay weights calculated in the previous step are used as scalar coefficients and multiplied element-wise with the hidden state vector, that is, each dimension component of the hidden state vector is multiplied by the same decay weight value. The effect of this multiplication operation is to scale the magnitude of the hidden state vector: when the decay weight is close to 1, the hidden state vector remains essentially unchanged, and feature propagation is unaffected; when the decay weight is small, such as 0.1, the magnitudes of all components of the hidden state vector are compressed to one-tenth of their original value, significantly reducing the impact of the hidden state on subsequent sequence encoding. Through this attenuation modulation mechanism, when the scanning path moves from one microstructural region through a blurred boundary area into another, the hidden states within the blurred boundary area are forcibly attenuated. This effectively blocks the transmission of contextual features from the previous microstructural region to the subsequent region, avoiding the confusion of features from different tissue types. When the scanning path enters a new microstructural region, the spatial distance increases again, and the attenuation weight returns to near 1. The hidden states can then fully re-encode the features of the new region, achieving adaptive updates of the hidden states. This mechanism enables the state-space model to maintain the independence and accuracy of feature representations of each microstructural region when processing complex kidney tissue images containing multiple microstructural types, significantly improving the ability of deep semantic features to represent tissue topology.

[0019] In a preferred embodiment of the present invention, the above-mentioned extraction of morphometric features and microenvironmental heterogeneity gradients based on segmentation results to obtain pathomic features includes: Step 3.1: Extract basic morphometric features from the segmented glomerular, tubular, and interstitial regions. Specifically, this includes: extracting connected components from the pixel-level classification label map output by the semantic segmentation network, where each connected component represents an independent microstructure instance. For each microstructure instance, calculate a series of basic morphometric features. For the glomerular region, the extracted morphometric features include: glomerular area, calculated by multiplying the number of pixels within the glomerular region by the area per unit pixel, reflecting the volume of the glomerulus; glomerular perimeter, obtained by extracting the glomerular boundary contour and calculating its length; glomerular roundness, calculated by the ratio of glomerular area to perimeter, reflecting the regularity of the glomerular shape; glomerular equivalent diameter, calculated by equating the glomerular area to a circle; and the proportion of fibrosis area within the glomerulus, calculated by statistically analyzing the proportion of Masson-positive pixels within the glomerular region, reflecting the degree of glomerular sclerosis. For the renal tubular region, extracted morphometric features include: renal tubular cross-sectional area, renal tubular lumen area, renal tubular epithelial thickness calculated from the width of the tubular wall region, renal tubular dilatation index calculated from the ratio of lumen area to normal lumen area, and renal tubular atrophy index calculated from the ratio of cross-sectional area to normal cross-sectional area. For the interstitial region, extracted morphometric features include: interstitial area percentage calculated from the ratio of the number of pixels in the interstitial region to the total number of pixels in the tissue region; interstitial fibrosis density calculated from the density of Masson-positive pixels in the interstitial region; and interstitial inflammatory cell infiltration density calculated from the detection of cell nuclear density. All basic morphometric features were standardized to ensure comparability of features of different dimensions.

[0020] Step 3.2 involves constructing a multi-scale spatial neighborhood centered on each microstructure region. The differences in basic morphometric features between the central region and each scale neighborhood are calculated. These differences are then subtracted radially to obtain the microenvironmental heterogeneity gradient. Specifically, for each identified microstructure instance, a multi-scale annular neighborhood structure is constructed with its geometric center point as the center. The radii of the multi-scale neighborhoods are set in an increasing sequence, for example, 50 micrometers, 100 micrometers, 200 micrometers, and 400 micrometers, with each scale corresponding to an annular neighborhood. Within each scale's annular neighborhood, all microstructure instances are statistically analyzed, and the average value of the basic morphometric features of these neighborhood microstructures is calculated to obtain the feature statistics of that scale neighborhood. The differences between the basic morphometric features of the central microstructure region and the feature statistics of each scale neighborhood are calculated to obtain a center-neighborhood feature difference sequence. This sequence contains four differences, corresponding to the four neighborhood scales. The center-neighborhood feature difference reflects the degree of morphological difference between the central microstructure and the surrounding spatial environment. Further radial difference calculations are performed on the center-neighborhood feature difference sequence, i.e., calculating the rate of change of difference between adjacent scales, such as the difference between the 100-micrometer and 50-micrometer scales, the difference between the 200-micrometer and 100-micrometer scales, and so on. The numerical sequence obtained from the radial difference calculation is the microenvironmental heterogeneity gradient, which reflects the rate of change of morphological feature differences with spatial distance. A high microenvironmental heterogeneity gradient indicates a drastic morphological difference between the central microstructure and the surrounding environment, suggesting pathological microenvironmental heterogeneity in this region, such as the gradient distribution of focal infiltration of fibrosis or inflammatory responses. The calculation of the microenvironmental heterogeneity gradient is performed independently for each basic morphometric feature, generating a multi-dimensional gradient feature vector.

[0021] Step 3.3 involves concatenating the basic morphometric features with the microenvironmental heterogeneity gradient to obtain pathomic features. Specifically, this includes extracting the basic morphometric feature vector and the microenvironmental heterogeneity gradient vector for all microstructural instances identified in the whole-slice pathological images. The basic morphometric feature vector contains all calculated morphometric parameters of the glomeruli, tubules, and interstitial regions, with a dimension of approximately 30 to 50. The microenvironmental heterogeneity gradient vector contains the radial gradient values ​​of each basic morphometric feature in a multi-scale neighborhood, with a dimension of approximately 90 to 150. The basic morphometric feature vector and the microenvironmental heterogeneity gradient vector are then concatenated end-to-end to form a comprehensive pathomic feature vector with a total dimension of approximately 120 to 200. This pathomic feature vector comprehensively integrates the inherent morphological characteristics of microstructures with the heterogeneous distribution characteristics of their spatial microenvironment, enabling the characterization of the pathological state of kidney tissue from multiple perspectives. The pathomic feature vectors of all microstructural instances are statistically aggregated to calculate the pathomic feature statistics at the whole-slice level, including the mean, standard deviation, maximum, minimum and quantile of each dimension of features, and generate a pathomic feature representation at the whole-slice level. This representation is used as the quantitative pathological feature input of the kidney tissue sample to be tested into the multimodal fusion network.

[0022] In a preferred embodiment of the present invention, the above-mentioned adaptive weighting and bidirectional verification fusion of deep semantic features, pathomic features, and clinical indicator data based on the discriminant estimation results yields a multimodal fusion representation, including: Step 4.1: For each modal feature, calculate the ratio of the inter-class divergence to the intra-class divergence of that modal feature within the current batch as a discriminative power index. Specifically, during model training, each training batch contains multiple kidney tissue samples to be tested and their corresponding fibrosis grade labels. For deep semantic feature modalities, extract the deep semantic feature vectors of all samples within the current batch, and group the feature vectors according to the fibrosis grade labels of the samples. Calculate the inter-class divergence by first calculating the mean vector of the feature vectors within each fibrosis grade group, then calculating the sum of squared distances between the mean vectors of each grade and the overall mean vector of all samples. The sum of squared distances is calculated using the square of the Euclidean distance, multiplied by the number of samples in each grade, and finally summed by the weighted squared distances of all grades to obtain the inter-class divergence. The larger the inter-class divergence value, the farther the distribution centers of different fibrosis grades are in the modal feature space, and the stronger the class discrimination ability of the feature. The intra-class divergence is calculated as follows: For each fibrosis grade group, the sum of squared distances between the feature vectors of all samples within the group and the mean vector of that group is calculated. Then, the sums of squared intra-class distances for all grade groups are summed to obtain the total intra-class divergence. A smaller intra-class divergence value indicates a more compact distribution of samples of the same fibrosis grade in the feature space, and better intra-class consistency of the features. The ratio of inter-class divergence to intra-class divergence is calculated, and this ratio serves as the discriminative power index for the deep semantic feature modality. A larger discriminative power index value indicates a stronger ability of that modality to distinguish fibrosis grades. Using the same calculation procedure, the discriminative power indices for the pathomic feature modality and the clinical indicator data modality are calculated separately to obtain quantitative evaluation results of the discriminative power for each of the three modalities.

[0023] Step 4.2 assigns adaptive scaling factors to the features of the corresponding modality based on the discriminant power index, and performs discriminant power normalization on the features. Specifically, this includes: receiving the calculated discriminant power indices of the three modalities, and using the softmax normalization function to convert the discriminant power indices into adaptive scaling factors. The softmax function normalizes the three discriminant power index values ​​after exponential transformation, ensuring that the sum of the three scaling factors is 1, and that the value of each scaling factor is positively correlated with the discriminant power index of the corresponding modality. Modalities with higher discriminant power indices will receive larger scaling factors, and modalities with lower discriminant power indices will receive smaller scaling factors, reflecting the principle that modalities with strong discriminant power should occupy a larger weight in the fusion process. The calculated adaptive scaling factors are then multiplied by the feature vectors of the corresponding modalities using scalar multiplication to achieve the discriminant power normalization of the features. The specific operation involves multiplying each dimensional component of the deep semantic feature vector by a scaling factor for the deep semantic feature modality, multiplying each dimensional component of the pathomic feature vector by a scaling factor for the pathomic feature modality, and multiplying each dimensional component of the clinical indicator data vector by a scaling factor for the clinical indicator data modality. The normalized feature vectors undergo adaptive amplitude adjustment: the amplitude of features from modalities with strong discriminative power is amplified, while the amplitude of features from modalities with weak discriminative power is reduced. This ensures that the contribution of different modalities matches their discriminative power during subsequent fusion, avoiding excessive noise from weak modalities interfering with strong modalities.

[0024] Step 4.3 involves concatenating the discriminatively normalized deep semantic features, pathomic features, and clinical indicator data, and performing intermodal validation through a bidirectional cross-attention mechanism to suppress intermodal feature conflicts, resulting in a multimodal fusion representation. Specifically, this includes end-to-end concatenation of the discriminatively normalized deep semantic feature vector, pathomic feature vector, and clinical indicator data vector to form a preliminary multimodal feature vector. The concatenation operation splices the three vectors along their feature dimensions to obtain a high-dimensional joint feature representation. The preliminary concatenated multimodal feature vector may suffer from intermodal feature conflicts, i.e., inconsistencies in the prediction of fibrosis levels for the same sample by different modalities. This inconsistency reduces the discriminative reliability of the fused features. To address this issue, a bidirectional cross-attention mechanism is introduced for intermodal validation. First, the clinical indicator feature vector and the pathomic feature vector are concatenated to obtain local observation features, which represent the pathological state observed from both quantitative testing and histomorphological perspectives. Using local observation features as the query vector and deep semantic features as the key and value vectors, a first cross-attention calculation is performed. This calculation employs a scaled dot product attention mechanism: first, the dot product of the query vector and the key vector is calculated; then, it is scaled by dividing by the square root of the key vector's dimension; next, the softmax function is applied to calculate the attention weights; finally, the attention weights and value vectors are weighted and summed to obtain the output. The output of the first cross-attention calculation is a global-local alignment feature, which integrates the response information of deep semantic features to local observation features, achieving alignment between global image semantics and local quantitative observations. Further, using the global-local alignment feature as the query vector and local observation features as the key and value vectors, a second cross-attention calculation is performed to obtain an attention weight matrix. This attention weight matrix reflects the degree of attention paid by the global-local alignment feature to each dimension of the local observation features. A threshold filter is applied to the attention weight matrix, setting a preset threshold of 0.1. Weights with values ​​below 0.1 are reset to zero, retaining only high-weight attention connections. This threshold filter suppresses intermodal feature conflicts, as low attention weights indicate a lack of consistent response in the corresponding feature dimension across modalities, potentially indicating conflicts or noise. The selected attention weight matrix is ​​weighted and fused with local observation features to obtain a multimodal fusion representation that has undergone bidirectional verification. This fusion representation integrates complementary information from deep semantic features, pathomic features, and clinical indicator data. At the same time, it eliminates feature conflicts between modalities through a bidirectional cross-attention mechanism, ensuring the consistency and reliability of the fused features.

[0025] In a preferred embodiment of the present invention, the above-mentioned inter-modal verification through a bidirectional cross-attention mechanism suppresses inter-modal feature conflicts and obtains a multi-modal fusion representation, including: Step 4.3.1 involves concatenating clinical indicator features and pathomic features into local observation features. These local observation features are used as query vectors, and deep semantic features are used as key vectors. The first cross-attention calculation is performed between these local observation features and the value vectors to obtain global-local aligned features. Specifically, this includes receiving the clinical indicator feature vector and the pathomic feature vector after discriminative normalization. These two vectors represent quantitative observation information obtained from clinical testing and pathological morphology perspectives, respectively. The clinical indicator feature vector and the pathomic feature vector are then concatenated end-to-end to form the local observation feature vector. The dimension of the local observation feature vector is the sum of the dimensions of the clinical indicator features and the pathomic features. This vector integrates serological indicators, renal function parameters, and histomorphometry features, representing a local, multi-faceted observation of renal fibrosis status. The local observation feature vector is then mapped to a query vector through a linear transformation layer. The weight matrix of the linear transformation is learned through training, and the dimension of the mapped query vector is set to 256. The deep semantic feature vectors are mapped to key and value vectors through two independent linear transformation layers. The weight matrices of the two linear transformation layers are learned independently. The dimensions of the mapped key and value vectors are both set to 256, consistent with the dimension of the query vector. The first cross-attention calculation is performed. First, the dot product of the query vector and the key vector is calculated to obtain the attention score scalar. The attention score is then divided by the square root of the key vector dimension (256), which is approximately 16, for scaling. This scaling operation avoids excessively large dot product values ​​that could cause the gradient to vanish in the softmax function. The softmax function is applied to the scaled attention score to convert it into normalized attention weights. The weight values ​​range from 0 to 1 and sum to 1. The calculated attention weights are then weighted and summed with the value vector to obtain the output of the first cross-attention calculation, namely the global-local aligned feature vector. The global-local aligned feature vector has a dimension of 256. This vector integrates the response information of deep semantic features to local observation features, achieving feature alignment between global image semantic understanding and local quantitative observation, providing a foundation for subsequent modality verification.

[0026] Step 4.3.2 involves using the global-local alignment features as the query vector and the local observation features as the key and value vectors to perform a second cross-attention calculation, resulting in an attention weight matrix. Specifically, this includes: receiving the global-local alignment feature vector output from the first cross-attention calculation, which already contains the response information of deep semantic features to local observations; mapping the global-local alignment feature vector to the query vector through a linear transformation layer, maintaining a mapping dimension of 256; mapping the local observation feature vector to the key and value vectors respectively through two independent linear transformation layers, both with a mapping dimension of 256; performing the second cross-attention calculation, calculating the dot product of the query vector and the key vector to obtain the attention score. Since the local observation feature vector contains multiple feature dimensions, the key vector is actually a matrix with a dimension equal to the length of the local observation feature multiplied by 256. A matrix multiplication operation is performed between the query vector and the key vector matrix to obtain the attention score vector, the length of which is equal to the number of dimensions of the local observation features; and scaling the attention score vector by dividing it by the square root of the key vector dimension. Applying the softmax function to the scaled attention score vector yields a normalized attention weight vector. Each element of this vector corresponds to a dimension of the local observed features, and the numerical value represents the degree of attention paid to that dimension by the global-local aligned features. The attention weight vector is a simplified representation of the attention weight matrix, which reflects the consistency relationship between the dimensions of global semantic features and local observed features. High weights indicate that the dimension has a consistent predictive tendency from both global and local perspectives, while low weights indicate that the dimension may have intermodal conflicts.

[0027] Step 4.3.3 resets all weights in the attention weight matrix below a preset threshold to zero to suppress intermodal feature conflicts and output a multimodal fusion representation. Specifically, this includes: receiving the attention weight vector calculated by the second cross-attention method and comparing each weight value in the vector with a preset threshold. The preset threshold is set according to modal consistency requirements; for example, it is set to 0.1, meaning only feature dimensions with attention weights greater than or equal to 0.1 are retained. The attention weight vector is iterated through, forcibly setting weights below 0.1 to zero, while weights greater than or equal to 0.1 remain unchanged. This weight-to-zeroing operation suppresses intermodal feature conflicts because low attention weights indicate a lack of consistent response patterns between global deep semantic features and local observation features, possibly due to inconsistencies in intermodal information or noise interference. Resetting its weights to zero cuts off feature transmission in that dimension, preventing conflicting information from interfering with the fusion result. The filtered attention weight vector and the value vector are then weighted and summed. The value vector is derived from a linear transformation of the local observation features, and the weighted summation operation integrates highly consistent local observation feature dimensions. The weighted summation result is concatenated with the global-local aligned feature vector to form the final multimodal fusion representation vector. The dimension of the multimodal fusion representation vector is the global-local aligned feature dimension plus the effective dimension of the filtered local observation features. This vector integrates complementary information from deep semantic features, pathomic features, and clinical indicator data. Furthermore, bidirectional cross-attention and weighted threshold filtering eliminate feature conflicts between modalities, ensuring high internal consistency and discriminative reliability of the fusion representation. The output multimodal fusion representation serves as input to the subsequent inter-level fuzzy domain adaptive cue classification head, providing a high-quality fusion feature representation for accurate fibrosis grading prediction.

[0028] In a preferred embodiment of the present invention, the above-mentioned input of multimodal fusion characterization into an inter-level fuzzy domain adaptive cue classification head, and output of the fibrosis grading result of the kidney tissue sample to be tested, includes: Step 5.1: Calculate the projected distance between the class center features of adjacent fibrosis levels based on the multimodal fusion representation. Generate inter-level fuzzy domain cue vectors based on the projected distance. Specifically, during the model training phase, for samples of different fibrosis levels in the training set, calculate the class center feature vector for each level in the multimodal fusion representation space. The class center feature vector is obtained by averaging the multimodal fusion representation vectors of all training samples of that level, representing the distribution center of the samples of that level in the feature space. Renal fibrosis is usually graded using a four- or five-level standard, such as level 0 normal, level 1 mild fibrosis, level 2 moderate fibrosis, level 3 severe fibrosis, and level 4 end-stage fibrosis, with progressive pathological changes between adjacent levels. After obtaining the class center feature vectors of all fibrosis levels, calculate the Euclidean distance between the multimodal fusion representation vector of the sample to be tested and each class center feature vector, and identify the two nearest adjacent level class centers. The projected distance of the feature vector of the test sample on the line connecting the two adjacent class centers is calculated. This projected distance, calculated using the vector projection formula, reflects the relative position of the test sample in the adjacent class feature space. When the projected distance is close to a class center, it indicates that the sample clearly belongs to that class; when the projected distance is between two class centers and the distances are similar, it indicates that the sample is in the inter-class fuzzy domain, and there is uncertainty in the classification judgment. An inter-class fuzzy domain cue vector is generated based on the projected distance. This vector uses a Gaussian kernel function to encode the projected distance information, mapping continuous projected distances to a fixed-dimensional vector representation. The dimension of the inter-class fuzzy domain cue vector is set to 128. The vector exhibits a unimodal distribution when the projected distance is close to the class center, and a bimodal or flat distribution when the projected distance is between two class centers, providing inter-class position information for the subsequent adaptive cue mechanism.

[0029] Step 5.2 involves performing cross-attention calculation on the multimodal fusion representation and the inter-level fuzzy domain cue vector, introducing an adversarial repulsion term during the calculation to enhance the expression of discriminative features in the fuzzy boundary region between adjacent levels. Specifically, this includes mapping the multimodal fusion representation vector to a query vector through a linear transformation layer, and mapping the inter-level fuzzy domain cue vector to key and value vectors through a linear transformation layer. The weight matrix of the linear transformation layer is learned through training. Cross-attention calculation is performed, and the dot product of the query vector and the key vector is calculated to obtain the attention score. After the attention score is calculated, an adversarial repulsion term is introduced to modulate the attention score. The design goal of the adversarial repulsion term is to increase the feature space distance between the feature distributions of adjacent levels, avoiding the feature representations of inter-level fuzzy domain samples being too similar, which would lead to blurred classification boundaries. In specific calculations, the inter-level fuzzy domain cue vector of the current sample and the class center feature vectors of the two adjacent levels are obtained, and the cosine similarity between the cue vector and the class center feature vectors of each class is calculated. The larger the cosine similarity value, the closer the cue vector is to the class center. An exclusion penalty term is designed, which is positively correlated with the product of the cosine similarity of the two class centers. When a sample is close to both adjacent class centers (i.e., the cosine similarity is high), the exclusion penalty term has a larger value, exerting a greater negative modulation on the attention score. When a sample is clearly close to one class center and far from the other, the exclusion penalty term has a smaller value, with a weaker modulation effect on the attention score. The exclusion penalty term is superimposed on the attention score of the dot product of the query vector and the key vector. The modulated attention score is negatively penalized when the sample is in the inter-level ambiguity domain, forcing the network to seek more discriminative fine-grained features during feature extraction to clearly distinguish the class to which the sample belongs. The modulated attention score is scaled and softmax normalized to obtain the attention weights. The attention weights are then weighted and summed with the value vector to obtain the cross-attention output. This output integrates multimodal fusion representation and inter-level positional cue information, and, guided by the adversarial exclusion term, enhances the expressive power of discriminative features in the inter-level ambiguity domain.

[0030] Step 5.3, based on the output of the cross-attention calculation after introducing an adversarial rejection term, predicts the probability distribution of each fibrosis level to determine the fibrosis grading result of the kidney tissue sample to be tested. Specifically, this includes: receiving the feature vector output from the cross-attention calculation, which integrates multimodal fusion representation, inter-level location cues, and discriminative features guided by adversarial rejection. This feature vector is input into a fully connected classification layer. The output dimension of the fully connected layer is equal to the number of fibrosis levels; for example, the output dimension is 5 for a five-level classification. The fully connected layer performs a linear transformation on the input features to obtain the original score vector for each level, called the logits vector. A softmax function is applied to the logits vector to convert the original scores into a normalized probability distribution, with each level corresponding to a probability value, and the sum of all probabilities being 1. The probability values ​​reflect the likelihood of the sample belonging to each fibrosis level. The level with the highest probability is selected as the output fibrosis grading result of the kidney tissue sample to be tested. Simultaneously, it outputs a complete probability distribution vector, providing clinicians with confidence information for the grading. When the highest probability and the second highest probability are close, it indicates that the sample is in the inter-grade ambiguity region, suggesting a comprehensive judgment based on other clinical information. When the highest probability is significantly higher than other grade probabilities, it indicates that the grading result has high confidence. The output fibrosis grading results and probability distribution information constitute a complete digital assessment report of renal fibrosis, providing quantitative decision support for the diagnosis, staging, and treatment planning of kidney diseases.

[0031] In a preferred embodiment of the present invention, the above-mentioned introduction of an adversarial exclusion term during the calculation process includes: Step 5.2.1, when calculating the attention score of the dot product of the query vector and the key vector in the cross-attention calculation, a repulsion penalty term is superimposed between the inter-level fuzzy domain cue vector of the current sample and the class center features of adjacent levels. Specifically, this includes: during the cross-attention calculation, firstly, the dot product of the query vector and the key vector is calculated according to the standard procedure to obtain the original attention score scalar or vector. Simultaneously, the calculation process for the repulsion penalty term is initiated to obtain the inter-level fuzzy domain cue vector of the current sample, which has already been generated based on the projection distance in the previous step. The class center feature vectors of the two adjacent fiber levels with the closest projection distance to the current sample are extracted from the pre-stored class center feature library. For example, if the sample projection position is between level 2 and level 3, the level 2 class center feature vector and the level 3 class center feature vector are extracted. The cosine similarity between the inter-level fuzzy domain cue vector and the first adjacent level class center feature vector is calculated. The cosine similarity is calculated by dividing the dot product of the two vectors by the product of their magnitudes. The value ranges from -1 to +1; the closer the value is to 1, the more consistent the directions of the two vectors are and the higher the similarity. Similarly, the cosine similarity between the inter-level fuzzy domain cue vector and the feature vector of the second adjacent level class center is calculated. Multiplying the two cosine similarity values ​​yields the bi-class center similarity product, which reflects the degree to which the current sample is simultaneously close to the class centers of two adjacent levels. When a sample clearly belongs to a certain level, its cue vector has high similarity to the class center of that level and low similarity to the class center of the other level, resulting in a smaller product value. When the sample is in the inter-level fuzzy domain, the cue vector has moderate similarity to both class centers, resulting in a larger product value. An exclusion penalty term is designed based on the bi-class center similarity product. This exclusion penalty term uses a linear or nonlinear function to map the similarity product to the penalty intensity; for example, a quadratic function is used, so that the penalty term value increases significantly when the similarity product is large. The calculated exclusion penalty term is negatively charged and superimposed on the original dot product attention score. The negative exclusion penalty term applies a negative modulation to the attention score, reducing its value.

[0032] Step 5.2.2, the exclusion penalty term is used to increase the feature space distance between adjacent level feature distributions during the model optimization phase. Specifically, the introduction of the exclusion penalty term not only affects the attention score in the forward inference process, but also plays a more important role in the model training optimization phase. During model training, the loss function includes a classification loss term and an exclusion penalty regularization term. The classification loss term uses cross-entropy loss to measure the difference between the predicted probability distribution and the true label. The exclusion penalty regularization term is constructed based on the numerical value of the exclusion penalty term, specifically by averaging or weighting the exclusion penalty terms of all training samples. The optimization objective is to simultaneously minimize the classification loss and minimize the exclusion penalty. However, since the exclusion penalty term has a large value when the sample is in the inter-level ambiguity domain, minimizing the exclusion penalty means reducing the degree to which a sample is simultaneously close to the class centers of two adjacent levels. During gradient backpropagation, the gradient of the exclusion penalty term guides the direction of network parameter updates, enabling the feature representation learned by the network to more clearly push samples in the inter-level ambiguity domain toward the class center of their true level, while moving them away from the class center of another adjacent level. Through multiple rounds of training iterations, the network gradually adjusts the class center positions and sample distributions at each level in the feature space, increasing the distance between class centers of adjacent levels, making the intra-class sample distribution more compact, and the inter-class boundaries clearer. This optimization effect is reflected in the increased spatial distance between the feature distributions of adjacent levels in the feature space, reducing the overlapping areas between levels, and improving the discriminative power of the classification boundaries.

[0033] Step 5.2.3: When the projected distance is less than the preset fuzzy threshold, increase the weight coefficient of the rejection penalty term to guide the classification network to focus on fine-grained pathological difference features within the inter-level fuzzy domain. Specifically, this includes: introducing a weight coefficient to adaptively adjust the penalty intensity during the calculation of the rejection penalty term. Obtain the projected distance value of the current sample, which reflects the sample's position on the line connecting two adjacent class centers. Set a preset fuzzy threshold, determined based on the distance between class centers in the feature space, for example, 30% of the distance between two class centers, meaning that when the sample's projected distance is within the middle 30%, it is considered to be in the inter-level fuzzy domain. Compare the sample's projected distance with the fuzzy threshold. When the projected distance is less than the fuzzy threshold, the sample is determined to be in the inter-level fuzzy domain, and the weight coefficient of the rejection penalty term is increased. The increase in the weight coefficient adopts a dynamic adjustment strategy. For example, when the projected distance is within the fuzzy threshold, the weight coefficient is set to 2.0, indicating that the intensity of the rejection penalty term is doubled; when the projected distance exceeds the fuzzy threshold, the weight coefficient is set to 1.0, maintaining normal penalty intensity. The weighting coefficients are multiplied by the exclusion penalty term and then added to the attention score, thus strengthening the penalty for samples in the inter-level fuzzy domain. This strengthening penalty guides the classification network to invest more learning resources in these samples during training. The network needs to find finer-grained pathological difference features to effectively reduce the exclusion penalty value for these samples. Fine-grained pathological difference features may include the spatial distribution pattern of fibrosis, the orientation of collagen fibers, and the microscopic morphological differences in renal tubular atrophy. These features have stronger discriminative value in inter-level fuzzy domain samples. By increasing the penalty weight for fuzzy domain samples, the network is forced to learn these fine-grained features, thereby improving the classification accuracy of inter-level fuzzy domain samples and ultimately achieving accurate discrimination in the fuzzy boundary regions between adjacent fibrosis levels.

[0034] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

[0035] It should be noted that all formulas in this manual are calculated by removing dimensions and taking their numerical values. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters and thresholds in the formulas are set by those skilled in the art according to the actual situation.

[0036] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A digital assessment method for renal fibrosis based on a multimodal deep learning model, characterized in that, include: Obtain clinical indicator data and whole-section pathological images of the kidney tissue sample to be tested; The whole-slice pathological image is input into a deep feature extraction network. The deep feature extraction network uses a state-space model based on topological anisotropic scanning to perform multi-directional scanning and feature extraction on the whole-slice pathological image and outputs deep semantic features. The whole-slice pathological images are segmented at the microstructure level, and morphometric features and microenvironmental heterogeneity gradients are extracted based on the segmentation results to obtain pathomic features. Discriminant power estimation is performed on the clinical indicator data and the pathomic features respectively. Based on the discriminant power estimation results, the deep semantic features, the pathomic features and the clinical indicator data are adaptively weighted and fused with bidirectional verification to obtain a multimodal fusion representation. The multimodal fusion representation is input into the inter-level fuzzy domain adaptive cue classification head, which outputs the fibrosis grading result of the kidney tissue sample to be tested.

2. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 1, characterized in that, The state-space model based on topological anisotropic scanning performs multi-directional scanning and feature extraction on the whole-slice pathological image, outputting deep semantic features, including: Extract the semantic boundaries of microstructures in the whole-slice pathological images, and determine the blurred areas of microstructure boundaries between microstructures based on the semantic boundaries; Based on the blurred region of the microstructure boundary, a non-orthogonal scanning path is generated that crosses the region. The non-orthogonal scanning path is dynamically deflected along the normal direction of the blurred region of the microstructure boundary. The feature map is serialized and scanned in state space according to the non-orthogonal scanning path. When scanning to the blurred area of ​​the microstructure boundary, a boundary attenuation factor is introduced to obtain deep semantic features that include topological continuity awareness.

3. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 2, characterized in that, The introduction of a boundary attenuation factor when scanning to the blurred region of the microstructure boundary includes: Calculate the spatial distance between the current scan position and the center of the nearest blurred region of the microstructure boundary; The attenuation weight is calculated based on the spatial distance, and the attenuation weight is negatively correlated with the spatial distance; Multiply the decay weight by the hidden state vector at the current scan position.

4. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 1, characterized in that, The extraction of morphometric features and microenvironmental heterogeneity gradients based on segmentation results yields pathomic features, including: Basic morphometric features were extracted from the segmented glomeruli, renal tubules, and interstitial regions. A multi-scale spatial neighborhood is constructed with each microstructure region as the center. The difference between the basic morphometric features between the central region and each scale neighborhood is calculated. The difference is calculated along the radial direction to obtain the microenvironmental heterogeneity gradient. The pathomic features are obtained by concatenating the basic morphometric features with the microenvironmental heterogeneity gradient.

5. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 1, characterized in that, The method involves adaptively weighting and bidirectionally validating the deep semantic features, pathomic features, and clinical indicator data based on the discriminant estimation results to obtain a multimodal fusion representation, including: For each modal feature, the ratio of the inter-class divergence to the intra-class divergence of that modal feature in the current batch is calculated as the discriminative power index. Based on the discriminant power index, an adaptive scaling factor is assigned to the features of the corresponding modality, and the discriminant power is normalized for the features. The discriminative normalized deep semantic features, pathomic features, and clinical indicator data are concatenated, and intermodal verification is performed through a bidirectional cross-attention mechanism to suppress intermodal feature conflicts, thereby obtaining the multimodal fusion representation.

6. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 5, characterized in that, The process of performing inter-modal verification through a bidirectional cross-attention mechanism to suppress inter-modal feature conflicts and obtain the multimodal fusion representation includes: Clinical indicator features and pathomic features are concatenated into local observation features. The local observation features are used as query vectors, and deep semantic features are used as key vectors and value vectors to perform the first cross-attention calculation to obtain global-local aligned features. The global-local alignment features are used as the query vector, and the local observation features are used as the key vector and value vector to perform a second cross-attention calculation to obtain the attention weight matrix. The weights in the attention weight matrix that are below a preset threshold are reset to zero to suppress intermodal feature conflicts, and the multimodal fusion representation is output.

7. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 1, characterized in that, The step of inputting the multimodal fusion representation into the inter-level fuzzy domain adaptive cue classification head and outputting the fibrosis grading result of the kidney tissue sample to be tested includes: Based on the multimodal fusion representation, the projection distance between the class center features of adjacent fiberization levels is calculated, and an inter-level fuzzy domain cue vector is generated based on the projection distance. The multimodal fusion representation and the inter-level fuzzy domain cue vector are cross-attention calculated, and an adversarial exclusion term is introduced during the calculation process. Based on the output of cross-attention calculation after introducing an adversarial exclusion term, the probability distribution of each fibrosis grade is predicted, and the fibrosis grading result of the kidney tissue sample to be tested is determined.

8. The digital assessment method for renal fibrosis based on a multimodal deep learning model as described in claim 7, characterized in that, The introduction of adversarial exclusion terms during the calculation process includes: When calculating the dot product attention score of the query vector and the key vector in cross-attention calculation, an exclusion penalty term is superimposed between the inter-level fuzzy domain cue vector of the current sample and the class center feature of the adjacent level. The exclusion penalty term is used to increase the feature space distance between adjacent level feature distributions during the model optimization phase; When the projection distance is less than a preset fuzzy threshold, the weight coefficient of the exclusion penalty term is increased to guide the classification network to focus on fine-grained pathological difference features in the inter-level fuzzy domain.