Variance Reduction for Stochastic Switching in Functionally Constrained Federated Optimization
Organizations: School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN 47907, USA
Abstract
Federated learning (FL) is increasingly used in safety-critical and fairness-sensitive applications, where learning objectives must be optimized subject to functional constraints. This setting is challenging due to costly projection onto the resulting feasible set, stochastic constraint information, partial client participation, and limited communication at edge devices. We propose a federated stochastic switching framework based on primal-only updates, avoiding dual-variable tuning for functionally constrained federated optimization. For convex objectives, the framework further supports compression with error feedback to control compression-induced bias. We establish high-probability convergence and feasibility guarantees under stochastic gradients and partial client participation, and extend the analysis to weakly convex objectives through proximal-stationarity guarantees. Our bounds isolate the effects of stochastic gradients, constraint-evaluation noise, and partial participation, and show that direct switching can retain a nonvanishing constraint-estimation error even with exact local constraint evaluations. To overcome this limitation, we develop variance-reducing constraint estimators that yield vanishing feasibility and stationarity guarantees with fixed per-round client participation and constraint-evaluation batch sizes. Experiments on Neyman-Pearson classification, fairness-constrained learning on the ADULT dataset, and constrained deep reinforcement learning demonstrate the effectiveness of the proposed framework.
Figures & tables
| v_{k}^{i}=\begin{cases}\widehat{h}_{k}^{i},&\mathtt{comp}=\mathrm{off},\\ \mathcal{Q}_{i}\bigl(r_{k}^{(i)}+\widehat{h}_{k}^{i}\bigr),&\mathtt{comp}=\mathrm{on},\end{cases}\qquad\text{and, if \mathtt{comp}=\mathrm{on}, set }r_{k+1}^{(i)}\leftarrow r_{k}^{(i)}+\widehat{h}_{k}^{i}-v_{k}^{i}. |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value | Hyperparameter | Value |
|---|---|---|---|
| Communication rounds ( ) | 2500 | Tolerance ( ) | 0.05 |
| Client participation ( ) | 6 | Total number of clients ( ) | 20 |
| Compression rate ( ) | 1.0 | Classifier dimension ( ) | 30 |
| Gradient update batch ( ) | 8 | Constraint value batch ( ) | 1 |
| Step size (centralized/direct, ) | 1.0 | Step size (momentum/STORM, ) | 1.5 |
| Momentum parameter ( ) | 0.35 | Number of runs | 3 |
| Hyperparameter | Value | Hyperparameter | Value |
| Dirichlet parameter | 2.0 | Tolerance ( ) | 0.05 |
| Communication rounds ( ) | 500 | Number of runs | 3 |
| Neural network dimension ( ) | 6,529 | Total number of clients ( ) | 10 |
| Batch size per client ( ) | 128 | Client participation ( ) | 5 |
| Learning rate ( ) | 0.1 | Momentum parameter ( ) | 0.2 |
| Penalty parameter ( ) | 10 | Dual step (IPP-ConEx) | 200 |
| Hyperparameter | Value | Hyperparameter | Value |
|---|---|---|---|
| Communication rounds ( ) | 500 | Tolerance ( ) | 30 |
| Episode length | 200 | Discount factor ( ) | 1.0 |
| Neural network dimension ( ) | 17,410 | Total number of clients ( ) | 10 |
| Batch size per client ( ) | 8 | Client participation ( ) | 4 |
| Number of runs | 3 | Momentum paramter ( ) | 0.2 |
Federated Learning
Federated learning trains shared models across data holders without requiring them to pool their raw data.
See all 943 papers