knockoff nets !
Machine Learning (ML) models are increasingly deployed in the wild to perform a wide range of tasks. In this work, we ask to what extent can an adversary steal functionality of such "victim" models based solely on blackbox interactions: image in, predictions out. In contrast to prior work, we present an adversary lacking knowledge of train/test data used by the model, its internals, and semantics over model outputs. We formulate model functionality stealing as a two-step approach: (i) querying a set of input images to the blackbox model to obtain predictions; and (ii) training a "knockoff" with queried image-prediction pairs. We make multiple remarkable observations: (a) querying random images from a different distribution than that of the blackbox training data results in a well-performing knockoff; (b) this is possible even when the knockoff is represented using a different architecture; and (c) our reinforcement learning approach additionally improves query sample efficiency in certain settings and provides performance gains. We validate model functionality stealing on a range of datasets and tasks, as well as on a popular image analysis API where we create a reasonable knockoff for as little as $30.
Knockoff Nets: Stealing Functionality of Black-Box Models Tribhuvanesh Orekondy1 Bernt Schiele1 Mario Fritz2 1 Max Planck Institute for Informatics, Saarland Informatics Campus 2 CISPA Helmholtz Center i.G., Saarland Informatics…
related reading
- Training a Misaligned Reward Seekeralignment.anthropic.com
- It Looks Like You’re Trying To Take Over The World · Gwern.net (reader mode)gwern.net
- MAI-Thinking-1: Building a Hill-Climbing Machinemicrosoft.ai
- Nicholas Carlininicholas.carlini.com
- Scaling Activation Oracles to Trillion-Parameter Modelstransluce.org
- [2604.22082] Removing Sandbagging in LLMs by Training with Weak Supervisionarxiv.org
- MAI-Thinking-1: Building a Hill-Climbing Machinemicrosoft.ai
- Concrete Evaluations to Investigate the OpenAI Model That Hacked Hugging Face — LessWronglesswrong.com
- Interactive Machine Learning: A State of the Art Reviewarxiv.org
- David Duvenaudcs.toronto.edu
- [2404.03348] Knowledge Distillation-Based Model Extraction Attack using GAN-based Private Counterfactual Explanationsarxiv.org
- [2603.07267] How to Steal Reasoning Without Reasoning Tracesarxiv.org