Correlation Aware Sparsified Mean Estimation Using Random Projection

Shuli Jiang, Pranay Sharma, Gauri Joshi

In the world of Federated Learning (FL) and distributed optimization, communication is the ultimate bottleneck. When thousands of edge devices (clients) try to send massive model updates to a central server, the network quickly chokes. Researchers have long used "sparsification"—sending only a tiny fraction of the data—to keep things moving.

A new paper, "Correlation Aware Sparsified Mean Estimation Using Random Projection," argues that we’ve been leaving performance on the table by ignoring a simple fact: client data is often highly correlated. By combining random projections with correlation-aware decoding, the authors introduce a new estimator that significantly cuts down estimation error without increasing the communication budget.

TL;DR

The authors propose Rand-Proj-Spatial, a novel method for distributed mean estimation that uses random projections (specifically the Subsampled Randomized Hadamard Transform, or SRHT) to compress client vectors. By leveraging cross-client correlations at the server during decoding, it achieves much higher accuracy than standard coordinate-sampling methods like Rand-$k$, especially in communication-constrained settings.

What Problem Does This Paper Address?

In distributed learning, the server needs to calculate the average of vectors (like gradients) sent by $n$ clients. Because these vectors are $d$-dimensional (where $d$ can be millions), clients use sparsification (sending only $k \ll d$ values) to save bandwidth.

Distributed mean estimation architecture

The standard approach, Rand-$k$, simply picks $k$ random coordinates to send. However, this is "correlation-agnostic"—it treats every client as if their data is completely unique. In reality, clients in a federated system often have similar data, meaning their updates are correlated. While recent work like Rand-$k$-Spatial tried to use this correlation, it was limited by the fact that it still relied on simple coordinate sampling, which can easily miss the "heavy hitters" (the most important values in a vector).

Methods

The core innovation is moving from sampling coordinates to projecting them.

  1. Encoding (Client-side): Instead of picking $k$ coordinates, each client applies a random linear map to its vector. Specifically, they use the Subsampled Randomized Hadamard Transform (SRHT). This "mixes" the information from all $d$ coordinates into a $k$-dimensional summary. This is non-adaptive, meaning the client doesn't need to do expensive local computations to decide what to send.
  2. Decoding (Server-side): The server receives these projected summaries. Instead of a simple average, it solves a regression problem to reconstruct the mean.
  3. Correlation Awareness: The authors introduce a transformation function applied to the eigenvalues of the combined projection matrices. This function acts as a "tuner":
  4. If clients are highly correlated, it adjusts the weights to favor the shared information.
  5. If they are independent, it reverts to a standard unbiased estimate.
  6. Practical Variant: Since the exact correlation level is rarely known, they propose Rand-Proj-Spatial(Avg), a practical configuration that works well across varying degrees of similarity.

Datasets

The researchers evaluated their method on distinct distributed tasks using real-world data:

  • Fashion-MNIST: Used for distributed power iteration (finding principal eigenvectors) and distributed $k$-means clustering. Images were resized to $32 \times 32$ ($d=1024$).
  • UJIndoor Dataset: Used for distributed linear regression. This dataset contains signal features from phone calls used to predict location ($d=512$).

Key Insights and Ideas

  • Projections Capture "Heavy Hitters": If a gradient has only a few large values, Rand-$k$ might miss them entirely. Random projections (like SRHT) spread the energy of those large values across all $k$ transmitted components, making them much easier to recover.
  • Generalization: The paper proves that Rand-Proj-Spatial is a mathematical generalization of previous methods. If you use a simple subsampling matrix as your projection, you get Rand-$k$-Spatial back.
  • The "Correlation Bonus": The paper demonstrates that the more correlated the clients are, the more information the server can extract from the same $k$ bits of communication. Their method is designed to explicitly "harvest" this extra information.
  • Server-Heavy, Client-Light: The encoding is very fast for the client ($O(d \log d)$ or $O(kd)$), while the complex math (eigendecomposition) happens on the server, which typically has much more computational power.

Key Results

  • Superior Accuracy: In all experiments, Rand-Proj-Spatial consistently achieved lower Mean Squared Error (MSE) than Rand-$k$ and Rand-$k$-Spatial across various communication budgets ($k$) and client counts ($n$).
MSE vs. communication budget (k) across different client counts (n)
  • Robustness: Even when the data was split "Non-IID" (where clients have very different data distributions and thus lower correlation), the proposed method still outperformed the baselines.
  • Efficiency vs. Sophistication: It outperformed more "sophisticated" adaptive sparsifiers in many settings. While adaptive methods require clients to perform iterative calculations to optimize what they send, Rand-Proj-Spatial achieves better results with a simple, fixed projection.

Limitations and Future Work

  • Decoding Complexity: The server-side decoding involves an eigendecomposition of a $d \times d$ matrix, which takes $O(d^2 \cdot nk)$ time. For extremely high-dimensional models (billions of parameters), this could become a bottleneck.
  • Shared Randomness: The method assumes the server and clients can perfectly sync their random seeds. While standard in theory, implementing this with pseudo-random number generators in a massive distributed system requires careful engineering.
  • Future Directions: The authors suggest exploring the optimal estimation error for the entire class of non-adaptive estimators and combining these sparsification techniques with quantization (reducing the bit-precision of the values sent) for even greater savings.

Summary updated

BibTeX
@inproceedings{jiang2023correlation,
  author = {Shuli Jiang and Pranay Sharma and Gauri Joshi},
  title = {{Correlation Aware Sparsified Mean Estimation Using Random Projection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=VacSQpbI0U},
}
Figure