Navigating the Deep: End-to-End Extraction on Deep Neural Networks
Haolin Liu, Adrien Siproudhis, Samuel Experton, Peter Lorenz, Christina Boura, Thomas Peyrin
摘要
Neural network model extraction has recently emerged as an important security concern, as adversaries attempt to recover a network's parameters via black-box queries. Carlini et al. proposed in CRYPTO'20 a model extraction approach inspired by differential cryptanalysis, consisting of two steps: signature extraction, which extracts the absolute values of network weights layer by layer, and sign extraction, which determines the signs of these signatures. However, in practice this signature-extraction method is limited to very shallow networks only, and the proposed signextraction method is exponential in time. Recently, Canales-Martínez et al. (Eurocrypt'24) proposed a polynomial-time sign-extraction method, but it assumes the corresponding signatures have already been successfully extracted and can fail on so-called low-confidence neurons.
In this work, we first revisit and refine the signature extraction process by systematically identifying and addressing for the first time critical limitations of Carlini et al.'s signature-extraction method. These limitations include rank deficiency and noise propagation from deeper layers. To overcome these challenges, we propose efficient algorithmic solutions for each of the identified issues, greatly improving the capabilities of signature extraction. Our approach permits the extraction of much deeper networks than previously possible. In addition, we propose new methods to improve numerical precision in signature extraction, and enhance the sign extraction part by combining two polynomial methods to avoid exponential exhaustive search in the case of low-confidence neurons. This leads to the very first end-to-end model extraction method that runs in polynomial time. We validate our attack through extensive experiments on ReLU-based neural networks, demonstrating significant improvements in extraction depth. For instance, our attack extracts consistently at least eight layers of neural networks trained on either the MNIST or CIFAR-10 datasets, while previous works could barely extract the first three layers of networks of similar width. Our results represent a crucial step toward practical attacks on larger and more complex neural network architectures.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Beyond Slow Signs in High-fidelity Model Extraction 引用了 Cryptanalytic Extraction of Neural Network Models
- Beyond Slow Signs in High-fidelity Model Extraction 引用了 Expand-and-Cluster: Parameter Recovery of Neural Networks
- Beyond Slow Signs in High-fidelity Model Extraction 引用了 Stealing Machine Learning Models via Prediction APIs
- Algebraic Attack on Convolutional Neural Networks with Max Pooling 引用了 Beyond Slow Signs in High-fidelity Model Extraction
- Algebraic Attack on Convolutional Neural Networks with Max Pooling 引用了 Cryptanalytic Extraction of Neural Network Models
- Algebraic Attack on Convolutional Neural Networks with Max Pooling 引用了 Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial?
- Algebraic Attack on Convolutional Neural Networks with Max Pooling 引用了 CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
- Cryptanalytic Extraction of Neural Network Models 引用了 CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
- Cryptanalytic Extraction of Neural Network Models 引用了 Stealing Machine Learning Models via Prediction APIs
- Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? 引用了 Beyond Slow Signs in High-fidelity Model Extraction
- Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? 引用了 Cryptanalytic Extraction of Neural Network Models
- Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? 引用了 Expand-and-Cluster: Parameter Recovery of Neural Networks
- Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial? 引用了 Stealing Machine Learning Models via Prediction APIs
- CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel 引用了 Stealing Machine Learning Models via Prediction APIs
- Expand-and-Cluster: Parameter Recovery of Neural Networks 引用了 Cryptanalytic Extraction of Neural Network Models
- Expand-and-Cluster: Parameter Recovery of Neural Networks 引用了 Stealing Machine Learning Models via Prediction APIs
引用它的顶会 Paper2
它引用的 Paper9
- Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
- CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side ChannelLejla Batina, Shivam Bhasin, Dirmanto Jap, Stjepan PicekUSENIX Security 2019 · 334 次引用
- Cryptanalytic Extraction of Neural Network ModelsNicholas Carlini, Matthew Jagielski, Ilya MironovCRYPTO 2020 · 109 次引用
- Beyond Slow Signs in High-fidelity Model ExtractionHanna Foerster, Robert Mullins, Ilia Shumailov, Jamie HayesNeurIPS 2024 · 19 次引用
- Expand-and-Cluster: Parameter Recovery of Neural NetworksFlavio Martinelli, Berfin Simsek, Wulfram Gerstner, Johanni BreaICML 2024 · 15 次引用
相关 Paper
- Polynomial Time Cryptanalytic Extraction of Neural Network ModelsIsaac Andrés Canales Martinez, Jorge Chávez-Saab, Anna Hambitzer, Francisco Rodríguez-Henríquez 等EUROCRYPT 2024 · 13 次引用
- 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 等EUROCRYPT 2025 · 10 次引用
- Efficiently Learning One Hidden Layer ReLU Networks From QueriesSitan Chen, Adam R. Klivans, Raghu MekaNeurIPS 2021 · 8 次引用
- An Exact Poly-Time Membership-Queries Algorithm for Extracting a Three-Layer ReLU NetworkAmit Daniely, Elad GranotICLR 2023
- Train to Defend: First Defense Against Cryptanalytic Neural Network Parameter Extraction AttacksAshley Kurian, Aydin AysuNeurIPS 2025 · 1 次引用
