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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fu, Shaopeng, Sun, Xuexue, Qing, Ke, Zheng, Tianhang, Wang, Di
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913856321748992
author Fu, Shaopeng
Sun, Xuexue
Qing, Ke
Zheng, Tianhang
Wang, Di
author_facet Fu, Shaopeng
Sun, Xuexue
Qing, Ke
Zheng, Tianhang
Wang, Di
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_02814
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Services
Fu, Shaopeng
Sun, Xuexue
Qing, Ke
Zheng, Tianhang
Wang, Di
Machine Learning
Cryptography and Security
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.
title Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Services
topic Machine Learning
Cryptography and Security
url https://arxiv.org/abs/2408.02814