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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers4
- Agnostically Learning Multi-Index Models with QueriesIlias Diakonikolas, Daniel M. Kane, Vasilis Kontonis, Christos Tzamos et al.FOCS 2024 · 2 citations
- Navigating the Deep: End-to-End Extraction on Deep Neural NetworksHaolin Liu, Adrien Siproudhis, Samuel Experton, Peter Lorenz et al.EUROCRYPT 2026 · 2 citations
- Provably Learning Attention with QueriesSatwik Bhattamishra, Kulin Shah, Michael Hahn, Varun KanadeICML 2026
- Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial?Akira Ito, Takayuki Miura, Yosuke TodoCRYPTO 2026
Builds on5
- Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
- Reverse-engineering deep ReLU networksDavid Rolnick, Konrad P. KordingICML 2020 · 121 citations
- Cryptanalytic Extraction of Neural Network ModelsNicholas Carlini, Matthew Jagielski, Ilya MironovCRYPTO 2020 · 109 citations
- High Accuracy and High Fidelity Extraction of Neural NetworksMatthew Jagielski, Nicholas Carlini, David Berthelot, Alex Kurakin et al.USENIX Security 2020
- The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural NetworksYuheng Zhang, Ruoxi Jia, Hengzhi Pei, Wenxiao Wang et al.CVPR 2020
Related papers
- Efficiently Learning One Hidden Layer ReLU Networks From QueriesSitan Chen, Adam R. Klivans, Raghu MekaNeurIPS 2021 · 8 citations
- Efficient Algorithms for Learning Depth-2 Neural Networks with General ReLU ActivationsPranjal Awasthi, Alex Tang, Aravindan VijayaraghavanNeurIPS 2021 · 24 citations
- 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
- 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
- Hardness of Noise-Free Learning for Two-Hidden-Layer Neural NetworksSitan Chen, Aravind Gollakota, Adam R. Klivans, Raghu MekaNeurIPS 2022 · 37 citations
