# Poster 27697

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/27697

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Good afternoon, everyone. Today I'll be discussing our work on zero-order optimization, focusing on a novel approach called directionally aligned perturbation.
We are addressing the classical unconstrained stochastic optimization problem, where we aim to minimize an objective function defined as the expectation of individual loss. Unlike the first-order method that uses gradient directly, the second-order optimization relies solely on function evaluations. The standard approach in the second-order optimization is to estimate gradient using the difference between function values at two points.
These two -point asymmetre use a random perturbation vector b to sample these points, with the perturbation scaled by a small step-size parameter mu. A key question is, when does this asymmetre achieve minimal variance? We apply the standard Taylor approximation and assume the perturbation step -size mu is sufficiently small.
The objective function is further simplified as a constrained functional optimization problem. From this analysis, we derive two sufficient conditions for minimal variance, first, using perturbation with constant magnitude, such as uniform distribution on the sphere, to ensuring consistent alignment between the perturbation and the true gradient direction.
The second condition leads us to our key contribution, directionally aligned perturbation.
Depths leverage the anisotropic nature of the gradient space. Unlike uniform perturbation that maintain the same distribution across all directions, depths exhibit different distribution of perturbation along different axes. As shown in our visualization, when projecting depth onto different axes, we observe distinct patterns in X and Y components.
This adaptability is a key to our approach. Our comparison of different gradient estimation performance shows that depth achieves noticeably smaller variance in direction with the true gradient has larger magnitude. As you can see in the y direction of our test function, this targeted variance reduction is exactly what we want for effective optimization.
Implementing DAPS require a two -step process: in practice, since we don't know the true gradient beforehand, we use a batch of uniform perturbations to obtain an initial gradient estimate. Then we sample another batch of random factors and project them onto the estimated gradient for more refined gradient approximation.
To evaluate our approach, we introduce a tau effective mean square error metric, which focus on estimation accuracy in directions with gradient magnitude larger than a threshold tau. This metric helps us assess performance in the most significant gradient directions.
Our synthetic experiments on quadratic and product functions demonstrate that DAFs consistently outperform uniformed basians across various batch sizes, achieving lower tau MSE. As you can see in these plots, the DAF approach maintaining lower error can compare to other methods for all batch size settings.
More importantly, we validate our approach on practical application including large language model fine-tuning and the mesh optimization for physical numerical solver. The results show that steps lead to faster convergence and better optimization outcome in this real -world scenarios. Thank you for your attention.
