Lune

EUROCRYPT2024顶会

Polynomial Time Cryptanalytic Extraction of Neural Network Models

Isaac Andrés Canales Martinez, Jorge Chávez-Saab, Anna Hambitzer, Francisco Rodríguez-Henríquez, Nitin Satpute, Adi Shamir

摘要

Billions of dollars and countless GPU hours are currently spent on training Deep Neural Networks (DNNs) for a variety of tasks. Thus, it is essential to determine the difficulty of extracting all the parameters of such neural networks when given access to their black-box implementations. Many versions of this problem have been studied over the last 30 years, and the best current attack on ReLU-based deep neural networks was presented at Crypto'20 by Carlini, Jagielski, and Mironov. It resembles a differential chosen plaintext attack on a cryptosystem, which has a secret key embedded in its black-box implementation and requires a polynomial number of queries but an exponential amount of time (as a function of the number of neurons). In this paper, we improve this attack by developing several new techniques that enable us to extract with arbitrarily high precision all the real-valued parameters of a ReLU-based DNN using a polynomial number of queries and a polynomial amount of time. We demonstrate its practical efficiency by applying it to a full-sized neural network for classifying the CIFAR10 dataset, which has 3072 inputs, 8 hidden layers with 256 neurons each, and about 1.2 million neuronal parameters. An attack following the approach by Carlini et al. requires an exhaustive search over 2 256 possibilities. Our attack replaces this with our new techniques, which require only 30 minutes on a 256-core computer.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Beyond Slow Signs in High-fidelity Model Extraction 引用了 Cryptanalytic Extraction of Neural Network Models
  • Beyond Slow Signs in High-fidelity Model Extraction 引用了 Stealing Machine Learning Models via Prediction APIs
  • Beyond Slow Signs in High-fidelity Model Extraction 引用了 Reverse-engineering deep ReLU networks
  • 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
  • Cryptanalytic Extraction of Neural Network Models 引用了 Reverse-engineering deep ReLU networks
  • CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel 引用了 Stealing Machine Learning Models via Prediction APIs
  • Privacy Backdoors: Stealing Data with Corrupted Pretrained Models 引用了 Cryptanalytic Extraction of Neural Network Models
  • Privacy Backdoors: Stealing Data with Corrupted Pretrained Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Privacy Backdoors: Stealing Data with Corrupted Pretrained Models 引用了 Stealing Machine Learning Models via Prediction APIs
  • Privacy Backdoors: Stealing Data with Corrupted Pretrained Models 引用了 Reverse-engineering deep ReLU networks
  • Stealing part of a production language model 引用了 Cryptanalytic Extraction of Neural Network Models
  • Stealing part of a production language model 引用了 Stealing Machine Learning Models via Prediction APIs
  • Stealing part of a production language model 引用了 Reverse-engineering deep ReLU networks
  • SoK: Neural Network Extraction Through Physical Side Channels 引用了 CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side Channel
  • Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting 引用了 Beyond Slow Signs in High-fidelity Model Extraction
  • Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting 引用了 Cryptanalytic Extraction of Neural Network Models
  • Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting 引用了 Stealing Machine Learning Models via Prediction APIs
  • Polynomial Time Cryptanalytic Extraction of Deep Neural Networks in the Hard-Label Setting 引用了 Reverse-engineering deep ReLU networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Stealing part of a production language modelNicholas Carlini, Daniel Paleka, Krishnamurthy Dj Dvijotham, Thomas Steinke 等ICML 2024 · 157 次引用
  2. Privacy Backdoors: Stealing Data with Corrupted Pretrained ModelsShanglun Feng, Florian TramèrICML 2024 · 32 次引用
  3. Beyond Slow Signs in High-fidelity Model ExtractionHanna Foerster, Robert Mullins, Ilia Shumailov, Jamie HayesNeurIPS 2024 · 19 次引用
  4. SoK: Neural Network Extraction Through Physical Side ChannelsPéter Horváth, Dirk Lauret, Zhuoran Liu, Lejla BatinaUSENIX Security 2024 · 11 次引用
  5. 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 次引用

它引用的 Paper6

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
  3. CSI NN: Reverse Engineering of Neural Network Architectures Through Electromagnetic Side ChannelLejla Batina, Shivam Bhasin, Dirmanto Jap, Stjepan PicekUSENIX Security 2019 · 334 次引用
  4. Reverse-engineering deep ReLU networksDavid Rolnick, Konrad P. KordingICML 2020 · 121 次引用
  5. Cryptanalytic Extraction of Neural Network ModelsNicholas Carlini, Matthew Jagielski, Ilya MironovCRYPTO 2020 · 109 次引用

相关 Paper

  1. Is the Hard-Label Cryptanalytic Model Extraction Really Polynomial?Akira Ito, Takayuki Miura, Yosuke TodoCRYPTO 2026
  2. Navigating the Deep: End-to-End Extraction on Deep Neural NetworksHaolin Liu, Adrien Siproudhis, Samuel Experton, Peter Lorenz 等EUROCRYPT 2026 · 2 次引用
  3. Deep Neural CryptographyDavid Gérault, Anna Hambitzer, Eyal Ronen, Adi ShamirEUROCRYPT 2026 · 1 次引用
  4. An Exact Poly-Time Membership-Queries Algorithm for Extracting a Three-Layer ReLU NetworkAmit Daniely, Elad GranotICLR 2023
  5. Efficiently Learning One Hidden Layer ReLU Networks From QueriesSitan Chen, Adam R. Klivans, Raghu MekaNeurIPS 2021 · 8 次引用
黄昏的海面,两侧是细线勾勒的悬崖