ReLIZO: Sample Reusable Linear Interpolation-Based Zeroth-Order Optimization

Abstract

Gradient estimation is critical in zeroth-order optimization methods, which aims to obtain the descent direction by sampling update directions and querying function evaluations. Extensive research has been conducted including smoothing and linear interpolation. The former methods smooth the objective function, causing a biased gradient estimation, while the latter often enjoys more accurate estimates, at the cost of large amounts of samples and queries at each iteration to update variables. This paper resorts to the linear interpolation strategy and proposes to reduce the complexity of gradient estimation by reusing queries in the prior iterations while maintaining the sample size unchanged. Specifically, we model the gradient estimation as a quadratically constrained linear program problem and manage to derive the analytical solution. It innovatively decouples the required sample size from the variable dimension without extra conditions required, making it able to leverage the queries in the prior iterations. Moreover, part of the intermediate variables that contribute to the gradient estimation can be directly indexed, significantly reducing the computation complexity. Experiments on both simulation functions and real scenarios (black-box adversarial attacks neural architecture search, and parameter-efficient fine-tuning for large language models), show its efficacy and efficiency. Our code is available at https://github.com/Thinklab-SJTU/ReLIZO.git.

Cite

Text

Wang et al. "ReLIZO: Sample Reusable Linear Interpolation-Based Zeroth-Order Optimization." Neural Information Processing Systems, 2024. doi:10.52202/079017-0481

Markdown

[Wang et al. "ReLIZO: Sample Reusable Linear Interpolation-Based Zeroth-Order Optimization." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/wang2024neurips-relizo/) doi:10.52202/079017-0481

BibTeX

@inproceedings{wang2024neurips-relizo,
  title     = {{ReLIZO: Sample Reusable Linear Interpolation-Based Zeroth-Order Optimization}},
  author    = {Wang, Xiaoxing and Qin, Xiaohan and Yang, Xiaokang and Yan, Junchi},
  booktitle = {Neural Information Processing Systems},
  year      = {2024},
  doi       = {10.52202/079017-0481},
  url       = {https://mlanthology.org/neurips/2024/wang2024neurips-relizo/}
}