arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02426cs.CV

提升高分辨率医学图像分类迁移学习的内存效率

Boosting Memory Efficiency in Transfer Learning for High-Resolution Medical Image Classification

Department of Electronic and Electrical Engineering, Southern University of Science and Technology(电子与电气工程系,南方科技大学);School of Biomedical Engineering, The University of British Columbia(生物医学工程学院,不列颠哥伦比亚大学);Department of Electrical and Electronic Engineering, The University of Hong Kong(电气与电子工程系,香港大学);Jiaxing Research Institute, Southern University of Science and Technology(嘉兴研究院,南方科技大学)

Yijin Huang, Pujin Cheng, Roger Tam, Xiaoying Tang

AI总结:

本文提出FPT+方法,通过轻量级侧网络、细粒度提示和融合模块,在冻结大型预训练模型的同时有效降低高分辨率医学图像分类的迁移学习内存消耗,仅用极少参数和内存即优于其他PETL方法。

摘要:

大规模预训练模型的成功使得微调成为在下游任务中实现显著提升的标准方法。然而,微调预训练模型的整个参数集成本高昂。参数高效迁移学习(PETL)最近作为一种经济高效的替代方案出现,用于将预训练模型适配到下游任务。尽管具有优势,但不断增长的模型规模和输入分辨率给PETL带来了挑战,因为训练内存消耗的降低效果不如参数使用量那样显著。在本文中,我们提出了Fine-grained Prompt Tuning plus (FPT+),这是一种专为高分辨率医学图像分类设计的PETL方法,与其他PETL方法相比,它能显著减少训练内存消耗。FPT+通过训练一个轻量级侧网络,并通过细粒度提示和融合模块从大型预训练模型(LPM)中获取预训练知识来进行迁移学习。具体而言,我们冻结目标LPM并构建一个可学习的轻量级侧网络。冻结的LPM处理高分辨率图像以提取细粒度特征,而侧网络则采用相应的下采样低分辨率图像以最小化内存使用。为了使侧网络能够利用预训练知识,我们提出了细粒度提示和融合模块,它们协同工作以通过LPM的中间激活来汇总信息。我们在八个不同规模、模态和复杂度的医学图像数据集上评估了FPT+。实验结果表明,FPT+优于其他PETL方法,仅使用微调整个ViT-B模型所需可学习参数的1.03%和内存的3.18%。我们的代码可在https://github.com/YijinHuang/FPT获取。

英文摘要:

The success of large-scale pre-trained models has established fine-tuning as a standard method for achieving significant improvements in downstream tasks. However, fine-tuning the entire parameter set of a pre-trained model is costly. Parameter-efficient transfer learning (PETL) has recently emerged as a cost-effective alternative for adapting pre-trained models to downstream tasks. Despite its advantages, the increasing model size and input resolution present challenges for PETL, as the training memory consumption is not reduced as effectively as the parameter usage. In this paper, we introduce Fine-grained Prompt Tuning plus (FPT+), a PETL method designed for high-resolution medical image classification, which significantly reduces the training memory consumption compared to other PETL methods. FPT+ performs transfer learning by training a lightweight side network and accessing pre-trained knowledge from a large pre-trained model (LPM) through fine-grained prompts and fusion modules. Specifically, we freeze the LPM of interest and construct a learnable lightweight side network. The frozen LPM processes high-resolution images to extract fine-grained features, while the side network employs corresponding down-sampled low-resolution images to minimize the memory usage. To enable the side network to leverage pre-trained knowledge, we propose fine-grained prompts and fusion modules, which collaborate to summarize information through the LPM's intermediate activations. We evaluate FPT+ on eight medical image datasets of varying sizes, modalities, and complexities. Experimental results demonstrate that FPT+ outperforms other PETL methods, using only 1.03% of the learnable parameters and 3.18% of the memory required for fine-tuning an entire ViT-B model. Our code is available on https://github.com/YijinHuang/FPT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑