Vision Transformer Pruning

Vision transformer has achieved competitive performance on a variety of computer vision applications. However, their storage, run-time memory, and computational demands are hindering the deployment to mobile devices. Here we present a vision transformer pruning approach, which identifies the impacts...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhu, Mingjian, Tang, Yehui, Han, Kai
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Zhu, Mingjian
Tang, Yehui
Han, Kai
description Vision transformer has achieved competitive performance on a variety of computer vision applications. However, their storage, run-time memory, and computational demands are hindering the deployment to mobile devices. Here we present a vision transformer pruning approach, which identifies the impacts of dimensions in each layer of transformer and then executes pruning accordingly. By encouraging dimension-wise sparsity in the transformer, important dimensions automatically emerge. A great number of dimensions with small importance scores can be discarded to achieve a high pruning ratio without significantly compromising accuracy. The pipeline for vision transformer pruning is as follows: 1) training with sparsity regularization; 2) pruning dimensions of linear projections; 3) fine-tuning. The reduced parameters and FLOPs ratios of the proposed algorithm are well evaluated and analyzed on ImageNet dataset to demonstrate the effectiveness of our proposed method.
doi_str_mv 10.48550/arxiv.2104.08500
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2104_08500</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2104_08500</sourcerecordid><originalsourceid>FETCH-LOGICAL-a670-52d1a42920fb31d0e10adc01adb80a09a87a620592ece210ca6f3cfdc8d213293</originalsourceid><addsrcrecordid>eNotzrsOgjAYhuEuDga9AF3kBsC_LYUyGuIpMdGBuJKfHkwTAVOi0btX0enb3u8hZEYhTqQQsET_dI-YUUhikAJgTOZn17uuDUuPbW873xgfnvy9de1lQkYWr72Z_jcg5WZdFrvocNzui9UhwjSDSDBNMWE5A1tzqsFQQK2Aoq4lIOQoM0wZiJwZZT7PClPLldVKakY5y3lAFr_sgKtu3jXoX9UXWQ1I_gYfIjXg</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Vision Transformer Pruning</title><source>arXiv.org</source><creator>Zhu, Mingjian ; Tang, Yehui ; Han, Kai</creator><creatorcontrib>Zhu, Mingjian ; Tang, Yehui ; Han, Kai</creatorcontrib><description>Vision transformer has achieved competitive performance on a variety of computer vision applications. However, their storage, run-time memory, and computational demands are hindering the deployment to mobile devices. Here we present a vision transformer pruning approach, which identifies the impacts of dimensions in each layer of transformer and then executes pruning accordingly. By encouraging dimension-wise sparsity in the transformer, important dimensions automatically emerge. A great number of dimensions with small importance scores can be discarded to achieve a high pruning ratio without significantly compromising accuracy. The pipeline for vision transformer pruning is as follows: 1) training with sparsity regularization; 2) pruning dimensions of linear projections; 3) fine-tuning. The reduced parameters and FLOPs ratios of the proposed algorithm are well evaluated and analyzed on ImageNet dataset to demonstrate the effectiveness of our proposed method.</description><identifier>DOI: 10.48550/arxiv.2104.08500</identifier><language>eng</language><subject>Computer Science - Computer Vision and Pattern Recognition</subject><creationdate>2021-04</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2104.08500$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2104.08500$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Zhu, Mingjian</creatorcontrib><creatorcontrib>Tang, Yehui</creatorcontrib><creatorcontrib>Han, Kai</creatorcontrib><title>Vision Transformer Pruning</title><description>Vision transformer has achieved competitive performance on a variety of computer vision applications. However, their storage, run-time memory, and computational demands are hindering the deployment to mobile devices. Here we present a vision transformer pruning approach, which identifies the impacts of dimensions in each layer of transformer and then executes pruning accordingly. By encouraging dimension-wise sparsity in the transformer, important dimensions automatically emerge. A great number of dimensions with small importance scores can be discarded to achieve a high pruning ratio without significantly compromising accuracy. The pipeline for vision transformer pruning is as follows: 1) training with sparsity regularization; 2) pruning dimensions of linear projections; 3) fine-tuning. The reduced parameters and FLOPs ratios of the proposed algorithm are well evaluated and analyzed on ImageNet dataset to demonstrate the effectiveness of our proposed method.</description><subject>Computer Science - Computer Vision and Pattern Recognition</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotzrsOgjAYhuEuDga9AF3kBsC_LYUyGuIpMdGBuJKfHkwTAVOi0btX0enb3u8hZEYhTqQQsET_dI-YUUhikAJgTOZn17uuDUuPbW873xgfnvy9de1lQkYWr72Z_jcg5WZdFrvocNzui9UhwjSDSDBNMWE5A1tzqsFQQK2Aoq4lIOQoM0wZiJwZZT7PClPLldVKakY5y3lAFr_sgKtu3jXoX9UXWQ1I_gYfIjXg</recordid><startdate>20210417</startdate><enddate>20210417</enddate><creator>Zhu, Mingjian</creator><creator>Tang, Yehui</creator><creator>Han, Kai</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20210417</creationdate><title>Vision Transformer Pruning</title><author>Zhu, Mingjian ; Tang, Yehui ; Han, Kai</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a670-52d1a42920fb31d0e10adc01adb80a09a87a620592ece210ca6f3cfdc8d213293</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Computer Science - Computer Vision and Pattern Recognition</topic><toplevel>online_resources</toplevel><creatorcontrib>Zhu, Mingjian</creatorcontrib><creatorcontrib>Tang, Yehui</creatorcontrib><creatorcontrib>Han, Kai</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Zhu, Mingjian</au><au>Tang, Yehui</au><au>Han, Kai</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Vision Transformer Pruning</atitle><date>2021-04-17</date><risdate>2021</risdate><abstract>Vision transformer has achieved competitive performance on a variety of computer vision applications. However, their storage, run-time memory, and computational demands are hindering the deployment to mobile devices. Here we present a vision transformer pruning approach, which identifies the impacts of dimensions in each layer of transformer and then executes pruning accordingly. By encouraging dimension-wise sparsity in the transformer, important dimensions automatically emerge. A great number of dimensions with small importance scores can be discarded to achieve a high pruning ratio without significantly compromising accuracy. The pipeline for vision transformer pruning is as follows: 1) training with sparsity regularization; 2) pruning dimensions of linear projections; 3) fine-tuning. The reduced parameters and FLOPs ratios of the proposed algorithm are well evaluated and analyzed on ImageNet dataset to demonstrate the effectiveness of our proposed method.</abstract><doi>10.48550/arxiv.2104.08500</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2104.08500
ispartof
issn
language eng
recordid cdi_arxiv_primary_2104_08500
source arXiv.org
subjects Computer Science - Computer Vision and Pattern Recognition
title Vision Transformer Pruning
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-27T23%3A41%3A46IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Vision%20Transformer%20Pruning&rft.au=Zhu,%20Mingjian&rft.date=2021-04-17&rft_id=info:doi/10.48550/arxiv.2104.08500&rft_dat=%3Carxiv_GOX%3E2104_08500%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true