arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.08669cs.CVcs.LG
收藏

SkinDistilViT:用于皮肤病变分类的轻量级 Vision Transformer

SkinDistilViT: Lightweight Vision Transformer for Skin Lesion Classification

National Institute for Research and Development in Informatics - ICI Bucharest(布加勒斯特国家信息学研发研究院(ICI布加勒斯特));Faculty of Automatic Control and Computers, University Politehnica of Bucharest(布加勒斯特理工大学自动控制与计算机学院)

Vlad-Constantin Lungu-Stan, Dumitru-Clementin Cercel, Florin Pop

AI总结:

本文提出 SkinDistilViT,通过分层分类头与级联知识蒸馏,将专家标注图像训练的皮肤病变 ViT 压缩为低成本轻量模型,并在准确率接近教师模型的同时显著降低 GPU/CPU 推理开销。

摘要:

皮肤癌若能及早发现,是一种可治疗的疾病。我们针对皮肤癌分类问题提供了一种面向生产环境的解决方案:通过在专家标注的黑色素瘤医学图像上训练 vision transformer,使该方案在黑色素瘤识别方面达到与人类表现相当的水平。由于推理成本(包括时间和内存)在实践中十分重要,我们采用知识蒸馏获得一个模型,该模型保留了教师模型 98.33% 的平衡多类准确率,而成本仅为其一小部分。在内存方面,我们的模型比教师模型小 49.60%。在时间方面,我们的方案在 GPU 上快 69.25%,在 CPU 上快 97.96%。通过在 transformer 的每一层添加分类头并采用级联蒸馏过程,我们将基础模型的平衡多类准确率提高了 2.1%,同时创建了一系列尺寸不同但性能相当的模型。我们在 https://github.com/Longman-Stan/SkinDistilVit 提供代码。

英文摘要:

Skin cancer is a treatable disease if discovered early. We provide a production-specific solution to the skin cancer classification problem that matches human performance in melanoma identification by training a vision transformer on melanoma medical images annotated by experts. Since inference cost, both time and memory wise is important in practice, we employ knowledge distillation to obtain a model that retains 98.33% of the teacher's balanced multi-class accuracy, at a fraction of the cost. Memory-wise, our model is 49.60% smaller than the teacher. Time-wise, our solution is 69.25% faster on GPU and 97.96% faster on CPU. By adding classification heads at each level of the transformer and employing a cascading distillation process, we improve the balanced multi-class accuracy of the base model by 2.1%, while creating a range of models of various sizes but comparable performance. We provide the code at https://github.com/Longman-Stan/SkinDistilVit.

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

↑