MED-TEX: Transferring and Explaining Knowledge with Less Data from Pretrained Medical Imaging Models

Thanh Nguyen-Duc, He Zhao, Jianfei Cai, Dinh PhungarXiv 2020

Abstract

Medical imaging models often face deployment challenges due to high computational costs and a lack of interpretability. This paper presents MED-TEX (MEDical Transfer and EXplain), a framework that performs joint knowledge distillation and pixel-level explanation. By training a compact "student" model to learn from filtered "importance maps" generated by an "explainer" network, MED-TEX achieves high accuracy with 226x fewer parameters than the teacher model, even in data-scarce environments.

Introduction

In clinical AI, large-scale models trained at central headquarters are often impractical for local branches with limited compute and small, private datasets. Furthermore, medical practitioners require interpretable models that can justify predictions by highlighting relevant pathological features. Existing methods typically address model compression and interpretability separately. MED-TEX bridges this gap by optimizing both simultaneously for high-resolution medical imaging, ensuring that local clinics can deploy efficient and trustworthy diagnostic tools.

Methods

The MED-TEX framework consists of three primary components: a fixed, pretrained Teacher model, a learnable Explainer (an autoencoder with skip connections), and a compact Student model. The Explainer generates a pixel-level importance map ($\Theta$) from the input image $X$. This map masks irrelevant background noise, producing $X' = X \odot \Theta$, which is then fed to the Student. This process ensures the Student focuses only on the most informative features, such as lesions.

Overview of the MED-TEX framework, including problem setting, schematic diagram, and detailed architecture.

The system is trained to maximize mutual information between the Teacher and Student. Unlike standard distillation that only matches final outputs, MED-TEX employs "deep supervision" by forcing intermediate hidden layers of the Student to mimic those of the Teacher, modeled as conditional Gaussian distributions. This synergistic approach allows the Student to achieve high accuracy even with very little training data.

Results

Evaluation was conducted on a Fundus dataset for myopia detection (1,873 images). To simulate real-world constraints, the models were trained on only 25% and 50% of the available data.

  • Massive Compression: The Student model contains only 1.7k parameters, a 226x reduction compared to the 390.5k-parameter Teacher model.
  • Distillation Performance: With 25% training data, MED-TEX achieved 91.5% accuracy, significantly outperforming standard distillation baselines like KD (86.3%) and VID (89.1%). At 50% data, accuracy reached 95.5%.
  • Interpretability Performance: The Explainer's pixel-level maps were compared against human-annotated lesion segmentations. MED-TEX achieved significantly higher Intersection over Union (IoU) scores compared to Grad-CAM, Hard/Soft Attention, and L2X, demonstrating its ability to precisely localize medical anomalies.
Quantitative comparison of interpretability (IoU) on Fundus datasets with 25% and 50% training data.

Conclusion

MED-TEX demonstrates that model distillation and explanation are synergistic rather than competing goals. By focusing the student's attention on critical image regions through pixel-level importance maps, the framework enables high-performance AI deployment in data-constrained medical environments. While currently validated on 2D fundus imaging, future work will explore the application of this framework to 3D imaging (MRI/CT) and more complex architectures like Transformers.

Summary updated

BibTeX
@misc{nguyenduc2020med,
  author = {Thanh Nguyen-Duc and He Zhao and Jianfei Cai and Dinh Phung},
  title = {{MED-TEX: Transferring and Explaining Knowledge with Less Data from Pretrained Medical Imaging Models}},
  year = {2020},
  eprint = {2008.02593},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.02593},
}
Figure