Skip to main content
QUICK REVIEW

[Paper Review] ZO-AdaMM: Zeroth-Order Adaptive Momentum Method for Black-Box Optimization

Xiangyi Chen, Sijia Liu|arXiv (Cornell University)|Oct 15, 2019
Stochastic Gradient Optimization TechniquesComputer Science34 citations
TL;DR

ZO-AdaMM extends adaptive momentum methods to zeroth-order gradient-free optimization, analyzes Mahalanobis-distance projections for convergence, and demonstrates faster convergence in black-box adversarial attacks on ImageNet compared with six state-of-the-art ZO methods.

ABSTRACT

The adaptive momentum method (AdaMM), which uses past gradients to update descent directions and learning rates simultaneously, has become one of the most popular first-order optimization methods for solving machine learning problems. However, AdaMM is not suited for solving black-box optimization problems, where explicit gradient forms are difficult or infeasible to obtain. In this paper, we propose a zeroth-order AdaMM (ZO-AdaMM) algorithm, that generalizes AdaMM to the gradient-free regime. We show that the convergence rate of ZO-AdaMM for both convex and nonconvex optimization is roughly a factor of $O(\sqrt{d})$ worse than that of the first-order AdaMM algorithm, where $d$ is problem size. In particular, we provide a deep understanding on why Mahalanobis distance matters in convergence of ZO-AdaMM and other AdaMM-type methods. As a byproduct, our analysis makes the first step toward understanding adaptive learning rate methods for nonconvex constrained optimization. Furthermore, we demonstrate two applications, designing per-image and universal adversarial attacks from black-box neural networks, respectively. We perform extensive experiments on ImageNet and empirically show that ZO-AdaMM converges much faster to a solution of high accuracy compared with $6$ state-of-the-art ZO optimization methods.

Motivation & Objective

  • Extend AdaMM to the zeroth-order (gradient-free) regime for constrained optimization.
  • Provide convergence analysis for nonconvex and constrained settings with Mahalanobis projection.
  • Quantify how the dimension d affects convergence and compare with state-of-the-art ZO methods.
  • Demonstrate practical effectiveness on black-box adversarial attacks on ImageNet.

Proposed method

  • Define a zeroth-order gradient estimator using forward differences along a random unit direction.
  • Integrate the estimator into an AdaMM framework with momentum and adaptive learning rates (AMSGrad-type updates).
  • Employ Mahalanobis-distance based projection to the feasible set to ensure convergence in constrained settings.
  • Introduce a Mahalanobis-distance based gradient mapping as a convergence measure that connects to transformed coordinates.
  • Provide theoretical convergence results for nonconvex unconstrained and constrained cases, and discuss variance-reduced estimators to handle projection bias in constrained problems.
  • Compare ZO-AdaMM against six state-of-the-art ZO methods in black-box adversarial attack tasks on ImageNet.

Experimental results

Research questions

  • RQ1How to generalize adaptive momentum methods to zeroth-order (gradient-free) optimization?
  • RQ2What role does Mahalanobis-distance based projection play in the convergence of ZO-AdaMM under constraints?
  • RQ3What are the convergence rates of ZO-AdaMM in unconstrained and constrained nonconvex optimization, and how do they scale with problem dimension d?
  • RQ4How does ZO-AdaMM perform in practical black-box problems such as adversarial attacks compared with existing ZO methods?

Key findings

  • ZO-AdaMM achieves convergence rates that are roughly O(sqrt(d)) worse than first-order AdaMM in nonconvex settings, highlighting a dimension-dependent slowdown.
  • Mahalanobis-distance based projection is necessary for convergence; Euclidean projection can cause non-convergence in constrained problems.
  • With appropriate parameter choices, ZO-AdaMM attains nonconvex convergence guarantees and scales with dimension d in a controlled manner.
  • In black-box adversarial attacks on ImageNet, ZO-AdaMM converges faster to high-accuracy solutions and yields smaller perturbations than six competing ZO methods across per-image and universal perturbation tasks.
  • The analysis introduces a Mahalanobis-based convergence measure that connects to an equivalent transformed (y-coordinate) gradient descent view, aiding the nonconvex constrained analysis.
  • Variance reduction can further mitigate projection-induced bias in constrained ZO optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.