Next Article in Journal
Emotional Design Strategies for Enhancing the User Experience of Hand Rehabilitation Robots for Older Adults
Previous Article in Journal
Vehicle-Mounted Automated Horizontal Loading System for Freight Operations: Evidence from Last-Mile Cold Chain Delivery and Island Logistics
Previous Article in Special Issue
AI-Driven Detection of Neurodevelopmental Disorder from Emotional Speech Using a Hybrid CNN–BiLSTM–Attention Framework
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Anti-Forgetting Adaptive Teacher-Driven Knowledge Distillation for Medical Image Classification

Department of Radiology, University of Michigan, Ann Arbor, MI 48109, USA
*
Author to whom correspondence should be addressed.
Appl. Sci. 2026, 16(17), 8756; https://doi.org/10.3390/app16178756
Submission received: 15 July 2026 / Revised: 19 August 2026 / Accepted: 24 August 2026 / Published: 3 September 2026

Abstract

Deep neural networks (DNNs) have achieved remarkable success in medical image classification, yet their performance remains sensitive to dataset size. Knowledge distillation (KD) alleviates this issue by transferring knowledge from a high-capacity teacher to a lightweight student. However, conventional KD relies on a static teacher, while adaptive teacher updating may improve performance on the student-learning data while reducing retention of knowledge acquired during teacher pretraining. To address these limitations, we propose an Anti-forgetting Adaptive Teacher-driven Knowledge Distillation framework (A2T-KD), which aims to balance teacher adaptation and pretraining-knowledge retention. The proposed framework integrates three modules: MITR for cross-epoch representation consistency, DSDO for prediction-space decoupling and class discriminability, and SGKD for feature- and logit-level knowledge transfer. Across nine medical imaging datasets, A2T-KD achieved higher mean values than the fixed-teacher Vanilla KD baseline in 30 of 36 dataset–metric comparisons. It also exhibited the lowest pretraining-set ACC degradation among the evaluated teacher-update baselines on all nine datasets, supporting the intended balance between teacher adaptation and pretraining-knowledge retention under the evaluated settings.

1. Introduction

Recent advances in deep neural networks (DNNs) have expanded the application of learning-based methods in medical image analysis [1,2,3,4,5]. Nevertheless, achieving stable predictive performance across medical imaging tasks with different dataset sizes and acquisition characteristics remains challenging. Medical imaging datasets often vary substantially in scale, annotation quality, and acquisition protocols, and the limited availability of large, high-quality labeled datasets remains a major challenge for medical image classification [6]. While large-capacity models typically benefit from abundant data, they are prone to overfitting in low-data settings, where distillation-based learning has been investigated to improve generalization [7]. Therefore, developing learning frameworks that enable reliable knowledge transfer across medical imaging tasks and dataset scales remains an important challenge.
Knowledge distillation (KD) [8] transfers knowledge from a high-capacity teacher to a lightweight student [9,10]. However, most existing KD methods rely on a fixed teacher throughout training. For student-training samples on which the teacher produces inaccurate predictions, the distillation objective may disagree with ground-truth supervision and weaken knowledge transfer. Consequently, inaccurate teacher predictions may induce gradients that conflict with those generated by the ground-truth supervision (Figure 1a), leading to a conflict between the distillation and ground-truth objectives and degraded knowledge transfer. To alleviate optimization conflicts caused by unreliable teacher supervision, recent studies have explored adaptive teacher-based knowledge distillation frameworks that dynamically update the teacher during training [11,12]. By updating the teacher during student training, these methods can reduce the mismatch between teacher predictions and the current learning objective. However, continual teacher adaptation may introduce catastrophic forgetting, where the teacher gradually loses previously acquired knowledge and may exhibit reduced predictive performance on the teacher-pretraining subset.
Therefore, an effective adaptive KD framework should balance teacher adaptation with the retention of knowledge acquired during teacher pretraining. Motivated by this observation, we propose Anti-forgetting Adaptive Teacher-driven Knowledge Distillation (A2T-KD), a unified framework that dynamically updates the teacher while constraining cross-epoch changes in both feature and prediction spaces. As illustrated in Figure 1c, A2T-KD is designed to balance teacher adaptation and the retention of knowledge acquired during teacher pretraining by constraining cross-epoch changes in both feature and prediction spaces. The framework consists of three modules: (i) Mutual Information Temporal Regularization (MITR), which enforces cross-epoch consistency to reduce representational drift; (ii) Discriminative Subspace Decoupling Optimization (DSDO), which enhances class discriminability while preserving relational information contained in non-target predictions; and (iii) Structure-Guided Knowledge Distillation (SGKD), which performs feature- and logit-level knowledge transfer. The contributions of this work are summarized as follows:
  • We propose A2T-KD, an adaptive knowledge distillation framework that updates the teacher during student training while constraining the loss of knowledge acquired during teacher pretraining.
  • We introduce MITR and DSDO to constrain cross-epoch changes in teacher representations and predictions, thereby supporting the retention of pretraining knowledge during teacher adaptation.
  • We evaluate A2T-KD on nine medical imaging datasets and multiple teacher–student configurations. A2T-KD achieved competitive predictive performance relative to the evaluated teacher-update baselines.

2. Related Work

Knowledge Distillation for Medical Image Analysis: Knowledge distillation (KD) transfers knowledge from a high-capacity teacher to a lightweight student while preserving predictive performance. Existing methods can be broadly categorized into feature-based, relation-based, and logit-based approaches [13,14,15]. KD has been successfully applied to diverse medical imaging tasks, including physiological measurement, radiology report generation, whole-slide image classification, brain tumor segmentation, and dental image detection and classification [16,17,18,19,20]. However, most medical KD methods rely on a fixed teacher that cannot correct erroneous predictions encountered during student training.
Adaptive Teacher-based KD and Catastrophic Forgetting: To address the limitations of static teachers, adaptive KD dynamically updates the teacher during training to provide more reliable supervision [11,12]. While such strategies alleviate the mismatch between teacher predictions and learning objectives, continual adaptation may introduce catastrophic forgetting, causing the teacher to lose previously acquired knowledge. Existing forgetting mitigation methods [21,22], such as parameter regularization, replay, and self-distillation, have shown promise in continual learning but are not specifically designed for adaptive KD, where forgetting can further propagate unreliable supervision to the student.
Optimization Conflicts in Knowledge Distillation: Optimization conflicts between teacher supervision and ground-truth labels represent another key challenge in KD [23]. Inaccurate teacher predictions may induce gradients that conflict with the classification objective, hindering optimization and weakening knowledge transfer. Although gradient conflicts have been extensively studied in multi-task learning [24,25], they remain largely underexplored in medical KD. Existing methods typically address either optimization conflicts or forgetting independently, overlooking their interaction. Motivated by these two challenges, we propose A2T-KD, which dynamically updates the teacher while preserving information acquired during teacher pretraining and from preceding optimization epochs in both the feature and prediction spaces.

3. Method

3.1. Notations

Given a labeled medical image dataset D = { ( x i , y i ) } i = 1 N , where x i R H × W × D and y i { 1 ,   ,   C } , the teacher and student at epoch e are denoted by Θ t e = ϕ t e f t e and Θ s e = ϕ s e f s e , respectively. The corresponding feature extractors produce representations z t , i e R K t and z s , i e R K s , where K t and K s depend on the teacher and student backbones, respectively. When K t K s , a learnable feature projection is used to map the teacher and student representations to a common distillation dimension K d before feature-level alignment. The framework is shown in Figure 2.

3.2. Key Modules in A2T-KD

3.2.1. Mutual Information Temporal Regularization (MITR)

Adaptive distillation continuously updates the teacher, which may lead to representational drift and catastrophic forgetting. To address this issue, MITR characterizes local cross-epoch variations in teacher representations by jointly considering the embeddings from two consecutive epochs.
Let z t , i e 1 and z t , i e denote the feature embeddings of the i-th sample extracted by the teacher at epochs e 1 and e, respectively. MITR treats the preceding- and current-epoch teacher representations as a paired two-token input to a lightweight Transformer encoder. Both representations are first mapped to the 128-dimensional embedding space using the same input projection P in ( · ) :
Z t , i e = P in ( z t , i e 1 ) , P in ( z t , i e ) .
Figure 2. Overview of the proposed A2T-KD framework. The pipeline comprises three core modules: (1) MITR promotes cross-epoch consistency by jointly processing representations from adjacent epochs with stability and mutual-information regularization; (2) DSDO decomposes predictions into target and non-target subspaces to support target-class discrimination while preserving inter-class relational structure across training epochs; and (3) SGKD performs feature- and prediction-level alignment between teacher and student.
Figure 2. Overview of the proposed A2T-KD framework. The pipeline comprises three core modules: (1) MITR promotes cross-epoch consistency by jointly processing representations from adjacent epochs with stability and mutual-information regularization; (2) DSDO decomposes predictions into target and non-target subspaces to support target-class discrimination while preserving inter-class relational structure across training epochs; and (3) SGKD performs feature- and prediction-level alignment between teacher and student.
Applsci 16 08756 g002
The Transformer encoder integrates the two projected adjacent-epoch representations and produces a context-aware representation h t , i e :
h t , i e = Transformer Z t , i e .
Here, h t , i e denotes the context-aware embedding that captures the temporal dynamics of the teacher representations across consecutive epochs via self-attention. The Transformer preserves the two-token sequence length, and the output corresponding to the current-epoch token is used as h t , i e . To enforce smooth evolution across epochs, we further define z ^ t , i e 1 as a non-trainable 128-dimensional reference obtained by applying the same input projection to the preceding-epoch teacher embedding and then stopping the gradient: z ^ t , i e 1 = StopGrad P in ( z t , i e 1 ) . Formally, the stability loss is then written as
L stab e = 1 N i = 1 N h t , i e z ^ t , i e 1 2 2 ,
where · 2 is the 2 -norm. This stability loss encourages the integrated representation h t , i e to stay consistent with the preceding-epoch representation, thereby reducing abrupt representational drift and integrating information from both epochs. We further introduce a mutual-information regularizer to preserve information shared between the representations from consecutive epochs. We apply non-linear projection heads l t e ( · ) and g t e ( · ) to z t , i e 1 and z t , i e , respectively.
l t , i e = l t e z t , i e 1 , g t , i e = g t e z t , i e ,
where l t , i e R d and g t , i e R d denote the projected features used for the subsequent estimation of mutual information. The projection heads l t e ( · ) and g t e ( · ) are implemented as independent one-layer MLPs with K t 128 dimensions and a ReLU activation between the two linear layers. Accordingly, the projected feature dimension is 128. The mutual-information estimation objective is defined as follows:
L MI e = 1 N i = 1 N log exp l t , i e , g t , i e / τ 1 j = 1 N exp l t , i e , g t , j e / τ 1 ,
where τ 1 is a temperature coefficient, and · , · denotes the inner product. The overall MITR loss at epoch e is defined as follows:
L MITR e = L stab e + L MI e .
For implementation, MITR employs a Transformer encoder with an embedding dimension of 128, 4 encoder layers, 4 attention heads, and a feed-forward dimension of 512. Before entering the Transformer, the teacher representations are mapped from their native dimension K t to the 128-dimensional embedding space by an input projection layer. MITR therefore combines pairwise cross-epoch modeling, an explicit stability anchor, and mutual-information regularization to preserve consistent teacher representations between consecutive epochs.

3.2.2. Discriminative Subspace Decoupling Optimization (DSDO)

To mitigate prediction-level forgetting, the Discriminative Subspace Decoupling Optimization (DSDO) module decomposes the classifier output into target and non-target subspaces. A target-class classification loss enhances class discriminability, while an angular regularizer preserves inter-class relational knowledge in the non-target subspace. These constraints provide cross-epoch-consistent and discriminative supervision during adaptive distillation.
Let W t e = w t , 1 e , , w t , C e R K × C denote the teacher classifier at epoch e, where w t , c e is the classifier weight associated with class c. Given a sample with ground-truth label c ^ , we decompose W t e into a target subspace W t , tar e R K × 1 and a non-target subspace W t , nt e R K × ( C 1 ) . The former corresponds to the classifier weight of class c ^ , whereas the latter consists of all remaining class weights and preserves inter-class relational information. Furthermore, we project the teacher embedding z t , i e onto these two complementary subspaces to promote logit-level knowledge preservation, which is formally defined as follows:
p t , i tar , e = W t , tar e z t , i e , p t , i nt , e = W t , nt e z t , i e ,
where ( · ) is the transpose operator. Here, p t , i tar , e denotes the target-class logit, whereas p t , i nt , e denotes the vector of non-target logits.
To reinforce class discriminability, we optimize the scalar target-class logit relative to the non-target logits using a target-relative cross-entropy objective. The non-target logits are treated as stop-gradient references when computing this loss. The target-class classification loss is defined as
L clc e = 1 N i = 1 N log exp p t , i tar , e exp p t , i tar , e + j = 1 C 1 exp sg p t , i , j nt , e ,
where sg ( · ) denotes the stop-gradient operator. The forward value of this objective is identical to that of the standard multi-class cross-entropy loss under the target/non-target decomposition. However, the stop-gradient operator prevents the non-target logits from being updated by L clc e . Consequently, the objective increases the target-class logit relative to fixed non-target references without imposing an arbitrary regression target on the logit magnitude. The non-target logits additionally encode relational information among the remaining classes. To preserve this inter-class structure during teacher adaptation, we project the current teacher representation z t , i e onto the non-target classifier weights from the preceding epoch, p ˜ t , i nt , e 1 = W t , nt e 1 z t , i e , where p ˜ t , i nt , e 1 R C 1 denotes the non-target logit vector induced by the classifier weights from the preceding epoch under the current feature representation.
L angle e = 1 N i = 1 N 1 cos p t , i nt , e , p ˜ t , i nt , e 1 .
Here, cos ( · , · ) denotes the cosine similarity between the current non-target logit vector p t , i nt , e and the prediction p ˜ t , i nt , e 1 induced by the preceding-epoch classifier weights. The angular consistency loss encourages the current classifier to preserve the relational structure encoded by the preceding-epoch classifier, thereby reducing prediction-level forgetting during teacher adaptation.
The overall DSDO loss is defined as follows:
L DSDO e = L clc e + L angle e .
Therefore, DSDO jointly enhances class discriminability and preserves the inter-class geometry encoded by the preceding-epoch classifier.

3.2.3. Structure-Guided Knowledge Distillation (SGKD)

Our framework incorporates the Structure-Guided Knowledge Distillation (SGKD) module, comprising feature- and logit-level distillation branches. The feature branch aligns teacher and student representations, whereas the logit branch aligns their prediction distributions to preserve output-level consistency. The details are described below.
We first perform feature alignment by minimizing the discrepancy between the student embedding and its corresponding teacher counterpart in the latent space:
L feat e = 1 N i = 1 N P t ( z t , i e ) P s ( z s , i e ) 2 2 .
where z t , i e and z s , i e denote the teacher and student feature embeddings of the i-th sample at epoch e, respectively. For heterogeneous teacher–student pairs, the native backbone representations may have different dimensions, and we therefore map them to a common space using learnable projection layers P t ( · ) and P s ( · ) . This objective enforces instance-level feature consistency and reduces the representational gap between teacher and student. The feature extraction locations, native feature dimensions, and projection configurations for all evaluated teacher–student architectures are provided in Supplementary Table S1.
In addition, logit-level knowledge transfer is implemented by minimizing the Kullback–Leibler divergence between student and teacher prediction distributions, which is formulated as follows:
L logit e = 1 N i = 1 N τ 2 2 KL σ p t , i e τ 2 σ p s , i e τ 2 ,
where σ ( · ) denotes the softmax function and τ 2 is the temperature parameter. The distillation loss is formulated as follows:
L SGKD e = L feat e + L logit e .
The dual-branch transfer strategy enables the student to learn representation-level structure through feature alignment and class-level predictive information through logit supervision.

3.3. Model Optimization

The proposed A2T-KD framework integrates MITR, DSDO, and SGKD to preserve teacher knowledge, enhance class discriminability, and improve knowledge transfer. At each epoch, the teacher is first optimized with anti-forgetting objectives, followed by student distillation using the updated teacher.
  • Updating the teacher model while freezing the student model:
    L teacher e = L MITR e + λ L DSDO e
  • Updating the student model while freezing the teacher model:
    L student e = L KD e .
In Equation (14), λ is a hyperparameter. In our experiments, we empirically set λ = 1 . This alternating scheme is designed to limit abrupt changes across consecutive teacher updates while allowing the student to learn from the updated teacher.We evaluate A2T-KD on nine medical imaging benchmarks under the experimental protocol described below.

4. Experiments

4.1. Experiment Setup

4.1.1. Datasets

To evaluate the classification performance of the proposed model in classification tasks, we conducted experiments on multiple medical imaging datasets. These datasets are divided into three groups based on the number of images: (i) large-scale datasets containing more than 5000 images, (ii) medium-scale datasets containing between 1000 and 5000 images, and (iii) small-scale datasets containing fewer than 1000 images. A detailed summary of these datasets is provided in Table 1.

4.1.2. Evaluation Metrics

We employed the following metrics for model evaluation: accuracy (ACC), macro-averaged F1 score (Macro-F1), one-vs-one area under the receiver operating characteristic curve (AUC-OVO), and one-vs-rest area under the receiver operating characteristic curve (AUC-OVR). Macro-F1 was computed as the unweighted mean of the class-wise F1 scores, assigning equal weight to each class regardless of class size. For multi-class AUC, AUC-OVR was computed by treating each class in turn as the positive class against all remaining classes, whereas AUC-OVO was computed over all pairwise class combinations. Both AUC-OVR and AUC-OVO were macro-averaged across classes or class pairs, respectively. For all these metrics, higher values indicate better predictive performance.

4.1.3. Experimental Protocol and Data Partitioning

For all knowledge distillation methods included in the comparison, ResNet101 served as the teacher backbone and was pretrained on 40% of each dataset. The pretrained teacher was then used to guide student optimization of each KD method. With ResNet18 as the student backbone, the remaining 60% of each dataset was further divided into training, validation, and test subsets at a ratio of 70:10:20, corresponding to 42%, 6%, and 12% of the complete dataset, respectively. Notably, the partitioning strategy accounted for related images within individual datasets. HAM10000 was split by lesion, while PAPILA and Breast Tumor were split by patient, ensuring that images from the same patient remained within the same split. For our institutional Multiple Myeloma dataset, where each patient may have multiple MRI images or examinations, all data from the same patient were assigned to the same split. For LC25000, each original image and all of its augmentation-derived images were grouped and assigned to the same split. For the remaining public datasets, data splitting followed the available dataset structure and metadata. These splitting strategies are summarized in Table 1. The teacher-pretraining subset was disjoint from the student-training, validation, and test subsets. To ensure fair comparisons, all baseline models and KD methods used identical student training, validation, and test partitions. All classification experiments were repeated five times using different random seeds, and the results are reported as the mean ± standard deviation. Specifically, all computational-complexity measurements were obtained on a single NVIDIA RTX A6000 GPU using PyTorch 1.11.0. Training time was measured over the complete KD training stage and averaged over three independent runs. No separate warm-up phase was used, and data-loading time was included in the reported wall-clock training time. Class-stratified partitioning was applied while preserving patient-, lesion-, or source-image grouping where available. The class distributions across the teacher-pretraining, student-training, validation, and test sets are reported in Supplementary Table S2.

4.1.4. Implementation Details

All input images were resized to 224 × 224 pixels, converted to tensors, and normalized using the ImageNet mean ( 0.485 ,   0.456 ,   0.406 ) and standard deviation ( 0.229 ,   0.224 ,   0.225 ) . No additional data augmentation was applied. Models were optimized using Adam with an initial learning rate of 1 × 10 4 . A fixed learning rate was used without a learning-rate scheduler, and no weight decay was applied. Training was performed for 100 epochs with a batch size of 128 and without early stopping. The matched random seeds were 42, 1234, 666, 2026, and 9999. The dataset-specific values of τ 1 and τ 2 were selected based exclusively on validation performance and are reported in Supplementary Table S3. For the evaluated teacher–student architectures, backbone features were projected into a shared 128-dimensional space, with the feature extraction locations, native dimensions, and projection settings provided in Supplementary Table S1. For the cross-epoch constraints, MITR uses the preceding-epoch teacher representations as detached references, whereas DSDO uses the preceding-epoch teacher classifier weights as fixed references. Gradients are propagated only through the current-epoch branches.

4.1.5. Comparison Methods

We compared the proposed A2T-KD framework with two scratch-trained baselines and several representative knowledge distillation methods. Baseline 1 and Baseline 2 employed randomly initialized ResNet18 [26] and ResNet101 [26], respectively, and were trained on the student-training set using only the ground-truth cross-entropy loss, without teacher supervision or knowledge distillation. Vanilla KD [13] adopted a fixed ResNet101 teacher pretrained on the pretraining set and a ResNet18 student. The other static teacher-based KD methods included MDR [27], USKD [28], LSKD [15], OFAKD [29], and UniDistill [30], while the adaptive teacher-based KD methods included AFFAKT [31] and FG-KD [32]. All comparison methods used identical student-training, validation, and test partitions and followed the same general experimental protocol. Their implementation sources and method-specific configurations are provided in Supplementary Table S4.

4.2. Experimental Results and Analysis

4.2.1. Performance Comparison

Table 2, Table 3 and Table 4 summarize the performance of the competing methods across nine medical imaging datasets. Baseline 2 generally achieved higher results than Baseline 1 on the large- and medium-scale datasets, whereas Baseline 1 performed better on most metrics of the small-scale datasets. A2T-KD generally showed favorable mean performance relative to the fixed-teacher Vanilla KD baseline across the evaluated datasets. To formally evaluate the consistency of these differences, we conducted paired statistical comparisons using the five matched seed-level results for each dataset–metric combination. Several comparisons significantly favored A2T-KD at the unadjusted p < 0.05 level, whereas none significantly favored Vanilla KD. The complete per-seed classification results are reported in Supplementary Table S5, while the paired mean differences, 95% confidence intervals, unadjusted p-values, and Holm-adjusted p-values are provided in Supplementary Table S6. Compared with the other adaptive teacher-based methods, A2T-KD generally showed stronger performance across datasets of different scales. For example, on HAM10000, A2T-KD achieved 84.8% ACC and 96.5% AUC-OVR, compared with 83.0% and 92.7% for AFFAKT, respectively. On Brain Tumor, it reached 85.6% ACC and 94.7% AUC-OVO, exceeding the corresponding results of the other adaptive teacher-based baselines. Similar trends were observed on Breast Tumor and PAPILA, where A2T-KD achieved 87.2% and 85.8% ACC, respectively.
Table 5 compares the computational complexity of A2T-KD with representative static-teacher KD methods on the Chaoyang dataset. LSKD introduces negligible computational overhead, as it relies primarily on logit standardization, whereas UniDistill and OFAKD require moderately greater resources for multi-level feature alignment and auxiliary exit branches, respectively. MDR incurs the highest computational cost due to its multi-stage relational modeling and self-supervised training components. A2T-KD requires 2.65× the training time, 1.95× the peak memory, and 2.85× the training FLOPs of Vanilla KD. Excluding the teacher backbone, the student and auxiliary trainable modules comprise 13.99 million parameters. This additional training cost mainly arises from the dynamic teacher updates and cross-epoch representation modeling in MITR. Under the evaluated Chaoyang/RTX A6000 setting, A2T-KD requires lower training time, memory consumption, and FLOPs than MDR. Notably, the teacher adaptation and knowledge-preservation mechanisms are used exclusively during training. Once training is completed, only the lightweight ResNet18 student is retained for inference. Therefore, the improved classification performance of A2T-KD is achieved without increasing the parameter count or computational cost of the deployed model.

4.2.2. Teacher Knowledge Preservation, Teacher Updating, and Student Performance

We compare A2T-KD with representative anti-forgetting baselines, including Baseline-T, EMA-T, EWC-T, Replay-T, and SelfDistill-T. Baseline-T updates the teacher without forgetting mitigation, whereas EMA-T, EWC-T, Replay-T, and SelfDistill-T alleviate forgetting through exponential moving averages, parameter regularization, experience replay, and logit-level self-distillation, respectively. Lower ACC degradation indicates better retention of predictive performance on the teacher-pretraining subset.
Figure 3 evaluates teacher knowledge preservation, teacher test performance changes, and the resulting student performance. The initial and final teachers refer to the pretrained teacher before distillation and the teacher after training, respectively. In Figure 3a, pretraining ACC degradation is calculated as the initial teacher ACC minus the final teacher ACC on the teacher-pretraining subset, with lower values indicating better knowledge retention. Baseline-T exhibits the largest degradation across the evaluated datasets, whereas A2T-KD consistently achieves the lowest degradation, ranging from 1.3% to 2.1%. In Figure 3b, test ACC change is calculated as the final teacher ACC minus the initial teacher ACC on the held-out student test subset. Baseline-T shows ACC declines ranging from 1.7% to 3.6%, whereas A2T-KD achieves positive changes of 1.6%–5.2% across all nine datasets. Figure 3c further shows that A2T-KD achieves the highest mean final student ACC on all evaluated datasets, exceeding the strongest competing teacher-update baseline by 0.5–4.6 percentage points. The differences are particularly evident on Multiple Myeloma (64.9% vs. 61.8%) and Cataract (72.2% vs. 67.6%). The complete per-seed numerical results underlying Figure 3a–c are provided in Supplementary Tables S7, S8, and S9, respectively. The reduced teacher degradation, positive teacher test ACC changes, and improved student performance suggest that jointly preserving previously acquired teacher knowledge while updating the teacher can provide more effective supervision under the evaluated setting.
Figure 3. Comparison of teacher knowledge preservation, teacher test performance changes, and final student performance across nine medical imaging datasets. (a) Teacher ACC degradation on the teacher-pretraining subset. (b) Teacher test ACC change after updating with student-training data. (c) Final student ACC. Error bars indicate the standard deviation across five matched seeds, and the numerical labels indicate the corresponding mean values (%). In panel (c), bar heights should be compared only within the same dataset because dataset-specific y-axis ranges are used. The light-blue background shading is used only to visually distinguish the different datasets.
Figure 3. Comparison of teacher knowledge preservation, teacher test performance changes, and final student performance across nine medical imaging datasets. (a) Teacher ACC degradation on the teacher-pretraining subset. (b) Teacher test ACC change after updating with student-training data. (c) Final student ACC. Error bars indicate the standard deviation across five matched seeds, and the numerical labels indicate the corresponding mean values (%). In panel (c), bar heights should be compared only within the same dataset because dataset-specific y-axis ranges are used. The light-blue background shading is used only to visually distinguish the different datasets.
Applsci 16 08756 g003

4.3. Ablation Study

4.3.1. Effectiveness of MITR

As shown in Table 6, direct 2 smoothing achieved ACC values of 78.8%, 92.9%, and 78.7% on Chaoyang, Kidney, and Breast Tumor, respectively, whereas the full MITR achieved 83.6%, 97.2%, and 87.2%. Replacing the Transformer with an MLP reduced ACC to 77.1%, 90.3%, and 76.8%, respectively. Removing the mutual-information term reduced ACC to 81.9%, 96.0%, and 81.1%, while removing the stability regularizer resulted in 78.4%, 96.2%, and 79.4%.

4.3.2. Effectiveness of DSDO

We evaluate DSDO through three ablations: removing the target-class classification loss (w/o CLC), removing the angular alignment loss (w/o Ang), and removing the subspace decoupling mechanism (w/o Dec). As shown in Table 7, all ablation variants yield lower performance across the evaluated datasets. Specifically, w/o CLC reduced ACC from 99.5% to 98.8% on LC25000. Removing angular alignment (w/o Ang) decreased ACC from 72.2% to 67.6% on Cataract. Among the ablations, w/o Dec reduced Brain Tumor ACC from 85.6% to 79.1%, supporting the contribution of explicit target/non-target subspace decoupling to the observed performance.

4.3.3. Effectiveness of SGKD

To evaluate the contributions of feature- and logit-level distillation in SGKD, we construct two ablation variants: Feature Only and Logit Only. As shown in Table 8, removing either branch generally reduced performance across the evaluated datasets. Full SGKD achieved the highest ACC on LC25000 and Breast Tumor. On Kidney, Feature Only and Full SGKD achieved the same mean ACC of 97.2%, while Full SGKD showed lower variability across runs. These results suggest that feature- and logit-level supervision provide generally complementary but dataset-dependent contributions to knowledge transfer.

4.4. Backbone Configurations

To examine compatibility with different teacher–student architectures, we evaluated A2T-KD using CNN-to-CNN, CNN-to-mobile, and Transformer-to-CNN configurations. The results in Table 9 show that A2T-KD can be implemented with the evaluated architecture pairs, although its performance varies across datasets and configurations. For example, ResNet101→ResNet18 achieved AUC-OVO values of 99.8%, 80.3%, and 96.2% on LC25000, Multiple Myeloma, and Breast Tumor, respectively. These results indicate compatibility with the evaluated architecture pairs but do not establish architecture-level generalization.

4.5. Hyperparameter Analysis ( τ 1 and τ 2 )

We analyze two temperature parameters: τ 1 for mutual-information estimation in Equation (5) and τ 2 for logit-level distillation in Equation (12). The parameter τ 1 controls the sharpness of similarities in the latent space, whereas τ 2 controls the softness of the teacher and student prediction distributions. As shown in Table 10 and Table 11, the best overall performance for τ 1 is obtained at τ 1 = 1 , with an ACC of 84.8%, Macro-F1 of 70.4%, AUC-OVO of 93.0%, and AUC-OVR of 96.5%. For τ 2 , a value of 4 produced the highest ACC and Macro-F1, whereas a value of 1 produced the highest AUC-OVO and AUC-OVR.

5. Discussion

Across the nine evaluated medical imaging datasets, which varied in size, imaging modality, and disease category, A2T-KD achieved competitive performance relative to the evaluated baselines. However, these results do not establish cross-dataset or cross-domain generalization. Furthermore, the ablation studies suggest generally complementary but dataset-dependent contributions from the individual components.
Static-teacher knowledge distillation provides stable supervision and remains effective when the teacher-pretraining and student-learning data have similar characteristics. Adaptive-teacher approaches provide greater flexibility by updating the teacher during student training, although this adaptation may affect the preservation of previously acquired knowledge. Within this context, A2T-KD combines teacher adaptation with knowledge preservation. Its competitive classification performance and reduced teacher degradation suggest that retaining knowledge acquired during teacher pretraining may complement teacher adaptation under the current same-task setting.
From a practical perspective, the additional teacher-adaptation and knowledge-preservation components are used only during training, whereas inference requires only the lightweight student model. This design may facilitate deployment in resource-constrained medical imaging settings. Nevertheless, the present results demonstrate methodological performance on retrospective benchmark datasets and should not be interpreted as evidence of clinical effectiveness. External validation, model calibration, interpretability analysis, and prospective evaluation are required before clinical deployment.
However, an important limitation of this study is that the teacher-pretraining and student-learning subsets, although mutually exclusive, were randomly sampled from the same datasets. Therefore, the current protocol evaluates adaptation within the same task distribution rather than under an explicit temporal, cross-center, or cross-device distribution shift. In addition, the present study did not evaluate model calibration, interpretability, or the influence of model outputs on clinical decision-making. Future work will evaluate A2T-KD using independent multi-center cohorts and will further investigate model calibration, interpretability, and potential clinical utility in prospective settings.

6. Conclusions

In this work, we proposed A2T-KD, an adaptive teacher-driven knowledge distillation framework that combines teacher updating with cross-epoch representation and prediction constraints. Across nine medical imaging datasets evaluated using within-dataset random partitions, A2T-KD achieved higher mean values than the fixed-teacher Vanilla KD baseline in 30 of 36 dataset–metric comparisons. It also produced lower pretraining-set ACC degradation than the evaluated teacher-update baselines, suggesting an improved balance between teacher adaptation and retention of pretraining knowledge under the current setting. However, this study did not evaluate sequential clinical cohorts or explicit temporal, cross-center, or cross-device distribution shifts. Future work will evaluate the framework using independent multi-center cohorts and sequential adaptation settings.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/app16178756/s1, Table S1: Feature extraction locations, native feature dimensions, and projection settings for the heterogeneous teacher–student configurations evaluated in Table 9 and the projection modules used in MITR. Table S2. Class distributions across the teacher-pretraining, student-training, validation, and test splits. Table S3. Hyperparameter configurations for each dataset. Table S4. Implementation sources and configurations of the comparison methods. Table S5. Per-seed classification performance (%) of the compared methods across all datasets. Table S6. Paired comparison between A2T-KD and Vanilla KD across five matched seeds. Differences are computed as A2T-KD minus Vanilla KD. The 95% confidence intervals and paired t-test p-values are based on the five matched seed-level differences. Holm-adjusted p-values account for the 36 dataset–metric comparisons. Table S7. Per-seed teacher ACC (%) on the teacher-pretraining subset before and after updating with student-training data. Table S8. Per-seed teacher test ACC (%) before and after updating with student-training data across all datasets. Table S9. Per-seed final student ACC (%) of the compared methods across all datasets.

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.

Funding

This research was funded by the National Institutes of Health, grant number R01 CA278898.

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 period is from 9 February 2026 to 8 February 2027.

Informed Consent Statement

The requirement for informed consent was waived by the Institutional Review Board due to the retrospective design of the study and the use of existing de-identified clinical data.

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.

References

  1. Feng, W.; Zhou, S.; Jiang, Y.; Tang, F.; Ge, Z. Neighbor-Guided Unbiased Framework for Generalized Category Discovery in Medical Image Classification. IEEE J. Biomed. Health Inform. 2025, 29, 5736–5747. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. He, D.; Zhao, J.; Guo, R.; Feng, Z.; Huo, C.; Jin, D.; Pedrycz, W.; Zhang, W. Distill & Contrast: A New Graph Self-Supervised Method With Approximating Nature Data Relationships. IEEE Trans. Knowl. Data Eng. 2025, 37, 3284–3297. [Google Scholar] [CrossRef] [Scilit]
  3. Ling, Y.; Nie, F.; Yu, W.; Li, X. Self-Labeling and Self-Knowledge Distillation Unsupervised Feature Selection. IEEE Trans. Knowl. Data Eng. 2025, 37, 4270–4284. [Google Scholar] [CrossRef] [Scilit]
  4. Wang, J.; Jin, Y.; Stoyanov, D.; Wang, L. FedDP: Dual Personalization in Federated Medical Image Segmentation. IEEE Trans. Med. Imaging 2024, 43, 297–308. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Tan, T.; Li, Z.; Sun, Y.; Wu, S. Guest Editorial: Multi-Modal Joint Learning in Healthcare Imaging. IEEE J. Biomed. Health Inform. 2025, 29, 3083–3085. [Google Scholar] [CrossRef] [Scilit]
  6. Solatidehkordi, Z.; Zualkernan, I. Survey on recent trends in medical image classification using semi-supervised learning. Appl. Sci. 2022, 12, 12094. [Google Scholar] [CrossRef] [Scilit]
  7. Zhang, T.; Dai, W.; Chen, Z.; Yang, S.; Liu, F.; Zheng, H. Few-shot image classification via mutual distillation. Appl. Sci. 2023, 13, 13284. [Google Scholar] [CrossRef] [Scilit]
  8. Luo, X.; Wu, J.; Yang, J.; Chen, H.; Li, Z.; Peng, H.; Zhou, C. Knowledge distillation guided interpretable brain subgraph neural networks for brain disorder exploration. IEEE Trans. Neural Netw. Learn. Syst. 2024, 36, 3559–3572. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Wu, L.; Lin, H.; Gao, Z.; Zhao, G.; Li, S.Z. A teacher-free graph knowledge distillation framework with dual self-distillation. IEEE Trans. Knowl. Data Eng. 2024, 36, 4375–4385. [Google Scholar] [CrossRef] [Scilit]
  10. Li, S.; Zhang, T.; Chen, C.P. Cyclic Data Distillation Semi-supervised Learning For Multi-modal Emotion Recognition. IEEE Trans. Knowl. Data Eng. 2025, 37, 5078–5092. [Google Scholar] [CrossRef] [Scilit]
  11. Li, Y.J.; Dai, X.; Ma, C.Y.; Liu, Y.C.; Chen, K.; Wu, B.; He, Z.; Kitani, K.; Vajda, P. Cross-Domain Adaptive Teacher for Object Detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 18–24 June 2022; pp. 7581–7590. [Google Scholar]
  12. Li, L.; Jin, Z. Shadow Knowledge Distillation: Bridging Offline and Online Knowledge Transfer. Adv. Neural Inf. Process. Syst. 2022, 35, 635–649. [Google Scholar] [CrossRef] [Scilit]
  13. Hinton, G.; Vinyals, O.; Dean, J. Distilling the Knowledge in a Neural Network. arXiv 2015, arXiv:1503.02531. [Google Scholar]
  14. Li, Y.; Yang, C.; Zeng, H.; Dong, Z.; An, Z.; Xu, Y.; Tian, Y.; Wu, H. Frequency-Aligned Knowledge Distillation for Lightweight Spatiotemporal Forecasting. In Proceedings of the 2025 IEEE/CVF International Conference on Computer Vision (ICCV), Honolulu, HI, USA, 19–23 October 2025; pp. 7262–7272. [Google Scholar]
  15. Sun, S.; Ren, W.; Li, J.; Wang, R.; Cao, X. Logit Standardization in Knowledge Distillation. In Proceedings of the 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 19–21 June 2024; pp. 15731–15740. [Google Scholar]
  16. 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. [Google Scholar] [CrossRef] [Scilit]
  17. Xiang, Z.; Cui, S.; Shang, C.; Jiang, J.; Zhang, L. GMoD: Graph-driven momentum distillation framework with active perception of disease severity for radiology report generation. In International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2024; pp. 295–305. [Google Scholar]
  18. Shu, T.; Shi, J.; Sun, D.; Jiang, Z.; Zheng, Y. SlideGCD: Slide-based graph collaborative training with knowledge distillation for whole slide image classification. In International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2024; pp. 470–480. [Google Scholar]
  19. Qi, Y.; Zhang, W.; Wang, X.; You, X.; Hu, S.; Chen, J. Efficient knowledge distillation for brain tumor segmentation. Appl. Sci. 2022, 12, 11980. [Google Scholar] [CrossRef] [Scilit]
  20. Lei, Y.; Chen, X.; Wang, Y.; Tang, R.; Zhang, B. A lightweight knowledge-distillation-based model for the detection and classification of impacted mandibular third molars. Appl. Sci. 2023, 13, 9970. [Google Scholar] [CrossRef] [Scilit]
  21. Kirkpatrick, J.; Pascanu, R.; Rabinowitz, N.; Veness, J.; Desjardins, G.; Rusu, A.A.; Milan, K.; Quan, J.; Ramalho, T.; Grabska-Barwinska, A.; et al. Overcoming catastrophic forgetting in neural networks. Proc. Natl. Acad. Sci. USA 2017, 114, 3521–3526. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Li, Z.; Hoiem, D. Learning without forgetting. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 40, 2935–2947. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Liu, S.; Chen, Z.; Liu, Y.; Wang, Y.; Yang, D.; Zhao, Z.; Zhou, Z.; Yi, X.; Li, W.; Zhang, W.; et al. Improving Generalization in Visual Reinforcement Learning via Conflict-aware Gradient Agreement Augmentation. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV); IEEE: Piscataway, NJ, USA, 2023; pp. 23436–23446. [Google Scholar]
  24. 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]
  25. 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]
  26. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016. [Google Scholar]
  27. Wang, J.; Lu, L.; Chi, M.; Chen, J. MDR: Multi-stage Decoupled Relational Knowledge Distillation with Adaptive Stage Selection. In Proceedings of the 32nd ACM International Conference on Multimedia, Melbourne, Australia, 28 October–1 November 2024; pp. 2175–2183. [Google Scholar]
  28. Yang, Z.; Zeng, A.; Li, Z.; Zhang, T.; Yuan, C.; Li, Y. From Knowledge Distillation to Self-Knowledge Distillation: A Unified Approach with Normalized Loss and Customized Soft Labels. In Proceedings of the 2023 IEEE/CVF International Conference on Computer Vision (ICCV), Paris, France, 1–6 October 2023; pp. 17185–17194. [Google Scholar]
  29. 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. [Google Scholar] [CrossRef] [Scilit]
  30. Zhou, S.; Liu, W.; Hu, C.; Zhou, S.; Ma, C. UniDistill: A Universal Cross-Modality Knowledge Distillation Framework for 3D Object Detection in Bird’s-Eye View. In Proceedings of the2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); IEEE: Piscataway, NJ, USA, 2023; pp. 5116–5125. [Google Scholar]
  31. Ji, Z.; Tian, X.; Liu, Y. AFFAKT: A Hierarchical Optimal Transport Based Method for Affective Facial Knowledge Transfer in Video Deception Detection. In Proceedings of the AAAI Conference on Artificial Intelligence, Philadelphia, PA, USA, 25 February–4 March 2025; Association for the Advancement of Artificial Intelligence: Washington, DC, USA, 2025; Volume 39, pp. 1336–1344. [Google Scholar]
  32. Yang, Y.; Wang, C.; Gong, L.; Wu, M.; Chen, Z.; Zhou, X. FG-KD: A Novel Forward Gradient-Based Framework for Teacher Knowledge Augmentation. IEEE Trans. Artif. Intell. 2025, 7, 439–454. [Google Scholar] [CrossRef] [Scilit]
Figure 1. (a) A fixed teacher may provide inaccurate soft targets for some student-training samples, potentially creating a conflict between the distillation and ground-truth objectives. (b) Dynamically updating the teacher may reduce this conflict but may also lead to forgetting, as reflected by reduced performance on the teacher-pretraining subset. (c) A2T-KD is designed to balance teacher adaptation and pretraining-knowledge retention. The feature distributions in (ac) are visualized using student representations obtained under the same experimental setting. Black arrows indicate the direction of information flow in the schematic.
Figure 1. (a) A fixed teacher may provide inaccurate soft targets for some student-training samples, potentially creating a conflict between the distillation and ground-truth objectives. (b) Dynamically updating the teacher may reduce this conflict but may also lead to forgetting, as reflected by reduced performance on the teacher-pretraining subset. (c) A2T-KD is designed to balance teacher adaptation and pretraining-knowledge retention. The feature distributions in (ac) are visualized using student representations obtained under the same experimental setting. Black arrows indicate the direction of information flow in the schematic.
Applsci 16 08756 g001
Table 1. Summary of the datasets. All websites in this table accessed on 23 August 2026.
Table 1. Summary of the datasets. All websites in this table accessed on 23 August 2026.
Dataset#C#N#SModalitySplit UnitDisease
LC25000
https://www.kaggle.com/datasets/javaidahmadwani/lc25000
525,000HistopathologyOriginal Source ImageLung Cancer
HAM10000
https://www.kaggle.com/datasets/vrindaat/ham10000-dataset
710,0157470DermoscopyLesionSkin Lesions
Chaoyang
https://github.com/bupt-ai-cz/HSA-NRL/tree/main
46160HistopathologyImageColorectal Cancer
Multiple Myeloma4181663MRIPatientMultiple Myeloma
Brain Tumor
https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset
43264MRIImageBrain Tumor
Kidney
https://github.com/Ritesh18117/Detection-and-Classification-of-Kidney-Diseases-Using-CT-Scanned-Image/tree/master
43956CTImageKidney Disease
Breast Tumor
https://www.kaggle.com/datasets/sabahesaraki/breast-ultrasound-images-dataset
3780600UltrasoundPatientBreast Cancer
Cataract
https://www.kaggle.com/datasets/jr2ngb/cataractdataset
4601Retinal photographyImageCataract
PAPILA https://figshare.com/articles/dataset/PAPILA/147980043488244Fundus photographyPatientGlaucoma
Note: #C denotes the number of classes, #N the number of images used in this study, and #S the number of patients, lesions, or other source entities when explicitly available; “–” indicates that a reliable source-entity count was not provided in the released data. For LC25000, “Original Source Image” indicates that each original image and all of its augmentation-derived images were assigned to the same split. For Brain Tumor and Kidney, subsets of the corresponding public releases were used, comprising 3264 and 3956 images, respectively. For Breast Tumor, the accompanying segmentation masks were excluded and only the original ultrasound images were retained. Version/access information: LC25000, 25,000-image release; HAM10000, 10,015-image release; Chaoyang, official release (20 November 2021); Brain Tumor, Version 2; Breast Tumor (BUSI), 780-image release; Cataract, 601-image release; and PAPILA, Version 2 (6 May 2022). License/access conditions: Brain Tumor, CC BY 4.0; PAPILA, GPL 3.0+; Chaoyang, non-commercial research use under the repository terms; LC25000, HAM10000, Kidney, Breast Tumor, and Cataract, no explicit license specified in the cited repositories. Notably, all these public datasets were accessed and downloaded in November 2024.
Table 2. Comparison with various methods on large datasets (%). Bold and underlined values indicate the best result for each metric on each dataset.
Table 2. Comparison with various methods on large datasets (%). Bold and underlined values indicate the best result for each metric on each dataset.
MethodLC25000HAM10000Chaoyang
ACC Macro-F1 AUC-OVO AUC-OVR ACC Macro-F1 AUC-OVO AUC-OVR ACC Macro-F1 AUC-OVO AUC-OVR
Baseline 178.6 ± 3.077.7 ± 1.691.3 ± 3.290.5 ± 0.671.4 ± 0.924.7 ± 7.360.9 ± 3.069.9 ± 2.260.4 ± 0.537.1 ± 0.379.0 ± 0.882.0 ± 0.5
Baseline 295.1 ± 0.294.9 ± 0.698.8 ± 0.098.7 ± 0.172.7 ± 0.830.1 ± 1.266.1 ± 1.077.0 ± 2.773.9 ± 2.268.3 ± 1.587.1 ± 0.987.3 ± 1.0
Vanilla KD99.1 ± 0.599.6 ± 0.593.8 ± 3.199.7 ± 0.380.2 ± 1.168.1 ± 1.590.3 ± 0.791.0 ± 0.780.6 ± 1.176.4 ± 1.689.3 ± 0.792.8 ± 0.6
MDR97.0 ± 0.498.5 ± 0.599.2 ± 0.299.3 ± 0.381.9 ± 0.943.0 ± 1.769.3 ± 1.468.1 ± 1.677.6 ± 0.974.9 ± 1.192.0 ± 0.692.8 ± 0.6
USKD82.2 ± 1.284.5 ± 1.194.8 ± 0.595.7 ± 1.075.2 ± 1.441.2 ± 2.173.6 ± 1.382.4 ± 1.172.4 ± 1.067.0 ± 1.787.6 ± 0.790.9 ± 0.8
LSKD65.8 ± 2.161.7 ± 2.392.0 ± 0.795.9 ± 0.578.8 ± 1.143.5 ± 3.182.2 ± 0.984.9 ± 0.673.9 ± 1.460.2 ± 2.282.9 ± 1.288.3 ± 0.6
OFAKD85.0 ± 0.987.1 ± 0.997.2 ± 0.399.0 ± 0.478.0 ± 1.451.9 ± 2.783.2 ± 0.986.3 ± 0.672.4 ± 2.469.2 ± 2.884.6 ± 0.987.6 ± 0.6
UniDistill92.9 ± 0.795.8 ± 0.698.7 ± 0.599.6 ± 0.279.2 ± 1.428.8 ± 3.366.0 ± 1.960.2 ± 2.376.6 ± 1.374.3 ± 1.487.6 ± 0.791.9 ± 0.5
AFFAKT98.9 ± 0.499.1 ± 0.399.7 ± 0.199.2 ± 0.883.0 ± 0.765.2 ± 2.587.6 ± 0.592.7 ± 0.478.5 ± 1.273.3 ± 1.589.9 ± 0.991.9 ± 0.7
FG-KD97.1 ± 0.597.8 ± 0.598.4 ± 0.498.7 ± 0.280.9 ± 0.963.8 ± 2.386.6 ± 1.092.0 ± 0.680.3 ± 0.974.2 ± 2.191.5 ± 0.592.9 ± 0.4
A2T-KD99.5 ± 0.299.3 ± 0.699.8 ± 0.199.9 ± 0.184.8 ± 0.670.4 ± 1.293.0 ± 0.596.5 ± 0.383.6 ± 1.277.9 ± 1.192.2 ± 0.493.4 ± 0.4
Table 3. Comparison with various methods on medium datasets (%). Bold and underlined values indicate the best result for each metric on each dataset.
Table 3. Comparison with various methods on medium datasets (%). Bold and underlined values indicate the best result for each metric on each dataset.
MethodMultiple MyelomaBrain TumorKidney
ACC Macro-F1 AUC-OVO AUC-OVR ACC Macro-F1 AUC-OVO AUC-OVR ACC Macro-F1 AUC-OVO AUC-OVR
Baseline 152.2 ± 3.052.3 ± 3.071.7 ± 1.774.4 ± 1.879.1 ± 1.481.0 ± 1.688.6 ± 0.990.2 ± 0.793.5 ± 0.690.8 ± 1.197.5 ± 0.398.5 ± 0.2
Baseline 256.6 ± 2.257.8 ± 2.878.1 ± 1.479.6 ± 1.382.2 ± 1.080.8 ± 1.291.6 ± 0.792.3 ± 0.596.2 ± 0.397.6 ± 0.598.8 ± 0.299.2 ± 0.1
Vanilla KD60.7 ± 2.356.8 ± 2.680.4 ± 1.880.1 ± 2.179.9 ± 1.678.0 ± 1.891.9 ± 1.392.0 ± 0.796.6 ± 0.695.5 ± 0.798.9 ± 0.399.2 ± 0.2
MDR47.7 ± 2.630.4 ± 2.470.1 ± 1.971.9 ± 2.281.4 ± 1.481.2 ± 2.890.8 ± 1.191.5 ± 0.797.9 ± 0.596.8 ± 0.698.4 ± 0.499.0 ± 0.3
USKD55.0 ± 2.353.3 ± 2.280.4 ± 1.177.8 ± 1.580.2 ± 1.775.9 ± 2.691.9 ± 0.688.0 ± 4.886.8 ± 2.268.6 ± 2.395.5 ± 0.597.9 ± 0.3
LSKD55.2 ± 2.342.8 ± 2.374.0 ± 2.273.1 ± 2.379.1 ± 1.580.9 ± 1.593.8 ± 0.794.0 ± 0.691.6 ± 0.991.8 ± 1.198.2 ± 0.499.7 ± 0.2
OFAKD56.2 ± 3.056.7 ± 2.883.3 ± 1.282.3 ± 1.473.7 ± 2.475.3 ± 2.192.8 ± 0.693.1 ± 0.689.8 ± 1.288.9 ± 2.099.8 ± 0.2 98.5 ± 0.4
UniDistill50.6 ± 3.439.2 ± 3.360.3 ± 3.358.8 ± 3.082.1 ± 1.280.7 ± 1.588.1 ± 2.189.7 ± 1.498.4 ± 0.397.5 ± 0.697.7 ± 0.499.5 ± 0.3
AFFAKT61.2 ± 2.456.4 ± 2.676.8 ± 2.076.9 ± 1.981.3 ± 1.479.6 ± 1.789.7 ± 1.590.5 ± 1.195.3 ± 0.693.7 ± 1.097.6 ± 0.599.1 ± 0.8
FG-KD58.8 ± 2.257.4 ± 2.777.7 ± 1.978.7 ± 2.278.5 ± 1.677.7 ± 1.991.1 ± 1.191.2 ± 0.894.8 ± 0.993.6 ± 1.097.9 ± 0.499.7 ± 0.1
A2T-KD64.9 ± 2.861.2 ± 2.680.3 ± 1.982.7 ± 1.385.6 ± 1.283.6 ± 1.594.7 ± 0.793.7 ± 0.797.2 ± 0.499.0 ± 0.399.1 ± 0.198.8 ± 0.2
Table 4. Comparison with various methods on small datasets (%). Bold and underlined values indicate the best result for each metric on each dataset.
Table 4. Comparison with various methods on small datasets (%). Bold and underlined values indicate the best result for each metric on each dataset.
MethodBreast TumorCataractPAPILA
ACC Macro-F1 AUC-OVO AUC-OVR ACC Macro-F1 AUC-OVO AUC-OVR ACC Macro-F1 AUC-OVO AUC-OVR
Baseline 176.7 ± 2.469.1 ± 2.286.2 ± 1.185.8 ± 0.869.1 ± 2.659.5 ± 3.380.7 ± 1.579.7 ± 1.379.6 ± 1.865.0 ± 3.580.9 ± 1.778.7 ± 1.6
Baseline 268.0 ± 2.653.2 ± 3.184.7 ± 1.386.1 ± 1.256.8 ± 3.232.0 ± 2.561.7 ± 2.366.6 ± 2.762.9 ± 2.548.9 ± 2.480.7 ± 1.677.2 ± 1.7
Vanilla KD83.8 ± 2.083.1 ± 2.393.5 ± 0.795.9 ± 0.671.6 ± 2.158.0 ± 2.281.8 ± 1.183.4 ± 1.083.1 ± 1.175.4 ± 1.985.1 ± 0.988.9 ± 0.8
MDR81.3 ± 2.077.7 ± 2.389.9 ± 0.887.6 ± 1.170.7 ± 2.360.5 ± 2.481.0 ± 1.677.5 ± 2.169.9 ± 2.032.1 ± 3.163.6 ± 2.964.1 ± 2.1
USKD79.9 ± 2.273.7 ± 2.989.2 ± 1.188.0 ± 1.161.9 ± 2.949.3 ± 4.068.2 ± 1.970.1 ± 1.975.8 ± 2.066.2 ± 2.183.8 ± 1.383.2 ± 1.4
LSKD66.8 ± 2.145.3 ± 2.689.2 ± 0.987.8 ± 1.063.4 ± 2.942.2 ± 2.574.2 ± 2.574.3 ± 2.073.5 ± 1.843.4 ± 2.780.2 ± 2.182.9 ± 1.6
OFAKD75.4 ± 2.065.9 ± 2.383.2 ± 1.383.4 ± 1.471.6 ± 2.765.3 ± 2.284.2 ± 1.182.1 ± 1.673.3 ± 2.142.8 ± 2.776.9 ± 2.578.4 ± 2.1
UniDistill73.2 ± 2.068.1 ± 3.289.6 ± 1.186.8 ± 1.365.2 ± 2.439.3 ± 2.657.5 ± 2.958.6 ± 2.767.9 ± 2.725.4 ± 2.550.3 ± 2.552.6 ± 2.4
AFFAKT81.3 ± 1.875.6 ± 1.891.5 ± 0.692.4 ± 0.764.0 ± 2.443.2 ± 2.679.9 ± 1.579.7 ± 1.471.4 ± 2.240.7 ± 2.879.4 ± 1.681.7 ± 1.4
FG-KD77.6 ± 2.277.0 ± 2.393.6 ± 0.590.5 ± 0.768.7 ± 2.153.9 ± 2.479.2 ± 1.677.3 ± 2.379.0 ± 2.066.4 ± 2.386.1 ± 1.287.0 ± 1.0
A2T-KD87.2 ± 1.784.1 ± 2.096.2 ± 1.095.8 ± 0.472.2 ± 1.958.0 ± 2.080.9 ± 1.184.4 ± 1.185.8 ± 0.976.9 ± 2.1 87.6 ± 1.089.6 ± 0.8
Table 5. Computational complexity during the KD stage on the Chaoyang dataset. Training time, peak GPU memory, and training FLOPs are reported as relative multipliers (×) with respect to Vanilla KD, which is normalized to 1.00. The parameter count excludes the teacher backbone but includes all additional trainable modules introduced by each method. Training time, peak memory, and FLOPs are measured for the complete KD procedure and therefore include teacher computation and all auxiliary modules.
Table 5. Computational complexity during the KD stage on the Chaoyang dataset. Training time, peak GPU memory, and training FLOPs are reported as relative multipliers (×) with respect to Vanilla KD, which is normalized to 1.00. The parameter count excludes the teacher backbone but includes all additional trainable modules introduced by each method. Training time, peak memory, and FLOPs are measured for the complete KD procedure and therefore include teacher computation and all auxiliary modules.
MethodTraining Time (×)Peak Memory (×)Parameters (M)Training FLOPs (×)
Vanilla KD1.001.0011.181.00
LSKD1.011.0011.181.00
UniDistill1.181.1511.851.11
OFAKD1.301.2312.301.20
MDR5.202.3515.504.70
A2T-KD2.651.9513.992.85
Table 6. Ablation results of MITR subcomponents across diverse datasets using ACC (%). Bold and underlined values indicate the best result for each metric on each dataset.
Table 6. Ablation results of MITR subcomponents across diverse datasets using ACC (%). Bold and underlined values indicate the best result for each metric on each dataset.
Model VariantChaoyangKidneyBreast Tumor
Direct 2 Smoothing 78.8 ± 1.4 92.9 ± 1.6 78.7 ± 2.0
w/o MI 81.9 ± 2.8 96.0 ± 0.6 81.1 ± 1.5
MLP-Enc 77.1 ± 2.6 90.3 ± 1.0 76.8 ± 2.4
w/o Stab 78.4 ± 3.1 96.2 ± 0.6 79.4 ± 1.9
MITR (Ours)83.6 ± 1.297.2 ± 0.487.2 ± 1.7
Table 7. Ablation results of DSDO subcomponents across diverse datasets using ACC (%). Bold and underlined values indicate the best result for each metric on each dataset.
Table 7. Ablation results of DSDO subcomponents across diverse datasets using ACC (%). Bold and underlined values indicate the best result for each metric on each dataset.
Model VariantLC25000Brain TumorCataract
w/o CLC 98.8 ± 0.5 81.4 ± 1.1 68.4 ± 2.0
w/o Ang 94.2 ± 0.6 77.4 ± 2.1 67.6 ± 3.2
w/o Dec 96.9 ± 0.6 79.1 ± 1.6 70.3 ± 2.3
DSDO (Ours)99.5 ± 0.285.6 ± 1.272.2 ± 1.9
Table 8. Ablation results of SGKD subcomponents across various datasets using ACC (%). Bold and underlined values indicate the best result for each metric on each dataset.
Table 8. Ablation results of SGKD subcomponents across various datasets using ACC (%). Bold and underlined values indicate the best result for each metric on each dataset.
Method VariantLC25000KidneyBreast Tumor
Feature Only 98.2 ± 0.5 97.2 ± 0.7 81.7 ± 2.1
Logit Only 95.5 ± 0.8 95.3 ± 1.7 85.9 ± 1.6
Full SGKD (Ours)99.5 ± 0.297.2 ± 0.487.2 ± 1.7
Table 9. Performance of A2T-KD under diverse teacher–student configurations across various datasets (AUC-OVO, %). Bold and underlined values indicate the best result for each metric on each dataset.
Table 9. Performance of A2T-KD under diverse teacher–student configurations across various datasets (AUC-OVO, %). Bold and underlined values indicate the best result for each metric on each dataset.
Teacher → StudentLC25000Multiple MyelomaBreast Tumor
ResNet101 → ResNet1899.8 ± 0.180.3 ± 1.996.2 ± 1.0
ResNet50 → ResNet18 97.6 ± 0.7 80.2 ± 2.1 92.5 ± 1.5
ResNet101 → MobileNetV2 99.0 ± 0.3 79.8 ± 2.6 94.1 ± 1.1
ResNet101 → MobileNetV3 99.0 ± 0.3 84.4 ± 1.6 93.1 ± 1.2
Swin-Tiny → ResNet18 98.9 ± 0.4 78.7 ± 2.2 94.8 ± 1.0
ViT-S → ResNet18 98.0 ± 0.5 75.8 ± 2.5 95.5 ± 0.9
ResNet50 → ShuffleNetV2 98.8 ± 0.7 81.4 ± 1.5 92.7 ± 1.2
DenseNet121 → EfficientNet-B0 98.4 ± 0.4 82.8 ± 1.6 94.5 ± 0.7
Table 10. Effect of τ 1 (mutual-information temperature) on performance on the HAM10000 dataset. Bold and underlined values indicate the best result for each metric on each dataset.
Table 10. Effect of τ 1 (mutual-information temperature) on performance on the HAM10000 dataset. Bold and underlined values indicate the best result for each metric on each dataset.
τ 1 ACCMacro-F1AUC-OVOAUC-OVR
0.1 80.7 ± 1.6 63.2 ± 3.2 88.7 ± 1.3 92.5 ± 0.9
0.5 83.1 ± 1.3 64.6 ± 2.7 91.4 ± 1.5 93.1 ± 0.8
184.8 ± 0.670.4 ± 1.293.0 ± 0.596.5 ± 0.3
2 82.8 ± 1.2 67.3 ± 1.7 90.8 ± 1.3 92.9 ± 0.8
4 80.8 ± 1.1 68.2 ± 1.9 90.3 ± 0.9 95.1 ± 0.8
Table 11. Effect of τ 2 (logit temperature) on performance on the Chaoyang dataset. Bold and underlined values indicate the best result for each metric on each dataset.
Table 11. Effect of τ 2 (logit temperature) on performance on the Chaoyang dataset. Bold and underlined values indicate the best result for each metric on each dataset.
τ 2 ACCMacro-F1AUC-OVOAUC-OVR
1 80.7 ± 1.5 76.6 ± 1.8 94 . 5 ± 0 . 6 95 . 6 ± 0 . 5
283.6 ± 1.277.9 ± 1.192.2 ± 0.493.4 ± 0.4
4 85 . 3 ± 1 . 1 81 . 5 ± 1 . 3 92.9 ± 0.9 93.9 ± 0.7
8 84.9 ± 1.6 80.5 ± 1.8 94.0 ± 1.1 94.2 ± 1.7
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.

Share and Cite

MDPI and ACS Style

Chen, T.; Zhou, C.; Wang, Y.; Hadjiiski, L.M.; Dong, Q. Anti-Forgetting Adaptive Teacher-Driven Knowledge Distillation for Medical Image Classification. Appl. Sci. 2026, 16, 8756. https://doi.org/10.3390/app16178756

AMA Style

Chen T, Zhou C, Wang Y, Hadjiiski LM, Dong Q. Anti-Forgetting Adaptive Teacher-Driven Knowledge Distillation for Medical Image Classification. Applied Sciences. 2026; 16(17):8756. https://doi.org/10.3390/app16178756

Chicago/Turabian Style

Chen, Tao, Chuan Zhou, Yifan Wang, Lubomir M. Hadjiiski, and Qian Dong. 2026. "Anti-Forgetting Adaptive Teacher-Driven Knowledge Distillation for Medical Image Classification" Applied Sciences 16, no. 17: 8756. https://doi.org/10.3390/app16178756

APA Style

Chen, T., Zhou, C., Wang, Y., Hadjiiski, L. M., & Dong, Q. (2026). Anti-Forgetting Adaptive Teacher-Driven Knowledge Distillation for Medical Image Classification. Applied Sciences, 16(17), 8756. https://doi.org/10.3390/app16178756

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop