Abstract
Distributed optimization is a cornerstone of modern large-scale machine learning, yet it is often hampered by the high communication costs of transmitting full-precision gradients. This paper introduces Quantized Frank-Wolfe (QFW), a novel framework that addresses these bottlenecks in constrained optimization settings. By integrating a specialized gradient quantization scheme with variance reduction techniques, QFW provides a projection-free approach that significantly reduces communication overhead while maintaining the convergence rates of its unquantized counterparts. We demonstrate that QFW can reduce communication bits by up to 25x across various convex and non-convex benchmarks.
Introduction
Training massive models requires distributing computation across multiple worker nodes. In standard distributed setups, workers compute gradients and send them to a central master node for aggregation. For high-dimensional models, the time spent transmitting these 32-bit floating-point vectors often exceeds the time spent on local computation, creating a significant performance bottleneck.
While quantization—compressing gradients into fewer bits—has been successfully applied to unconstrained optimization (e.g., SGD), its application to constrained optimization is more challenging. In constrained settings, the Frank-Wolfe (FW) algorithm is often preferred because it is "projection-free." Unlike projected gradient descent, which requires a computationally expensive projection step back into the feasible set, FW uses a simpler linear optimization oracle. Prior to this work, a general, communication-efficient FW variant for both convex and non-convex distributed problems was missing.
The Quantized Frank-Wolfe (QFW) Framework
The proposed QFW framework operates through a synchronized three-stage cycle between a master node and $M$ worker nodes.
1. Local Computation and Quantization
Each worker $W_m$ computes a local gradient estimate $g_t^m(x_t)$. To minimize communication, this gradient is compressed using an s-Partition Encoding Scheme. Unlike traditional methods that rely on the $\ell_2$ norm, QFW utilizes the $\ell_\infty$ norm, which the authors prove minimizes the variance for sign-based encoding. Workers transmit a sign bit and a small number of randomized bits per dimension.
2. Aggregation
The master node collects the quantized updates, computes the average $\tilde{g}_t$, and broadcasts a quantized version of this average back to all workers. This bidirectional quantization ensures that communication is efficient in both directions.
3. Variance Reduction and Update
Quantization and stochastic sampling introduce noise that can lead to divergence in Frank-Wolfe updates. QFW mitigates this by incorporating Variance Reduction (VR) techniques, such as momentum-based updates or SPIDER. This step "cleans" the noisy quantized gradient before the worker performs the final Frank-Wolfe update step to obtain $x_{t+1}$.
Theoretical Analysis
The authors provide a rigorous analysis of QFW across four primary settings: stochastic vs. finite-sum objectives, and convex vs. non-convex functions. A key theoretical contribution is showing that QFW preserves the convergence rates (SFO/IFO complexity) of standard Frank-Wolfe methods while drastically reducing the average bits transmitted per iteration.
As shown in the table above, the communication cost is significantly reduced. For example, in the stochastic setting, the average bits per iteration are roughly $(M+1)(2d + 32)$, where $d$ is the dimensionality, compared to the much higher costs of full-precision transmission.
Experimental Results
The effectiveness of QFW was validated on standard benchmarks including MNIST and CIFAR-10 for both multinomial logistic regression (convex) and neural network training (non-convex).
- Communication Efficiency: In convex tasks on MNIST, QFW with aggressive "Sign Encoding" ($s=1$) achieved the target error using only $8 \times 10^6$ bits. In contrast, standard unquantized FW required over $2 \times 10^8$ bits—representing a 25x reduction in communication volume.
- Performance in Non-Convex Settings: For neural networks, QFW reached high test accuracies with far fewer transmitted bits than baselines. The experiments suggest that the optimization process is remarkably robust to the noise introduced by gradient compression, provided variance reduction is applied.
- Robustness: Even the most aggressive quantization levels (sending only signs and norms) performed comparably to higher-precision versions, highlighting the practical utility of the framework.
Conclusion and Future Work
Quantized Frank-Wolfe (QFW) represents a significant step forward for distributed constrained optimization. By combining $\ell_\infty$-based quantization with variance reduction, it offers a projection-free solution that is both theoretically sound and practically efficient.
Future research directions include refining the theoretical complexity for the stochastic non-convex case to match specialized state-of-the-art methods and providing formal guarantees for the "SignFW" heuristic, which showed promising empirical results. Additionally, extending these communication-efficient principles to other FW variants, such as Away-step Frank-Wolfe, could further broaden the impact of this work.
Summary updated