Abstract
The adaptive synchronization techniques in federated learning (FL) for scaled global model updates show superior performance over the vanilla federated averaging (FedAvg) scheme. However, existing methods employ additional tunable hyperparameters on the server to determine the scaling factor. A contrasting approach is automated scaling analogous to tuning-free step-size schemes in stochastic gradient descent (SGD) methods, which offer competitive convergence rates and exhibit good empirical performance. In this work, we introduce two algorithms for automated scaling of global model updates. In our first algorithm, we establish that a descent-ensuring step-size regime at the clients ensures descent for the server objective. We show that such a scheme enables linear convergence for strongly convex federated objectives. Our second algorithm shows that the average of objective values of sampled clients is a practical and effective substitute for the objective function value at the server required for computing the scaling factor, whose computation is otherwise not permitted. Our extensive empirical results show that the proposed methods perform at par or better than the popular federated learning algorithms for both convex and non-convex problems. Our work takes a step towards designing hyper-parameter-free federated learning.
Introduction
Federated Learning (FL) is notoriously difficult to optimize because of two primary sources of noise: data-sampling noise (inherent in stochastic gradients) and client heterogeneity (the variance in data distribution across users). In standard algorithms like FedAvg, the "client drift" caused by these factors often necessitates very small, manually tuned learning rates to prevent divergence. This leads to agonizingly slow training and expensive grid searches for the "Goldilocks" learning rate. While line search techniques work well in centralized settings, they are difficult to apply to FL because the central server lacks direct access to data for validation.
This paper introduces FEDEXPSLS, a federated learning algorithm that combines client-side stochastic line search with server-side learning rate extrapolation. By adaptively tuning learning rates during training, the method "tames" the convergence slowdowns caused by heterogeneity, achieving deterministic-like convergence rates without manual hyperparameter tuning.
Methodology
The authors propose two new algorithms to bridge the gap between adaptive optimization and federated constraints:
- FEDSLS (Federated Stochastic Line Search): Instead of the server picking a fixed learning rate, each client performs a local Stochastic Armijo Line Search. Clients check if a proposed update sufficiently decreases their local objective function; if not, they "backtrack" to a smaller step size. This ensures that every local update is a descent step.
- FEDEXPSLS (Federated Extrapolated Stochastic Line Search): This builds on FEDSLS by adding server-side extrapolation. After clients return their updates, the server calculates a global "pseudo-gradient" and uses an extrapolated learning rate to accelerate progress toward the global optimum. Crucially, the server uses the average of sampled clients' objective values as a proxy for the global objective function, which is otherwise inaccessible.
Theoretical novelty lies in the relaxation of strict assumptions. Unlike previous work, this method does not require "sample-wise interpolation" (the assumption that one model fits all data points perfectly). Instead, it uses a weaker condition of "expected sufficiently accurate function estimates," making the proofs more applicable to real-world deep learning.
Experimental Setup
The methods were evaluated on a diverse set of standard FL benchmarks:
- CIFAR-10 & CIFAR-100: Image classification using ResNet-18.
- FEMNIST: Handwritten character recognition using Multi-Class Logistic Regression.
- SHAKESPEARE: Next-character prediction using an LSTM model.
To simulate realistic difficulty, the researchers used a Dirichlet distribution ($\alpha = 0.3$) to create high data heterogeneity across clients.
Key Results
FEDEXPSLS consistently outperformed established baselines including FedAvg, FedExp, FedExpProx, and FedAdam across all tasks.
- Accuracy Boost: On CIFAR-10, FEDEXPSLS reached 87.29% test accuracy, significantly higher than FedAvg's 76.8%. On FEMNIST, it achieved 60.92% compared to FedAvg's 47.9%.
- Faster Convergence: As shown in Figure 3, the proposed method (blue line) reaches higher accuracy plateaus much earlier in the communication process than traditional methods.
- Stability: Training loss curves for FEDEXPSLS are notably smoother and drop faster, demonstrating that the interplay of line search and extrapolation provides both speed and stability.
Key Insights and Analysis
- Line Search as a Shield: The stochastic line search acts as a filter, shielding the global model from noisy or "drifty" updates. If a client's local data is too divergent from the global average, the line search naturally forces a smaller, safer step size.
- Taming Heterogeneity: Traditionally, FL proofs require a mathematical constant to bound client heterogeneity. This paper shows that the Armijo condition effectively "tames" this variance, allowing for clean convergence proofs without knowing the bound upfront.
- Linear Convergence: For strongly convex problems, the authors prove that FEDSLS achieves linear convergence even with partial client participation. This is empirically visible in the rapid, smooth drop of training loss in early rounds (Figure 1).
- Efficiency: Despite the "trial and error" nature of line search, the authors found that the algorithm rarely needs more than one or two retries per step, making the computational overhead negligible.
Limitations and Future Work
While promising, the work leaves room for further exploration regarding Client-Wise Interpolation. The proofs rely on the existence of a global optimum that satisfies all clients, which may be a stretch for extremely divergent tasks. Additionally, while the method excels in the non-convex regime, the convergence rate there remains sub-linear. Future research could also investigate how these adaptive rates interact with communication-compression techniques like quantization.
Summary updated