A Model Inference Attack Based on Random Sampling in DLaaS
摘要
Deep learning as a service (DLaaS) has become an effective business solution in numerous domains. Nevertheless, its service form has been proven vulnerable to model inference by previous research. Existing work on model inference attack relies on strong assumptions, such as the attacker knows the sample variance and model structure, which may not thoroughly reflect the attack’s potential threats. In this paper, we propose MC-infer, a zero-knowledge, real-data-free, and black-box model inference method inspired by Monte-Carlo sampling. In particular, MC-infer feeds random noises obtained from different distributions to the target model, and sniffs the corresponding target distributions according to its feedback. Then many samples are taken in these distributions to obtain enough robust noises. Finally, the distribution represented by the target model is fitted through these noises to perform model inference. Our extensive evaluations demonstrate that MC-infer can effectively infer the target model with less information, and general noise perturbation on the model’s outputs cannot defend against MC-infer.