FedAlign: Differentially Private Distribution Alignment for Non-IID Federated Learning

Peng Wu, Jiapeng Zhang, Yingjie Song, Xiong Xiao, Zhuo TangCVPR 2026

TL;DR

FedAlign is a new framework that tackles the "Non-IID" problem in Federated Learning—where different users have very different data distributions—by aligning local data using statistical moments (mean, variance, etc.). By sharing only differentially private versions of these statistics, FedAlign significantly speeds up model convergence and boosts accuracy without compromising user privacy.

What Problem Does This Paper Address?

Federated Learning (FL) allows multiple clients to train a model together without sharing their raw data. However, it faces two major hurdles:

  1. Data Heterogeneity (Non-IID): In the real world, one user might only have photos of cats (label skew), while another has thousands of low-quality night photos (feature and quantity skew). This causes local models to "drift" in different directions, leading to slow convergence and poor global performance.
  2. Privacy Vulnerabilities: Even though raw data isn't shared, the gradients sent to the server can leak information. While Differential Privacy (DP) can protect this by adding noise, that noise usually makes the already difficult Non-IID training even worse.

As shown in Figure 1, these skews cause the global model to deviate from the optimal path, resulting in unstable optimization.

Figure 1. Illustration of data heterogeneity in federated learning.

Methods

The authors propose FedAlign, which introduces a "distribution alignment" step before local training begins. The workflow (illustrated in Figure 2) consists of four main modules:

  1. Local Moment Calculation: Each client splits their data. They use one portion ("unsampled data") to calculate four statistical moments: mean (center), variance (spread), skewness (asymmetry), and kurtosis (tail thickness).
  2. Private Reporting: To maintain privacy, clients add Gaussian noise to these statistics before sending them to the server.
  3. Global Estimation & Alignment: The server aggregates these noisy statistics to estimate the "global" distribution characteristics and sends them back. Clients then adjust their training data to match these global moments.
  4. DP-FL Training: Clients train on this "aligned" data and upload their gradients (also protected by DP noise) to update the global model.
Figure 2. Overall framework of FedAlign.

The novelty lies in using higher-order moments (skewness and kurtosis) to provide a more granular alignment than simple mean/variance scaling, and doing so entirely within a formal Differential Privacy framework.

Datasets

The researchers evaluated FedAlign on two standard computer vision benchmarks:

  • MNIST: A dataset of handwritten digits.
  • CIFAR-10: A dataset of 60,000 color images in 10 classes.

To simulate real-world challenges, they induced Non-IID conditions using a Dirichlet distribution ($\alpha=0.5$) for label skew and added varying levels of Gaussian noise ($\beta$) to simulate feature skew. They tested these across standard CNNs and deeper architectures like ResNet50.

Key Insights and Ideas

  • Theoretical Grounding: The paper provides a mathematical bridge (Theorem 1 and 2) showing exactly how statistical disparities between clients increase gradient bias and slow down convergence. This justifies why fixing the distribution is a powerful lever for improving FL.
  • Moments as Privacy-Preserving Proxies: Statistical moments are highly compact. Sharing four numbers per feature dimension is far more communication-efficient and easier to privatize than sharing raw data or complex generative models.
  • The Power of Higher Orders: While mean and variance are the most impactful, the authors found that aligning skewness and kurtosis helps modulate "tail behavior," which further stabilizes training in highly heterogeneous environments.
  • Alignment vs. Correction: Unlike methods that try to "correct" the model after it drifts (like FedProx), FedAlign tries to prevent the drift from happening in the first place by making the local training data look more like the global average.

Key Results

FedAlign consistently outperformed state-of-the-art baselines like FedAvg, FedProx, SCAFFOLD, and FedNova.

  • Accuracy Boost: On CIFAR-10 with significant data skew, FedAlign achieved 54.9% accuracy, a relative improvement of roughly 12% over standard FedAvg and 4-5% over specialized methods like FedNova and FedRDN.
  • Faster Convergence: As seen in Figures 3, 4, and 5, FedAlign reaches higher accuracy levels in far fewer communication rounds than its competitors.
  • Scalability: The performance gains held steady even when moving to complex models like ResNet50 (Figure 5).
Test accuracy of ResNet50 on CIFAR-10.

Limitations and Future Work

  • Privacy Budget Split: The privacy budget ($\epsilon$) must be split between the moments and the gradients. Finding the optimal "spend" for each is an area for further tuning.
  • Computational Cost: Clients must perform the alignment transformation on their data, which adds a small computational overhead compared to vanilla FedAvg.
  • Data Types: The current work focuses on image data. Extending this moment-based alignment to natural language processing (NLP) or tabular data with categorical variables remains an open challenge.

Summary updated

BibTeX
@inproceedings{wu2026fedalign,
  author = {Peng Wu and Jiapeng Zhang and Yingjie Song and Xiong Xiao and Zhuo Tang},
  title = {{FedAlign: Differentially Private Distribution Alignment for Non-IID Federated Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=B5I407A9hE},
}
Figure