[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-400058-105":59,"doc-detail-400058-en":131},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","attacking-transformers-with-feature-diversity-adversarial-perturbation","Attacking Transformers with Feature Diversity Adversarial Perturbation","","Understanding the mechanisms behind Vision Transformer (ViT), especially vulnerability to adversarial perturbations, is vital for robust real-world deployment. Existing ViT adversarial methods often use labels to compute gradients, which limits cross-structure transferability. This work introduces a label-free white-box attack for ViT models, leveraging feature-collapse dynamics caused by attention overreliance on low-frequency components. The proposed feature diversity attacker accelerates collapse and achieves strong transferability across ViT variants, CNNs, MLPs, and even models for other modalities.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/attacking-transformers-with-feature-diversity-adversarial-perturbation/400058/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/attacking-transformers-with-feature-diversity-adversarial-perturbation/400058.png","ImageObject",300,407,{"name":92,"@type":93},"8796093062539","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-09-27",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",12,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why do existing ViT adversarial attackers have limited transferability?","Question",{"text":113,"@type":114},"They typically rely on classification labels to compute gradient directions, which can break transferability when the black-box model uses different label partitions or operates in a different domain.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What idea drives the proposed label-free white-box attack?",{"text":118,"@type":114},"It is inspired by the feature collapse phenomenon in ViTs, where attention overly depends on low-frequency features, making middle-to-end layer features become increasingly similar and collapse.",{"name":120,"@type":111,"acceptedAnswer":121},"How does the feature diversity attacker improve results on black-box models?",{"text":122,"@type":114},"By accelerating feature collapse, it reduces feature diversity and strengthens transferability, achieving notable performance across many black-box architectures including ViTs, CNNs, and MLPs.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},400058,1790820846,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":66,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":44,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":19,"preview_urls":145},8796093062539,"Attacking Transformers with Feature Diversity Adversarial Perturbation  \nChenxing Gao1 , Hang Zhou1 , Junqing Yu1 , YuTeng Ye1 , Jiale Cai1 , Junle Wang2 , Wei Yang1 *  \n1Huazhong University of Science and Technology, Wuhan, China  \n2Tencent  \n{cxg, henrryzh,yjqing, yuteng ye, jaile cai, [weiyangcs](weiyangcs}@hust.edu.cn)[}](weiyangcs}@hust.edu.cn)[@hust.edu.cn](weiyangcs}@hust.edu.cn); [wangjunle@gmail.com](wangjunle@gmail.com) ;  \narXiv :2403 .07942v1 [ cs .CR] 10 Mar 2024  \nAbstract  \nUnderstanding the mechanisms behind Vision Transformer (ViT), particularly its vulnerability to adversarial perturbations, is crucial for addressing challenges in its real-world applications. Existing ViT adversarial attackers rely on labels to calculate the gradient for perturbation, and exhibit low transferability to other structures and tasks. In this paper, we present a label-free white-box attack approach for ViT-based models that exhibits strong transferability to various blackbox models, including most ViT variants, CNNs, and MLPs, even for models developed for other modalities. Our inspiration comes from the feature collapse phenomenon in ViTs, where the critical attention mechanism overly depends on the low-frequency component of features, causing the features in middle-to-end layers to become increasingly similar and eventually collapse. We propose the feature diversity attacker to naturally accelerate this process and achieve remarkable performance and transferability.  \nIntroduction  \nThe Vision Transformer (ViT) has gained significant attention in recent years for its outstanding performance in various computer vision tasks such as object detection (Beal et al. 2020; Carion et al. 2020), semantic segmentation (Strudel et al. 2021; Zhu et al. 2021), human pose estimation (Xu et al. 2022; Zheng et al. 2021), scene understanding (Wu et al. 2022; Said et al. 2023) and etc. Understanding the mechanisms behind ViT, particularly its vulnerability to adversarial perturbations, is crucial for addressing challenges in its real-world applications. In general, adversarial attacks involve crafting small perturbations to input data to cause models to produce incorrect results with high confidence while being imperceptible to the human visual system. Existing adversarial attack approaches can be categorized as “white-box” or “black-box” based on whether the attacker has access to the network parameters. While white-box attacks require additional knowledge about network architecture and trained weights, they are valuable because perturbations obtained from a white-box model have the potential to be transferred to attack a black-box model, i.e., possessing cross-model transferability.  \n*indicates corresponding author.  \nCopyright © 2024, Association for the Advancement of Artificial Intelligence ([www.aaai.org](www.aaai.org)). All rights reserved.  \nInitially, adversarial attacks were studied on Convolutional Neural Network (CNN)-based models. The most commonly used methods are gradient-based approaches such as FGSM (Goodfellow, Shlens, and Szegedy 2014), BIM (Kurakin, Goodfellow, and Bengio 2016), and their variants MI (Dong et al. 2018), DI (Xie et al. 2019), NI (Lin et al. 2019) , to perturb the entire image (Kim 2020) or a small patch (Gao et al. 2020) in the same direction as the gradient of the cost function with respect to the data. Other approaches use optimization-based schemes that seek to minimize the distance between the original samples.  \nWith the increasing prevalence of ViT-based models, their sensitivity to adversarial attacks has become a hot research area. Recent studies have found that ViT-based models are still vulnerable to specially crafted perturbations (Hatamizadeh et al. 2022; Shi and Han 2021; Fu et al. 2022; Lovisotto et al. 2022) . Shi (Shi and Han 2021; Brown et al. 2017) propose Patch-wise Adversarial Removal (PAR) black-box method to attack ViT. Wei (Wei et al. 2022) propose to skip the gradient on the attention d","cbCailz7LANfG2nM","https://ap.wps.com/l/cbCailz7LANfG2nM","pdf",1276026,"English","## Abstract\n## Introduction","[{\"question\":\"Why do existing ViT adversarial attackers have limited transferability?\",\"answer\":\"They typically rely on classification labels to compute gradient directions, which can break transferability when the black-box model uses different label partitions or operates in a different domain.\"},{\"question\":\"What idea drives the proposed label-free white-box attack?\",\"answer\":\"It is inspired by the feature collapse phenomenon in ViTs, where attention overly depends on low-frequency features, making middle-to-end layer features become increasingly similar and collapse.\"},{\"question\":\"How does the feature diversity attacker improve results on black-box models?\",\"answer\":\"By accelerating feature collapse, it reduces feature diversity and strengthens transferability, achieving notable performance across many black-box architectures including ViTs, CNNs, and MLPs.\"}]","Attacking Transformers with Feature Diversity Adversarial Perturbation | PDF",1790507078,23,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/8e9ec369a28754f9610c2c0dd772bae0.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/02dc4d542a24cc8314d662ee789e0b3a.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/55d8a0ee61a04dca514818ad9df0ce80.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/f11dece4f744ec6de861467a1eaa96a0.webp",980,1268]