NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Randomized Subspace Embeddings for Distributed Optimization Under a Communication Budget

Rajarshi Saha, Mert Pilanci, Andrea J. Goldsmith

Abstract

We study first-order optimization algorithms under the constraint that the descent direction is quantized using a pre-specified budget of $R$-bits per dimension, where $R \in (0 ,\infty)$. We propose computationally efficient optimization algorithms with convergence rates matching the information-theoretic performance lower bounds for: (i) Smooth and Strongly-Convex objectives with access to an Exact Gradient oracle, as well as (ii) General Convex and Non-Smooth objectives with access to a Noisy Subgradient oracle. The crux of these algorithms is a polynomial complexity source coding scheme that embeds a vector into a random subspace before quantizing it. These embeddings are such that with high probability, their projection along any of the canonical directions of the transform space is small. As a consequence, quantizing these embeddings followed by an inverse transform to the original space yields a source coding method with optimal covering efficiency while utilizing just $R$-bits per dimension. Our algorithms guarantee optimality for arbitrary values of the bit-budget $R$, which includes both the sub-linear budget regime ($R < 1$), as well as the high-budget regime ($R \geq 1$), while requiring $O(n^2)$ multiplications, where $n$ is the dimension. We also propose an efficient relaxation of this coding scheme using Hadamard subspaces that requires a near-linear time, i.e., $O(n \log n)$ additions. Furthermore, we show that the utility of our proposed embeddings can be extended to significantly improve the performance of gradient sparsification schemes. Numerical simulations validate our theoretical claims.

The Communication Bottleneck in Distributed Learning

In distributed machine learning, a central server coordinates many worker devices to train a model. The primary bottleneck is communication overhead: workers must send high-dimensional gradients back to the server, which is slow and energy-intensive on bandwidth-constrained networks. To save bandwidth, researchers use quantization—rounding numbers to fewer bits. However, standard quantization often struggles with "spiky" gradients where a few coordinates are much larger than others, leading to high quantization errors that scale poorly with the dimension of the model ($n$). This paper seeks a method that is both mathematically optimal and computationally efficient.

Proposed Methods: DSC and NDSC

The authors propose two main coding schemes and integrate them into standard optimization algorithms:

  1. Democratic Source Coding (DSC): This uses Kashin embeddings to transform the gradient vector into a "democratic" representation where all coordinates have roughly the same magnitude. This ensures that a simple, uniform quantizer doesn't lose too much information on any single coordinate.
  2. Near-Democratic Source Coding (NDSC): A computationally "lite" version of DSC. Instead of solving a complex linear program, it uses Randomized Hadamard Transforms. This reduces the computational complexity from $O(n^2)$ to a near-linear $O(n \log n)$, which is fast enough for real-world use.

These embeddings are integrated into algorithms like DGD-DEF (Distributed Gradient Descent with Error Feedback) and DQ-PSGD (Projected Stochastic Gradient Descent). The error feedback mechanism is crucial, as it tracks the "leftover" quantization error and adds it back into the next step to prevent algorithmic drift.

Theoretical Comparison

The proposed methods offer significant theoretical advantages over existing compression schemes. By spreading a gradient's energy evenly across a random subspace, the quantization error becomes essentially independent of the dimension (or only grows logarithmically), a massive win for high-dimensional models.

Comparison of compression schemes across bits, error, and complexity.

As shown in the table above, NDSC achieves a near-linear complexity of $O(n \log n)$ while maintaining a competitive error rate compared to more computationally expensive methods like Sim-Q+ or the standard DSC. Notably, these methods work even in the "sub-linear" regime ($R < 1$), allowing communication of a gradient using fewer total bits than there are dimensions.

Experimental Results

The researchers evaluated their algorithms on synthetic heavy-tailed data, MNIST (SVM and least squares), and CIFAR-10 (CNN in a non-i.i.d. Federated Learning setup). Key findings include:

  • Theoretical Optimality: DGD-DEF is the first polynomial-complexity algorithm to match information-theoretic lower bounds for convergence in bit-constrained regimes.
  • Superior Accuracy at Low Budgets: In CIFAR-10 experiments, the NDSC scheme with a budget of 4 bits per dimension converged successfully, while naive quantization failed entirely. To match NDSC's performance, naive quantization required 6 bits per dimension—a 50% increase in communication cost.
  • Efficiency: The NDSC version proved to be orders of magnitude faster than standard Democratic Embedding (DE) as the dimension $n$ increased, confirming its practicality for large-scale engineering.

Limitations and Future Work

While promising, the current algorithms are first-order and do not yet incorporate second-order curvature information (like the Hessian). Additionally, while the paper extends to multiple workers, a complete theoretical characterization of error feedback in multi-worker setups remains an open problem. Finally, the pure "Random Orthonormal" version of DSC still requires $O(n^2)$ memory, which may be a hurdle for extremely large models.

Summary updated

BibTeX
@article{saha2021efficient,
  author = {Rajarshi Saha and Mert Pilanci and Andrea J. Goldsmith},
  title = {{Efficient Randomized Subspace Embeddings for Distributed Optimization Under a Communication Budget}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=6JIHrtLrqH},
}
Figure