{"title":"EvolutionViT: Multi-objective evolutionary vision transformer pruning under resource constraints","authors":"","doi":"10.1016/j.ins.2024.121406","DOIUrl":null,"url":null,"abstract":"<div><p>Vision Transformer (ViT) has emerged as a pivotal model for a variety of visual tasks, surpassing convolutional neural networks by a substantial margin. However, the performance of ViT is seriously impaired by intensive computational and storage costs requirements, posing significant barriers for real-world applications or deployment on resource-constrained edge devices. To address this limitation, compressing the ViT to accelerate its inference at no appreciable degradation of vision performance has attracted widespread attention. Although there are some studies on accelerating ViT, they seldom consider resource constraints and multi-criteria decision making in the process. This article formulates ViT pruning as a large-scale constrained multi-objective optimization problem, and proposes a patch pruning framework for accelerating ViT, called EvolutionViT, based on the developed multi-objective optimization model. EvolutionViT can effectively tradeoff between computational cost and performance under resource constraints, automatically searching for solutions while optimizing two conflicting objectives. In particular, exploiting the knee solution and boundary solutions to directly guide the entire evolutionary process, EvolutionViT can efficiently identify a knee solution that satisfies the resource constraints, which in turn avoids the manual search for a good trade-off. To verify and evaluate our proposed method, we compare EvolutionViT with a number of representative ViT models on the ImageNet dataset. The comprehensive simulation results show that the proposed EvolutionViT demonstrates a competitive advantage compared to peers, with significantly reduced computational expense at the cost of slightly degraded performance.</p></div>","PeriodicalId":51063,"journal":{"name":"Information Sciences","volume":null,"pages":null},"PeriodicalIF":8.1000,"publicationDate":"2024-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Information Sciences","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0020025524013203","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"0","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Vision Transformer (ViT) has emerged as a pivotal model for a variety of visual tasks, surpassing convolutional neural networks by a substantial margin. However, the performance of ViT is seriously impaired by intensive computational and storage costs requirements, posing significant barriers for real-world applications or deployment on resource-constrained edge devices. To address this limitation, compressing the ViT to accelerate its inference at no appreciable degradation of vision performance has attracted widespread attention. Although there are some studies on accelerating ViT, they seldom consider resource constraints and multi-criteria decision making in the process. This article formulates ViT pruning as a large-scale constrained multi-objective optimization problem, and proposes a patch pruning framework for accelerating ViT, called EvolutionViT, based on the developed multi-objective optimization model. EvolutionViT can effectively tradeoff between computational cost and performance under resource constraints, automatically searching for solutions while optimizing two conflicting objectives. In particular, exploiting the knee solution and boundary solutions to directly guide the entire evolutionary process, EvolutionViT can efficiently identify a knee solution that satisfies the resource constraints, which in turn avoids the manual search for a good trade-off. To verify and evaluate our proposed method, we compare EvolutionViT with a number of representative ViT models on the ImageNet dataset. The comprehensive simulation results show that the proposed EvolutionViT demonstrates a competitive advantage compared to peers, with significantly reduced computational expense at the cost of slightly degraded performance.
视觉转换器(ViT)已成为各种视觉任务的关键模型,大大超过了卷积神经网络。然而,ViT 的性能因需要大量计算和存储成本而严重受损,给实际应用或在资源受限的边缘设备上部署带来了巨大障碍。为了解决这一限制,压缩 ViT 以加快其推理速度,同时又不明显降低视觉性能的方法引起了广泛关注。虽然有一些关于加速 ViT 的研究,但它们很少考虑资源限制和过程中的多标准决策。本文将 ViT 修剪表述为一个大规模约束的多目标优化问题,并基于所建立的多目标优化模型提出了一个用于加速 ViT 的补丁修剪框架,称为 EvolutionViT。EvolutionViT 可以在资源限制条件下有效权衡计算成本和性能,在优化两个冲突目标的同时自动搜索解决方案。特别是,利用膝解法和边界解法直接指导整个进化过程,EvolutionViT 可以有效地找出满足资源约束的膝解法,从而避免了人工寻找良好权衡方案的过程。为了验证和评估我们提出的方法,我们在 ImageNet 数据集上比较了 EvolutionViT 和一些有代表性的 ViT 模型。综合仿真结果表明,与同类产品相比,我们提出的 EvolutionViT 具有竞争优势,在性能略有下降的情况下大幅降低了计算成本。
期刊介绍:
Informatics and Computer Science Intelligent Systems Applications is an esteemed international journal that focuses on publishing original and creative research findings in the field of information sciences. We also feature a limited number of timely tutorial and surveying contributions.
Our journal aims to cater to a diverse audience, including researchers, developers, managers, strategic planners, graduate students, and anyone interested in staying up-to-date with cutting-edge research in information science, knowledge engineering, and intelligent systems. While readers are expected to share a common interest in information science, they come from varying backgrounds such as engineering, mathematics, statistics, physics, computer science, cell biology, molecular biology, management science, cognitive science, neurobiology, behavioral sciences, and biochemistry.