Stateful Defenses for Machine Learning Models Are Not Yet Secure Against Black-box Attacks

Ryan Feng, Ashish Hooda, Neal Mangaokar, Kassem Fawaz, Somesh Jha +1 more
3/11/2023
cs.CRcs.LG

No official code found. Best implementation: nmangaokar/ccs_23_oars_stateful_attacks (17 stars, last commit 2024-02-06).

Abstract

Recent work has proposed stateful defense models (SDMs) as a compelling strategy to defend against a black-box attacker who only has query access to the model, as is common for online machine learning platforms. Such stateful defenses aim to defend against black-box attacks by tracking the query history and detecting and rejecting queries that are "similar" and thus preventing black-box attacks from finding useful gradients and making progress towards finding adversarial attacks within a reasonable query budget. Recent SDMs (e.g., Blacklight and PIHA) have shown remarkable success in defending against state-of-the-art black-box attacks. In this paper, we show that SDMs are highly vulnerable to a new class of adaptive black-box attacks. We propose a novel adaptive black-box attack strategy called Oracle-guided Adaptive Rejection Sampling (OARS) that involves two stages: (1) use initial query patterns to infer key properties about an SDM's defense; and, (2) leverage those extracted properties to design subsequent query patterns to evade the SDM's defense while making progress towards finding adversarial inputs. OARS is broadly applicable as an enhancement to existing black-box attacks - we show how to apply the strategy to enhance six common black-box attacks to be more effective against current class of SDMs. For example, OARS-enhanced versions of black-box attacks improved attack success rate against recent stateful defenses from almost 0% to to almost 100% for multiple datasets within reasonable query budgets.

View on arXivView PDF

Code Implementations(1)

176PythonSep 7, 20232 years ago

Similar Papers

Cite this paper

@article{feng2023stateful,
  title  = {Stateful Defenses for Machine Learning Models Are Not Yet Secure Against Black-box Attacks},
  author = {Ryan Feng and Ashish Hooda and Neal Mangaokar and Kassem Fawaz and Somesh Jha and Atul Prakash},
  year   = {2023},
  eprint = {2303.06280},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06280v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.06280.svg)](https://codeofpaper.com/paper/2303.06280)

Discussion