Reproduce “Cryptanalytic Extraction of Neural Network Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Nicholas Carlini, Matthew Jagielski, Ilya Mironov

Researchers from Google, Northeastern, and Facebook developed a differential attack that re-frames neural network model extraction as a cryptanalytic problem, enabling the recovery of ReLU network parameters with floating-point precision. This method extracts models 2^20 times more precisely and with 100 times fewer queries than previous approaches, demonstrating practical, high-fidelity parameter recovery.

Key insights

  • The piecewise linear nature of ReLU neural networks makes them fundamentally vulnerable to cryptanalytic-style differential attacks for parameter extraction.
  • High-fidelity model extraction from black-box access is practically achievable with significantly fewer queries than prior art, challenging assumptions about model secrecy.
  • The ability to precisely extract model parameters implies that observing prediction outputs can reveal substantial information about the underlying model, impacting secure inference protocols.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.