mlsanityData to 7 Oct 2026

Bucks for Buckets (B4B): Active Defenses Against Stealing Encoders

arXiv 2310.08571 ↗First posted 12 Oct 2023cs.LGcited by 8

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

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  2. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  3. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  4. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  5. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  6. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  7. 2020Extracting Training Data from Large Language Modelscited by 2,144
  8. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
  9. 2016Stealing Machine Learning Models via Prediction APIscited by 602
  10. 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
  11. 2018Knockoff Nets: Stealing Functionality of Black-Box Modelscited by 285
  12. 2017Embedding Watermarks into Deep Neural Networkscited by 227
17 more
  1. 2019High Accuracy and High Fidelity Extraction of Neural Networkscited by 208
  2. 2018PRADA: Protecting against DNN Model Stealing Attackscited by 159
  3. 2020Entangled Watermarks as a Defense against Model Extractioncited by 144
  4. 2020Adversarial Machine Learning -- Industry Perspectivescited by 121
  5. 2020Data-Free Model Extractioncited by 121
  6. 2021Dataset Inference: Ownership Resolution in Machine Learningcited by 115
  7. 2020MAZE: Data-Free Model Stealing Attack Using Zeroth-Order Gradient Estimationcited by 99
  8. 2019Analyzing and Improving Representations with the Soft Nearest Neighbor Losscited by 95
  9. 2021Model Stealing Attacks Against Inductive Graph Neural Networkscited by 50
  10. 2022SSLGuard: A Watermarking Scheme for Self-supervised Learning Pre-trained Encoderscited by 43
  11. 2018Digital Watermarking for Deep Neural Networkscited by 37
  12. 2022Dataset Inference for Self-Supervised Modelscited by 36
  13. 2022Can't Steal? Cont-Steal! Contrastive Stealing Attacks Against Image Encoderscited by 30
  14. 2022On the Difficulty of Defending Self-Supervised Learning against Model Extractioncited by 22
  15. 2022StolenEncoder: Stealing Pre-trained Encoders in Self-supervised Learningcited by 21
  16. 2022Increasing the Cost of Model Extraction with Calibrated Proof of Workcited by 21
  17. 2022Watermarking Pre-trained Encoders in Contrastive Learningcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 4; 2026: 2.

8 papers.