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