Two Birds with One Stone: Model Stealing and Attribute Inference Attacks against BERT APIsKilling One Bird with Two Stones: Model Extraction and Attribute Inference Attacks against BERT-based APIs
AI summary
The researchers propose a model stealing attack against BERT-based machine learning as a service (MLaaS) APIs, in which an attacker can steal the target model with only a limited number of queries, and further propose an attribute inference attack that can infer sensitive attributes in the training data used by these APIs. Extensive experiments on multiple benchmark datasets and under multiple realistic settings verify the potential vulnerabilities of BERT APIs. The authors also show that two promising defense methods both fail against their attacks, and call for research on more effective defenses.