A multi-modal image classification method based on dti and rs-fmri

By constructing a multimodal image classification method based on DTI structural anchor points and rs-fMRI branches, the problems of discrimination reliability and small sample size in the fusion of DTI and rs-fMRI data were solved, and Alzheimer's disease identification with high accuracy was achieved.

CN123160953APending Publication Date: 2026-11-24BEIJING UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611386259.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

With limited clinical sample sizes, existing technologies struggle to effectively integrate DTI and rs-fMRI multimodal imaging data, leading to inconsistent discrimination reliability, difficulty in matching small samples with high-dimensional multimodal features, inconsistent output probability scales of different base classifiers, and an inability to adequately characterize prediction uncertainty, thus affecting the accurate identification of diseases such as Alzheimer's.

Method used

By constructing DTI structural anchor features, training a base classifier, and combining static and dynamic rs-fMRI branches, a confidence-calibrated sparse fusion backbone and residual mapper are used to perform multimodal image classification, reducing noise interference and improving probabilistic comparability and classification accuracy.

Benefits of technology

It achieves effective fusion of multimodal image data on the basis of stable structural modes, which improves the classification accuracy of diseases such as Alzheimer's disease, reduces noise interference and overfitting risk, and enhances the reliability and predictive ability of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160953A_ABST
    Figure CN123160953A_ABST
Patent Text Reader

Abstract

This invention discloses a multimodal image classification method based on DTI and rs-fMRI, belonging to the field of image recognition technology. The method includes: multimodal image acquisition and screening; constructing DTI features and training a base classifier; constructing a static rs-fMRI basic functional branch and a dynamic rs-fMRI candidate residual branch, and training the base classifier for each; calculating the out-of-fold original class prediction probability and performing class calibration; constructing a probability-confidence descriptor; supplementing local neural activity information with static rs-fMRI and sparsely fusing it with DTI in the probability-confidence space to obtain the basic fusion probability and its centered log probability vector; evaluating each dynamic candidate branch, including residual mapping and security gating, and obtaining the final class probability and auxiliary classification result based on the evaluation results. This invention can form the main discriminant boundary with stable structural modalities, reliably fuse basic functional information, and achieve high classification accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image recognition technology, and in particular to a multimodal image classification method based on DTI and rs-fMRI. Background Technology

[0002] Accurate identification of the Alzheimer's disease continuum, particularly in early or transitional MCI patients, can provide supplementary information for subsequent clinical assessments, biomarker detection, screening of candidates for treatment studies, and patient stratification. Compared to single-modality imaging, multimodal magnetic resonance imaging (MRI) can describe brain tissue abnormalities at different physiological levels. Direct tectonic imaging (DTI) can quantify changes in white matter microstructure and form relatively stable structural connectivity representations through fiber tracing. Static rs-fMRI can reflect the intensity and regional synchronicity of local spontaneous neural activity. Dynamic rs-fMRI can reflect the spatiotemporal characteristics of functional activity over time. The above structural and functional information is potentially complementary, but their noise levels, stability, and cross-center reproducibility are inconsistent. In clinical scenarios with limited sample sizes, how to retain the discriminative ability of stable modalities while utilizing the effective supplementary information provided by other modalities is a key technical challenge in multimodal medical image classification.

[0003] Existing technologies typically integrate different modalities using one or more of the following methods: First, directly concatenating the original features from different modalities to train a unified classifier; second, training base classifiers separately and then averaging, weighting, or voting on the class probabilities; third, inputting the predicted probabilities of multiple branches into a second-level classifier for stacking and fusion; and fourth, treating static and dynamic functional features as equally important information sources, allowing them to participate in the final decision. These approaches usually implicitly assume that the newly added modality can stably provide incremental information. However, this assumption does not always hold true in real medical imaging data. The main problems with existing technologies are as follows: 1. Inconsistent discriminative reliability of different imaging modalities: DTI reflects changes in white matter microstructure and structural connectivity with a relatively stable anatomical basis; rs-fMRI, especially dynamic rs-fMRI, is more susceptible to factors such as subject head movement, physiological state, scanning parameters, time window length, time window step size, and transient neural activity fluctuations. Existing equal-weighted fusion methods do not explicitly distinguish between stable primary modalities and high-risk complementary modalities, which can easily dilute or distort the decision boundaries for establishing structural modalities due to unstable functional information.

[0004] 2. Mismatch between small sample size and high-dimensional multimodal features: Medical imaging data acquisition is costly, and the number of subjects meeting the requirements for multimodal integrity and quality control is usually limited; however, each subject can generate hundreds to thousands of dimensional features. Directly concatenating multimodal features will further increase the dimensionality, increasing the risk of model overfitting, feature redundancy, sensitivity to sample partitioning, and queue-specific noise learning.

[0005] 3. Inconsistent output probability scales of different base classifiers: Different image branches may use different types of classifiers, and the probabilities output by each classifier may differ in terms of sharpness, confidence level, and calibration degree. If the original probabilities are directly fused, the meta-fusion layer may mistakenly interpret "more extreme probability values" as "more reliable discriminative ability," thereby amplifying the probability bias.

[0006] 4. Using only class probabilities cannot adequately characterize prediction uncertainty: Traditional probabilistic fusion generally only uses the probabilities of each class, but does not explicitly provide the maximum class probability, the difference between the first and second candidate classes, or the degree of disorder in the overall probability distribution. Therefore, fusion models struggle to distinguish between high-confidence, clear predictions and boundary predictions where multiple class probabilities are close, and also fail to identify unreliable states of a particular branch on specific samples. Summary of the Invention

[0007] The purpose of this invention is to provide a multimodal image classification method based on DTI and rs-fMRI. Under the conditions of limited clinical sample size, inconsistent stability of different medical image modalities, different probability scales of different base classifiers, and the tendency of dynamic functional images to introduce negative transfer, the system can form the main discrimination boundary with stable structural modalities and reliably fuse basic functional information.

[0008] To achieve the above objectives, this invention provides a multimodal image classification method based on DTI and rs-fMRI, comprising the following steps: S1. Perform quality screening on the acquired data and divide the regions of interest for DTI images and rs-fMRI images. The acquired data includes diffusion tensor imaging (DTI) data, resting-state functional magnetic resonance imaging (rs-fMRI) data, and category labels. S2. Construct DTI structure anchor point features based on the filtered DTI data, and train the DTI base classifier to obtain the original class probabilities; S3. Based on the filtered rs-fMRI data, construct static rs-fMRI basic functional branches and multiple dynamic rs-fMRI candidate residual branches, train the static functional branch base classifier and each dynamic functional candidate branch base classifier respectively, and obtain the original class probability of each branch. S4. Use the outer training data to perform cross-validation on each base classifier to generate the out-of-fold original class probability of each branch; estimate the temperature parameters of each base classifier based on the out-of-fold original class probability, and use the frozen temperature parameters to perform temperature scaling calibration on the original class probability of the corresponding branch to obtain the calibration probability of each branch. S5. Calculate the confidence descriptor based on the calibration probability of each branch, and construct the probability-confidence joint representation of each base classifier based on the confidence descriptor and the calibration probability of each branch; S6. Construct a structurally anchored confidence-calibrated sparse fusion backbone SACS-HF, supplement local neural activity information with static rs-fMRI, and sparsely fuse it with DTI in the probability-confidence space to obtain the basic fusion probability, and then convert the basic fusion probability into a centered log probability vector. S7. Construct a dynamic branch residual mapper to correct the candidate residuals of the centered log probability vector; S8. Perform security gating evaluation on multiple dynamic candidate branches in a pre-fixed order. After all dynamic candidate branches have completed the sequential evaluation, the final category is obtained.

[0009] Therefore, the present invention employs the above-mentioned multimodal image classification method based on DTI and rs-fMRI, which has the following beneficial effects: (1) This invention reduces the interference of high-noise dynamic functional features on the classification boundary of stable structures and reduces cross-modal negative migration by constructing DTI branches, static rs-fMRI basic functional branches, dynamic rs-fMRI candidate residual branches and structural anchoring confidence calibration sparse fusion backbone. (2) This invention improves the comparability of output probabilities of different base classifiers by adjusting the probability within the tradeoff; (3) This invention improves the ability of the fusion layer to identify boundary samples and uncertain predictions by jointly representing probability and confidence. (4) This invention reduces the risk of redundant input and overfitting under small sample conditions by learning sparse elements in Elastic-Net; (5) This invention improves classification accuracy by using conditional residual update and automatic backoff mechanism to prevent new modes from entering the final prediction when there is no stable gain.

[0010] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0011] Figure 1 This is a flowchart of a multimodal image classification method based on DTI and rs-fMRI according to an embodiment of the present invention; Figure 2This is a visualization comparison of the multimodal fusion feature space under cross-validation of the present invention, where A represents the direct dynamic expansion strategy and B represents the SARF residual secure expansion strategy. Figure 3 The diagram shows the calibration reliability under different fusion strategies of this invention, where A represents the Top-label calibration reliability curve and B represents the prediction confidence distribution. Detailed Implementation

[0012] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0013] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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, not all, of the embodiments of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0014] Example 1 like Figure 1 As shown, this invention provides a multimodal image classification method based on DTI and rs-fMRI, comprising the following steps: S1. The acquired data is screened for quality and regions of interest are divided into DTI images and rs-fMRI images. The acquired data includes diffusion tensor imaging (DTI) data, resting-state functional magnetic resonance imaging (rs-fMRI) data, and category labels.

[0015] In this embodiment, diffusion tensor imaging (DTI) data, resting-state functional magnetic resonance imaging (rs-fMRI) data, and category labels were obtained from the Alzheimer's Disease Neuroimaging Initiative (ADNI) database for multiple subjects. The category labels were normal cognition (NC), mild cognitive impairment (MCI), and Alzheimer's disease (AD) within the Alzheimer's disease continuum. The data underwent sequential image sequence integrity checks, cross-modal identity matching, image quality control, and diagnostic label verification. Only subjects with usable DTI and rs-fMRI data who passed quality control were retained, resulting in a total of 199 subjects with complete DTI and rs-fMRI sequences. In addition, 42 subjects from a certain hospital with complete DTI and rs-fMRI data who passed quality control were included as a separate clinical unit (WMU), comprising 14 AD, 14 MCI, and 14 NC subjects, for in-cohort validation of the model, cross-center external validation, and a small number of target domain adaptation experiments. All data were obtained with the consent of the subjects.

[0016] Both DTI and rs-fMRI divide the brain into 116 regions of interest according to the AAL116 brain region atlas, and arrange the features in a pre-fixed brain region order.

[0017] S2. Construct DTI structure anchor point features based on the filtered DTI data, and train the DTI base classifier to obtain the original class probabilities.

[0018] In this embodiment, step S2 specifically includes: The DTI data were preprocessed, including eddy current distortion correction, subject head motion correction and diffusion tensor fitting, to obtain fractional anisotropy (FA), mean diffusion (MD), axial diffusion (AxD) and radial diffusion (RD) plots. The FA, MD, AxD and RD of 116 regions of interest in DTI were statistically analyzed to obtain four region-level vectors of length 116, which were used to describe the microstructure of white matter from four aspects: anisotropy, global diffusion, axial diffusion and radial diffusion.

[0019] Probabilistic fiber tracing was performed on the preprocessed DTI data to obtain a 116×116 structural connectivity matrix SC. For each brain region, sum the connection weights between that brain region and other brain regions to obtain the node strength. : ; In the formula, Represents the first element in the structural connection matrix. The ROI and the Connection weights between ROIs.

[0020] The structural connectivity strength vector s is composed of the strength of all brain region nodes and has a length of 116.

[0021] By concatenating the four region-level vectors FA, MD, AxD, and RD with the structure connection strength vector in a fixed order, a 580-dimensional DTI structure representation is obtained. : ; This 580-dimensional feature serves as a stable structural anchor point. An extreme random tree is used as the DTI base classifier to handle the nonlinear interactions between region-level structural features. Training is performed using the DTI structural representation as input, outputting the probabilities of three raw classes: NC, MCI, and AD. Compared to single diffusion or single connectivity metrics, the complete DTI structural representation can more comprehensively characterize the white matter differences between AD, MCI, and NC. Therefore, the DTI structural branch is set as the structural anchor point of the SACS-HF fusion backbone to provide a relatively stable image discrimination boundary.

[0022] S3. Based on the filtered rs-fMRI data, construct static rs-fMRI basic functional branches and multiple dynamic rs-fMRI candidate residual branches. Train the static functional branch base classifier and the dynamic functional candidate branch base classifier respectively to obtain the original class probability of each branch.

[0023] In this embodiment, a static rs-fMRI basic functional branch is constructed, a static functional branch base classifier is trained, and the original class probability of each branch is obtained, including: The rs-fMRI data were preprocessed by deleting the first 10 time points at the beginning of the scan to reduce the impact of unstable magnetization. Slice timing correction, head motion correction, tissue segmentation, covariate regression, MNI spatial standardization, and temporal filtering were also performed.

[0024] Normalized low-frequency amplitude (zALFF) and normalized region consistency (szReHo) were extracted from 116 regions of interest (ROIs) in rs-fMRI and then spliced ​​together according to a fixed brain region order to obtain a 232-dimensional static functional vector. : ; Among them, zALFF is used to describe the amplitude of local spontaneous low-frequency BOLD oscillations, and szReHo is used to describe the synchronicity of local neural activity.

[0025] Static functional features are z-score standardized, and nested feature selection is performed within the training data using multinomial logistic regression with L1 regularization. Support vector machines are then used to complete the classification and output the original class probabilities. Standardized parameters, selected features, and classifier hyperparameters are all estimated solely from the training data.

[0026] Multiple dynamic rs-fMRI candidate residual branches are constructed, and base classifiers for each dynamic functional candidate branch are trained to obtain the original class probabilities of each branch. Specifically: Three dynamic candidate branches were constructed based on the dynamic functional changes of rs-fMRI, including: TVSV-W23: Using a sliding window with a window length of 23 time points and a step size of 3 time points, rs-fMRI 116-dimensional temporal variability (TV) and 116-dimensional spatial variability (SV) were extracted, for a total of 232 dimensions.

[0027] TVSV-W30: 116-dimensional TV and 116-dimensional SV are extracted using a sliding window with a window length of 30 time points and a step size of 5 time points, for a total of 232 dimensions.

[0028] RMS-W23: Using a sliding window with a window length of 23 time points and a step size of 3 time points, dynamic connectivity amplitude features are extracted based on the root mean square (RMS) of the dynamic node strength in each brain region within each window.

[0029] For each dynamic candidate branch, z-score standardization, L1 regularized multinomial logistic regression feature selection, and support vector machine three-class classification are performed to obtain the original class probability of the corresponding branch. All dynamic branches only form candidate information in this stage and do not directly change the final prediction.

[0030] S4. Perform cross-validation on each base classifier within the outer training data to generate the out-of-fold original class probability of each branch; estimate the temperature parameters of each base classifier based on the out-of-fold original class probability, and use the frozen temperature parameters to perform temperature scaling calibration on the original class probability of the corresponding branch to obtain the calibration probability of each branch.

[0031] In this embodiment, step S4 specifically includes: The outer training data is further divided into inner training and validation folds. Inner cross-validation is performed for each base classifier: the preprocessing, feature selection, and classifier are fitted using the inner training fold, and the predictions are applied to the corresponding inner validation fold. After the loop, each outer training sample receives an out-of-flight (OOF) probability generated by a model that has not seen that sample. This in-fold closed calibration operation ensures that the probabilistic responses of all modalities enter a more comparable probabilistic representation space before entering the joint decision layer.

[0032] For the The base classifier will be the first base classifier. Each sample output Original class probability First, add a minimal constant ε and take the logarithm, then subtract the mean of the log probabilities of the K classes to obtain the centered log probability. The formula is: ; In the formula, This represents a very small positive number used to ensure the numerical stability of logarithmic operations. In this embodiment... ; Indicates the first The base classifier predicts the first... The sample belongs to the first The original class probability; Indicates the first The base classifier for the th base classifier Each sample output Original class probability vector; This represents the corresponding centered logarithmic probability vector; Indicates the base classifier index; Indicates the sample index; Indicates a category index; This represents the total number of categories in the AD, MCI, and NC three-classification implementation methods. .

[0033] Using the OOF probability of the outer training data, search for the first [item] within a preset range. Temperature parameters of the base classifier The formula for minimizing the negative log-likelihood of the calibrated probability is: ; In the formula, This represents the probability after calibration, with a temperature search range of [0.05, 5.0].

[0034] The optimal temperature parameter is determined using only the OOF prediction probabilities from within the outer training set. Let the number of samples within the training set be... The one-hot encoding of the true category is ,but: ; The outer layer test data is not used for temperature parameter estimation.

[0035] S5. Calculate the confidence descriptor based on the calibration probability of each branch, and construct the probability-confidence joint representation of each base classifier based on the confidence descriptor and the calibration probability of each branch.

[0036] In this embodiment, step S5 specifically includes: For the calibration probability of each base classifier, three confidence descriptors are calculated, including: Maximum class probability The maximum of the three calibration category probabilities is used to represent the confidence level of the dominant category.

[0037] Category probability interval The difference between the probability of the largest class and the probability of the second largest class is used to represent the clarity of the current decision boundary.

[0038] Probabilistic Information Entropy : Calculate the information entropy for the calibration probability distribution, which is used to represent the overall disorder of the predicted distribution.

[0039] The relevant formula is: ; ; ; In the formula, Indicates category label, Indicates the first e The base classifier predicts the first... Maximum class probability for samples The difference between the probability of the largest class and the probability of the second largest class. This represents the maximum probability among the three calibration categories. This represents the second largest value among the probabilities of the three calibration categories. Information entropy representing the probability distribution of calibration categories; By concatenating the calibration probabilities of the three categories and the three confidence descriptors, a 6-dimensional probability-confidence representation of each base classifier is obtained. : .

[0040] S6. Construct a structurally anchored confidence-calibrated sparse fusion backbone SACS-HF, supplement local neural activity information with static rs-fMRI, and sparsely fuse it with DTI in the probability-confidence space to obtain the basic fusion probability, and then convert the basic fusion probability into a centered log probability vector.

[0041] In this embodiment, step S6 specifically includes: The 6-dimensional probability-confidence representation of the DTI base classifier 6-dimensional probability-confidence representation of static functional branch base classifier By splicing, a 12-dimensional basic element fusion feature is obtained. : .

[0042] A multinomial logistic regression with Elastic-Net constraints is used as the meta-learner for training, taking the basic meta-fusion features as input and outputting the basic fusion probability. : In the formula, W represents the weight matrix of the meta-learner. This represents the bias vector of the meta-learner.

[0043] The training objectives include multi-class cross-entropy, L1 sparsity penalty, and L2 stability penalty. The formula is: ; In the formula, Controlling the regularization strength, control and The proportion of regular terms, Describing the L1 norm, The Frobenius norm is represented. The L1 term is used to compress redundant or unstable probability-confidence inputs, and the L2 term is used to improve parameter stability. The regularization strength and L1 / L2 ratio are selected only within the training fold. The resulting DTI-static rs-fMRI joint probability forms the basic backbone for subsequent residual secure expansion. Elastic-Net constraints can suppress redundant or unstable features while preserving stable discriminant terms, thereby enabling the fusion layer to adaptively select more reliable cross-modal supplementary information.

[0044] Basic fusion probability Convert to a centered log-probability vector As the initial logit for residual expansion, the formula is: .

[0045] The centered logarithmic probability vector logit is defined as the identity mapping backbone. The identity mapping means that the dynamic branches exist only as additional correction terms; if all dynamic branches are not activated, the model directly outputs the result. The corresponding classification results do not require retraining or replacing the basic classification boundaries.

[0046] S7. Construct a dynamic branch residual mapper to correct the candidate residuals of the centered log probability vector.

[0047] In this embodiment, step S7 specifically includes: Constructing the residual mapping input: For the th For each dynamic candidate branch, obtain its calibration probability, maximum class probability, class probability interval, and probability information entropy. Then, calculate the difference between the probability of this dynamic branch and the probability of the current model before adding this branch, using the following formula: ; In the formula, Indicates the first The dynamic candidate branch pair The calibration probability vector of each sample. Indicates joining the The current model reference probability before each branch is defined as... When m=1, Equivalent to the SACS-HF basic trunk logit When m>1, The current logit vector is the result of accumulating all residuals that have passed the safety gating. Therefore, the residual input always describes the difference between the candidate dynamic branch and the currently accepted model state, rather than the difference between the candidate branch and the probability of the previous dynamic branch itself. This definition remains consistent throughout the training, validation, target domain adaptation, and inference phases.

[0048] Using the current model probability as the difference benchmark ensures that the first branch learns and corrects relative to the basic backbone, and subsequent branches learn incremental corrections relative to the accepted cumulative model state, which conforms to the sequential greedy residual update logic.

[0049] Correcting candidate residuals: To eliminate the uncertainty of softmax regarding the common translation term, the mean of the three class residuals is subtracted to obtain the centered residuals. When training the m-th residual branch, the basic trunk remains frozen, and only the parameters of the current residual mapper are optimized. and The lightweight linear mapper outputs the centered log probability vector corrections for the three classes: ; ; In the formula, This represents the corrected residual. and This represents the current residual mapper parameters. Its objective function is: ; In the formula, Indicates the first m The training objective function for each residual mapper; This represents the regularization strength of the m-th residual mapper. Indicates the first The mixing ratio parameter of L1 and L2 regularization terms in the Elastic-Net regularization term of the residual mapper. Indicates the first The training sample belongs to the first... The true label one-hot encoded component of the class, This represents the number of training samples used to train the current residual mapper; This design allows dynamic functional branches to learn which category the basic trunk should adjust towards and by how much, without re-establishing complete category boundaries.

[0050] S8. Perform security gating evaluation on multiple dynamic candidate branches in a pre-fixed order. After all dynamic candidate branches have completed the sequential evaluation, the final category is obtained.

[0051] In this embodiment, the pre-fixed order is: TVSV-W30→TVSV-W23→RMS-W23. This order remains unchanged throughout all outer layer training, validation, and external application processes and cannot be temporarily adjusted based on test set results.

[0052] Specifically, the evaluation process includes: Pre-set discrete gating candidate set: ; Among them, a gating coefficient of 0 indicates that the current branch is closed; a value between 0 and 1 indicates that the residual is added proportionally, and a value of 1 indicates that the residual is added completely. For each candidate gating coefficient, the current backbone logit is added to the corresponding proportion of candidate residuals. The macro-average F1 score (Macro-F1) is calculated on the original class prediction probability samples outside the outer training data. The gating coefficient with the highest Macro-F1 score is selected. : ; In the formula, This represents the true class label corresponding to the predicted sample from the outer training data. This represents a pre-defined set of candidate discrete gating coefficients. This represents the candidate gating coefficients to be evaluated. Indicates joining the The current model's logit on the out-of-fold original class prediction probability samples before each branch. Indicates the first The candidate logit residuals of each candidate dynamic branch on the original class prediction probability samples outside the indentation.

[0053] It should be noted that the true class labels are only used for gating coefficient selection within the training data, and not for gating adjustments on outer test samples or actual samples to be classified; the discrete gating coefficient candidate set must contain at least 0, and the corresponding dynamic branch is closed when the gating coefficient is 0; after gating selection for each dynamic candidate branch, the current model state is updated with the selection result, and then the next dynamic candidate branch is evaluated. The current model state includes the SACS-HF basic backbone and the previously gated dynamic candidate residuals. m The residuals of each candidate dynamic branch are calculated relative to the current model state, rather than individually relative to the previous dynamic branch.

[0054] Set secure activation conditions, including: Gating coefficient Greater than 0; The Macro-F1 gain after adding the current residual, relative to the current model before adding it, is not less than a preset threshold: ; In the formula, This represents the Macro-F1 value after incorporating the current residual. This represents the Macro-F1 value of the current model. This represents the preset minimum gain threshold. In this embodiment... =0.002, that is It should increase by at least 0.2 percentage points.

[0055] Once the selected gating coefficient satisfies the safe activation condition, its residual is added to the current branch, forming the updated current state. The next candidate branch is then evaluated based on this state. If any condition is not met, the gating coefficient of that branch is set to 0, the current logit remains unchanged, and the update formula is: .

[0056] After all dynamic candidate branches have been evaluated sequentially, the final category logit is obtained: ; The final class probability is obtained through softmax: ; The category with the highest probability is selected as the auxiliary classification result. The output includes the probability of each category, the maximum predicted probability, the information entropy, the activation state of each dynamic branch, and the corresponding gating coefficient. If none of the dynamic branches meet the safe activation condition, then all g... m All values ​​are 0, and the final output will automatically revert to the SACS-HF basic backbone results.

[0057] S9. The diffusion tensor imaging (DTI) data and resting-state functional magnetic resonance imaging (rs-fMRI) data of the subjects to be classified are preprocessed, passing through a DTI-based structural basis classifier and an rs-fMRI-based static / dynamic functional basis classifier, respectively. Then, each functional branch is fed into SACS-HF, where the prior structural probabilities of the DTI backbone are extracted. Static rs-fMRI is used to supplement local neural activity information, and the data are sparsely fused with DTI in the probability-confidence space to obtain the basic fused probability, which is then converted into a centered logarithmic probability vector. Finally, in the high-risk dynamic functional expansion phase, a safety activation condition is triggered, the candidate residuals of the centered logarithmic probability vector are corrected, and the final three-class prediction probabilities are output.

[0058] Experimental verification: To ensure the unbiasedness of the model's generalization estimation, five repeated outer-layer five-fold hierarchical cross-validation was used in the ADNI development queue, resulting in 25 sets of outer-layer test results. Within each outer-layer training set, inner-layer cross-validation was further performed to perform the following operations: feature normalization parameter estimation; L1 regularized feature selection; base classifier hyperparameter selection; OOF probability generation; temperature parameter estimation; Elastic-Net meta-learner training; dynamic residual mapper training; gating coefficient search and dynamic branch activation determination.

[0059] The outer test layer performs only one forward inference after the model structure, standardized parameters, selected features, classifier parameters, temperature parameters, meta-learner parameters, residual mapper parameters, and gating coefficients are all frozen. This rule is used to prevent the leakage of test information.

[0060] Macro-F1 and Balanced Accuracy were established as the core metrics for the three-class classification task. To quantify the clinical confidence of the model's output probabilities, Expected Calibration Error (ECE) and Brier Score (BS) were introduced. ECE measures the expected absolute deviation between the model's prediction confidence and the true accuracy. Specifically, predicted samples were divided into equal groups based on confidence level. The nth continuous interval, the th The sample set of each interval is denoted as Then ECE is defined as: ; in, and These represent the actual accuracy and average prediction confidence within the given interval, respectively. This represents the total number of samples. Specifically, top-label ECE is used. For each sample, its maximum predicted probability is taken as the confidence level, and the samples are divided according to the confidence level. A number of equal-width intervals.

[0061] The Brier score is used to quantify the global mean square error between the predicted probability distribution and the true label. For this three-class classification task, it is defined as follows: ; Finally, based on the 25 pairs of results from repeated nesting validation, the Wilcoxon signed-rank test was used to compare the performance differences among the architectures, with the significance level set at [value missing]. .

[0062] In this embodiment, after rigorous modality integrity screening and image quality control, the internal development cohort included 199 subjects. All subjects possessed complete DTI structural features and rs-fMRI functional features, and modality alignment was completed. The WMU cohort included 42 subjects. To improve the robustness and comparability of performance comparisons between different models, all models were executed under a uniform sample partitioning. Repeated nested cross-validation.

[0063] Table 1 shows the overall performance of different components in the internal development queue for the AD continuum three-class classification task. SARF refers to the Secure Fusion Framework, which includes the DTI branch, the static rs-fMRI basic functional branch, the dynamic rs-fMRI candidate residual branch, SACS-HF, the dynamic branch residual mapper, and gating evaluation. Direct Dynamic Extension refers to directly inputting the calibration probability-confidence representations of DTI, the static functional branch, and the dynamic functional branch into the Elastic-Net meta-learner without using residual mapping, sequential gating, or automatic backoff mechanisms; the remaining preprocessing, base classifier, and validation processes are consistent with SARF. In the table, Accuracy represents the accuracy rate; Balanced Acc represents the balanced accuracy rate; and Macro-AUC represents the area under the macro-average ROC curve.

[0064] Table 1 Overall classification performance of the main models

[0065] Experimental results show that the DTI branch, as a single-modal baseline, has stable discriminative ability, and its Macro-F1 score is [missing value]. Building upon this, by introducing static functional information through SACS-HF, the discrimination performance of the backbone network is improved to [percentage missing]. However, if high-dimensional dynamic functional features are directly input as weighted inputs, the model's classification performance deteriorates, with its Macro-F1 score dropping to [missing value]. In contrast, SARF, through its residual safety mechanism, conditionally exploits dynamic branches, achieving the highest Macro-F1, Accuracy, and lowest ECE, respectively. , and .

[0066] The performance of the WMU queue model is shown in Table 2.

[0067] Table 2 Model performance during WMU in-queue validation

[0068] The results show that although SARF's NC recall rate is slightly lower than that of direct dynamic extension, it is the best overall.

[0069] To evaluate the independent discriminative ability of different feature branches, the static rs-fMRI basic functional branches and the dynamic rs-fMRI candidate residual branches were compared, and the results are shown in Table 3.

[0070] Table 3 Independent classification performance of single-branch base models

[0071] Among them, the DTI branch performed best among all single-branch models, achieving a Macro-F1 score of [missing value]. The Macro-F1 value is significantly higher than that of each functional branch. Within a functional branch, the Macro-F1 value of a static functional branch is... Higher than the TVSV-W23 and TVSV-W30 dynamic branches and This result indicates that static local functional features can provide relatively stable functional discrimination information, while the independent discrimination ability of dynamic TV / SV features is relatively limited.

[0072] Based on subsequent fusion experiments, the single-branch results support the hierarchical modeling strategy proposed in this paper, namely, using the DTI structural branch as the main structural anchor point, the static functional branch as a functional supplement in the basic fusion backbone, and the dynamic functional branch as a candidate residual correction term in SARF.

[0073] To evaluate the role of each component of SACS-HF, ablation experiments were performed on the basic fusion trunk composed of the DTI branch and the rs-fMRI basic functional branch. The results are shown in Table 4.

[0074] Table 4 Ablation Experiment of SACS-HF Components

[0075] The results show that uncalibrated probabilistic fusion has achieved good classification performance, with Macro-F1 reaching [value missing]. But ECE is This indicates that the probability output of the heterogeneous base model still has calibration bias.

[0076] After introducing temperature calibration and confidence descriptors, ECE decreased to This demonstrates that the calibrated probability distribution and its derived uncertainty descriptors can provide a more reliable probabilistic representation for the fusion layer. Further introduction of sparse element learning improves the Macro-F1 score of the complete SACS-HF to [value missing]. ECE further reduced to .

[0077] The results above indicate that the role of SACS-HF does not depend on the independent gain of a single component, but rather on the combination of calibration-confidence representation and sparse element learning, which improves the probabilistic reliability of the fused backbone while maintaining classification performance.

[0078] After establishing the basic fusion backbone, we further compare two approaches to introducing dynamic functional branches: direct dynamic extension and SARF residual secure extension. The former directly incorporates dynamic functional branches as parallel inputs into the fusion layer, while the latter models them as conditional residual corrections to the basic fusion backbone.

[0079] Direct dynamic scaling reduces the model's Macro-F1 score to The results show that dynamic functional branches, when incorporated without constraints, may disturb the existing structure-static function discrimination boundary, as they fall below the basic fusion backbone. In contrast, SARF uses an in-process gating mechanism to filter dynamic branches, resulting in better performance on both Macro-F1 and ECE. These results demonstrate that dynamic functional information is not without value; the key lies in its introduction method.

[0080] Therefore, the role of SARF is not simply to increase the number of feature branches, but to restrict dynamic functional information to candidate residual correction terms. Through this mechanism, the model can selectively absorb effective supplementary information from dynamic branches while preserving the stability of the basic fusion backbone, thereby reducing the risk of negative transfer that may result from direct dynamic expansion.

[0081] To intuitively analyze the profound impact of residual gating mechanisms on cross-modal feature distribution, the t-SNE algorithm was used to perform two-dimensional dimensionality reduction visualization of the feature representation space of the classifier's final decision layer. For example... Figure 2 As shown in Figure A, when the Direct Fusion strategy is adopted, there is significant boundary overlap between different categories of samples in the two-dimensional representation space, especially between MCI samples and NC and AD samples, where there is a large degree of overlap. Quantitative evaluation results show that the Silhouette Score of Direct Fusion is only 0.056, while the Davies-Bouldin Index (DBI) reaches 2.756, suggesting that the direct introduction of unconstrained dynamic features may weaken the discriminative structure of the fused representation, consistent with the cross-modal negative transfer phenomenon. In contrast, Figure 2Figure B in the diagram illustrates the fusion representation distribution after introducing SARF residual safety extension. After structural anchoring and gating, the overall distribution boundaries of the three classes are clearer, the overlap between the NC and AD classes is reduced, and the MCI samples are mainly distributed between the two, consistent with their clinical characteristics as a transitional stage from cognitive normality to Alzheimer's disease. Furthermore, the SARF Silhouette Score increased to 0.149, and the DBI decreased to 1.962, indicating that it is superior to the direct fusion strategy in terms of overall inter-class separability. These results support the effectiveness of SARF in reducing unstable dynamic branch interference and improving the robustness of multimodal fusion through structural anchoring and residual constraints from the perspective of representation learning.

[0082] To further assess whether the main model differences stem from random partitioning fluctuations, based on The 25 paired outer-layer results generated by repeated nested cross-validation were subjected to the Wilcoxon signed-rank test. The statistical test focused on three pre-set questions: whether SARF is superior to a single structural branch, whether it has more stable classification performance than direct dynamic expansion, and whether it improves probabilistic reliability compared to the basic fusion backbone.

[0083] The results are shown in Table 5. SARF is statistically significant on the Macro-F1 scale compared to the DTI branch, indicating that structure-function fusion has a stable gain compared to single structural representation. Compared to the direct dynamic extension model, SARF also shows a significantly higher Macro-F1, suggesting that the residual safety mechanism can mitigate the performance degradation caused by the direct incorporation of dynamic functional branches. Compared to the SACS-HF basic fusion backbone, SARF's Macro-F1 is further improved and becomes statistically significant after correction, but its effect is relatively limited. A more significant difference is reflected in the probabilistic reliability metrics; SARF's ECE and Brier score are both significantly lower, indicating that residual safety extension can improve prediction probability calibration while enhancing classification performance. These results further support modeling dynamic functional branches as conditional residual correction terms, rather than directly as equal-weighted inputs into the fusion layer.

[0084] Table 5 Performance Comparison of SARF with Other Fusion Methods

[0085] To further evaluate the probabilistic reliability of different fusion strategies, a top-label calibration reliability plot was generated, such as... Figure 3As shown in the figure, the horizontal axis represents the model's maximum predicted probability, i.e., prediction confidence; the vertical axis represents the empirical accuracy within the corresponding confidence interval. Direct Fusion deviates from the perfect calibration line in multiple confidence intervals and shows an overall trend of insufficient confidence, indicating that its output probability fails to fully reflect the model's actual discriminative ability. In contrast, the calibration curve of SARF is closer to the diagonal overall, suggesting that its prediction confidence and empirical accuracy have better consistency. The bottom confidence distribution shows that SARF has a higher sample proportion in the high confidence interval and maintains a high empirical accuracy in the corresponding interval, indicating that its probability output has better interpretability and reliability. These results indicate that structural anchoring and residual gating mechanisms not only help improve classification performance but also improve the probability calibration performance of multimodal fusion models.

[0086] Example 2 The model was trained using complete data from the internal development cohort, with all parameters frozen. The WMU cohort was used as independent test data. The WMU cohort was not used for feature selection, temperature estimation, meta-learner training, residual mapper training, or gating selection. The internal development cohort and target center should use consistent modal inputs, brain region templates, feature definitions, feature ordering, and classification procedures. The internal development cohort data was from the Alzheimer's Disease Neuroimaging Initiative (ADNI) development cohort, comprising 199 subjects with complete DTI and rs-fMRI data, including 98 NC, 68 MCI, and 33 AD. The WMU cohort was from a hospital's (WMU) clinical cohort, comprising 42 subjects with complete DTI and rs-fMRI data, including 14 NC, 14 MCI, and 14 AD.

[0087] In a limited number of local annotation adaptation examples, three subjects are randomly selected from each category at the target center, forming a supervised adaptation set of nine subjects. The remaining subjects serve as a completely independent hold-out test set. Considering that the number of adaptation samples is far less than the number of high-dimensional image features, a conservative strategy of freezing the high-dimensional model and adapting only the low-dimensional probability space is adopted. The specific steps are as follows.

[0088] (1) Freeze the high-dimensional image processing and base classification modules. Keep the image preprocessing workflow, brain region templates, feature definitions, feature arrangement order, source domain normalization parameters, source domain selected feature index, DTI base classifier, static rs-fMRI base classifier, each dynamic rs-fMRI base classifier, and each dynamic residual mapper unchanged. During the target domain adaptation stage, do not use 9 adapted subjects to reselect high-dimensional features or retrain the base classifier to avoid overfitting under extremely small sample conditions.

[0089] (2) Generate low-dimensional branch representations of the target domain. Input the nine adapted subjects into the frozen branches in sequence to obtain the original class probabilities of DTI, static rs-fMRI and each dynamic rs-fMRI branch; construct the probabilities, maximum class probabilities, class probability intervals and information entropy in the same way as the source domain training.

[0090] (3) Generate stratified OOF predictions within the fitting set. For each class of 3 subjects, a three-fold stratified cross-validation is used. In each fold, one subject from AD, MCI, and NC is reserved as an internal validation sample, and the remaining 6 subjects are used as internal fitting samples. After cyclical three-folding, each fitted subject receives an OOF prediction that is not involved in fitting the corresponding parameter. Test samples reserved outside the fitting set are not allowed to participate in any parameter updates or selections.

[0091] (4) Re-estimate the target domain temperature calibration parameters. Based on the OOF probability of the fit set, re-estimate the temperature parameters for each branch. To prevent extreme temperature parameters caused by the 9 samples, source domain temperature was used. As a priori, β·[log( )-log( )] 2 The temperature is constrained and limited to a preset range [0.05, 5.0]. This step only adjusts the probability scale and does not change the high-dimensional classification boundary.

[0092] (5) Update the class bias of the basic meta-fusion. Maintain the source domain Elastic-Net meta-fusion weight matrix. Freeze, update the three-class bias vector using only the fit set OOF representation. This is to correct for the class prior of the target center and the overall decision boundary. The bias update employs L2 constraints and uses source domain bias. This is the initial value. For extended implementations where the number of adapted samples reaches a higher preset number, the proximal regularization term η‖ can be used. - || 2 While W is finely adjusted under constraints, in embodiments with only 3 cases per class, it is preferable to update only the bias.

[0093] (6) Keep the residual direction frozen and reselect the safety gating. Each dynamic residual mapper W m b m Keeping the source domain training results unchanged, the OOF results of the fit set after target domain probability calibration and bias update are used to re-search for gating coefficients according to a fixed candidate branch order. Each candidate branch is compared with the current fit model before it was added to the branch, and is only activated when the optimal gating coefficient is greater than 0 and the OOF Macro-F1 gain reaches the threshold δ; otherwise, the gating coefficient is set to 0.

[0094] (7) Freeze the adapted parameters and test them independently. Freeze all target domain temperature parameters, basic element fusion biases, and reselected gating coefficients. Perform forward inference only once for the remaining target domain subjects. The test results must not be used to readjust the temperature, bias, residuals, or gating parameters.

[0095] The above adaptation method limits the update scope to three stages: low-dimensional probability calibration, class bias, and gating coefficients. It can both use a small number of local labels to correct cross-center probability scales and class boundaries and avoid the serious overfitting risk caused by retraining a 580-dimensional or 232-dimensional high-dimensional classifier with 9 local cases.

[0096] This invention employs a limited target domain adaptation definition: adaptation is completed within a low-dimensional probability space: frozen image preprocessing, brain region templates, feature ordering, source domain normalization parameters, selected feature indices, high-dimensional classifiers, and dynamic residual mappers; the temperature parameters with source domain prior constraints are re-estimated using hierarchical OOF predictions within the labeled target domain adaptation set, only updating the class bias of the basal element fusion, and re-searching for dynamic branch gating coefficients according to the current model benchmark. All adaptation parameters are estimated solely from the adaptation set, and the remaining target domain samples are used only for independent testing.

[0097] The method of this invention can be executed by a computer device and output one or more of the following results: the predicted probability that the object to be classified belongs to each preset category; the auxiliary classification category with the highest probability; Maximum predicted probability, class probability interval and information entropy; whether each dynamic candidate branch is activated; gating coefficient and class-level residual correction for each activated branch.

[0098] It should be understood that, in addition to DTI and rs-fMRI, other medical information with varying stability, acquisition costs, or missing patterns can also be incorporated according to the same principles. Relatively stable information that can form major discriminant boundaries can serve as structural anchors or basic backbone branches; information with lower stability or uncertain gain can serve as candidate residual branches, and its incorporation will be determined by the performance gain within the training data. Expandable information includes T1 structural phenotypes, PET, blood or cerebrospinal fluid biomarkers, APOE genotypes, and digital cognition indicators.

[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.

Claims

1. A multimodal image classification method based on DTI and rs-fMRI, characterized in that, Includes the following steps: S1. Perform quality screening on the acquired data and divide the regions of interest for DTI images and rs-fMRI images. The acquired data includes diffusion tensor imaging (DTI) data, resting-state functional magnetic resonance imaging (rs-fMRI) data, and category labels. S2. Construct DTI structure anchor point features based on the filtered DTI data, and train the DTI base classifier to obtain the original class probabilities; S3. Based on the filtered rs-fMRI data, construct static rs-fMRI basic functional branches and multiple dynamic rs-fMRI candidate residual branches, train the static functional branch base classifier and each dynamic functional candidate branch base classifier respectively, and obtain the original class probability of each branch. S4. Use the outer training data to perform cross-validation on each base classifier to generate the out-of-fold original class probability of each branch; estimate the temperature parameters of each base classifier based on the out-of-fold original class probability, and use the frozen temperature parameters to perform temperature scaling calibration on the original class probability of the corresponding branch to obtain the calibration probability of each branch. S5. Calculate the confidence descriptor based on the calibration probability of each branch, and construct the probability-confidence joint representation of each base classifier based on the confidence descriptor and the calibration probability of each branch; S6. Construct a structurally anchored confidence-calibrated sparse fusion backbone SACS-HF, supplement local neural activity information with static rs-fMRI, and sparsely fuse it with DTI in the probability-confidence space to obtain the basic fusion probability, and then convert the basic fusion probability into a centered log probability vector. S7. Construct a dynamic branch residual mapper to correct the candidate residuals of the centered log probability vector; S8. Perform security gating evaluation on multiple dynamic candidate branches in a pre-fixed order. After all dynamic candidate branches have completed the sequential evaluation, the final category is obtained.

2. The multimodal image classification method based on DTI and rs-fMRI according to claim 1, characterized in that, Step S2 specifically includes: The DTI data were preprocessed, including eddy current distortion correction, subject head motion correction and diffusion tensor fitting, to obtain fractional anisotropy, mean diffusion rate, axial diffusion rate and radial diffusion rate maps. The anisotropy, mean diffusion rate, axial diffusion rate, and radial diffusion rate of the DTI region of interest were statistically analyzed to obtain four region-level vectors. Probabilistic fiber tracing is performed on the preprocessed DTI data to obtain the structural connectivity matrix SC. For each brain region, sum the connection weights between that brain region and other brain regions to obtain the node strength. And obtain the structural connectivity strength vector based on all brain region nodes; The four region-level vectors and the structure connection strength vector are concatenated in a fixed order to obtain the DTI structure representation; Extremely random trees are used as the base classifier for DTI, and the DTI structure is used as input for training, outputting the original class probability.

3. The multimodal image classification method based on DTI and rs-fMRI according to claim 1, characterized in that, Construct static rs-fMRI basic functional branches, train static functional branch base classifiers, and obtain the original class probabilities of each branch, including: The rs-fMRI data were preprocessed, the first 10 time points at the beginning of the scan were deleted, and slice temporal correction, head motion correction, tissue segmentation, covariate regression, MNI spatial standardization and temporal filtering were performed. The normalized low-frequency amplitude and normalized regional consistency of the region of interest in rs-fMRI were extracted separately and then spliced ​​together according to a fixed brain region order to obtain a static functional vector. The static functional features are standardized by z-score, and nested feature selection is performed within the training data using multinomial logistic regression with L1 regularization. Then, support vector machine is used to complete the classification and output the original class probability.

4. The multimodal image classification method based on DTI and rs-fMRI according to claim 1, characterized in that: Multiple dynamic rs-fMRI candidate residual branches are constructed, and base classifiers for each dynamic functional candidate branch are trained to obtain the original class probabilities of each branch. Specifically: To investigate the dynamic functional changes in rs-fMRI, three types of dynamic candidate branches were constructed, including TVSV-W23, TVSV-W30, and RMS-W23. TVSV-W23 was used to extract the temporal and spatial variability of rs-fMRI under the first set of sliding window parameters, TVSV-W30 was used to extract the temporal and spatial variability under the second set of sliding window parameters, and RMS-W23 was used to extract the dynamic connectivity amplitude features based on the root mean square of the dynamic node intensity in each brain region within each window. For each dynamic candidate branch, z-score standardization, L1 regularized multinomial logistic regression feature selection, and support vector machine three-class classification are performed to obtain the original class probability of the corresponding branch.

5. The multimodal image classification method based on DTI and rs-fMRI according to claim 1, characterized in that, Step S4 specifically includes: The outer training data is divided into an inner training fold and a validation fold. Inner cross-validation is performed on each base classifier to generate the original class prediction probability outside the outer training data fold. For the The base classifier will be the first base classifier. Each sample output Original class probability Convert to centered log probability The formula is: ; In the formula, Represents a minimal constant. Indicates the first The base classifier predicts the first... The sample belongs to the first The original class probability, Indicates the base classifier index. Indicates the sample index. Indicates category index, Indicates the total number of categories; Predict the probability of the original class outside the outer training data, and search for the first class within a preset range. Temperature parameters of the base classifier The formula for minimizing the negative log-likelihood of the calibrated probability is: ; In the formula, This represents the probability after calibration.

6. The multimodal image classification method based on DTI and rs-fMRI according to claim 5, characterized in that, Step S5 specifically includes: For each base classifier, the calibration probabilities are calculated using three confidence descriptors, including the maximum class probability. Category probability interval and probability information entropy The calculation formula is: ; ; ; In the formula, Indicates category label, Indicates the first e The base classifier predicts the first... Maximum class probability for samples This represents the difference between the probability of the largest class and the probability of the second largest class. This represents the maximum probability among the three calibration categories. This represents the second largest value among the probabilities of the three calibration categories. Information entropy representing the probability distribution of calibration categories; The calibration probability and the three confidence descriptors are concatenated to obtain the probability-confidence representation of each base classifier.

7. The multimodal image classification method based on DTI and rs-fMRI according to claim 6, characterized in that, Step S6 specifically includes: The probability-confidence representation of the DTI base classifier is concatenated with the probability-confidence representation of the static function branch base classifier to obtain the basic meta-fusion feature. ; A multinomial logistic regression with Elastic-Net constraints is used as the meta-learner for training, taking the basic meta-fusion features as input and outputting the basic fusion probability. The training objectives include multi-class cross-entropy, L1 sparsity penalty, and L2 stability penalty; Transform the basic fusion probability into a centered log-probability vector. As the initial logit for residual expansion, the formula is: 。 8. The multimodal image classification method based on DTI and rs-fMRI according to claim 7, characterized in that, Step S7 specifically includes: Constructing the residual mapping input: For the m-th dynamic candidate branch, obtain the calibration probability, maximum class probability, class probability interval, and probability information entropy of that branch, and calculate the difference between the probability of this dynamic branch and the probability of the current model before adding that branch, using the following formula: ; In the formula, Indicates the first The dynamic candidate branch pair The calibration probability vector of each sample. Indicates joining the The current model reference probability before each branch is defined as... When m=1, Equivalent to the SACS-HF basic trunk logit When m>1, This is the current logit vector after accumulating all the residuals that have passed the security gating. Correcting candidate residuals: Using a lightweight linear mapper, the centered log probability vectors of the three classes are corrected. ; In the formula, This represents the corrected residual. and This indicates the current residual mapper parameters.

9. A multimodal image classification method based on DTI and rs-fMRI according to claim 8, characterized in that, The evaluation process includes: Pre-set discrete gating candidate set: ; Among them, a gating coefficient of 0 indicates that the current branch is closed; a value between 0 and 1 indicates that the residual is added proportionally, and a value of 1 indicates that the residual is added completely. For each candidate gating coefficient, the current backbone logit is added to the corresponding proportion of candidate residuals. The macro-average F1 score (Macro-F1) is calculated on the original class prediction probability samples outside the outer training data. The gating coefficient with the highest Macro-F1 score is selected. : ; In the formula, This represents the true class label corresponding to the predicted sample from the outer training data. This represents a pre-defined set of candidate discrete gating coefficients. This represents the candidate gating coefficients to be evaluated. Indicates joining the The current model's logit on the out-of-fold original class prediction probability samples before each branch. Indicates the first The candidate logit residuals of each candidate dynamic branch on the out-of-fold original class prediction probability sample; Set security activation conditions. When the selected gating coefficient meets the security activation conditions, its residual is added to the current trunk to form the updated current state. Then, the next candidate branch is evaluated based on this state. Branches that do not meet the conditions do not change the current state.

10. A multimodal image classification method based on DTI and rs-fMRI according to claim 9, characterized in that, Security activation requirements include: Gating coefficient Greater than 0; The Macro-F1 gain after adding the current residual, relative to the current model before adding it, is not less than a preset threshold: ; In the formula, This represents the Macro-F1 value after incorporating the current residual. This represents the Macro-F1 value of the current model. This indicates the preset minimum gain threshold. If any condition is not met, the gating coefficient of that branch is set to 0, and the current logit remains unchanged.