This invention discloses a
brain disease classification method,
system, medium, and device based on contrastive learning and
diffusion denoising, relating to the interdisciplinary fields of medical
image analysis and
artificial intelligence. The method includes: acquiring temporal multi-window brain
functional image data and converting it into at least two sets of graph structure data; inputting the data into a graph neural network
encoder to obtain a graph depth representation; inputting the data into a
diffusion teacher-knowledge
distillation module to obtain denoised soft labels through forward denoising and backward denoising processes; performing contrastive-
distillation joint optimization learning, updating
encoder parameters by minimizing the weighted sum of contrastive and regression losses; and outputting
brain disease classification results based on the trained
encoder. This invention explicitly models
brain network noise using a
diffusion model, injects denoising priors into the student encoder using knowledge
distillation, and jointly optimizes contrastive learning and denoising tasks within a unified framework. This solves the problems of insufficient discriminability,
noise sensitivity, and multi-objective optimization conflicts in
small sample sizes, significantly improving the accuracy, stability, and generalization ability of
brain disease classification. It is suitable for the early auxiliary diagnosis of brain diseases such as Alzheimer's
disease and mild
cognitive impairment.