[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-393911-105":3,"doc-detail-393911-en":81,"detail-sidebar-cat-0-en-105":116},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","detecting-adversarial-examples-is-nearly-as-hard-as-classifying-them-abstract","Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Them - Abstract","","Making classifiers robust to adversarial examples is a major challenge, so many studies focus on detecting perturbed inputs instead. The work establishes a hardness reduction: a robust detector for attacks at distance ϵ can be transformed into a similarly robust but computationally inefficient classifier for distance ϵ=2, while preserving sample complexity. This means detection success often implies stronger classification robustness than authors may anticipate. The paper reexamines 14 published detector defenses and shows that 12/14 imply highly robust, data-efficient classifiers far beyond prior state of the art.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/detecting-adversarial-examples-is-nearly-as-hard-as-classifying-them-abstract/393911/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/detecting-adversarial-examples-is-nearly-as-hard-as-classifying-them-abstract/393911.png","ImageObject",300,407,{"name":42,"@type":43},"EvelynWrites","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-09-26",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the main contribution of this paper?","Question",{"text":63,"@type":64},"The paper proves that robust detection of adversarial examples is (nearly) as hard as robust classification by establishing a hardness reduction between the two tasks.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the reduction relate detector robustness to classifier robustness?",{"text":68,"@type":64},"Given a robust detector for attacks at distance ϵ, the paper constructs an explicit but inefficient classifier robust for attacks at distance ϵ=2, preserving the detector’s sample complexity. The reverse implication also holds for detectors.",{"name":70,"@type":61,"acceptedAnswer":71},"Why do the authors revisit existing empirical detector defenses?",{"text":72,"@type":64},"They use the theoretical equivalence to reassess 14 published detector defenses, showing that in 12/14 cases the reported detection results would imply an inefficient classifier with robustness exceeding the state of the art.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},393911,1791331783,{"code":4,"msg":82,"data":83},"success",{"doc_id":79,"user_id":84,"nickname":42,"user_avatar":85,"doc_module":4,"category_id":86,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":87,"file_id":88,"file_url":89,"file_type":90,"file_size":91,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":92,"language":93,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":94,"faqs":95,"seo_title":96,"seo_description":12,"update_tm":97,"read_time":98,"preview_page_count":33,"preview_urls":99},687212989558,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd",8,"Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Them  \nFlorian Tramr 1 2  \nAbstract  \nMaking classiﬁers robust to adversarial examples is challenging. Thus, many works tackle the seemingly easier task of detecting perturbed inputs.  \nWe show a barrier towards this goal. We prove a hardness reduction between detection and classiﬁcation of adversarial examples: given a robust detector for attacks at distance 􀀏 (in some metric), we show how to build a similarly robust (but computationally inefﬁcient) classiﬁer for attacks at distance 􀀏=2 .  \nOur reduction is computationally inefﬁcient, but preserves the sample complexity of the original detector. The reduction thus cannot be directly used to build practical classiﬁers. Instead, it is a useful sanity check to test whether empirical detection results imply something much stronger than the authors presumably anticipated (namely a highly robust and data-efﬁcient classiﬁer) .  \nTo illustrate, we revisit 14 empirical detector defenses published over the past years. For 12=14 defenses, we show that the claimed detection results imply an inefﬁcient classiﬁer with robustness far beyond the state-of-the-art.  \n1. Introduction  \nBuilding models that are robust to adversarial examples (Szegedy et al., 2014 ; Biggio et al., 2013) is a major challenge and open problem in machine learning. Due to the inherent difﬁculty in building robust classiﬁers, researchers have attempted to build techniques to at least detect adversarial examples, a weaker task that is largely considered easier than robust classiﬁcation (Xu et al., 2018 ; Pang et al., 2021 ; Sheikholeslami et al., 2021) .  \n1 Google Research 2Work done while the author was at Stanford University. Correspondence to: Florian Tramr \u003C[tramer@cs.stanford.edu](tramer@cs.stanford.edu) > .  \nProceedings of the 39 th International Conference on Machine Learning, Baltimore, Maryland, USA, PMLR 162, 2022 . Copyright 2022 by the author(s) .  \nYet, evaluating the robustness of detector defenses is challenging. This is in part due to a lack of strong evaluation guidelines and benchmarks—akin to those developed for robust classiﬁers (Carlini et al., 2019 ; Croce et al., 2020)—as well as to a lack of long-standing comparative baselines such as adversarial training (Madry et al., 2018) . As a result, when a new detection defense is proposed, it can be hard to judge if the claimed empirical results are credible.  \nTo illustrate this challenge, consider the following (ﬁctitious) claims about two defenses against adversarial examples on CIFAR-10:  \n• defense A is a classiﬁer that claims robust accuracy of 90% under `1-perturbations bounded by 􀀏 = 4=255 ;  \n• defense B also has a “rejection” option, and claims robust accuracy of 90% under `1-perturbations bounded by 􀀏 = 8=255 (we say that defense B is robust for some example if it classiﬁes that example correctly, and either rejects/detects or correctly classiﬁes all perturbed examples at distance 􀀏.)  \nWhich of these two (empirical) claims are you more likely to believe to be correct?  \nDefense A claims much higher robustness than the current best results achieved with adversarial training (Madryet al., 2018 ; Rebufﬁ et al., 2021), the only empirical defense against adversarial examples that has stood the test of time. Indeed, the state-of-the-art `1 robustness for 􀀏 = 4=255 on CIFAR-10 (without external data) is 􀀙 79%(Rebufﬁ et al., 2021) . Thus, the claim of defense A is likely to be met with initial skepticism and heightened scrutiny, as could be expected for such a claimed breakthrough result.  \nThe claim of defense B is harder to assess, due to a lack of long-standing baselines for robust detectors (many detection defenses have been shown to be broken (Carlini & Wagner, 2017 ; Tramr et al., 2020)) . On one hand, detection of adversarial examples has largely been considered tobe an easier task than classiﬁcation (Xu et al., 2018 ; Panget al., 2021 ; Sheikholeslami et al., 2021) . On the ","cbCaimnpQkI4Uwcw","https://ap.wps.com/l/cbCaimnpQkI4Uwcw","pdf",315419,11,"English","# Abstract\n# Introduction\n## Motivation: Robust classification vs detection\n## Hardness reduction result\n## Implications for evaluating detector defenses","[{\"question\":\"What is the main contribution of this paper?\",\"answer\":\"The paper proves that robust detection of adversarial examples is (nearly) as hard as robust classification by establishing a hardness reduction between the two tasks.\"},{\"question\":\"How does the reduction relate detector robustness to classifier robustness?\",\"answer\":\"Given a robust detector for attacks at distance ϵ, the paper constructs an explicit but inefficient classifier robust for attacks at distance ϵ=2, preserving the detector’s sample complexity. The reverse implication also holds for detectors.\"},{\"question\":\"Why do the authors revisit existing empirical detector defenses?\",\"answer\":\"They use the theoretical equivalence to reassess 14 published detector defenses, showing that in 12/14 cases the reported detection results would imply an inefficient classifier with robustness exceeding the state of the art.\"}]","Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Them - Abstract | PDF",1790396122,28,[100,104,108,112],{"page_no":22,"url":101,"width":102,"height":103},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/8311970360bc16f307b4b42da96abbd3.webp",983,1272,{"page_no":26,"url":105,"width":106,"height":107},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4a90393b1796f91068964653fb2f262a.webp",982,1270,{"page_no":30,"url":109,"width":110,"height":111},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9c28df314baa3d941fb6fa160b3c48a1.webp",981,1269,{"page_no":33,"url":113,"width":114,"height":115},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/66ce561b139c96af18e6811a935b15d6.webp",980,1268,{"code":4,"msg":82,"data":117},[118,122,126,130,135,140,144,147,152,155,159],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":120,"slug":121},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":124,"slug":125},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":128,"slug":129},"Exam",70,"exam",{"id":131,"doc_module":4,"doc_module_name":25,"category_name":132,"show_sort_weight":133,"slug":134},5,"Comic",60,"comic",{"id":136,"doc_module":4,"doc_module_name":25,"category_name":137,"show_sort_weight":138,"slug":139},6,"Technology",50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":141,"show_sort_weight":142,"slug":143},"Healthcare",40,"healthcare",{"id":86,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":145,"slug":146},30,"research-report",{"id":148,"doc_module":4,"doc_module_name":25,"category_name":149,"show_sort_weight":150,"slug":151},9,"Religion & Spirituality",20,"religion-spirituality",{"id":150,"doc_module":4,"doc_module_name":25,"category_name":153,"show_sort_weight":150,"slug":154},"World Cup","world-cup",{"id":156,"doc_module":4,"doc_module_name":25,"category_name":157,"show_sort_weight":156,"slug":158},10,"Lifestyle","lifestyle",{"id":160,"doc_module":4,"doc_module_name":25,"category_name":161,"show_sort_weight":131,"slug":162},19,"General","general"]