Lune

ICLR2023Top-tier venue

An Exact Poly-Time Membership-Queries Algorithm for Extracting a Three-Layer ReLU Network

Amit Daniely, Elad Granot

Abstract

We consider the natural problem of learning a ReLU network from queries, which was recently remotivated by model extraction attacks. In this work, we present a polynomial-time algorithm that can learn a depth-two ReLU network from queries under mild general position assumptions. We also present a polynomial-time algorithm that, under mild general position assumptions, can learn a rich class of depth-three ReLU networks from queries. For instance, it can learn most networks where the number of first layer neurons is smaller than the dimension and the number of second layer neurons. These two results substantially improve state-of-the-art: Until our work, polynomial-time algorithms were only shown to learn from queries depth-two networks under the assumption that either the underlying distribution is Gaussian (Chen et al. ( 2021 )) or that the weights matrix rows are linearly independent (Milli et al. (2019) ). For depth three or more, there were no known poly-time results.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Provably Learning Attention with Queries cites High Accuracy and High Fidelity Extraction of Neural Networks
  • Provably Learning Attention with Queries cites Stealing Machine Learning Models via Prediction APIs
  • High Accuracy and High Fidelity Extraction of Neural Networks cites Stealing Machine Learning Models via Prediction APIs
  • Cryptanalytic Extraction of Neural Network Models cites High Accuracy and High Fidelity Extraction of Neural Networks
  • Cryptanalytic Extraction of Neural Network Models cites Stealing Machine Learning Models via Prediction APIs
  • Cryptanalytic Extraction of Neural Network Models cites Reverse-engineering deep ReLU networks
  • Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? cites High Accuracy and High Fidelity Extraction of Neural Networks
  • Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? cites Cryptanalytic Extraction of Neural Network Models
  • Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? cites Stealing Machine Learning Models via Prediction APIs
  • Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? cites Reverse-engineering deep ReLU networks
  • Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? cites Navigating the Deep: End-to-End Extraction on Deep Neural Networks
  • Agnostically Learning Multi-Index Models with Queries cites High Accuracy and High Fidelity Extraction of Neural Networks
  • Agnostically Learning Multi-Index Models with Queries cites Stealing Machine Learning Models via Prediction APIs
  • Agnostically Learning Multi-Index Models with Queries cites Reverse-engineering deep ReLU networks
  • Navigating the Deep: End-to-End Extraction on Deep Neural Networks cites High Accuracy and High Fidelity Extraction of Neural Networks
  • Navigating the Deep: End-to-End Extraction on Deep Neural Networks cites Cryptanalytic Extraction of Neural Network Models
  • Navigating the Deep: End-to-End Extraction on Deep Neural Networks cites Stealing Machine Learning Models via Prediction APIs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Agnostically Learning Multi-Index Models with QueriesIlias Diakonikolas, Daniel M. Kane, Vasilis Kontonis, Christos Tzamos et al.FOCS 2024 · 2 citations
  2. Navigating the Deep: End-to-End Extraction on Deep Neural NetworksHaolin Liu, Adrien Siproudhis, Samuel Experton, Peter Lorenz et al.EUROCRYPT 2026 · 2 citations
  3. Provably Learning Attention with QueriesSatwik Bhattamishra, Kulin Shah, Michael Hahn, Varun KanadeICML 2026
  4. Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial?Akira Ito, Takayuki Miura, Yosuke TodoCRYPTO 2026

Builds on5

  1. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
  2. Reverse-engineering deep ReLU networksDavid Rolnick, Konrad P. KordingICML 2020 · 121 citations
  3. Cryptanalytic Extraction of Neural Network ModelsNicholas Carlini, Matthew Jagielski, Ilya MironovCRYPTO 2020 · 109 citations
  4. High Accuracy and High Fidelity Extraction of Neural NetworksMatthew Jagielski, Nicholas Carlini, David Berthelot, Alex Kurakin et al.USENIX Security 2020
  5. The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural NetworksYuheng Zhang, Ruoxi Jia, Hengzhi Pei, Wenxiao Wang et al.CVPR 2020

Related papers

  1. Efficiently Learning One Hidden Layer ReLU Networks From QueriesSitan Chen, Adam R. Klivans, Raghu MekaNeurIPS 2021 · 8 citations
  2. Efficient Algorithms for Learning Depth-2 Neural Networks with General ReLU ActivationsPranjal Awasthi, Alex Tang, Aravindan VijayaraghavanNeurIPS 2021 · 24 citations
  3. Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label SettingNicholas Carlini, Jorge Chávez-Saab, Anna Hambitzer, Francisco Rodríguez-Henríquez et al.EUROCRYPT 2025 · 10 citations
  4. Polynomial Time Cryptanalytic Extraction of Neural Network ModelsIsaac Andrés Canales Martinez, Jorge Chávez-Saab, Anna Hambitzer, Francisco Rodríguez-Henríquez et al.EUROCRYPT 2024 · 13 citations
  5. Hardness of Noise-Free Learning for Two-Hidden-Layer Neural NetworksSitan Chen, Aravind Gollakota, Adam R. Klivans, Raghu MekaNeurIPS 2022 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines