arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.02108cs.CV
收藏

Vision Transformers中的知识蒸馏:一项批判性综述

Knowledge Distillation in Vision Transformers: A Critical Review

Indian Institute of Technology Delhi(印度理工学院德里分校)

Gousia Habib, Tausifa Jan Saleem, Brejesh Lall

AI总结:

本文综述了基于知识蒸馏(KD)的Vision Transformers(ViTs)压缩方法,阐明了KD在降低模型计算与内存需求方面的作用,并指出了ViTs尚未解决的挑战。

摘要:

在自然语言处理(NLP)中,Transformers通过利用基于注意力的编码器-解码器模型已经彻底改变了该领域。最近,一些开创性工作在计算机视觉(CV)中采用了类Transformer架构,并且它们报告了这些架构在图像分类、目标检测和语义分割等任务中的出色性能。Vision Transformers(ViTs)由于其具有竞争力的建模能力,展示出相对于卷积神经网络(CNNs)的令人印象深刻的性能提升。然而,这些架构需要大量的计算资源,这使得这些模型难以部署在资源受限的应用中。已经开发了许多解决方案来应对这一问题,例如压缩transformers和压缩函数,如膨胀卷积、最小最大池化、1D卷积等。模型压缩作为一种潜在的补救措施最近引起了广泛的研究关注。文献中已经提出了许多模型压缩方法,如权重量化、权重复用、剪枝和知识蒸馏(KD)。然而,诸如权重量化、剪枝和权重复用等技术通常涉及用于执行压缩的复杂流程。KD被发现是一种简单且非常有效的模型压缩技术,它允许一个相对简单的模型以几乎与复杂模型一样准确的精度执行任务。本文讨论了基于KD的各种方法,以实现对ViT模型的有效压缩。本文阐明了KD在减少这些模型的计算和内存需求方面所起的作用。本文还提出了ViTs面临的尚未解决的各种挑战。

英文摘要:

In Natural Language Processing (NLP), Transformers have already revolutionized the field by utilizing an attention-based encoder-decoder model. Recently, some pioneering works have employed Transformer-like architectures in Computer Vision (CV) and they have reported outstanding performance of these architectures in tasks such as image classification, object detection, and semantic segmentation. Vision Transformers (ViTs) have demonstrated impressive performance improvements over Convolutional Neural Networks (CNNs) due to their competitive modelling capabilities. However, these architectures demand massive computational resources which makes these models difficult to be deployed in the resource-constrained applications. Many solutions have been developed to combat this issue, such as compressive transformers and compression functions such as dilated convolution, min-max pooling, 1D convolution, etc. Model compression has recently attracted considerable research attention as a potential remedy. A number of model compression methods have been proposed in the literature such as weight quantization, weight multiplexing, pruning and Knowledge Distillation (KD). However, techniques like weight quantization, pruning and weight multiplexing typically involve complex pipelines for performing the compression. KD has been found to be a simple and much effective model compression technique that allows a relatively simple model to perform tasks almost as accurately as a complex model. This paper discusses various approaches based upon KD for effective compression of ViT models. The paper elucidates the role played by KD in reducing the computational and memory requirements of these models. The paper also presents the various challenges faced by ViTs that are yet to be resolved.

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

↑