cs.LGOct 24, 2026

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

Authors: Biprarshi Biswas, Arya Anshuman Ojha, Yubaraj Das, Devansh Khosla, Kamran Rais, Saankhya Samanta, Subhamoy Maitra, Pantelimon Stanica

Organizations: 1*Jadavpur University, Kolkata, India. · 2*National Institute of Science Education and Research, Bhubaneswar, India. · 3*Institute of Mathematics and Application, Bhubaneswar, India. · 4*Indian Institute of Technology, Kharagpur, India. · 

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.98900.9890 to 0.99920.9992. On two CIFAR-10 victims, the reconstructed models achieve 56.40%56.40\% and 58.29%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.

Figures & tables

Explore similar work

CardsList
  1. End-to-End Hard-Label Cryptanalytic Model Extraction Using Efficient Sign Recovery

    Sep 18, 2026Akira Ito, Takayuki Miura, Yosuke TodoModel Extraction AttacksReLU Neural Networks

  2. Efficient Techniques for Data Reconstruction, with Finite-Width Recovery Guarantees

    May 7, 2026Edward Tansley, Roy Makhlouf, Estelle Massart +1Training Data Reconstruction AttacksRandom Feature Methods

  3. Layer-wise Input Recoverability in Deep Neural Networks

    Oct 9, 2026Maxwell Spiridonov, Alireza Rahmansetayesh, Pierre BaldiConvolutional Neural NetworksNeural Network Interpretability