Bucks for Buckets (B4B): Active Defenses Against Stealing Encoders
Not on the map. Why?
Abstract (arXiv)
Machine Learning as a Service (MLaaS) APIs provide ready-to-use and high-utility encoders that generate vector representations for given inputs. Since these encoders are very costly to train, they become lucrative targets for model stealing attacks during which an adversary leverages query access to the API to replicate the encoder locally at a fraction of the original training costs. We propose Bucks for Buckets (B4B), the first active defense that prevents stealing while the attack is happening without degrading representation quality for legitimate API users. Our defense relies on the observation that the representations returned to adversaries who try to steal the encoder's functionality cover a significantly larger fraction of the embedding space than representations of legitimate users who utilize the encoder to solve a particular downstream task.vB4B leverages this to adaptively adjust the utility of the returned representations according to a user's coverage of the embedding space. To prevent adaptive adversaries from eluding our defense by simply creating multiple user accounts (sybils), B4B also individually transforms each user's representations. This prevents the adversary from directly aggregating representations over multiple accounts to create their stolen encoder copy. Our active defense opens a new path towards securely sharing and democratizing encoders over public APIs.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 29 of its 40 references that are in the map. First posted on arXiv 12 Oct 2023.
Builds on
29 of 40 references.
References · 29
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2016Stealing Machine Learning Models via Prediction APIscited by 602
- 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
- 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 285
- 2017Embedding Watermarks into Deep Neural Networkscited by 227
17 more
- 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 208
- 2018PRADA: Protecting against DNN Model Stealing Attackscited by 159
- 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
- 2020Adversarial Machine Learning -- Industry Perspectivescited by 121
- 2020Data-Free Model Extractioncited by 121
- 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 115
- 2020MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimationcited by 99
- 2019Analyzing and Improving Representations with the Soft Nearest Neighbor Losscited by 95
- 2021Model Stealing Attacks Against Inductive Graph Neural Networkscited by 50
- 2022SSLGuard: A Watermarking Scheme for Self-supervised Learning Pre-trained Encoderscited by 43
- 2018Digital Watermarking for Deep Neural Networkscited by 37
- 2022Dataset Inference for Self-Supervised Modelscited by 36
- 2022Can't Steal? Cont-Steal! Contrastive Stealing Attacks Against Image Encoderscited by 30
- 2022On the Difficulty of Defending Self-Supervised Learning against Model Extractioncited by 22
- 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 21
- 2022Increasing the Cost of Model Extraction with Calibrated Proof of Workcited by 21
- 2022Watermarking Pre-trained Encoders in Contrastive Learningcited by 10
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 2.
8 papers.
- 2024Efficient Model-Stealing Attacks Against Inductive Graph Neural Networkscited by 3
- 2025ADAGE: Active Defenses Against GNN Extractioncited by 2
- 2025BESA: Boosting Encoder Stealing Attack with Perturbation Recoverycited by 2
- 2025Efficient and Privacy-Preserving Soft Prompt Transfer for LLMscited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2024Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Servicescited by 0
- 2026ArmSSL: Adversarial Robust Black-Box Watermarking for Self-Supervised Learning Pre-trained Encoderscited by 0
- 2026Caliber: Cross-Architecture Extraction-Cost Control for Score-Returning APIscited by 0
- 2026Caliber: Cross-Architecture Extraction-Cost Control for Score-Returning APIs2 Aug 2026
- 2026ArmSSL: Adversarial Robust Black-Box Watermarking for Self-Supervised Learning Pre-trained Encoders24 Apr 2026
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Efficient and Privacy-Preserving Soft Prompt Transfer for LLMs19 Jun 2025
- 2025BESA: Boosting Encoder Stealing Attack with Perturbation Recovery5 Jun 2025
- 2025ADAGE: Active Defenses Against GNN Extraction27 Feb 2025
- 2024Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Services5 Aug 2024
- 2024Efficient Model-Stealing Attacks Against Inductive Graph Neural Networks20 May 2024