Zeroth-order (ZO) optimization has long been favored for its biological plausibility and its capacity to handle non-differentiable objectives, yet its computational complexity has historically limited its application in deep neural networks. Challenging the conventional paradigm that gradients propagate layer-by-layer, we propose Hierarchical Zeroth-Order (HZO) optimization, a novel divide-and-conquer strategy that decomposes the depth dimension of the network. We prove that HZO reduces the query complexity from O(ML2) to O(MLlogL) for a network of width M and depth L, representing a significant leap over existing ZO methodologies. Furthermore, we provide a detailed error analysis showing that HZO maintains numerical stability by operating near the unitary limit (Llip≈1). Extensive evaluations on CIFAR-10 and ImageNet demonstrate that HZO achieves competitive accuracy compared to backpropagation.
@article{arxiv.2602.10607,
title = {Hierarchical Zero-Order Optimization for Deep Neural Networks},
author = {Sansheng Cao and Zhengyu Ma and Yonghong Tian},
journal= {arXiv preprint arXiv:2602.10607},
year = {2026}
}
Comments
Corresponding author: Zhengyu Ma (mazhy@pcl.ac.cn)