ConFREE: Conflict-free Client Update Aggregation for Personalized Federated Learning

Hao Zheng, Zhigang Hu, Liu Yang, Meiguang Zheng, Aikun Xu, Boyu Wang

Introduction

Federated Learning (FL) enables collaborative model training across multiple clients without requiring the sharing of raw data. However, real-world data is typically non-IID (not independently and identically distributed), meaning each client possesses a unique data distribution. Personalized FL (pFL) addresses this by tailoring models to individual client needs.

A significant challenge in pFL is Negative Transfer (NF). This occurs when updates from one client—often those with larger datasets—conflict with the requirements of others during server-side aggregation. If client update directions are mathematically opposed, the resulting average update can degrade performance for some participants. While previous research has focused on client-side resistance to this phenomenon, ConFREE (Conflict-free Client Update Aggregation) targets the root cause: the server-side aggregation mechanism itself.

Methodology

ConFREE introduces a two-step aggregation process designed to eliminate geometric conflicts between client updates:

  1. Constructing a Guidance Vector: The server evaluates the cosine similarity between pairs of client updates. When updates conflict (indicated by negative similarity), ConFREE employs a projection method to remove interfering components. The average of these "cleaned" updates forms a conflict-free guidance vector ($\Delta\bar{\theta}_{\perp}$).
  2. Minimax Optimization: Rather than using the guidance vector directly, the server searches within a small neighborhood (a "ball" defined by hyperparameter $c$) around it. It identifies an update vector that maximizes the local improvement for the worst-performing client in that round.
Geometric intuition of ConFREE: projecting conflicting updates to find a conflict-free guidance vector and searching the optimal space.

This approach is model-agnostic, allowing it to be integrated into existing pFL frameworks such as FedAvg, FedRep, or FedALA as a server-side upgrade without altering client-side operations.

Experimental Setup

The researchers evaluated ConFREE across four image classification benchmarks: CIFAR-10, CIFAR-100, Tiny-ImageNet, and Flowers102. They simulated two difficult non-IID scenarios:

  • Pathological Heterogeneous: Clients observe only a few classes.
  • Practical Heterogeneous: Dirichlet distribution is used to create highly imbalanced class volumes across clients.

Results and Key Insights

ConFREE was integrated with eight state-of-the-art pFL algorithms, consistently yielding positive results across all benchmarks.

Performance comparison of various pFL methods with and without ConFREE across different datasets and heterogeneity settings.

Key Findings:

  • Performance Gains: ConFREE improved the accuracy of all eight baselines. Notably, it boosted the FedALA algorithm by 1.82% on the Flowers102 dataset.
  • Robustness to Heterogeneity: Gains were most significant in challenging settings (e.g., 60 clients with only 30% participation), suggesting ConFREE is well-suited for large-scale, imbalanced real-world deployments.
  • Geometric Conflict Resolution: By treating updates as vectors and resolving angular conflicts, the method prevents dominant clients from hijacking the global model's trajectory.
  • Fairness and Accuracy: Optimizing for the worst-performing client ensures the global model serves as a more versatile foundation for all participants, leading to higher overall system accuracy.
  • Efficiency: Despite the optimization step, communication overhead remains identical to standard FedAvg, and the additional server-side computation is negligible.

Conclusion and Future Work

ConFREE demonstrates that resolving server-side aggregation conflicts is a powerful way to enhance personalized federated learning. While effective, the method relies on a hyperparameter $c$ to define the search space, which may require tuning based on data heterogeneity. Future research could explore alternative objectives for the guidance vector beyond global loss and investigate the impact of Differential Privacy noise on conflict detection accuracy.

Summary updated

BibTeX
@inproceedings{zheng2025confree,
  author = {Hao Zheng and Zhigang Hu and Liu Yang and Meiguang Zheng and Aikun Xu and Boyu Wang},
  title = {{ConFREE: Conflict-free Client Update Aggregation for Personalized Federated Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34449},
}
Figure