Paper 2026/2628

Extraction meets Distillation - cryptanalytic techniques to recover parameters from a Deep Neural Network

Biprarshi Biswas, Jadavpur University
Arya Anshuman Ojha, National Institute of Science Education and Research
Yubaraj Das, Jadavpur University
Devansh Khosla, Institute of Mathematics and Application
Kamran Rais, Institute of Mathematics and Application
Saankhya Samanta, Indian Institute of Technology Kharagpur
Subhamoy Maitra, Indian Statistical Institute
Pantelimon Stanica, Naval Postgraduate School
Abstract

We study fully connected neural-network reconstruction by combining cryptanalytic weight-direction extraction with learning from predicted labels. We adapt a ReLU extraction implementation to Leaky ReLU, compare sign-search methods, and estimate biases and output layers. We prove conditional bounds for direction recovery with approximate prefixes, preservation of local distance votes, prediction changes from aligned parameter errors, and sign selection with independent scoring data. We also specify exact row restoration and distinguish its guarantee from that of gradient masking. The experiments evaluate assisted extraction, with privileged access to gradients, hidden activations, and victim parameters, followed by label-based reconstruction. Across eight search seeds on the largest synthetic architecture, Leaky ReLU recovers 51--57 neurons in the deepest hidden layer, while ReLU recovers none. This advantage does not hold uniformly across architectures and layers. Removing victim-weight access from the sign walk gives less accurate signs, despite high final prediction agreement. Across 40 seeded runs on the two smallest synthetic victims, agreement on 5,000 inputs excluded from fitting and selection ranges from $0.9890$ to $0.9992$. On two CIFAR-10 victims, the reconstructed models achieve $56.40\%$ and $58.29\%$ agreement and exceed the distillation baseline on three functional metrics. We report label requests separately from privileged access and explain why prediction agreement does not identify network parameters.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published elsewhere. Major revision. CSCML 2026
Keywords
Machine LearningDeep Neural Networks (DNNs)Parameter ExtractionRectified Linear Unit (ReLU)Leaky ReLU
Contact author(s)
biprarshib @ gmail com
kalingasandhababun @ gmail com
yyubarajddas9876 @ gmail com
devanshkhosla289 @ gmail com
rayeeskamran6 @ gmail com
saankhya samanta99 @ gmail com
maitra subhamoy @ gmail com
pstanica @ gmail com
History
2026-10-26: approved
2026-10-24: received
See all versions
Short URL
https://ia.cr/2026/2628
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/2628,
      author = {Biprarshi Biswas and Arya Anshuman Ojha and Yubaraj Das and Devansh Khosla and Kamran Rais and Saankhya Samanta and Subhamoy Maitra and Pantelimon Stanica},
      title = {Extraction meets Distillation - cryptanalytic techniques to recover parameters from a Deep Neural Network},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2628},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2628}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.