[Paper Review] Stochastic Zeroth-order Optimization via Variance Reduction method
This paper proposes SZVR-G, a novel stochastic zeroth-order optimization method with variance reduction using Gaussian smoothing to address high-dimensional black-box optimization. By reducing variance in both sampling and search directions, it achieves sublinear dependence on dimension $d$, improving query complexity to $O(d^{5/3}B^{1/3}/\varepsilon^{11/3})$—strictly better than prior methods like RGF and RSG in both smooth and non-smooth settings.
Derivative-free optimization has become an important technique used in machine learning for optimizing black-box models. To conduct updates without explicitly computing gradient, most current approaches iteratively sample a random search direction from Gaussian distribution and compute the estimated gradient along that direction. However, due to the variance in the search direction, the convergence rates and query complexities of existing methods suffer from a factor of $d$, where $d$ is the problem dimension. In this paper, we introduce a novel Stochastic Zeroth-order method with Variance Reduction under Gaussian smoothing (SZVR-G) and establish the complexity for optimizing non-convex problems. With variance reduction on both sample space and search space, the complexity of our algorithm is sublinear to $d$ and is strictly better than current approaches, in both smooth and non-smooth cases. Moreover, we extend the proposed method to the mini-batch version. Our experimental results demonstrate the superior performance of the proposed method over existing derivative-free optimization techniques. Furthermore, we successfully apply our method to conduct a universal black-box attack to deep neural networks and present some interesting results.
Motivation & Objective
- Address the high query complexity of existing derivative-free optimization methods due to $d$-dependent variance in random search directions.
- Develop a variance reduction framework for stochastic zeroth-order optimization that operates on both sample space and search direction space.
- Achieve improved convergence rates and query complexity that scale sublinearly with dimension $d$ in non-convex optimization.
- Extend the method to mini-batch settings with sublinear growth in query complexity relative to batch size.
- Demonstrate practical utility through application to universal black-box adversarial attacks on deep neural networks.
Proposed method
- Introduce a two-level variance reduction: maintain a fixed set of Gaussian random vectors per epoch to estimate average gradient direction, reducing variance in search direction.
- Use a stochastic zeroth-order oracle (SZO) to estimate gradient via finite differences along random directions: $ G_\mu(x,u,\xi) = \frac{F(x+\mu u,\xi) - F(x,\xi)}{\mu} u $.
- Apply variance reduction techniques from first-order optimization (e.g., SVRG) to the zeroth-order setting by reusing gradient estimates across iterations.
- Design an outer loop that periodically recomputes the average gradient over a set of $D$ Gaussian vectors, and an inner loop that samples from this set to compute updates.
- Introduce a mini-batch variant where multiple samples are processed per iteration, with query complexity growing sublinearly in batch size $B$.
- Derive theoretical bounds on step size $\eta$, smoothing parameter $\mu$, and number of iterations $K$, ensuring convergence to $\|\nabla f(x)\|^2 \leq \varepsilon^2$.
Experimental results
Research questions
- RQ1Can variance reduction techniques from first-order optimization be adapted to zeroth-order stochastic optimization to reduce $d$-dependence?
- RQ2What is the optimal size of the Gaussian vector set $D$ per epoch to minimize query complexity in high-dimensional zeroth-order optimization?
- RQ3How does the proposed method compare in query complexity to RGF and RSG in both smooth and non-smooth non-convex problems?
- RQ4Can the method be effectively extended to mini-batch settings with sublinear complexity growth in batch size?
- RQ5Does the method enable more efficient black-box adversarial attacks on deep neural networks due to reduced query cost?
Key findings
- The proposed SZVR-G method achieves a query complexity of $O(d^{5/3}B^{1/3}/\varepsilon^{11/3})$, which is strictly sublinear in $d$ and superior to RGF and RSG.
- The method reduces the $d$-factor in convergence rates by applying variance reduction on both the sample space and the search direction space.
- For the mini-batch variant, query complexity grows sublinearly with batch size $B$, unlike RGF and RSG which grow linearly.
- Theoretical analysis confirms convergence to $\|\nabla f(x)\|^2 \leq \varepsilon^2$ with optimal step size $\eta = O(\varepsilon^{5/3}/(d^{5/3}B^{1/3}))$ and smoothing parameter $\mu \leq O(\varepsilon/(L_0 d^{1/2}))$.
- Empirical results show superior performance on logistic regression and successful application to universal black-box attacks on deep neural networks with fewer queries.
- The method demonstrates better parallelizability, as larger mini-batch sizes reduce total iterations while increasing query cost sublinearly.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.