arXiv:2610.11821cs.DCOct 2026

Manuscript Offprint

arXiv:2610.11821

Federated Zeroth-Order Optimization with Direction Aggregation and Variance Reduction

Qianlong Dang, Baosheng Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Qianlong Dang, Member, IEEE, Baosheng Li

Abstract—We study constrained nonsmooth nonconvex stochastic optimization in federated settings, where clients access only stochastic function evaluations. Existing federated zeroth-order methods primarily combine local zeroth-order updates with model averaging. However, they struggle with client drift induced by local projected updates and sampling variance in stochastic zeroth-order estimates. In this paper, we propose a federated zeroth-order framework based on direction aggregation, equipped with two local sampling schemes. Specifically, FedZOO constructs a local direction from a minibatch shared across multiple spherical queries, thereby controlling the stochastic errors arising from data sampling and gradient approximation. In contrast, FedVRZO forms its local estimator from independent sample-direction pairs, so that its sampling error is controlled directly by the number of sample-direction pairs. In both algorithms, clients compute the mean of the directions evaluated along their projected local trajectories, and the server performs a single projected update using the weighted aggregate of the client directions. Furthermore, we establish convergence guarantees for FedZOO and FedVRZO, respectively. Experiments on black-box adversarial attacks demonstrate the effectiveness of the proposed methods.

Index Terms—Federated optimization, zeroth-order optimization, nonsmooth nonconvex optimization, variance reduction, randomized smoothing.

I. INTRODUCTION

FEDERATED optimization [1]–[3] seeks a shared decision vector by coordinating client-specific objectives while preserving data privacy through local computation [4]. In this paper, we consider the following finite-sum stochastic optimization problem

min⁡x∈Xf(x):=∑i=1Mpifi(x),fi(x):=Eξi∼Di[Fi(x,ξi)],\begin{align*}\min_{x\in\mathcal{X}}\quad&f(x):=\sum_{i=1}^{M}p_{i}f_{i}(x),\\&f_{i}(x):=\mathbb{E}_{\xi_{i}\sim\mathcal{D}_{i}}[F_{i}(x,\xi_{i})],\end{align*}

(1)

where MM is the number of clients, pi>0p_i > 0 with ∑i=1Mpi=1\sum_{i=1}^M p_i = 1, and X⊆Rn\mathcal{X} \subseteq \mathbb{R}^n is a nonempty closed convex constraint

This work was supported in part by the National Nature Science Foundation of China under Grant 12501711 and 126011000, in part by the Postdoctoral Research Project of Shaanxi Province Grant 2025BSHEDZZ012, in part by the China Postdoctoral Science Foundation under Grant 2024M762632, in part by the Social Science Foundation of Shaanxi under Grant 2024R027, in part by Chinese Universities Scientific Fund Grant 2452026073, and in part by the Fundamental Research Funds for the Central Universities Grant 2452026134.

Qianlong Dang and Baosheng Li are with the College of Science, Northwest A&F University, Yangling 712100, China (e-mail: xidianql-dang@163.com, baoshengli96@nwafu.edu.cn).

set shared by all clients. The local objective fif_i is defined as the expectation of the sample loss Fi(x,ξi)F_i(x, \xi_i) over the random variable ξi∼Di\xi_i \sim \mathcal{D}_i, and FiF_i may be nonsmooth and nonconvex. Each client ii can only query stochastic function evaluations Fi(x,ξi)F_i(x, \xi_i), whereas first-order gradient information is unavailable. Thus, standard gradient-based federated algorithms become inapplicable, and stationarity can no longer be characterized by the classical gradient norm. In addition, the client data distributions Di\mathcal{D}_i may not be identical [5], [6]. Throughout the paper, ∥⋅∥\|\cdot\| denotes the Euclidean norm unless another norm is indicated.