paper-with-me

홈 › Papers

Killing One Bird with Two Stones: Model Extraction and Attribute Inference Attacks against BERT-based APIs

2021-05-23 · Chen Chen, Xuanli He, Lingjuan Lyu, Fangzhao Wu

The collection and availability of big data, combined with advances in pre-trained models (e.g., BERT, XLNET, etc), have revolutionized the predictive performance of modern natural language processing tasks, ranging from text classification to text generation. This allows corporations to provide machine learning as a service (MLaaS) by encapsulating fine-tuned BERT-based models as APIs. However, BERT-based APIs have exhibited a series of security and privacy vulnerabilities. For example, prior work has exploited the security issues of the BERT-based APIs through the adversarial examples crafted by the extracted model. However, the privacy leakage problems of the BERT-based APIs through the extracted model have not been well studied. On the other hand, due to the high capacity of BERT-based APIs, the fine-tuned model is easy to be overlearned, but what kind of information can be leaked from the extracted model remains unknown. In this work, we bridge this gap by first presenting an effective model extraction attack, where the adversary can practically steal a BERT-based API (the target/victim model) by only querying a limited number of queries. We further develop an effective attribute inference attack which can infer the sensitive attribute of the training data used by the BERT-based APIs. Our extensive experiments on benchmark datasets under various realistic settings validate the potential vulnerabilities of BERT-based APIs. Moreover, we demonstrate that two promising defense methods become ineffective against our attacks, which calls for more effective defense methods.

📄 PDF Abstract BibTeX arXiv:2105.10909

Code (0)

등록된 구현이 없습니다.

Tasks

AttributeInference AttackModel extractiontext-classificationText ClassificationText Generation

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음
Multi-Head Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
WordPiece 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Killing Four Birds with Two Stones: Multi-Task Learning for Non-Literal Language Detection

2018-08-01 · COLING 2018 8 · Erik-L{\^a}n Do Dinh, Steffen Eger, Iryna Gurevych

Non-literal language phenomena such as idioms or metaphors are commonly studied in isolation from each other in NLP. However, often similar definitions and features are being used for different phenomena, challenging the…

General ClassificationMulti-Task Learning

Two Birds, One Stone: Jointly Learning Binary Code for Large-Scale Face Image Retrieval and Attributes Prediction

2015-12-01 · ICCV 2015 12 · Yan Li, Ruiping Wang, Haomiao Liu, Huajie Jiang 외

We address the challenging large-scale content-based face image retrieval problem, intended as searching images based on the presence of specific subject, given one face image of him/her. To this end, one natural demand …

Face Image RetrievalImage RetrievalRetrieval

Slot Filling for Extracting Reskilling and Upskilling Options from the Web

2022-07-11 · Albert Weichselbraun, Roger Waldvogel, Andreas Fraefel, Alexander van Schie 외

Disturbances in the job market such as advances in science and technology, crisis and increased competition have triggered a surge in reskilling and upskilling programs. Information on suitable continuing education optio…

BenchmarkingEntity Linkingslot-fillingSlot Filling

Weakly Supervised Recovery of Semantic Attributes

2021-03-22 · Ameen Ali, Tomer Galanti, Evgeniy Zheltonozhskiy, Chaim Baskin 외

We consider the problem of the extraction of semantic attributes, supervised only with classification labels. For example, when learning to classify images of birds into species, we would like to observe the emergence of…

Visualization Techniques to Enhance Automated Event Extraction

2021-06-11 · Sophia Henn, Abigail Sticha, Timothy Burley, Ernesto Verdeja 외

Robust visualization of complex data is critical for the effective use of NLP for event classification, as the volume of data is large and the high-dimensional structure of text makes data challenging to summarize succin…

ArticlesBIG-bench Machine LearningEvent Extraction