Extracting cloud models using prior knowledgeExtracting Cloud-based Model with Prior Knowledge
The researchers propose an efficient model extraction attack based on prior knowledge: first, using an autoencoder and contrastive learning in self-supervised learning, the features of an unlabeled surrogate dataset are pre-encoded into the feature extractor of a substitute model; then entropy is used to select the most informative samples to query the target model. The experiments cover the Traffic Recognition, Flower Recognition, Moderation Recognition and NSFW Recognition open APIs of Azure and Clarifai; on the NSFW Recognition API, the method achieves 95.1% fidelity with only 1.8K queries at a cost of $2.16. The authors also state that adversarial examples generated using this substitute model have better transferability, which is more conducive to downstream attacks.