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

DevFeed: [Extraction meets Distillation - cryptanalytic techniques to recover parameters from a Deep Neural Network](<https://devfeed.tech/articles/extraction-meets-distillation-cryptanalytic-techniques-to-recover-parameters-from-a-deep-neural-network-101405.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.33671>)

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

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [Neural Network](<https://devfeed.tech/topics/neural-network.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Deep learning](<https://devfeed.tech/topics/deep-learning.md>), [mlp](<https://devfeed.tech/topics/mlp.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [ai security](<https://devfeed.tech/topics/ai-security.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [cifar-10](<https://devfeed.tech/tags/cifar-10.md>), [compare](<https://devfeed.tech/tags/compare.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deep](<https://devfeed.tech/tags/deep.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [fully-connected](<https://devfeed.tech/tags/fully-connected.md>), [functional](<https://devfeed.tech/tags/functional.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [independent](<https://devfeed.tech/tags/independent.md>), [layer](<https://devfeed.tech/tags/layer.md>), [network](<https://devfeed.tech/tags/network.md>), [neural](<https://devfeed.tech/tags/neural.md>), [neural-network](<https://devfeed.tech/tags/neural-network.md>), [recover](<https://devfeed.tech/tags/recover.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

## AI overview

The study combines cryptanalytic weight-direction extraction with label-based learning to reconstruct fully connected neural networks, while separating label requests from privileged access to gradients, hidden activations, and victim parameters. Its adapted Leaky ReLU extraction recovers 51-57 neurons in the deepest layer of the largest synthetic architecture across eight search seeds, whereas ReLU recovers none; the advantage is not consistent across architectures and layers. Removing victim-weight access from sign selection reduces sign accuracy despite high prediction agreement. On two small synthetic victims, agreement on 5,000 inputs excluded from fitting and selection ranges from 0.9890 to 0.9992 across 40 runs. On two CIFAR-10 victims, agreement is 56.40% and 58.29%, with the reconstructions outperforming a distillation baseline on three functional metrics. The authors caution that prediction agreement does not establish parameter recovery.

## Source excerpt

arXiv:2610.33671v1 Announce Type: cross 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.