[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-510066-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-510066-en":130},{"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","dnd-a-cross-architecture-deep-neural-network-decompiler","DnD: A Cross-Architecture Deep Neural Network Decompiler","","Deep Neural Networks are increasingly compiled into edge-device binaries for performance, but security techniques that rely on source-level access fail on compiled models. DnD proposes a compiler- and ISA-agnostic DNN decompiler that lifts analyzed binaries into a novel intermediate representation via symbolic execution and loop analysis, then matches lifted operations to template DNN operators. It recovers operator hyper-parameters, parameters, and overall topology. Evaluation shows perfect recovery across compilers and ISAs and enables extracting real micro-controller DNNs for white-box adversarial attacks.",{"@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/dnd-a-cross-architecture-deep-neural-network-decompiler/510066/",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/dnd-a-cross-architecture-deep-neural-network-decompiler/510066.png","ImageObject",300,407,{"name":42,"@type":43},"Franzy","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-10-05",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does DnD address?","Question",{"text":63,"@type":64},"DnD addresses the lack of a decompiler that can recover a high-level representation of a compiled DNN from its binary code.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does DnD recover DNN models from binaries?",{"text":68,"@type":64},"It uses symbolic execution with loop analysis to lift binary code into an ISA- and compiler-agnostic intermediate representation, then matches extracted operations to template DNN operations.",{"name":70,"@type":61,"acceptedAnswer":71},"What does DnD recover from a compiled DNN?",{"text":72,"@type":64},"It recovers operator types and locations, hyper-parameters and parameters of identified operators, and the overall DNN topology.","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},510066,1791409660,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":55,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":127,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},2336478945519,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","DnD: A Cross-Architecture Deep Neural  \nNetwork Decompiler  \nRuoyu Wu, Purdue University; Taegyu Kim, The Pennsylvania State University; Dave (Jing) Tian, Antonio Bianchi, and Dongyan Xu, Purdue University  \n[https://www.usenix.org/conference/usenixsecurity22/presentation/wu-ruoyu](https://www.usenix.org/conference/usenixsecurity22/presentation/wu-ruoyu)  \nThis paper is included in the Proceedings of the 31st USENIX Security Symposium.  \nAugust 10–12, 2022 • Boston, MA, USA  \n978-1-939133-31-1  \nOpen access to the Proceedings of the 31st USENIX Security Symposium is sponsored by USENIX .  \nDnD: A Cross-Architecture Deep Neural Network Decompiler  \nRuoyu Wu 1 , Taegyu Kim2 , Dave (Jing) Tian 1 , Antonio Bianchi 1 , and Dongyan Xu 1  \n1Purdue University, 2 The Pennsylvania State University  \n{wu1377, daveti, antoniob, [dxu}@purdue.edu](dxu}@purdue.edu), [tgkim@psu.edu](tgkim@psu.edu)  \nAbstract  \nThe usage of Deep Neural Networks (DNNs) has steadily increased in recent years. Especially when used in edge devices, dedicated DNN compilers are used to compile DNNs into binaries. Many security applications (such as DNN model extraction, white-box adversarial sample generation, and DNN model patching and hardening) are possible when a DNN model is accessible. However, these techniques cannot be applied to compiled DNNs. Unfortunately, no dedicated decompiler exists that is able to recover a high-level representation of a DNN starting from its compiled binary code.  \nTo address this issue, we propose DND, the ﬁrst compilerand ISA-agnostic DNN decompiler. DND uses symbolic execution, in conjunction with a dedicated loop analysis, to lift the analyzed binary code into a novel intermediate representation, able to express the high-level mathematical DNN operations in a compiler-and ISA-agnostic way. Then, DND matches the extracted mathematical DNN operations with template mathematical DNN operations, and it recovers hyper-parameters and parameters of all the identiﬁed DNN operators, as well asthe overall DNN topology. Our evaluation shows that DND can perfectly recover diﬀerent DNN models, extracting them from binaries compiled by two diﬀerent compilers (Glow and TVM) for three diﬀerentISAs (Thumb, AArch64, and x86-64) . Moreover, DND enables extracting the DNN models used by real-world micro-controllers and attacking them using whitebox adversarial machine learning techniques.  \n1 Introduction  \nDeep Neural Networks (DNNs) have become a fundamental component for a number of usage scenarios, ranging from cloud services to IoT applications [13, 38]. While the training of DNNs is usually performed on GPUs or TPUs [17], DNNscan be deployed on general purposes CPUs and MCUs in a variety of devices, such as IoT devices and embedded systems. In these cases, DNNs are typically compiled into binary code using dedicated compilers, such as TVM [7] and Glow [30], exploiting local instruction set architectures’ (ISAs) features  \nand performance optimizations.  \nAn increasing usage of DNN compilers is in edge devices, such as micro-controllers [1, 16, 38, 44, 45] and mobile phones [53] . For instance, micro-controllers use compiled DNN binaries, like the NXP Semiconductors EdgeReady Solution [43], to perform diverse tasks such as secure face recognition, speech recognition, and voice control. A recent forecast estimates that 98% of edge devices will have intelligence features, typically powered by DNNs, by 2025 [38] .  \nWhile several tools are available to decompile binary code back to its original source code [5, 21, 33, 57], no existing approach can recover a high-level description of a compiled DNN. As the ability to decompile binary code has enabled several security applications (and decompilers have become part of the standard tool set of security analysts), likewise extracting DNN models from their compiled binary code enables a variety of security applications, including DNN model extraction and analysis (both manual and automatic), white-box a","cbCais9Ou1TPS4OL","https://ap.wps.com/l/cbCais9Ou1TPS4OL","pdf",942188,"English","# Abstract\n# Introduction","[{\"question\":\"What problem does DnD address?\",\"answer\":\"DnD addresses the lack of a decompiler that can recover a high-level representation of a compiled DNN from its binary code.\"},{\"question\":\"How does DnD recover DNN models from binaries?\",\"answer\":\"It uses symbolic execution with loop analysis to lift binary code into an ISA- and compiler-agnostic intermediate representation, then matches extracted operations to template DNN operations.\"},{\"question\":\"What does DnD recover from a compiled DNN?\",\"answer\":\"It recovers operator types and locations, hyper-parameters and parameters of identified operators, and the overall DNN topology.\"}]","DnD: A Cross-Architecture Deep Neural Network Decompiler | PDF",1791238887,48,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/127a61e315c7a53ad325176a18a7ed30.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f654a4699375d5ffe4e4dfb8cbcd7449.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3ad26b67a791ca498418e7f1527412dd.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/203280336fc2afdbc005bc441518f96d.webp",980,1268]