Reprogramming Distillation for Medical Foundation Models

Yuhang Zhou, Siyuan Du, Haolin Li, Jiangchao Yao, Ya Zhang +1 more
7/9/2024
cs.CV

No official code found. Best implementation: MediaBrain-SJTU/RD (2 stars, last commit 2025-03-02).

Abstract

Medical foundation models pre-trained on large-scale datasets have demonstrated powerful versatile capabilities for various tasks. However, due to the gap between pre-training tasks (or modalities) and downstream tasks (or modalities), the real-world computation and speed constraints, it might not be straightforward to apply medical foundation models in the downstream scenarios. Previous methods, such as parameter efficient fine-tuning (PEFT) methods and knowledge distillation (KD) methods, are unable to simultaneously address the task (or modality) inconsistency and achieve personalized lightweight deployment under diverse real-world demands. To address the above issues, we propose a novel framework called Reprogramming Distillation (RD). On one hand, RD reprograms the original feature space of the foundation model so that it is more relevant to downstream scenarios, aligning tasks and modalities. On the other hand, through a co-training mechanism and a shared classifier, connections are established between the reprogrammed knowledge and the knowledge of student models, ensuring that the reprogrammed feature space can be smoothly mimic by the student model of different structures. Further, to reduce the randomness under different training conditions, we design a Centered Kernel Alignment (CKA) distillation to promote robust knowledge transfer. Empirically, we show that on extensive datasets, RD consistently achieve superior performance compared with previous PEFT and KD methods.

View on arXivView PDF

Code Implementations(1)

MediaBrain-SJTU/RDCommunity100%
20PythonMar 2, 20251 years ago

Similar Papers

Cite this paper

@article{zhou2024reprogramming,
  title  = {Reprogramming Distillation for Medical Foundation Models},
  author = {Yuhang Zhou and Siyuan Du and Haolin Li and Jiangchao Yao and Ya Zhang and Yanfeng Wang},
  year   = {2024},
  eprint = {2407.06504},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.06504v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.06504.svg)](https://codeofpaper.com/paper/2407.06504)

Discussion