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

高效视觉Transformer综述:算法、技术与性能基准测试

A survey on efficient vision transformers: algorithms, techniques, and performance benchmarking

Sapienza University of Rome(罗马大学);The University of Sydney(悉尼大学)

Lorenzo Papa, Paolo Russo, Irene Amerini, Luping Zhou

AI总结:

本文综述了高效视觉Transformer的四类方法(紧凑架构、剪枝、知识蒸馏、量化),并提出高效错误率指标以统一比较模型在硬件推理时的性能,同时分析了现有方法的性能与未来研究方向。

摘要:

视觉Transformer(ViT)架构正变得越来越流行,并被广泛用于解决计算机视觉应用。其主要特征是通过自注意力机制提取全局信息,性能优于早期的卷积神经网络。然而,ViT的部署和性能随着其规模、可训练参数数量和运算量的增长而稳步提升。此外,自注意力的计算和内存成本随图像分辨率呈二次方增长。总体而言,由于许多硬件和环境限制(如处理和计算能力),在实际应用中采用这些架构具有挑战性。因此,本综述研究了确保次优估计性能的最有效方法。更详细地说,将分析四个高效类别:紧凑架构、剪枝、知识蒸馏和量化策略。此外,引入了一种名为高效错误率(Efficient Error Rate)的新指标,以归一化并比较在推理时影响硬件设备的模型特征,例如参数数量、比特数、FLOPs和模型大小。总之,本文首先从数学上定义了使视觉Transformer高效化的策略,描述并讨论了最先进的方法,并分析了它们在不同应用场景下的性能。在本文结尾,我们还讨论了开放性挑战和有前景的研究方向。

英文摘要:

Vision Transformer (ViT) architectures are becoming increasingly popular and widely employed to tackle computer vision applications. Their main feature is the capacity to extract global information through the self-attention mechanism, outperforming earlier convolutional neural networks. However, ViT deployment and performance have grown steadily with their size, number of trainable parameters, and operations. Furthermore, self-attention's computational and memory cost quadratically increases with the image resolution. Generally speaking, it is challenging to employ these architectures in real-world applications due to many hardware and environmental restrictions, such as processing and computational capabilities. Therefore, this survey investigates the most efficient methodologies to ensure sub-optimal estimation performances. More in detail, four efficient categories will be analyzed: compact architecture, pruning, knowledge distillation, and quantization strategies. Moreover, a new metric called Efficient Error Rate has been introduced in order to normalize and compare models' features that affect hardware devices at inference time, such as the number of parameters, bits, FLOPs, and model size. Summarizing, this paper firstly mathematically defines the strategies used to make Vision Transformer efficient, describes and discusses state-of-the-art methodologies, and analyzes their performances over different application scenarios. Toward the end of this paper, we also discuss open challenges and promising research directions.

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

↑