mlsanityData to 7 Oct 2026

Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Services

arXiv 2408.02814 ↗First posted 5 Aug 2024cs.LG cs.CRcited by 0

Not on the map. Why?

Abstract (arXiv)

Pre-trained encoders available online have been widely adopted to build downstream machine learning (ML) services, but various attacks against these encoders also post security and privacy threats toward such a downstream ML service paradigm. We unveil a new vulnerability: the Pre-trained Encoder Inference (PEI) attack, which can extract sensitive encoder information from a targeted downstream ML service that can then be used to promote other ML attacks against the targeted service. By only providing API accesses to a targeted downstream service and a set of candidate encoders, the PEI attack can successfully infer which encoder is secretly used by the targeted service based on candidate ones. Compared with existing encoder attacks, which mainly target encoders on the upstream side, the PEI attack can compromise encoders even after they have been deployed and hidden in downstream ML services, which makes it a more realistic threat. We empirically verify the effectiveness of the PEI attack on vision encoders. we first conduct PEI attacks against two downstream services (i.e., image classification and multimodal generation), and then show how PEI attacks can facilitate other ML attacks (i.e., model stealing attacks vs. image classification models and adversarial attacks vs. multimodal generative models). Our results call for new security and privacy considerations when deploying encoders in downstream services. The code is available at https://github.com/fshp971/encoder-inference.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 69 of its 86 references that are in the map. First posted on arXiv 5 Aug 2024.

Builds on

69 of 86 references.

References · 69

  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. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  8. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  9. 2023Visual Instruction Tuningcited by 7,792
  10. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  11. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  12. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
38 more
  1. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  3. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  4. 2020Extracting Training Data from Large Language Modelscited by 2,144
  5. 2019Searching for MobileNetV3cited by 1,984
  6. 2019Natural Adversarial Examplescited by 1,401
  7. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  8. 2021Membership Inference Attacks From First Principlescited by 839
  9. 2020Inverting Gradients -- How easy is it to break privacy in federated learning?cited by 707
  10. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  11. 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
  12. 2017Countering Adversarial Images using Input Transformationscited by 517
  13. 2022Diffusion Models for Adversarial Purificationcited by 469
  14. 2018Spectral Signatures in Backdoor Attackscited by 457
  15. 2023Detecting Language Model Attacks with Perplexitycited by 411
  16. 2017Defense against Adversarial Attacks Using High-Level Representation Guided Denoisercited by 329
  17. 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 285
  18. 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
  19. 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 208
  20. 2016A study of the effect of JPG compression on adversarial imagescited by 196
  21. 2013Optimal rates for zero-order convex optimization: the power of two function evaluationscited by 190
  22. 2020A Primer on Zeroth-Order Optimization in Signal Processing and Machine Learningcited by 160
  23. 2024Stealing Part of a Production Language Modelcited by 152
  24. 2021Poisoning and Backdooring Contrastive Learningcited by 149
  25. 2020Data-Free Model Extractioncited by 121
  26. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
  27. 2018Stealing Hyperparameters in Machine Learningcited by 115
  28. 2023An LLM can Fool Itself: A Prompt-Based Adversarial Attackcited by 111
  29. 2020MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimationcited by 99
  30. 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 94
  31. 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 85
  32. 2019Reverse-Engineering Deep ReLU Networkscited by 81
  33. 2016Adversarial Examples Detection in Deep Networks with Convolutional Filter Statisticscited by 77
  34. 2019The Odds are Odd: A Statistical Test for Detecting Adversarial Examplescited by 75
  35. 2023Content-based Unrestricted Adversarial Attackcited by 73
  36. 2021Black-box Detection of Backdoor Attacks with Limited Information and Datacited by 71
  37. 2021EncoderMI: Membership Inference against Pre-trained Encoders in Contrastive Learningcited by 68
  38. 2022SSLGuard: A Watermarking Scheme for Self-supervised Learning Pre-trained Encoderscited by 43

50 most cited of 69 All 69 (JSON)

Built on by

Not cited yet.