Paper 2026/2628

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

Biprarshi Biswas
Arya Anshuman Ojha
Yubaraj Das
Devansh Khosla
Kamran Rais
Saankhya Samanta
Subhamoy Maitra
Pantelimon Stanica
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.

PDF
BibTeX
ePrint ↗
@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}
}
Category
Attacks and cryptanalysis
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy