Abstract
This paper introduces a unified framework that views decentralized and federated optimization algorithms through the lens of multi-rate feedback control. By treating these algorithms as specific discretizations of a continuous-time "double-feedback" system, the authors provide a single theoretical toolkit to analyze convergence across disparate fields and a systematic methodology for designing new, high-performance distributed algorithms.
Introduction
The landscape of distributed optimization is currently fragmented between Decentralized Optimization (DO), where agents on a graph alternate between local updates and neighbor communication, and Federated Learning (FL), where clients perform many local updates before communicating with a central server. Despite their similarities, these sub-fields often employ different notations, assumptions, and proof techniques, leading to redundant algorithm development. This research aims to bridge the gap by explaining the fundamental principles that relate these seemingly different approaches within a single control-theoretic framework.
Methodology: The Double-Feedback System
The core of the proposed framework is a continuous-time double-feedback system consisting of two primary loops:
- Local Computation Feedback Loop (LCFL): This loop handles the optimization of local objective functions ($f_i$). It stabilizes the local system and ensures agents move toward a stationary point.
- Global Consensus Feedback Loop (GCFL): This loop manages inter-agent communication, utilizing the network graph to push all agents toward a common consensus variable.
The transition from continuous theory to practical algorithms occurs during discretization. By applying a Zero-Order Hold (ZOH) to these loops at different sampling rates, the authors demonstrate that classic algorithms are specific instances of this control system:
- Slow Communication, Continuous Computation: Recovers algorithms like FedProx and NEXT.
- Equal Rates: Recovers standard Decentralized Gradient Descent (DGD) and Gradient Tracking (DGT).
- Multi-step Local Updates: Recovers Scaffold and Local GD, typical of Federated Learning.
Convergence is proven using an "energy-like" Lyapunov function, showing that if the continuous-time system is stable, its discretized versions will also converge, provided the sampling intervals (stepsizes) are sufficiently small.
Key Insights
- Algorithms as Control Loops: Distributed optimization is essentially a control problem where local gradients act as control signals for error minimization, and communication acts as a consensus signal to maintain fleet cohesion.
- The Multi-Rate Perspective: The distinction between FL and DO is not fundamental but rather a matter of sampling rates; FL simply samples the communication loop less frequently than the computation loop.
- The "FedAvg" Outlier: The analysis reveals that the popular FedAvg algorithm cannot be perfectly mapped to a persistent feedback system because its communication is "activated" only at specific intervals. This explains why FedAvg often requires more restrictive assumptions for convergence compared to algorithms like Scaffold.
- Design by "Controller Swapping": The modularity of the framework allows for algorithm improvement by swapping controllers. For instance, replacing a standard consensus controller with an accelerated one led to the derivation of a new Accelerated Gradient Tracking (AGT) algorithm.
Results and Validation
The framework was validated using numerical simulations on non-convex regularized logistic regression using an Erdős–Rényi random graph with $N=20$ agents. Key results include:
- Unified Convergence: Theorem 2 provides a generic convergence result applicable to the entire class of multi-rate discretized systems.
- Rate Preservation: Discretized algorithms preserve the $O(1/T)$ convergence rate of the underlying continuous-time system for stationary points, provided sampling rates are within safe bounds.
- Performance Gains: The newly designed AGT algorithm significantly outperformed standard Gradient Tracking (DGT) in both continuous and discrete settings, demonstrating the framework's utility for practical algorithm design.
Limitations and Future Work
While providing a powerful unifying perspective, the current work focuses on deterministic algorithms. Extending this feedback control perspective to stochastic distributed algorithms (SGD) is a primary direction for future research. Additionally, the mathematical constants for discretization bounds can be complex and conservative for practical tuning, and future iterations could address time-varying or lossy communication networks.
Summary updated