Lune

CCS2022Top-tier venue

SSLGuard: A Watermarking Scheme for Self-supervised Learning Pre-trained Encoders

Tianshuo Cong, Xinlei He, Yang Zhang

Abstract

Self-supervised learning is an emerging machine learning paradigm. Compared to supervised learning which leverages high-quality labeled datasets, self-supervised learning relies on unlabeled datasets to pre-train powerful encoders which can then be treated as feature extractors for various downstream tasks. The huge amount of data and computational resources consumption makes the encoders themselves become the valuable intellectual property of the model owner. Recent research has shown that the machine learning model's copyright is threatened by model stealing attacks, which aim to train a surrogate model to mimic the behavior of a given model. We empirically show that pre-trained encoders are highly vulnerable to model stealing attacks. However, most of the current efforts of copyright protection algorithms such as watermarking concentrate on classifiers. Meanwhile, the intrinsic challenges of pre-trained encoder's copyright protection remain largely unstudied. We fill the gap by proposing SSLGuard, the first watermarking scheme for pre-trained encoders. Given a clean pre-trained encoder, SSLGuard injects a watermark into it and outputs a watermarked version. The shadow training technique is also applied to preserve the watermark under potential model stealing attacks. Our extensive evaluation shows that SSLGuard is effective in watermark injection and verification, and it is robust against model stealing and other watermark removal attacks such as input noising, output perturbing, overwriting, model pruning, and fine-tuning. 1 Pre-trained Encoder Cloud Platform Surrogate Encoder Legitimate User Adversary ! "(!) !′ "(!′)

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

26 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning cites Membership Inference Attacks Against Machine Learning Models
  • StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning cites Language Models are Few-Shot Learners
  • StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning cites Learning Transferable Visual Models From Natural Language Supervision
  • Dataset Inference for Self-Supervised Models cites A Simple Framework for Contrastive Learning of Visual Representations
  • Dataset Inference for Self-Supervised Models cites Learning Transferable Visual Models From Natural Language Supervision
  • AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive Learning cites Learning Transferable Visual Models From Natural Language Supervision
  • AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive Learning cites Downstream-agnostic Adversarial Examples
  • Downstream-agnostic Adversarial Examples cites AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive Learning
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
  • Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
  • Learning Transferable Visual Models From Natural Language Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Downstream-agnostic Adversarial Examples cites A Simple Framework for Contrastive Learning of Visual Representations
  • Downstream-agnostic Adversarial Examples cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • MEA-Defender: A Robust Watermark against Model Extraction Attack cites A Simple Framework for Contrastive Learning of Visual Representations
  • MEA-Defender: A Robust Watermark against Model Extraction Attack cites StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learning
  • MEA-Defender: A Robust Watermark against Model Extraction Attack cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers26

  1. AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive LearningZiqi Zhou, Shengshan Hu, Minghui Li, Hangtao Zhang et al.ACM MM 2023 · 62 citations
  2. Dataset Inference for Self-Supervised ModelsAdam Dziedzic, Haonan Duan, Muhammad Ahmad Kaleem, Nikita Dhawan et al.NeurIPS 2022 · 59 citations
  3. Downstream-agnostic Adversarial ExamplesZiqi Zhou, Shengshan Hu, Ruizhi Zhao, Qian Wang et al.ICCV 2023 · 45 citations
  4. StolenEncoder: Stealing Pre-trained Encoders in Self-supervised LearningYupei Liu, Jinyuan Jia, Hongbin Liu, Neil Zhenqiang GongCCS 2022 · 23 citations
  5. MEA-Defender: A Robust Watermark against Model Extraction AttackPeizhuo Lv, Hualong Ma, Kai Chen, Jiachen Zhou et al.S&P 2024 · 22 citations

Builds on26

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  3. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  4. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  5. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations

Related papers

  1. SSL-WM: A Black-Box Watermarking Approach for Encoders Pre-trained by Self-Supervised LearningPeizhuo Lv, Pan Li, Shenchen Zhu, Shengzhi Zhang et al.NDSS 2024
  2. RAEncoder: A Label-Free Reversible Adversarial Examples Encoder for Dataset Intellectual Property ProtectionFan Xing, Zhuo Tian, Xuefeng Fan, Xiaoyi ZhouCVPR 2025
  3. PreGIP: Watermarking the Pretraining of Graph Neural Networks for Deep IP ProtectionEnyan Dai, Minhua Lin, Suhang WangKDD 2025 · 1 citation
  4. Can't Steal? Cont-Steal! Contrastive Stealing Attacks Against Image EncodersZeyang Sha, Xinlei He, Ning Yu, Michael Backes et al.CVPR 2023
  5. Task-Agnostic Language Model Watermarking via High Entropy Passthrough LayersVaden Masrani, Mohammad Akbari, David Ming Xuan Yue, Ahmad Rezaei et al.AAAI 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines