paper-with-me

Papers

How to Robustify Black-Box ML Models? A Zeroth-Order Optimization Perspective

2022-03-27 · ICLR 2022 4 · Yimeng Zhang, Yuguang Yao, Jinghan Jia, JinFeng Yi, Mingyi Hong, Shiyu Chang, Sijia Liu

The lack of adversarial robustness has been recognized as an important issue for state-of-the-art machine learning (ML) models, e.g., deep neural networks (DNNs). Thereby, robustifying ML models against adversarial attacks is now a major focus of research. However, nearly all existing defense methods, particularly for robust training, made the white-box assumption that the defender has the access to the details of an ML model (or its surrogate alternatives if available), e.g., its architectures and parameters. Beyond existing works, in this paper we aim to address the problem of black-box defense: How to robustify a black-box model using just input queries and output feedback? Such a problem arises in practical scenarios, where the owner of the predictive model is reluctant to share model information in order to preserve privacy. To this end, we propose a general notion of defensive operation that can be applied to black-box models, and design it through the lens of denoised smoothing (DS), a first-order (FO) certified defense technique. To allow the design of merely using model queries, we further integrate DS with the zeroth-order (gradient-free) optimization. However, a direct implementation of zeroth-order (ZO) optimization suffers a high variance of gradient estimates, and thus leads to ineffective defense. To tackle this problem, we next propose to prepend an autoencoder (AE) to a given (black-box) model so that DS can be trained using variance-reduced ZO optimization. We term the eventual defense as ZO-AE-DS. In practice, we empirically show that ZO-AE- DS can achieve improved accuracy, certified robustness, and query complexity over existing baselines. And the effectiveness of our approach is justified under both image classification and image reconstruction tasks. Codes are available at https://github.com/damon-demon/Black-Box-Defense.

📄 PDF Abstract BibTeX arXiv:2203.14195

Code (1)

damon-demon/black-box-defense 공식 구현 pytorch

Tasks

Adversarial Robustnessimage-classificationImage ClassificationImage Reconstruction

Methods 이 논문이 사용한 방법론

Denoised Smoothing Denoised Smoothing is a method for obtaining a provably robust classifier from a fixed pretrained one, without any additional training or fine-tuning of the latter. The basic…

Similar Papers 제목 키워드 기반

Hessian-Aware Zeroth-Order Optimization for Black-Box Adversarial Attack

2018-12-29 · Haishan Ye, Zhichao Huang, Cong Fang, Chris Junchi Li 외

Zeroth-order optimization is an important research topic in machine learning. In recent years, it has become a key tool in black-box adversarial attack to neural network based image classifiers. However, existing zeroth-…

Adversarial Attack

Zeroth-Order Stochastic Alternating Direction Method of Multipliers for Nonconvex Nonsmooth Optimization

2019-05-29 · Feihu Huang, Shangqian Gao, Songcan Chen, Heng Huang

Alternating direction method of multipliers (ADMM) is a popular optimization tool for the composite and constrained problems in machine learning. However, in many machine learning problems such as black-box attacks and b…

Adversarial AttackBIG-bench Machine LearningBinary Classification

Accelerated Zeroth-Order and First-Order Momentum Methods from Mini to Minimax Optimization

2020-08-18 · Feihu Huang, Shangqian Gao, Jian Pei, Heng Huang

In the paper, we propose a class of accelerated zeroth-order and first-order momentum methods for both nonconvex mini-optimization and minimax-optimization. Specifically, we propose a new accelerated zeroth-order momentu…

Adversarial Attack

Zeroth-Order Optimization Finds Flat Minima

2025-06-05 · Liang Zhang, Bingcong Li, Kiran Koshy Thekumparampil, Sewoong Oh 외

Zeroth-order methods are extensively used in machine learning applications where gradients are infeasible or expensive to compute, such as black-box attacks, reinforcement learning, and language model fine-tuning. Existi…

Binary ClassificationLanguage ModelingLanguage Modelling

ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Models

2017-08-14 · Pin-Yu Chen, huan zhang, Yash Sharma, Jin-Feng Yi 외

Deep neural networks (DNNs) are one of the most prominent technologies of our time, as they achieve state-of-the-art performance in many machine learning tasks, including but not limited to image classification, text min…

Adversarial AttackAdversarial DefenseAutonomous DrivingDimensionality Reduction+2