mlsanityData to 7 Oct 2026

Decompiling x86 Deep Neural Network Executables

arXiv 2210.01075 ↗First posted 3 Oct 2022cs.CR cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Due to their widespread use on heterogeneous hardware devices, deep learning (DL) models are compiled into executables by DL compilers to fully leverage low-level hardware primitives. This approach allows DL computations to be undertaken at low cost across a variety of computing platforms, including CPUs, GPUs, and various hardware accelerators. We present BTD (Bin to DNN), a decompiler for deep neural network (DNN) executables. BTD takes DNN executables and outputs full model specifications, including types of DNN operators, network topology, dimensions, and parameters that are (nearly) identical to those of the input models. BTD delivers a practical framework to process DNN executables compiled by different DL compilers and with full optimizations enabled on x86 platforms. It employs learning-based techniques to infer DNN operators, dynamic analysis to reveal network architectures, and symbolic execution to facilitate inferring dimensions and parameters of DNN operators. Our evaluation reveals that BTD enables accurate recovery of full specifications of complex DNNs with millions of parameters (e.g., ResNet). The recovered DNN specifications can be re-compiled into a new DNN executable exhibiting identical behavior to the input executable. We show that BTD can boost two representative attacks, adversarial example generation and knowledge stealing, against DNN executables. We also demonstrate cross-architecture legacy code reuse using BTD, and envision BTD being used for other critical downstream tasks like DNN security hardening and patching.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 45 of its 116 references that are in the map. First posted on arXiv 3 Oct 2022.

Builds on

45 of 116 references.

References · 45

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  8. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  9. 2014Going Deeper with Convolutionscited by 4,231
  10. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  11. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  12. 2016Enriching Word Vectors with Subword Informationcited by 1,578
33 more
  1. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  2. 2016Practical Black-Box Attacks against Machine Learningcited by 893
  3. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  4. 2016Universal adversarial perturbationscited by 774
  5. 2016CNN Architectures for Large-Scale Audio Classificationcited by 701
  6. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  7. 2016Delving into Transferable Adversarial Examples and Black-box Attackscited by 530
  8. 2019Dreaming to Distill: Data-free Knowledge Transfer via DeepInversioncited by 419
  9. 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 285
  10. 2019Simple Black-box Adversarial Attackscited by 249
  11. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
  12. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  13. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  14. 2018Learning to Optimize Tensor Programscited by 138
  15. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  16. 2018Glow: Graph Lowering Compiler Techniques for Neural Networkscited by 73
  17. 2019Black-Box Adversarial Attack with Transferable Model-based Embeddingcited by 57
  18. 2018Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architecturescited by 56
  19. 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
  20. 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
  21. 2020The Deep Learning Compiler: A Comprehensive Surveycited by 46
  22. 2018Stealing Neural Networks via Timing Side Channelscited by 42
  23. 2020Hermes Attack: Steal DNN Models with Lossless Inference Accuracycited by 41
  24. 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
  25. 2019Hybrid Batch Attacks: Finding Black-box Adversarial Examples with Limited Queriescited by 33
  26. 2020Learning Black-Box Attackers with Transferable Priors and Query Feedbackcited by 32
  27. 2018Optimizing CNN Model Inference on CPUscited by 29
  28. 2019Open DNN Box by Power Side-Channel Attackcited by 28
  29. 2020Efficient Execution of Quantized Deep Learning Models: A Compiler Approachcited by 12
  30. 2020Two Sides of the Same Coin: White-box and Black-box Attacks for Transfer Learningcited by 9
  31. 2019Datalog Disassemblycited by 7
  32. 2020Stealing Black-Box Functionality Using The Deep Neural Tree Architecturecited by 3
  33. 2017Audio Scene Classification with Deep Recurrent Neural Networkscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 0; 2025: 3; 2026: 2.

7 papers.