mlsanityData to 7 Oct 2026

StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning

arXiv 2201.05889 ↗First posted 15 Jan 2022cs.CR cs.LGcited by 21

Not on the map. Why?

Abstract (arXiv)

Pre-trained encoders are general-purpose feature extractors that can be used for many downstream tasks. Recent progress in self-supervised learning can pre-train highly effective encoders using a large volume of unlabeled data, leading to the emerging encoder as a service (EaaS). A pre-trained encoder may be deemed confidential because its training requires lots of data and computation resources as well as its public release may facilitate misuse of AI, e.g., for deepfakes generation. In this paper, we propose the first attack called StolenEncoder to steal pre-trained image encoders. We evaluate StolenEncoder on multiple target encoders pre-trained by ourselves and three real-world target encoders including the ImageNet encoder pre-trained by Google, CLIP encoder pre-trained by OpenAI, and Clarifai's General Embedding encoder deployed as a paid EaaS. Our results show that our stolen encoders have similar functionality with the target encoders. In particular, the downstream classifiers built upon a target encoder and a stolen one have similar accuracy. Moreover, stealing a target encoder using StolenEncoder requires much less data and computation resources than pre-training it from scratch. We also explore three defenses that perturb feature vectors produced by a target encoder. Our results show these defenses are not enough to mitigate StolenEncoder.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 43 of its 65 references that are in the map. First posted on arXiv 15 Jan 2022.

Builds on

43 of 65 references.

References · 43

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  8. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  9. 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
  10. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  11. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  12. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
31 more
  1. 2020Extracting Training Data from Large Language Modelscited by 2,144
  2. 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,379
  3. 2016Colorful Image Colorizationcited by 1,113
  4. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  5. 2019Defending Against Neural Fake Newscited by 553
  6. 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
  7. 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 285
  8. 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 208
  9. 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 183
  10. 2018PRADA: Protecting against DNN Model Stealing Attackscited by 159
  11. 2021Poisoning and Backdooring Contrastive Learningcited by 149
  12. 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
  13. 2019Thieves on Sesame Street! Model Extraction of BERT-based APIscited by 136
  14. 2020Data-Free Model Extractioncited by 121
  15. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
  16. 2018Stealing Hyperparameters in Machine Learningcited by 115
  17. 2020Stealing Links from Graph Neural Networkscited by 114
  18. 2020MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimationcited by 99
  19. 2019Deep Neural Network Fingerprinting by Conferrable Adversarial Examplescited by 90
  20. 2018Exploring Connections Between Active Learning and Model Extractioncited by 84
  21. 2019Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attackscited by 79
  22. 2018Copycat CNN: Stealing Knowledge by Persuading Confession with Random Non-Labeled Datacited by 69
  23. 2019IPGuard: Protecting Intellectual Property of Deep Neural Networks via Fingerprinting the Classification Boundarycited by 68
  24. 2021EncoderMI: Membership Inference against Pre-trained Encoders in Contrastive Learningcited by 68
  25. 2021SoK: How Robust is Image Classification Deep Neural Network Watermarking? (Extended Version)cited by 67
  26. 2020Cryptanalytic Extraction of Neural Network Modelscited by 65
  27. 2018Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architecturescited by 56
  28. 2019Defending Against Model Stealing Attacks with Adaptive Misinformationcited by 55
  29. 2020Hermes Attack: Steal DNN Models with Lossless Inference Accuracycited by 41
  30. 2021Quantifying and Mitigating Privacy Risks of Contrastive Learningcited by 35
  31. 2020Robust and Verifiable Information Embedding Attacks to Deep Neural Networks via Error-Correcting Codescited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 5; 2024: 5; 2025: 4; 2026: 5.

21 papers.

Sort:

By area:

  1. 2022I Know What You Trained Last Summer: A Survey on Stealing Machine Learning Models and Defencescited by 75
  2. 2022Can't Steal? Cont-Steal! Contrastive Stealing Attacks Against Image Encoderscited by 30
  3. 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
  4. 2024MEA-Defender: A Robust Watermark against Model Extraction Attackcited by 16
  5. 2024A Unified Membership Inference Method for Visual Self-supervised Encoder via Part-aware Capabilitycited by 9
  6. 2023Bucks for Buckets (B4B): Active Defenses Against Stealing Encoderscited by 8
  7. 2023Beyond Boundaries: A Comprehensive Survey of Transferable Attacks on AI Systemscited by 6
  8. 2023REaaS: Enabling Adversarially Robust Downstream Classifiers via Robust Encoder as a Servicecited by 3
  9. 2026Connect the Dots: Knowledge Graph-Guided Crawler Attack on Retrieval-Augmented Generation Systemscited by 3
  10. 2025Examining the Threat Landscape: Foundation Models and Model Stealingcited by 2
  11. 2025ADAGE: Active Defenses Against GNN Extractioncited by 2
  12. 2025BESA: Boosting Encoder Stealing Attack with Perturbation Recoverycited by 2
9 more
  1. 2025Dataset Ownership Verification for Pre-trained Masked Modelscited by 2
  2. 2026Steal the Patch Size: Adversarially Manipulate Vision-Language Modelscited by 2
  3. 2023SSL-Auth: An Authentication Framework by Fragile Watermarking for Pre-trained Encoders in Self-supervised Learningcited by 1
  4. 2023Refine, Discriminate and Align: Stealing Encoders via Sample-Wise Prototypes and Multi-Relational Extractioncited by 0
  5. 2024Unraveling Attacks in Machine Learning-based IoT Ecosystems: A Survey and the Open Libraries Behind Themcited by 0
  6. 2024Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Servicescited by 0
  7. 2026ArmSSL: Adversarial Robust Black-Box Watermarking for Self-Supervised Learning Pre-trained Encoderscited by 0
  8. 2026JudgeStealer: Extracting LLM Judging Capabilities across Evaluation Protocolscited by 0
  9. 2026Steal the Knowledge, Inherit the Mark: TwinMark for Distillation Watermarking via Second Moments and Class Multiplexingcited by 0