mlsanityData to 14 Oct 2026

Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting

arXiv 2410.05750 ↗First posted 8 Oct 2024cs.CR cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Deep neural networks (DNNs) are valuable assets, yet their public accessibility raises security concerns about parameter extraction by malicious actors. Recent work by Carlini et al. (crypto'20) and Canales-Mart'inez et al. (eurocrypt'24) has drawn parallels between this issue and block cipher key extraction via chosen plaintext attacks. Leveraging differential cryptanalysis, they demonstrated that all the weights and biases of black-box ReLU-based DNNs could be inferred using a polynomial number of queries and computational time. However, their attacks relied on the availability of the exact numeric value of output logits, which allowed the calculation of their derivatives. To overcome this limitation, Chen et al. (asiacrypt'24) tackled the more realistic hard-label scenario, where only the final classification label (e.g., "dog" or "car") is accessible to the attacker. They proposed an extraction method requiring a polynomial number of queries but an exponential execution time. In addition, their approach was applicable only to a restricted set of architectures, could deal only with binary classifiers, and was demonstrated only on tiny neural networks with up to four neurons split among up to two hidden layers. This paper introduces new techniques that, for the first time, achieve cryptanalytic extraction of DNN parameters in the most challenging hard-label setting, using both a polynomial number of queries and polynomial time. We validate our approach by extracting nearly one million parameters from a DNN trained on the CIFAR-10 dataset, comprising 832 neurons in four hidden layers. Our results reveal the surprising fact that all the weights of a ReLU-based DNN can be efficiently determined by analyzing only the geometric shape of its decision boundaries.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 12 of its 29 references that are in the map. First posted on arXiv 8 Oct 2024.

Builds on

12 of 29 references.

References · 12

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2016Stealing Machine Learning Models via Prediction APIscited by 619
  3. 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 214
  4. 2018Model Reconstruction from Model Explanationscited by 86
  5. 2019Reverse-Engineering Deep ReLU Networkscited by 83
  6. 2020Cryptanalytic Extraction of Neural Network Modelscited by 68
  7. 2015How far can we go without convolution: Improving fully-connected networkscited by 20
  8. 2023Polynomial Time Cryptanalytic Extraction of Neural Network Modelscited by 17
  9. 2023Expand-and-Cluster: Parameter Recovery of Neural Networkscited by 15
  10. 2021An Exact Poly-Time Membership-Queries Algorithm for Extraction a three-Layer ReLU Networkcited by 11
  11. 2024Beyond Slow Signs in High-fidelity Model Extractioncited by 7
  12. 2024Hard-Label Cryptanalytic Extraction of Neural Network Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 3.

9 papers.