English

Black-Box Generalization: Stability of Zeroth-Order Learning

Machine Learning 2023-02-13 v2 Optimization and Control Machine Learning

Abstract

We provide the first generalization error analysis for black-box learning through derivative-free optimization. Under the assumption of a Lipschitz and smooth unknown loss, we consider the Zeroth-order Stochastic Search (ZoSS) algorithm, that updates a dd-dimensional model by replacing stochastic gradient directions with stochastic differences of K+1K+1 perturbed loss evaluations per dataset (example) query. For both unbounded and bounded possibly nonconvex losses, we present the first generalization bounds for the ZoSS algorithm. These bounds coincide with those for SGD, and rather surprisingly are independent of dd, KK and the batch size mm, under appropriate choices of a slightly decreased learning rate. For bounded nonconvex losses and a batch size m=1m=1, we additionally show that both generalization error and learning rate are independent of dd and KK, and remain essentially the same as for the SGD, even for two function evaluations. Our results extensively extend and consistently recover established results for SGD in prior work, on both generalization bounds and corresponding learning rates. If additionally m=nm=n, where nn is the dataset size, we derive generalization guarantees for full-batch GD as well.

Keywords

Cite

@article{arxiv.2202.06880,
  title  = {Black-Box Generalization: Stability of Zeroth-Order Learning},
  author = {Konstantinos E. Nikolakakis and Farzin Haddadpour and Dionysios S. Kalogerias and Amin Karbasi},
  journal= {arXiv preprint arXiv:2202.06880},
  year   = {2023}
}

Comments

32 pages

R2 v1 2026-06-24T09:35:49.000Z