Lune

ICLR2020顶会

Thieves on Sesame Street! Model Extraction of BERT-based APIs

Kalpesh Krishna, Gaurav Singh Tomar, Ankur P. Parikh, Nicolas Papernot, Mohit Iyyer

摘要

We study the problem of model extraction in natural language processing, in which an adversary with only query access to a victim model attempts to reconstruct a local copy of that model. Assuming that both the adversary and victim model fine-tune a large pretrained language model such as BERT (Devlin et al. 2019), we show that the adversary does not need any real training data to successfully mount the attack. In fact, the attacker need not even use grammatical or semantically meaningful queries: we show that random sequences of words coupled with task-specific heuristics form effective queries for model extraction on a diverse set of NLP tasks, including natural language inference and question answering. Our work thus highlights an exploit only made feasible by the shift towards transfer learning methods within the NLP community: for a query budget of a few hundred dollars, an attacker can extract a model that performs only slightly worse than the victim model. Finally, we study two defense strategies against model extraction---membership classification and API watermarking---which while successful against naive adversaries, are ineffective against more sophisticated ones.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Protecting Intellectual Property of Language Generation APIs with Lexical Watermark 引用了 Stealing Machine Learning Models via Prediction APIs
  • Protecting Intellectual Property of Language Generation APIs with Lexical Watermark 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding 引用了 Stealing Machine Learning Models via Prediction APIs
  • Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hiding 引用了 Deep Neural Network Fingerprinting by Conferrable Adversarial Examples
  • Membership Inference Attacks Against Machine Learning Models 引用了 Stealing Machine Learning Models via Prediction APIs
  • Membership Inference Attacks Against Machine Learning Models 引用了 Deep Learning with Differential Privacy
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Membership Inference Attacks Against Machine Learning Models
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Stealing Machine Learning Models via Prediction APIs
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Machine Learning with Membership Privacy using Adversarial Regularization
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Deep Learning with Differential Privacy
  • Deep Neural Network Fingerprinting by Conferrable Adversarial Examples 引用了 Stealing Machine Learning Models via Prediction APIs
  • Deep Neural Network Fingerprinting by Conferrable Adversarial Examples 引用了 Deep Learning with Differential Privacy
  • Machine Learning with Membership Privacy using Adversarial Regularization 引用了 Membership Inference Attacks Against Machine Learning Models
  • Machine Learning with Membership Privacy using Adversarial Regularization 引用了 Stealing Machine Learning Models via Prediction APIs
  • Machine Learning with Membership Privacy using Adversarial Regularization 引用了 Deep Learning with Differential Privacy
  • SoK: How Robust is Image Classification Deep Neural Network Watermarking? 引用了 Stealing Machine Learning Models via Prediction APIs
  • SoK: How Robust is Image Classification Deep Neural Network Watermarking? 引用了 Deep Neural Network Fingerprinting by Conferrable Adversarial Examples
  • Knowledge-Enriched Distributional Model Inversion Attacks 引用了 Membership Inference Attacks Against Machine Learning Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper65

  1. Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data HidingSahar Abdelnabi, Mario FritzS&P 2021 · 210 次引用
  2. Deep Neural Network Fingerprinting by Conferrable Adversarial ExamplesNils Lukas, Yuxuan Zhang, Florian KerschbaumICLR 2021 · 182 次引用
  3. Protecting Intellectual Property of Language Generation APIs with Lexical WatermarkXuanli He, Qiongkai Xu, Lingjuan Lyu, Fangzhao Wu 等AAAI 2022 · 124 次引用
  4. SoK: How Robust is Image Classification Deep Neural Network Watermarking?Nils Lukas, Edward Jiang, Xinda Li, Florian KerschbaumS&P 2022 · 124 次引用
  5. Knowledge-Enriched Distributional Model Inversion AttacksSi Chen, Mostafa Kahla, Ruoxi Jia, Guo-Jun QiICCV 2021 · 124 次引用

它引用的 Paper7

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
  4. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
  5. Machine Learning with Membership Privacy using Adversarial RegularizationMilad Nasr, Reza Shokri, Amir HoumansadrCCS 2018 · 543 次引用

相关 Paper

  1. MeaeQ: Mount Model Extraction Attacks with Efficient QueriesChengwei Dai, Minxuan Lv, Kun Li, Wei ZhouEMNLP 2023 · 4 次引用
  2. Grey-box Extraction of Natural Language ModelsSantiago Zanella-Béguelin, Shruti Tople, Andrew Paverd, Boris KöpfICML 2021 · 38 次引用
  3. Marich: A Query-efficient Distributionally Equivalent Model Extraction AttackPratik Karmakar, Debabrota BasuNeurIPS 2023 · 11 次引用
  4. Fragments to Facts: Partial-Information Fragment Inference from LLMsLucas Rosenblatt, Bin Han, Robert Wolfe, Bill HoweICML 2025
  5. BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation ModelsKangjie Chen, Yuxian Meng, Xiaofei Sun, Shangwei Guo 等ICLR 2022 · 133 次引用
黄昏的海面,两侧是细线勾勒的悬崖