Abstract
Deep neural networks have achieved strong performance in medical image classification, but their deployment may be constrained by the computational cost of high-capacity models. Knowledge distillation (KD) addresses this problem by transferring knowledge from a teacher to a lightweight student. However, the reliability of teacher supervision may vary across samples, potentially introducing noisy guidance and local conflicts with ground-truth supervision. We propose Selective Confidence-guided Projection-based Encoding (SCOPE), a conflict-aware KD framework comprising Selective Relation Alignment (SRA) and Gradient Conflict Resolution (GCR). SRA constructs reliability-aware relational supervision by combining teacher-derived relations with dataset-specific auxiliary priors, whereas GCR removes distillation-gradient components that conflict with the classification objective. Experiments on nine medical image datasets and multiple teacher–student architectures demonstrate competitive predictive performance, improved training stability, and low computational overhead.
Keywords: medical image classification, knowledge distillation, reliability-aware supervision, gradient conflict, structured priors
1. Introduction
Deep neural networks have achieved promising performance in medical image classification [1,2], but their deployment is often constrained by the computational and memory requirements of high-capacity models [3]. These limitations are particularly relevant in clinical environments, where available hardware and dataset characteristics may vary across institutions. Lightweight models that maintain reliable performance across heterogeneous medical imaging tasks are therefore needed.
Knowledge distillation (KD) transfers knowledge from a high-capacity teacher to a compact student [4,5,6,7]. Existing methods transfer intermediate features, inter-sample relations, or softened predictions [8,9,10,11,12,13]. KD has also been extended to biomedical applications through medical priors and task-specific constraints [14,15,16,17,18]. Nevertheless, conventional KD commonly assumes that teacher predictions are reliable. This assumption may not hold for previously unseen samples, where erroneous teacher predictions can introduce noisy supervision. Nevertheless, entirely removing teacher guidance may also result in the loss of valuable relational and semantic information. The central challenge is therefore to retain reliable teacher knowledge while suppressing misleading guidance.
Previous studies have addressed unreliable supervision through loss perturbation [19], pseudo-label denoising [20], supervision refinement [21,22], uncertainty-aware distillation [23,24] or confidence-aware learning strategies [25]. Confidence-aware methods generally adjust the strength of teacher supervision at the sample or loss level, whereas relation-based distillation transfers the structural relationships among samples. However, these approaches do not explicitly construct pairwise relational targets by jointly considering teacher reliability. Gradient-conflict methods such as PCGrad, GradDrop, and CAGrad [26,27,28] have been developed primarily for multi-task optimization. Their direct application does not specifically prioritize the ground-truth classification objective over potentially unreliable distillation supervision. Therefore, an unresolved question is how to jointly control the reliability of relational knowledge and prevent conflicting distillation gradients from degrading the supervised classification objective.
To address this problem, we formulate SCOPE (Selective COnfidence-guided Projection-based Encoding) as a selective knowledge-transfer framework designed to preserve informative teacher knowledge while limiting the influence of less informative guidance on student learning. Teacher-derived relations provide valuable structural information for knowledge transfer, while their informativeness may vary across sample pairs. SRA therefore uses pairwise confidence to adaptively regulate the contribution of teacher-derived relations when constructing the reference relation. GCR therefore preserves the classification gradient as the primary learning direction and selectively removes only the conflicting component of the distillation gradient. When the two gradients are directionally consistent, the original distillation gradient is retained, allowing teacher knowledge to continue contributing to student optimization; when a conflict occurs, only the component opposing the classification gradient is removed. In this way, GCR retains the contribution of compatible distillation signals while preventing conflicting components from interfering with ground-truth supervised learning. SRA and GCR implement a unified selective-transfer principle that regulates both the relational information transferred from the teacher and how the resulting distillation signal influences student optimization. An overview of the proposed SCOPE framework is presented in Figure 1. The main contributions are as follows:
Figure 1.

Overview of the proposed SCOPE framework. Given a labeled dataset , the teacher and student networks extract feature representations and generate class predictions. SRA constructs reliability-aware relational supervision by combining the teacher-derived relation with an auxiliary relation according to the pairwise confidence . The auxiliary relation is constructed from medical prior information when available; otherwise, it is derived from a normalized Euclidean distance between preprocessed input images. The student relation is aligned with the resulting reference relation . GCR detects local inconsistencies between the classification and distillation gradients and conditionally corrects the distillation gradient before updating the student parameters.
We propose a confidence-aware relational distillation strategy that uses teacher confidence to weight and combine teacher relations with dataset-specific auxiliary-prior relations.
We introduce a classification-priority gradient correction method that keeps the classification gradient unchanged while only adjusting conflicting KD gradients.
We formulate a selective knowledge-transfer framework that adaptively regulates teacher-derived relational knowledge and constrains conflicting distillation gradients to preserve the ground-truth classification objective.
2. Related Work
Knowledge distillation methods differ primarily in the form of knowledge transferred from the teacher. Response-based methods use softened output distributions, whereas feature-based methods align intermediate representations or attention patterns [29,30]. Relation-based methods instead transfer structural relationships among samples or representations [31]. Although these approaches differ in what is transferred, they generally do not explicitly account for variations in the reliability of teacher supervision across sample pairs.
Uncertainty- and confidence-aware distillation methods reduce the influence of unreliable teacher outputs through confidence weighting, uncertainty-based masking, or adaptive supervision [32]. Existing methods primarily apply such regulation to individual predictions, classes, or distillation losses. In contrast, SRA uses the confidence of both samples to regulate the construction of each relational target.
Knowledge distillation has also been applied to medical imaging tasks, including image classification, physiological measurement, radiology report generation, and whole-slide image analysis [14,15,16,17]. Knowledge-enhanced medical image classification methods have incorporated explicit clinical rules or structured domain knowledge into representation learning [33]. The present study focuses on a related but distinct question: how complementary pairwise information can be incorporated into relational distillation when the reliability of teacher supervision varies across sample pairs. In SCOPE, the auxiliary relation is constructed from medical prior information when such information is available; otherwise, it is derived from a normalized Euclidean distance between preprocessed input images, providing a non-learned source of pairwise information. This design allows SRA to construct an auxiliary relation without requiring the same type of structured metadata for every dataset.
Gradient-conflict methods such as PCGrad, GradDrop, and CAGrad modify optimization directions when gradients from multiple objectives interfere with one another [26,27,28]. These methods were primarily developed for multi-task optimization and seek to reconcile multiple objectives without assigning the ground-truth classification objective a fixed priority. GCR instead preserves the classification gradient and modifies only the conflicting component of the distillation gradient. SCOPE combines this classification-priority correction with pairwise confidence-aware relational supervision.
3. Materials and Methods
3.1. Problem Formulation and Framework Overview
Let denote a labeled dataset, where is the input image and is the corresponding class label. In addition to the teacher-derived relation, SCOPE constructs an auxiliary relation for each sample pair . The source of this relation depends on the availability of structured sample-level information. When suitable medical prior information is available, each sample is associated with a prior representation , from which the pairwise auxiliary relation is computed. When such prior information is unavailable, the auxiliary relation is instead derived from the normalized Euclidean distance between the corresponding preprocessed input images. The teacher and student models are denoted by and , respectively, where represents the feature extractor and c represents the classifier. Their feature representations, classification logits, and class-probability distributions are defined as
| (1) |
where and denote the teacher and student feature representations, respectively. Here, and are architecture-dependent feature dimensions. are classification logits, and are the corresponding probability distributions over C classes.
As illustrated in Figure 1, SCOPE consists of two components: Selective Relation Alignment (SRA) and Gradient Conflict Resolution (GCR). SRA constructs reliability-aware relational supervision by combining teacher-derived relations with dataset-specific auxiliary priors, whereas GCR corrects distillation gradients that conflict with the ground-truth classification objective.
For a mini-batch of B samples, the classification loss is defined as
| (2) |
where denotes the one-hot label indicator and denotes the student probability for class c. The temperature-based distillation loss is defined as
| (3) |
where T denotes the distillation temperature. The training objective contains the relational alignment, classification, and distillation terms:
| (4) |
where , and are balancing coefficients.
3.2. Selective Relation Alignment
Because direct feature matching can be sensitive to variations in feature scale and distribution during training, SRA instead transfers inter-sample relational information. Teacher-derived relations are weighted according to prediction confidence, allowing uncertain teacher supervision to be complemented by an auxiliary relation. The auxiliary relation is constructed according to the availability of medical prior information for each dataset. When suitable medical prior information is available, it is encoded into a prior representation . For metadata-based priors, continuous variables are standardized using statistics estimated from the corresponding training partition, whereas categorical variables are encoded using one-hot representations. The resulting dimensionality is determined by the number of standardized continuous variables and the dimensions of the one-hot-encoded categorical variables for the corresponding dataset. When suitable medical prior information is unavailable, no separate prior vector is constructed; instead, the auxiliary relation is computed directly from the normalized Euclidean distance between the corresponding vectorized, preprocessed input images. This image-based relation is deterministic and does not introduce an additional trainable network.
We next estimate the reliability of the teacher prediction for each sample using its predictive entropy:
| (5) |
Lower entropy indicates greater teacher confidence. We therefore define the sample-level confidence as and the corresponding pairwise confidence as . Its association with teacher classification accuracy is empirically evaluated in Section 4.4. The teacher and student relations are computed using cosine similarity, whereas the auxiliary relation is constructed according to the availability of medical prior information.
| (6) |
where and denote the Euclidean distances between medical-prior representations and between vectorized, preprocessed input images, respectively. In both cases, the resulting pairwise distances are normalized to within each mini-batch before being transformed into the auxiliary relation using the exponential kernel. Thus, more similar sample pairs receive larger auxiliary-relation values. The parameter controls the decay rate and is fixed at in all experiments. The operators and denote the inner product and Euclidean norm, respectively. The reliability-aware reference relation is then defined as:
| (7) |
Accordingly, teacher-derived relations are assigned greater weight when teacher confidence is high, whereas the auxiliary prior relation exerts a stronger influence under low-confidence predictions. In the No-Prior setting, the auxiliary relation is removed and the reference relation reduces to . SRA therefore becomes teacher-based relational distillation without auxiliary prior information. The relational alignment loss is calculated over all distinct sample pairs within a mini-batch:
| (8) |
SRA therefore preserves informative teacher-derived relations while reducing the influence of uncertain supervision.
3.3. Gradient Conflict Resolution
Although SRA adaptively regulates the relational knowledge transferred from the teacher, this regulation does not necessarily ensure directional agreement between the classification and distillation objectives during optimization. Their gradients may still exhibit local directional conflicts. GCR therefore preserves the classification gradient as the primary learning direction while removing only the conflicting component of the distillation gradient. Let denote the parameters of the student network. The gradients associated with the classification and distillation objectives are defined as follows:
| (9) |
Their directional agreement is measured using cosine similarity:
| (10) |
where is a small constant for numerical stability. A gradient conflict is detected when . Although can be varied, we set as the default threshold for all datasets. This choice follows directly from the geometry of the two gradients. indicates that the classification and distillation gradients have a negative inner product and therefore point in conflicting directions, whereas indicates no directional conflict according to the cosine-similarity criterion. Accordingly, was fixed a priori rather than selected through dataset-specific tuning. This geometrically defined threshold provides a consistent decision criterion across datasets and avoids the need for dataset-specific threshold search. The sensitivity of GCR to alternative threshold values is further examined in Section 4.3. The distillation gradient is conditionally corrected according to
| (11) |
when , the component of the distillation gradient that conflicts with the classification gradient is removed; otherwise, the original distillation gradient is retained. Thus, Equation (11) implements a hard correction once the conflict criterion is satisfied. A continuous correction strategy that adaptively scales the projection according to the degree of gradient conflict is further examined in the ablation study. The final update direction is
| (12) |
where controls the contribution of the corrected distillation gradient. The student parameters are updated according to
| (13) |
where denotes the learning rate.
SRA improves the reliability of relational supervision, whereas GCR prevents conflicting components of the distillation gradient from interfering with the ground-truth classification objective.
4. Experiments
4.1. Experiment Setting
4.1.1. Datasets and Experimental Design
The proposed framework was evaluated on nine medical image classification datasets, comprising eight publicly available benchmarks and one institutionally collected Multiple Myeloma dataset. These datasets comprised between three and seven classes and varied substantially in size, ranging from 488 to 25,000 images. Specifically, the datasets included LC25000 (https://www.kaggle.com/datasets/javaidahmadwani/lc25000 (accessed on 1 November 2024)) (25,000 images, five classes), HAM10000 (https://www.kaggle.com/datasets/vrindaat/ham10000-dataset (accessed on 1 November 2024)) (10,015 images, seven classes), Chaoyang (https://bupt-ai-cz.github.io/HSA-NRL/ (accessed on 1 November 2024)) (6160 images, four classes), Multiple Myeloma (1816 images, four classes), Brain Tumor (https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset (accessed on 1 November 2024)) (3264 images, four classes), Kidney (https://github.com/Ritesh18117/Detection-and-Classification-of-Kidney-Diseases-Using-CT-Scanned-Image/tree/master (accessed on 1 November 2024)) (3956 images, four classes), Breast Tumor (https://www.kaggle.com/datasets/sabahesaraki/breast-ultrasound-images-dataset (accessed on 1 November 2024)) (780 images, three classes), Cataract (https://www.kaggle.com/datasets/jr2ngb/cataractdataset (accessed on 1 November 2024)) (601 images, four classes), and PAPILA (https://figshare.com/articles/dataset/PAPILA/14798004?file=35013982 (accessed on 1 November 2024)) (488 images, three classes). The Multiple Myeloma dataset was retrospectively collected at the University of Michigan, whereas the remaining datasets were publicly available benchmarks. The auxiliary relation used by SRA was constructed according to the availability of medical prior information. When suitable medical prior information was available, the corresponding prior representation was used to compute the pairwise auxiliary relation. Otherwise, the auxiliary relation was derived from the normalized Euclidean distance between the corresponding preprocessed input images. The same construction rule was applied consistently to all samples within each dataset. Table 1 summarizes the information source and construction strategy used for all nine datasets. Notably, all these public datasets were accessed and downloaded in November 2024.
Table 1.
Dataset-specific construction of the auxiliary relation used in SRA. When suitable medical prior information is available, the auxiliary relation is constructed from the normalized Euclidean distance between prior representations; otherwise, it is constructed from the normalized Euclidean distance between preprocessed input images.
| Dataset | Auxiliary Relation | Information Used | Prior Dimension | Construction |
|---|---|---|---|---|
| LC25000 | Image-based | Input images | – | Normalized Euclidean image distance |
| HAM10000 | Prior-based | Age; gender | 3 | Standardization/one-hot encoding |
| Chaoyang | Image-based | Input images | – | Normalized Euclidean image distance |
| Multiple Myeloma | Image-based | Input images | – | Normalized Euclidean image distance |
| Brain Tumor | Image-based | Input images | – | Normalized Euclidean image distance |
| Kidney | Image-based | Input images | – | Normalized Euclidean image distance |
| Breast Tumor | Image-based | Input images | – | Normalized Euclidean image distance |
| Cataract | Image-based | Input images | – | Normalized Euclidean image distance |
| PAPILA | Prior-based | Age; gender | 3 | Standardization/one-hot encoding |
Note: For datasets with suitable medical prior information, each sample is represented by a prior vector . Continuous variables are standardized using statistics estimated exclusively from the corresponding training partition, whereas categorical variables are encoded using one-hot representations. The pairwise auxiliary relation is then constructed from the normalized Euclidean distance . For datasets without suitable medical prior information, the auxiliary relation is instead derived directly from the normalized Euclidean image distance . The same construction rule is applied consistently to all samples within each dataset, and no additional trainable network is introduced for constructing the auxiliary relation. For image-based auxiliary relations, no separate prior representation is constructed; the normalized Euclidean image distance is computed directly from the vectorized preprocessed images. Regardless of the information source, the resulting pairwise auxiliary relation is scalar-valued. For HAM10000 and PAPILA, age and gender were obtained from the metadata provided with the corresponding datasets. No missing values were present in these attributes; therefore, no attribute imputation was required.
For each dataset, 40% of the data were used exclusively for teacher pre-training. The remaining 60% were reserved for downstream model development and evaluation and were further divided into training, validation, and test subsets at a ratio of 70:10:20, corresponding to 42%, 6%, and 12% of the full dataset, respectively. Notably, the partitioning strategy accounted for related images within individual datasets to avoid cross-partition overlap. HAM10000 was split at the lesion level, whereas PAPILA and Breast Tumor were split at the patient level, ensuring that images from the same lesion or patient remained within the same partition. For the institutionally collected Multiple Myeloma dataset, all images from the same patient were assigned to the same partition. For LC25000, each original source image and its augmentation-derived images were grouped and assigned to the same partition. For the remaining public datasets, partitioning followed the independent sampling units supported by the available dataset structure and metadata. We additionally evaluated a conventional KD protocol in which the original teacher-pretraining subset and downstream training subset were combined to form a shared training partition comprising 82% of the full dataset. Both the teacher and student were trained using this shared partition, while the original validation and test subsets, comprising 6% and 12% of the full dataset, respectively, were retained without modification. Results from the two protocols are reported separately. The same partitioning strategy was applied to all comparison methods to ensure a consistent experimental protocol. In the principal non-overlapping protocol, SCOPE and all competing KD methods used only the training subset derived from the downstream 60% partition. The non-KD classification baselines adopted the same downstream training, validation, and test subsets. All principal experiments were repeated using five random seeds. The same data partitions and random seeds were used across the compared methods to enable matched comparisons. For each method, model selection was performed independently in each run using the highest validation ACC. The results are reported as the mean ± standard deviation across the five runs.
4.1.2. Comparison Methods
SCOPE was compared with two standard classification baselines, representative knowledge distillation methods, and additional learning-based comparison approaches. Baseline-1 and Baseline-2 used ResNet18 and ResNet101 [34], respectively, and were trained from scratch using identical data partitions and optimization settings. The knowledge distillation methods included USKD [35], LSKD [13], OFAKD [36], UniDistill [37], SDKD [8], MCAD-KD [18], LDRLD [12], FoPro-KD [38], and KD-FMV [9]. Additional comparison approaches included PETL [3], AFA [39], DEPICT [40], ProtoPNets [41], and Diff-Mix [42]. All methods were evaluated using identical data partitions whenever applicable. The default teacher and student architectures were ResNet101 and ResNet18, respectively. Additional experiments using ViT-B and WideResNet101 as teachers and ShuffleNetV2 as an alternative student were conducted to assess generalization across heterogeneous teacher–student architectures.
4.1.3. Implementation Details
The final hyperparameter configuration and the corresponding selection strategies are summarized in Table 2. All input images were resized to pixels and normalized using the ImageNet mean and standard deviation. Training was performed for 100 epochs using the Adam optimizer with a batch size of 64 and a learning rate of . For each run, the model checkpoint achieving the highest validation ACC was selected for test-set evaluation. The test set was not used for hyperparameter tuning, checkpoint selection, or any other model-development decision.
Table 2.
Summary of the hyperparameters, training settings, and selection strategies used in the main experiments.
| Parameter or Setting | Description | Value |
|---|---|---|
| Weight of the classification loss | ||
| Scaling coefficient for the KD loss | ||
| Weight of the corrected KD gradient | ||
| T | Distillation temperature | |
| Decay parameter for the auxiliary relation | ||
| Gradient-conflict threshold | 0 | |
| Optimizer | Optimization algorithm | Adam |
| Learning rate | Initial learning rate | |
| Learning-rate schedule | Learning-rate adjustment strategy | Fixed learning rate |
| Batch size | Number of samples per mini-batch | 64 |
| Number of epochs | Maximum training duration | 100 |
| Checkpoint selection | Criterion for selecting the final model | Highest validation ACC |
4.1.4. Evaluation Metrics
Classification performance was evaluated using accuracy (ACC), macro-averaged F1 score (Macro-F1), one-vs-one area under the receiver operating characteristic curve (AUC-OVO), and one-vs-rest AUC (AUC-OVR). Computational efficiency was evaluated using the number of trainable parameters, floating-point operations (FLOPs), and inference latency on CPU and GPU platforms. Higher values indicate better performance for ACC, Macro-F1, AUC-OVO, and AUC-OVR, whereas lower values indicate greater efficiency for model size, FLOPs, and inference latency. Statistical comparisons between SCOPE and each competing method were performed using two-sided paired t-tests based on the five seed-matched runs. Statistical significance was defined as . To account for multiple comparisons, Holm correction was applied separately within each dataset–metric combination across all pairwise comparisons between SCOPE and the competing methods, and the resulting adjusted p-values are reported in Table 3. To empirically examine whether teacher entropy reflects prediction reliability, test samples were grouped into three intervals according to their normalized teacher entropy, : , , and . Model calibration was evaluated using the expected calibration error: Here, denotes the set of test predictions assigned to confidence bin b, and lower ECE indicates better calibration. Uncertainty reliability was assessed by treating incorrect predictions as positive cases and computing the area under the ROC curve for error detection (error-detection AUC), using predictive entropy as the detection score. Robustness was evaluated under a controlled simulated perturbation by adding Gaussian noise with standard deviation to the test images and measuring the resulting change in classification performance. This experiment evaluates sensitivity to the specified synthetic perturbation and is not interpreted as validation under real scanner-, protocol-, or institution-related acquisition shifts.
Table 3.
Paired statistical comparisons between SCOPE and all competing methods across the nine datasets. Each entry reports the Holm-adjusted p-value from a two-sided paired t-test based on five seed-matched runs. Holm correction was applied separately within each dataset–metric combination across all comparisons with SCOPE. Values below 0.001 are reported as <.
| Method | LC25000 | HAM10000 | Chaoyang | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| Baseline-1 | < | < | < | < | < | < | < | |||||
| Baseline-2 | ||||||||||||
| USKD | < | < | < | < | < | |||||||
| LSKD | < | < | ||||||||||
| OFAKD | < | < | < | < | ||||||||
| UniDistill | ||||||||||||
| SDKD | ||||||||||||
| PETL | < | |||||||||||
| MCAD-KD | ||||||||||||
| LDRLD | < | |||||||||||
| FoPro-KD | < | < | ||||||||||
| KD-FMV | ||||||||||||
| AFA | < | |||||||||||
| DEPICT | < | < | < | < | < | |||||||
| ProtoPNets | < | |||||||||||
| Diff-Mix | < | < | ||||||||||
| Method | Multiple Myeloma | Brain Tumor | Kidney | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| Baseline-1 | ||||||||||||
| Baseline-2 | ||||||||||||
| USKD | < | |||||||||||
| LSKD | < | |||||||||||
| OFAKD | < | |||||||||||
| UniDistill | < | < | < | |||||||||
| SDKD | ||||||||||||
| PETL | < | < | ||||||||||
| MCAD-KD | ||||||||||||
| LDRLD | ||||||||||||
| FoPro-KD | ||||||||||||
| KD-FMV | ||||||||||||
| AFA | ||||||||||||
| DEPICT | ||||||||||||
| ProtoPNets | ||||||||||||
| Diff-Mix | < | |||||||||||
| Method | Breast Tumor | Cataract | PAPILA | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| Baseline-1 | ||||||||||||
| Baseline-2 | < | < | < | < | < | < | < | < | < | < | ||
| USKD | < | |||||||||||
| LSKD | < | < | < | < | ||||||||
| OFAKD | < | < | < | |||||||||
| UniDistill | < | < | < | < | < | < | < | |||||
| SDKD | ||||||||||||
| PETL | < | < | < | < | ||||||||
| MCAD-KD | < | < | < | < | < | |||||||
| LDRLD | < | < | < | < | ||||||||
| FoPro-KD | < | < | < | < | ||||||||
| KD-FMV | < | < | ||||||||||
| AFA | ||||||||||||
| DEPICT | ||||||||||||
| ProtoPNets | < | |||||||||||
| Diff-Mix | ||||||||||||
Note: Two-sided paired t-tests were performed between each competing method and SCOPE using five seed-matched runs. Holm correction was applied separately within each dataset–metric combination across the 16 comparisons with SCOPE to control the family-wise error rate. Each entry reports the Holm-adjusted p-value. Values below 0.001 are reported as <0.001.
4.2. Overall Classification Performance
Table 4 summarizes the classification results across the nine datasets. SCOPE achieved the highest ACC among the two standard classification baselines on all nine datasets and maintained competitive or superior performance across most metrics. Relative to Baseline-2, SCOPE improved mean ACC by 3.8 percentage points on LC25000 (98.3% vs. 94.5%), 5.2 points on HAM10000 (84.0% vs. 78.8%), 17.0 points on Cataract (73.0% vs. 56.0%), and 19.0 points on PAPILA (82.9% vs. 63.9%). Compared with MCAD-KD on LC25000, SCOPE improved mean ACC and Macro-F1 by 5.7 and 6.5 percentage points, respectively. On Brain Tumor, SCOPE exceeded OFAKD by 9.0 points in ACC and 8.2 points in Macro-F1. On Multiple Myeloma, SCOPE achieved 64.1% ACC and 65.0% Macro-F1, exceeding KD-FMV by 5.0 and 5.6 points, respectively, while its AUC-OVO and AUC-OVR remained competitive. Although SCOPE did not obtain the highest value for every individual metric, it showed strong and comparatively stable performance across datasets of different scales. Table 3 further reports the paired statistical comparisons for each dataset–metric combination without collapsing the results into a single aggregate claim. The results show that the performance gains of SCOPE are statistically supported for a substantial number of comparisons, particularly for ACC and Macro-F1, although the significance varies across datasets, metrics, and competing methods. This pattern is consistent with the heterogeneous performance differences observed in Table 4: large improvements generally lead to stronger statistical evidence, whereas smaller differences or competitive AUC results are less consistently significant after Holm correction. The ablation and optimization-strategy comparisons are further summarized in Table 5. Table 6 evaluates calibration, error-detection ability, and robustness on three representative datasets. SCOPE consistently achieves lower ECE than KD-FMV on Chaoyang, Brain Tumor, and Breast Tumor, indicating better calibrated predictions, while its higher ED-AUC suggests that predictive entropy more effectively distinguishes erroneous predictions. SCOPE also maintains higher accuracy under the specified Gaussian-noise perturbation on all three datasets; for example, on Breast Tumor, the noisy accuracy increases from for KD-FMV to for SCOPE. Together, these results suggest that the benefits of SCOPE extend beyond clean classification accuracy to prediction calibration, error awareness, and robustness under the evaluated synthetic perturbation. These analyses are restricted to the three evaluated datasets and to the KD-FMV comparison and therefore should not be generalized to all competing methods or to real-world acquisition shifts.
Table 4.
Comparison with various methods across different classification tasks (%). Results are reported as the mean ± standard deviation over 5 matched runs. The best results are underlined.
| Method | LC25000 | HAM10000 | Chaoyang | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| Baseline-1 | ||||||||||||
| Baseline-2 | ||||||||||||
| USKD | ||||||||||||
| LSKD | ||||||||||||
| OFAKD | ||||||||||||
| UniDistill | ||||||||||||
| SDKD | ||||||||||||
| PETL | ||||||||||||
| MCAD-KD | ||||||||||||
| LDRLD | ||||||||||||
| FoPro-KD | ||||||||||||
| KD-FMV | ||||||||||||
| AFA | ||||||||||||
| DEPICT | ||||||||||||
| ProtoPNets | ||||||||||||
| Diff-Mix | ||||||||||||
| SCOPE | ||||||||||||
| Method | Multiple Myeloma | Brain Tumor | Kidney | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| Baseline-1 | ||||||||||||
| Baseline-2 | ||||||||||||
| USKD | ||||||||||||
| LSKD | ||||||||||||
| OFAKD | ||||||||||||
| UniDistill | ||||||||||||
| SDKD | ||||||||||||
| PETL | ||||||||||||
| MCAD-KD | ||||||||||||
| LDRLD | ||||||||||||
| FoPro-KD | ||||||||||||
| KD-FMV | ||||||||||||
| AFA | ||||||||||||
| DEPICT | ||||||||||||
| ProtoPNets | ||||||||||||
| Diff-Mix | ||||||||||||
| SCOPE | ||||||||||||
| Method | Breast Tumor | Cataract | PAPILA | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| Baseline-1 | ||||||||||||
| Baseline-2 | ||||||||||||
| USKD | ||||||||||||
| LSKD | ||||||||||||
| OFAKD | ||||||||||||
| UniDistill | ||||||||||||
| SDKD | ||||||||||||
| PETL | ||||||||||||
| MCAD-KD | ||||||||||||
| LDRLD | ||||||||||||
| FoPro-KD | ||||||||||||
| KD-FMV | ||||||||||||
| AFA | ||||||||||||
| DEPICT | ||||||||||||
| ProtoPNets | ||||||||||||
| Diff-Mix | ||||||||||||
| SCOPE | ||||||||||||
Table 5.
Ablation and optimization-strategy comparisons across three datasets. Results are reported as the mean ± standard deviation over five runs. The best results are underlined and the second are bold.
| Variants | Chaoyang | Brain Tumor | Breast Tumor | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| No SRA & No GCR | ||||||||||||
| Teacher-Only | ||||||||||||
| Label-Only | ||||||||||||
| No-Prior | ||||||||||||
| Fixed-Alpha (0.50) | ||||||||||||
| MaxProb-Alpha | ||||||||||||
| No GCR | ||||||||||||
| Soft GCR | ||||||||||||
| PCGrad | ||||||||||||
| CAGrad | ||||||||||||
| GCR () | ||||||||||||
| GCR () | ||||||||||||
| GCR () | ||||||||||||
| GCR () | ||||||||||||
| Baseline-2 (Expanded Training Set) |
||||||||||||
| Vanilla KD (Standard Protocol) |
||||||||||||
| SCOPE (Standard Protocol) |
||||||||||||
| SCOPE () | ||||||||||||
Note: SCOPE (Standard Protocol) uses the conventional KD setting in which teacher and student share the same training partition, whereas SCOPE (δ = 0) follows the proposed teacher-pretraining/student-training split used in the main experiments.
Table 6.
Calibration, uncertainty, and robustness evaluation across three representative datasets.
| Method | Chaoyang | Brain Tumor | Breast Tumor | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ECE | ED-AUC | C-ACC | N-ACC | ECE | ED-AUC | C-ACC | N-ACC | ECE | ED-AUC | C-ACC | N-ACC | |
| KD-FMV | ||||||||||||
| SCOPE | ||||||||||||
Note: ED-AUC is the error-detection AUC (%) obtained using predictive entropy as the score. C-ACC and N-ACC denote clean and Gaussian-noise-perturbed ACC (%), respectively. Gaussian noise with σ = 0.05 is a controlled synthetic perturbation.
4.3. Ablation and Protocol Analysis
Table 5 summarizes the ablation and optimization-strategy comparisons. For the SRA-related ablations, No SRA & No GCR removes both proposed components while retaining the standard classification and KD objectives; Teacher-Only uses only the teacher-derived relation; Label-Only retains only ground-truth classification supervision; No-Prior removes the auxiliary relation; Fixed-Alpha (0.50) replaces the confidence-derived pairwise weight with a constant ; and MaxProb-Alpha constructs the pairwise weight from the product of the maximum teacher class probabilities of the two samples. For the GCR-related ablations, No GCR removes gradient correction, while PCGrad and CAGrad replace GCR with the corresponding gradient-conflict optimization strategies. Alternative correction thresholds were also evaluated. To examine the effect of replacing the hard correction with continuous weighting, we additionally implemented a Soft GCR variant. Soft GCR continuously interpolates between the original distillation gradient and its fully projected counterpart according to the degree of gradient conflict. Specifically, the projection weight is defined as: , and the corrected distillation gradient is given by: . No correction is applied when , whereas the correction strength increases continuously as the cosine similarity becomes more negative. Soft GCR was evaluated using the same training settings and computational cost as hard GCR.
Removing both SRA and GCR reduced mean Chaoyang ACC and Macro-F1 from 82.8% and 78.9% to 77.5% and 73.2%, respectively. The Teacher-Only, No-Prior, Fixed-Alpha, and MaxProb-Alpha variants also showed inferior overall performance, supporting the use of confidence-aware integration of teacher relations and auxiliary priors. The No-Prior variant generally showed lower overall performance than the complete SCOPE framework. In this setting, the auxiliary prior branch is removed, so that and SRA reduces to teacher-based relational distillation. These results show that SCOPE remains applicable even when neither metadata-based nor image-derived prior information is used.
The hard-GCR, Soft-GCR, No-GCR, PCGrad, CAGrad, and alternative-threshold controls are evaluated under the same architecture and data protocol. The continuous control uses the weighting rule defined above, whereas hard GCR applies the full projection whenever . The threshold analysis further shows that the relative performance varies across datasets and evaluation metrics. Although some alternative thresholds perform favorably for individual dataset–metric combinations, none provides a consistent advantage across the evaluated settings, while maintains competitive overall performance. Additionally, this fixed threshold also avoids additional dataset-specific threshold tuning, thereby reducing the tuning cost. This observation is consistent with our use of as a geometrically defined default rather than a threshold selected through dataset-specific empirical tuning. Figure 2 illustrates the gradient-norm trajectories, and Figure 3 visualizes the entropy–gradient-similarity distributions.
Figure 2.

Comparison of total gradient norm during training on the LC25000 dataset.
Figure 3.

Visualization of the entropy–gradient similarity distributions on the Multiple Myeloma dataset. Each row corresponds to a different optimization strategy (No GCR, PCGrad, CAGrad, and GCR, from top to bottom), and each column corresponds to a training epoch (1, 50, and 100, from left to right). The horizontal axis denotes the entropy of the teacher predictions, with lower values corresponding to higher confidence, while the vertical axis indicates the cosine similarity between the classification and distillation gradients.
To examine whether the observed performance gains were primarily attributable to the non-overlapping teacher-pretraining and student-training partitions, we additionally evaluated vanilla KD and SCOPE under a conventional KD protocol in which the teacher and student shared the same training partition. As shown in Table 5, SCOPE maintained a numerical advantage over vanilla KD across the three evaluated datasets under this standard protocol. Specifically, SCOPE achieved higher ACC and Macro-F1 on Chaoyang, Brain Tumor, and Breast Tumor, with corresponding improvements also observed for most AUC metrics. These results suggest that the performance gains of SCOPE are not solely attributable to the original non-overlapping data partition. However, because this control experiment was conducted on only three datasets, broader conclusions regarding protocol independence require further evaluation on additional datasets.
4.4. Relationship Between Teacher Entropy and Classification Accuracy
The teacher classification accuracy was then calculated within each entropy interval, separately for each dataset. Table 7 reports the resulting teacher accuracy across the three normalized entropy intervals for all nine datasets. A consistent monotonic pattern was observed: lower-entropy samples exhibited higher teacher accuracy, whereas accuracy decreased as entropy increased. For example, teacher accuracy on Chaoyang decreased from 91.43% in to 78.85% in and 58.64% in . A similar trend was observed on LC25000 (98.48%, 92.37%, and 77.15%, respectively). These results provide empirical support for using normalized teacher entropy as a relative reliability indicator in SRA.
Table 7.
Teacher classification accuracy across normalized teacher-entropy intervals on the test sets. Each entry reports the mean teacher accuracy ± standard deviation (%) over five runs.
| Dataset | Normalized Teacher-Entropy Interval | ||
|---|---|---|---|
| [0.0, 0.33) | [0.33, 0.66) | [0.66, 1.0] | |
| LC25000 | |||
| HAM10000 | |||
| Chaoyang | |||
| Multiple Myeloma | |||
| Brain Tumor | |||
| Kidney | |||
| Breast Tumor | |||
| Cataract | |||
| PAPILA | |||
Note: Normalized teacher entropy is defined as and ranges from 0 to 1, with lower values indicating greater teacher confidence. Values are reported as the mean teacher accuracy ± standard deviation over five runs. Across all datasets, lower teacher-entropy intervals are associated with higher empirical teacher classification accuracy.
4.5. Effect of Additional Training Data
Baseline-2 was trained using only the downstream training subset, whereas Baseline-2 (Expanded Training Set) additionally incorporated the subset used for teacher pre-training. Relative to the original Baseline-2, expanding the training set increased ACC from 76.1% to 80.9% on Chaoyang, from 78.9% to 80.8% on Brain Tumor, and from 56.0% to 71.6% on Breast Tumor. These results confirm that the additional training data improved the high-capacity baseline across the three evaluated datasets. Despite this expanded training set, SCOPE remained competitive with or outperformed Baseline-2 (Expanded Training Set) in ACC. SCOPE achieved 82.8 ± 1.8% ACC on Chaoyang, compared with 80.9 ± 2.8% for the expanded baseline, and 82.8 ± 2.0% on Brain Tumor, compared with 80.8 ± 2.5%. On Breast Tumor, the difference was larger, with SCOPE achieving 85.3 ± 1.1% ACC compared with 71.6 ± 2.1%. These results indicate that the performance advantage of SCOPE cannot be explained solely by differences in the amount of training data available to the baseline.
4.6. Computational Efficiency
Table 8 summarizes the computational efficiency results. Using the five-run results from the principal evaluation, SCOPE achieved an ACC of on LC25000 with 11.19 million parameters and 9.69 GFLOPs. Its GPU and CPU inference latencies were 0.034 s and 0.081 s per sample, respectively. Baseline-2 required 44.50 million parameters and 40.12 GFLOPs and achieved an ACC of . Several higher-complexity methods could not be executed successfully in the CPU-only environment. Under the controlled evaluation protocol, SCOPE provided a favorable balance between classification performance and computational cost.
Table 8.
GPU and CPU inference latency, model complexity, and classification performance on the LC25000 dataset. ACC is reported as the mean ± standard deviation over five matched runs. GPU latency was measured on an NVIDIA RTX A6000 GPU with 48 GB of memory, whereas CPU latency was measured on an Intel Core i7 processor. Entries marked with “–” indicate that the corresponding method could not be executed successfully in the CPU-only environment because of memory limitations, excessive latency, or unsupported operations. ↑: Indicates that larger values of this metric are better, ↓: Indicates that smaller values of this metric are better. The best results are underlined.
| Method | GPU (s) ↓ | CPU (s) ↓ | Params (M) ↓ | FLOPs (G) ↓ | ACC (%) ↑ |
|---|---|---|---|---|---|
| Baseline-1 | 0.033 | 0.061 | 11.17 | 9.42 | |
| Baseline-2 | 0.084 | 0.103 | 44.50 | 40.12 | |
| USKD | 0.033 | 0.082 | 11.20 | 9.69 | |
| LSKD | 0.034 | 0.078 | 11.19 | 9.79 | |
| OFAKD | 0.033 | 0.085 | 11.21 | 9.88 | |
| UniDistill | 0.033 | 0.082 | 11.20 | 9.74 | |
| SDKD | 0.035 | 0.082 | 11.21 | 9.71 | |
| PETL | 0.035 | 0.083 | 11.21 | 9.94 | |
| MCAD-KD | 0.035 | 0.081 | 11.20 | 9.74 | |
| LDRLD | 0.034 | 0.078 | 11.20 | 10.12 | |
| FoPro-KD | 0.036 | 0.078 | 11.23 | 9.85 | |
| KD-FMV | 0.035 | 0.078 | 11.19 | 9.89 | |
| AFA | 0.048 | – | 98.03 | 102.69 | |
| DEPICT | 0.059 | – | 84.94 | 102.27 | |
| ProtoPNets | 0.086 | – | 97.06 | 94.06 | |
| Diff-Mix | 0.061 | – | 90.12 | 75.73 | |
| SCOPE (Ours) | 0.034 | 0.081 | 11.19 | 9.69 |
4.7. Generalization Across Teacher–Student Architectures
SCOPE maintained strong performance across ResNet101, WideResNet101, and ViT-B teachers and ResNet18 and ShuffleNetV2 students. The results in Table 9 show that the ViT-B→ResNet18 and WideResNet101→ResNet18 configurations achieved LC25000 ACC values of 99.8% and 99.7%, respectively, while the default ResNet101→ResNet18 configuration achieved 98.3%. The ShuffleNetV2 student also retained competitive performance across various medical imaging datasets. These complementary architecture-generalization experiments assess the portability of SCOPE when either the teacher or student backbone is changed. Although the optimal configuration varied by dataset and metric, the results indicate that SCOPE is not restricted to a single teacher–student architecture.
Table 9.
Comprehensive performance comparison across various teacher–student configurations on nine medical image classification datasets. Results are reported as mean ± standard deviation over 5 matched runs. The best results are underlined.
| Teacher→Student | LC25000 | HAM10000 | Chaoyang | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| ResNet101→ResNet18 | 98.3 ± 1.5 | 98.7 ± 1.3 | 98.9 ± 1.3 | 98.5 ± 1.4 | 84.0 ± 2.3 | 71.0 ± 2.6 | 92.7 ± 2.1 | 95.1 ± 2.5 | 82.8 ± 1.8 | 78.9 ± 2.0 | 92.9 ± 1.8 | 92.7 ± 1.3 |
| ViT-B→ResNet18 | 99.8 ± 0.3 | 99.9 ± 0.1 | 100.0 ± 0.0 | 100.0 ± 0.0 | 84.1 ± 0.8 | 73.2 ± 0.5 | 92.6 ± 1.2 | 95.5 ± 0.2 | 83.7 ± 0.7 | 80.1 ± 0.3 | 94.9 ± 0.5 | 95.8 ± 0.4 |
| WideResNet101→ResNet18 | 99.7 ± 0.3 | 99.9 ± 0.1 | 100.0 ± 0.0 | 100.0 ± 0.0 | 84.9 ± 0.8 | 74.0 ± 0.9 | 92.3 ± 0.5 | 95.6 ± 0.2 | 81.7 ± 0.5 | 76.6 ± 1.6 | 93.9 ± 0.6 | 95.0 ± 0.7 |
| ResNet101→ShuffleNetV2 | 99.8 ± 0.3 | 99.8 ± 0.0 | 100.0 ± 0.1 | 100.0 ± 0.0 | 82.1 ± 0.6 | 67.2 ± 0.6 | 88.6 ± 0.3 | 91.2 ± 0.3 | 81.6 ± 0.3 | 75.6 ± 0.8 | 89.7 ± 1.0 | 91.5 ± 1.3 |
| Teacher→Student | Multiple Myeloma | Brain Tumor | Kidney | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| ResNet101→ResNet18 | 64.1 ± 2.0 | 65.0 ± 2.4 | 82.4 ± 1.9 | 80.7 ± 1.2 | 82.8 ± 2.0 | 81.5 ± 2.0 | 90.9 ± 1.4 | 92.5 ± 2.0 | 98.5 ± 1.4 | 98.9 ± 1.3 | 98.8 ± 1.4 | 99.2 ± 1.3 |
| ViT-B→ResNet18 | 62.6 ± 1.0 | 60.5 ± 0.6 | 80.2 ± 0.5 | 79.6 ± 0.4 | 83.2 ± 0.7 | 81.7 ± 0.4 | 91.4 ± 0.9 | 91.7 ± 0.4 | 99.3 ± 0.9 | 99.0 ± 0.3 | 100.0 ± 0.0 | 100.0 ± 0.0 |
| WideResNet101→ResNet18 | 62.8 ± 1.0 | 60.5 ± 1.8 | 80.7 ± 0.4 | 79.9 ± 0.2 | 84.1 ± 0.5 | 82.7 ± 0.3 | 93.0 ± 0.8 | 93.3 ± 0.6 | 99.6 ± 0.4 | 99.4 ± 0.3 | 99.5 ± 0.1 | 99.6 ± 0.1 |
| ResNet101→ShuffleNetV2 | 62.4 ± 0.8 | 61.7 ± 0.5 | 83.7 ± 0.6 | 83.0 ± 1.3 | 82.2 ± 0.7 | 81.1 ± 1.0 | 94.4 ± 1.0 | 94.8 ± 0.9 | 99.8 ± 0.3 | 99.7 ± 0.1 | 100.0 ± 0.0 | 100.0 ± 0.0 |
| Teacher→Student | Breast Tumor | Cataract | PAPILA | |||||||||
| ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | ACC | Macro-F1 | AUC-OVO | AUC-OVR | |
| ResNet101→ResNet18 | 85.3 ± 1.1 | 83.2 ± 2.0 | 93.3 ± 1.7 | 92.9 ± 1.4 | 73.0 ± 1.6 | 65.8 ± 1.9 | 84.2 ± 2.1 | 84.8 ± 1.7 | 82.9 ± 0.9 | 75.3 ± 1.9 | 84.5 ± 1.2 | 83.7 ± 1.4 |
| ViT-B→ResNet18 | 87.4 ± 1.1 | 86.1 ± 0.8 | 95.2 ± 0.4 | 94.8 ± 1.6 | 73.0 ± 1.0 | 64.5 ± 0.5 | 83.3 ± 0.8 | 83.2 ± 0.9 | 82.3 ± 1.1 | 73.4 ± 0.4 | 85.1 ± 0.7 | 86.0 ± 0.8 |
| WideResNet101→ResNet18 | 85.3 ± 1.1 | 84.0 ± 0.8 | 95.2 ± 0.4 | 94.7 ± 0.8 | 72.2 ± 1.2 | 64.2 ± 1.1 | 85.4 ± 1.3 | 86.0 ± 1.2 | 82.6 ± 1.8 | 74.8 ± 0.4 | 81.0 ± 0.5 | 80.7 ± 0.7 |
| ResNet101→ShuffleNetV2 | 85.5 ± 1.2 | 83.5 ± 0.9 | 92.8 ± 2.0 | 92.5 ± 1.8 | 70.5 ± 1.1 | 64.8 ± 0.3 | 81.7 ± 1.5 | 82.2 ± 0.7 | 81.9 ± 1.8 | 75.2 ± 0.9 | 85.9 ± 0.3 | 85.9 ± 0.4 |
4.8. Hyperparameter Configuration and Sensitivity
The sensitivity results are summarized in Table 10. SCOPE maintained relatively stable performance over moderate ranges of the evaluated hyperparameters. For , the strongest overall performance was observed within approximately –, with achieving 82.8% ACC and 80.0% Macro-F1. For , performance remained competitive within –, while yielded the highest ACC of 83.2%. For , the results were generally stable between and , with providing a favorable balance across the four evaluation metrics. Similarly, the temperature showed its strongest performance in the range –, with achieving 82.8% ACC and 80.0% Macro-F1. These results indicate that the selected configuration lies within a relatively stable performance region rather than at an isolated metric-specific optimum.
Table 10.
Sensitivity analysis of selected optimization hyperparameters on the Chaoyang validation set (%). Results are reported as the mean ± standard deviation over five runs. The best results are underlined.
| Hyperparameter | Candidate Value | ACC | Macro-F1 | AUC-OVO | AUC-OVR |
|---|---|---|---|---|---|
| 0.2 | |||||
| 0.5 | |||||
| 0.8 | |||||
| 1.0 | |||||
| 1.5 | |||||
| 2.0 | |||||
| 0.2 | |||||
| 0.5 | |||||
| 0.8 | |||||
| 1.0 | |||||
| 1.5 | |||||
| 2.0 | |||||
| 0.2 | |||||
| 0.5 | |||||
| 0.8 | |||||
| 1.0 | |||||
| 1.5 | |||||
| 2.0 | |||||
| T | 0.5 | ||||
| 1.0 | |||||
| 1.5 | |||||
| 2.0 | |||||
| 2.5 | |||||
| 3.0 | |||||
| 3.5 | |||||
| 4.0 |
Note: Each hyperparameter was varied individually while the remaining hyperparameters were fixed at the baseline values reported in Table 2. Results are reported as the mean ± standard deviation over five runs on the Chaoyang validation set.
5. Discussion
The results demonstrate that SCOPE can improve the performance of lightweight student models across medical imaging datasets of different sizes while maintaining relatively low computational complexity. These findings suggest that selective knowledge transfer may be especially useful when the amount of student training data is limited. The ablation results further clarify how SCOPE controls the influence of teacher knowledge during student learning. SRA adjusts the contribution of teacher-derived relations according to pairwise confidence, whereas GCR intervenes only when the distillation gradient conflicts with the ground-truth classification gradient. This allows teacher information to be retained when it is compatible with the supervised objective, while limiting its influence when local conflicts arise during optimization. Although some variants achieved strong results on individual metrics, the complete SCOPE framework showed more consistent overall performance.
SCOPE also remained effective across different teacher–student architectures and retained a computational footprint comparable to that of the lightweight student model. These findings indicate potential utility in medical imaging applications with limited computational resources. However, the reported latency values were obtained under a controlled offline setting on a single hardware configuration and should not be interpreted as evidence of clinical deployment readiness. This study has several limitations. The non-overlapping teacher and student data partitions differ from the conventional KD setting, and any conclusion from the standard-protocol control must remain restricted to the datasets actually evaluated. The auxiliary relation is dataset-dependent because its construction relies on the type of medical prior information available for each dataset. When suitable medical prior information is available, the relation is derived from the corresponding prior representation; otherwise, a normalized Euclidean image-based distance is used. Although this strategy allows SCOPE to operate across datasets with heterogeneous prior availability, the informativeness of the auxiliary relation may vary across datasets and imaging modalities. The auxiliary relation is used only during training, and the No-Prior control removes this component while retaining teacher-based relational distillation.
6. Conclusions
We formulated SCOPE as a confidence- and conflict-aware knowledge distillation framework that integrates confidence-aware relational distillation with classification-priority gradient correction. SCOPE regulates unreliable teacher supervision at the relational level while mitigating conflicting KD gradients at the optimization level. Experiments across nine medical image classification datasets and multiple teacher–student architectures demonstrated competitive predictive performance with relatively low computational overhead. These findings support the potential of SCOPE for resource-constrained medical image analysis, although further validation using independent clinical cohorts and additional teacher–student architectures is warranted.
Author Contributions
Conceptualization, T.C. and C.Z.; methodology, T.C.; software, T.C. and Y.W.; validation, T.C. and Y.W.; formal analysis, T.C.; investigation, T.C.; data curation, T.C. and Q.D.; writing—original draft preparation, T.C.; writing—review and editing, C.Z., Y.W., L.M.H. and Q.D.; visualization, T.C.; supervision, C.Z. and Q.D.; project administration, C.Z.; funding acquisition, C.Z. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
The study was approved by the Institutional Review Board of the University of Michigan Medical School (protocol code HUM00062465). The current IRB approval date 9 February 2026.
Informed Consent Statement
The requirement for informed consent for the institutionally collected Multiple Myeloma dataset was waived by the Institutional Review Board because of the retrospective study design and the use of de-identified clinical data. The remaining datasets were publicly available.
Data Availability Statement
The publicly available datasets analyzed in this study can be accessed through their respective original repositories. The Multiple Myeloma dataset is not publicly available because it contains protected clinical information and is subject to institutional, ethical, and regulatory restrictions. The study data, associated code, and trained model weights may be made available by the corresponding author upon reasonable request and subject to appropriate institutional approval, in accordance with institutional policies, applicable NIH Data Management and Sharing requirements, and relevant regulatory and compliance requirements.
Conflicts of Interest
The authors declare no conflicts of interest.
Funding Statement
This research was funded by the National Institutes of Health, grant number R01 CA278898.
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Yu Y., Ko M., Shin S., Kim K., Lee K. Curriculum Fine-tuning of Vision Foundation Model for Medical Image Classification Under Label Noise. Adv. Neural Inf. Process. Syst. 2024;37:18205–18224. doi: 10.52202/079017-0578. [DOI] [Google Scholar]
- 2.Bi Q., Yi J., Zheng H., Ji W., Zhan H., Huang Y., Li Y., Zheng Y. Samba: Severity-aware Recurrent Modeling for Cross-domain Medical Image Grading. Adv. Neural Inf. Process. Syst. 2024;37:75829–75852. doi: 10.52202/079017-2414. [DOI] [Google Scholar]
- 3.Huang Y., Cheng P., Tam R., Tang X. Boosting Memory Efficiency in Transfer Learning for High-Resolution Medical Image Classification. IEEE Trans. Neural Netw. Learn. Syst. 2025;36:17280–17294. doi: 10.1109/tnnls.2025.3569797. [DOI] [PubMed] [Google Scholar]
- 4.Hinton G., Vinyals O., Dean J. Distilling the Knowledge in a Neural Network. arXiv. 20151503.02531 [Google Scholar]
- 5.Wang J., Xu Z., Zheng W., Ying H., Chen T., Liu Z., Chen D.Z., Yao K., Wu J. A Transformer-Based Knowledge Distillation Network for Cortical Cataract Grading. IEEE Trans. Med. Imaging. 2024;43:1089–1101. doi: 10.1109/tmi.2023.3327274. [DOI] [PubMed] [Google Scholar]
- 6.Xu J., Jiang S. Hierarchical knowledge transfer: Cross-layer distillation for industrial anomaly detection. J. Imaging. 2025;11:102. doi: 10.3390/jimaging11040102. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Xia T., Li J., Sun L. BDKD-Net: Boundary-Probability Knowledge Distillation for Compact Polyp Segmentation. J. Imaging. 2026;12:306. doi: 10.3390/jimaging12070306. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Li Y., Yang C., Zeng H., Dong Z., An Z., Xu Y., Tian Y., Wu H. Proceedings of the 2025 IEEE/CVF International Conference on Computer Vision (ICCV) IEEE; Piscataway, NJ, USA: 2025. Frequency-Aligned Knowledge Distillation for Lightweight Spatiotemporal Forecasting; pp. 7262–7272. [Google Scholar]
- 9.Jiang Y., Zhao X., Wu Y., Chaddad A. A Knowledge Distillation-Based Approach to Enhance Transparency of Classifier Models. Proc. AAAI Conf. Artif. Intell. 2025;39:17653–17661. doi: 10.1609/aaai.v39i17.33941. [DOI] [Google Scholar]
- 10.Kim S., Kim S., Min D., Frossard P., Sohn K. Stereo Confidence Estimation via Locally Adaptive Fusion and Knowledge Distillation. IEEE Trans. Pattern Anal. Mach. Intell. 2023;45:6372–6385. doi: 10.1109/tpami.2022.3207286. [DOI] [PubMed] [Google Scholar]
- 11.Huang T., You S., Wang F., Qian C., Xu C. Knowledge Distillation from A Stronger Teacher. Adv. Neural Inf. Process. Syst. 2022;35:33716–33727. doi: 10.52202/068431-2443. [DOI] [Google Scholar]
- 12.Xu L., Liu K., Liu J., Wang L., Xu L., Cheng J. Proceedings of the 2025 IEEE/CVF International Conference on Computer Vision (ICCV) IEEE; Piscataway, NJ, USA: 2025. Local Dense Logit Relations for Enhanced Knowledge Distillation; pp. 4539–4549. [Google Scholar]
- 13.Sun S., Ren W., Li J., Wang R., Cao X. Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2024. Logit Standardization in Knowledge Distillation; pp. 15731–15740. [Google Scholar]
- 14.Leng B., Leng M., Ge M., Dong W. Knowledge distillation-based deep learning classification network for peripheral blood leukocytes. Biomed. Signal Process. Control. 2022;75:103590. doi: 10.1016/j.bspc.2022.103590. [DOI] [Google Scholar]
- 15.Sahoo N.N., Sachidanand V., Gayathri M.N., Murugesan B., Ram K., Joseph J., Sivaprakasam M. KDPhys: An attention guided 3D to 2D knowledge distillation for real-time video-based physiological measurement. Biomed. Signal Process. Control. 2025;107:107797. doi: 10.1016/j.bspc.2025.107797. [DOI] [Google Scholar]
- 16.Xiang Z., Cui S., Shang C., Jiang J., Zhang L. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer; Cham, Switzerland: 2024. GMoD: Graph-driven momentum distillation framework with active perception of disease severity for radiology report generation; pp. 295–305. [Google Scholar]
- 17.Shu T., Shi J., Sun D., Jiang Z., Zheng Y. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer; Cham, Switzerland: 2024. SlideGCD: Slide-based graph collaborative training with knowledge distillation for whole slide image classification; pp. 470–480. [Google Scholar]
- 18.Ko D., Kwak Y., Kim S., Kwak J., Kim J. Proceedings of the 2025 IEEE/CVF International Conference on Computer Vision Workshops. IEEE; Piscataway, NJ, USA: 2025. Multi-Scale Contrastive-Adversarial Distillation for Super-Resolution; pp. 5069–5078. [Google Scholar]
- 19.Shao J., Geng S., Fu Z., Xu W., Liu T., Hong S. CardioDefense: Defending against adversarial attack in ECG classification with adversarial distillation training. Biomed. Signal Process. Control. 2024;91:105922. doi: 10.1016/j.bspc.2023.105922. [DOI] [Google Scholar]
- 20.Ge L., Hu C., Ma G., Liu J., Zhang H. Discrepancy and Uncertainty Aware Denoising Knowledge Distillation for Zero-Shot Cross-Lingual Named Entity Recognition. AAAI Conf. Artif. Intell. 2024;38:18056–18064. doi: 10.1609/aaai.v38i16.29762. [DOI] [Google Scholar]
- 21.Huang T., You S., Wang F., Qian C., Xu C. DIST+: Knowledge Distillation From a Stronger Adaptive Teacher. IEEE Trans. Pattern Anal. Mach. Intell. 2025;47:5571–5585. doi: 10.1109/tpami.2025.3554235. [DOI] [PubMed] [Google Scholar]
- 22.Tu Z., Liu X., Xiao X. A General Dynamic Knowledge Distillation Method for Visual Analytics. IEEE Trans. Image Process. 2022;31:6517–6531. doi: 10.1109/tip.2022.3212905. [DOI] [PubMed] [Google Scholar]
- 23.Kim S., Do J., Lee J., Kim M. Proceedings of the 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2025. U-Know-DiffPAN: An Uncertainty-aware Knowledge Distillation Diffusion Framework with Details Enhancement for PAN-Sharpening; pp. 23069–23079. [Google Scholar]
- 24.Yang Y., Wang C., Gong L., Wu M., Chen Z., Gao Y., Wang T., Zhou X. Uncertainty-Aware Self-Knowledge Distillation. IEEE Trans. Circuits Syst. Video Technol. 2025;35:4464–4478. doi: 10.1109/tcsvt.2024.3516145. [DOI] [Google Scholar]
- 25.Yan Y., Xie Z., Huang W. Confidence-Guided Adaptive Diffusion Network for Medical Image Classification. J. Imaging. 2026;12:80. doi: 10.3390/jimaging12020080. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Yu T., Kumar S., Gupta A., Levine S., Hausman K., Finn C. Gradient Surgery for Multi-Task Learning. Adv. Neural Inf. Process. Syst. 2020;33:5824–5836. [Google Scholar]
- 27.Chen Z., Ngiam J., Huang Y., Luong T., Kretzschmar H., Chai Y., Anguelov D. Just Pick a Sign: Optimizing Deep Multitask Models with Gradient Sign Dropout. Adv. Neural Inf. Process. Syst. 2020;33:2039–2050. [Google Scholar]
- 28.Liu B., Liu X., Jin X., Stone P., Liu Q. Conflict-Averse Gradient Descent for Multi-task learning. Adv. Neural Inf. Process. Syst. 2021;34:18878–18890. [Google Scholar]
- 29.Romero A., Ballas N., Kahou S.E., Chassang A., Gatta C., Bengio Y. FitNets: Hints for Thin Deep Nets; Proceedings of the International Conference on Learning Representations (ICLR); San Diego, CA, USA. 7–9 May 2015. [Google Scholar]
- 30.Zagoruyko S., Komodakis N. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. arXiv. 20161612.03928 [Google Scholar]
- 31.Park W., Kim D., Lu Y., Cho M. Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2019. Relational knowledge distillation; pp. 3962–3971. [Google Scholar]
- 32.Guo Z., Wang D., He Q., Zhang P. Leveraging logit uncertainty for better knowledge distillation. Sci. Rep. 2024;14:31249. doi: 10.1038/s41598-024-82647-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Xu Z., Liang J., Wei Z., Yue X., Li D. Clinical knowledge enhanced medical image classification. Pattern Recognit. 2025;172:112414. doi: 10.1016/j.patcog.2025.112414. [DOI] [Google Scholar]
- 34.He K., Zhang X., Ren S., Sun J. Proceedings of the 2016 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2016. Deep Residual Learning for Image Recognition; pp. 770–778. [Google Scholar]
- 35.Yang Z., Zeng A., Li Z., Zhang T., Yuan C., Li Y. Proceedings of the 2023 IEEE/CVF International Conference on Computer Vision (ICCV) IEEE; Piscataway, NJ, USA: 2023. From Knowledge Distillation to Self-Knowledge Distillation: A Unified Approach with Normalized Loss and Customized Soft Labels; pp. 17185–17194. [Google Scholar]
- 36.Hao Z., Guo J., Han K., Tang Y., Hu H., Wang Y., Xu C. One-for-All: Bridge the Gap Between Heterogeneous Architectures in Knowledge Distillation. Adv. Neural Inf. Process. Syst. 2023;36:79570–79582. doi: 10.52202/075280-3483. [DOI] [Google Scholar]
- 37.Zhou S., Liu W., Hu C., Zhou S., Ma C. Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2023. UniDistill: A Universal Cross-Modality Knowledge Distillation Framework for 3D Object Detection in Bird’s-Eye View; pp. 5116–5125. [Google Scholar]
- 38.Elbatel M., Martí R., Li X. FoPro-KD: Fourier Prompted Effective Knowledge Distillation for Long-Tailed Medical Image Recognition. IEEE Trans. Med. Imaging. 2024;43:954–965. doi: 10.1109/tmi.2023.3327428. [DOI] [PubMed] [Google Scholar]
- 39.Vaish P., Wang S., Strisciuglio N. Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2024. Fourier-basis Functions to Bridge Augmentation Gap: Rethinking Frequency Augmentation in Image Classification; pp. 17763–17772. [Google Scholar]
- 40.Jabbour S., Kondas G., Kazerooni E., Sjoding M., Fouhey D., Wiens J. DEPICT: Diffusion-Enabled Permutation Importance for Image Classification Tasks. In: Leonardis A., Ricci E., Roth S., Russakovsky O., Sattler T., Varol G., editors. Proceedings of the European Conference on Computer Vision. Springer; Cham, Switzerland: 2024. pp. 35–51. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Zhu Z., Fan L., Pagnucco M., Song Y. Proceedings of the 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2025. Interpretable Image Classification via Non-parametric Part Prototype Learning; pp. 9762–9771. [Google Scholar]
- 42.Wang Z., Wei L., Wang T., Chen H., Hao Y., Wang X., He X., Tian Q. Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) IEEE; Piscataway, NJ, USA: 2024. Enhance Image Classification via Inter-Class Image Mixup with Diffusion Model; pp. 17223–17233. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The publicly available datasets analyzed in this study can be accessed through their respective original repositories. The Multiple Myeloma dataset is not publicly available because it contains protected clinical information and is subject to institutional, ethical, and regulatory restrictions. The study data, associated code, and trained model weights may be made available by the corresponding author upon reasonable request and subject to appropriate institutional approval, in accordance with institutional policies, applicable NIH Data Management and Sharing requirements, and relevant regulatory and compliance requirements.
