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

Gradient Coreset for Federated Learning

Durga Sivasubramanian, Lokesh Nagalapatti, Rishabh K. Iyer, Ganesh Ramakrishnan

Abstract

Federated Learning (FL) is used to learn machine learning models with data that is partitioned across multiple clients, including resource-constrained edge devices. It is therefore important to devise solutions that are efficient in terms of compute, communication, and energy consumption, while ensuring compliance with the FL framework’s privacy requirements. Conventional approaches to these problems select a weighted subset of the training dataset, known as coreset, and learn by fitting models on it. Such coreset selection approaches are also known to be robust to data noise. However, these approaches rely on the overall statistics of the training data and are not easily extendable to the FL setup. In this paper, we propose an algorithm called Gradient based Coreset for Robust and Efficient Federated Learning (GCFL) that selects a coreset at each client, only every K communication rounds and derives updates only from it, assuming the availability of a small validation dataset at the server. We demonstrate that our coreset selection technique is highly effective in accounting for noise in clients’ data. We conduct experiments using four real-world datasets and show that GCFL is (1) more compute and energy efficient than FL, (2) robust to various kinds of noise in both the feature space and labels, (3) preserves the privacy of the validation dataset, and (4) introduces a small communication overhead but achieves significant gains in performance, particularly in cases when the clients’ data is noisy.

Introduction

Federated Learning (FL) has emerged as a critical framework for training machine learning models on decentralized data, such as user data on mobile devices or IoT sensors, without compromising privacy. However, real-world FL deployments face two significant challenges: resource constraints on edge devices (limited battery and CPU) and the presence of noisy data (incorrect labels or corrupted features). Standard FL algorithms, such as FedAvg, treat all local data points equally, which can lead to model degradation when clients possess noisy samples.

To address these issues, we introduce GCFL (Gradient-based Coreset for Federated Learning). GCFL enables clients to identify and train on a "coreset"—a small, high-quality subset of their data—thereby reducing computational overhead and improving robustness to noise.

Methodology

The core of GCFL lies in Gradient Matching. The algorithm leverages a small, clean validation dataset ($D_V$) maintained at the server to guide the selection of clean data points at the client side.

Figure 1: High-level workflow of the GCFL algorithm showing the interaction between the server's validation dataset and the client's coreset selection.

The workflow consists of the following steps:

  1. Server Guidance: The server computes gradients for the current global model using its clean validation dataset. These "clean signals" are broadcast to the clients.
  2. Coreset Selection via OMP: Clients use Orthogonal Matching Pursuit (OMP) to select a subset of their local data whose gradients most closely align with the server's clean gradients. This process naturally filters out noisy data, as noisy samples produce gradients that diverge significantly from the clean signals.
  3. Information Bottleneck for Efficiency: To minimize communication overhead, the server only transmits gradients from the final softmax layer, which contains the most task-specific information.
  4. Local Training: Clients train exclusively on the selected coreset for $K$ communication rounds. Since the coreset is typically a small fraction (e.g., 10%) of the total data, this significantly reduces energy consumption and training time.

Experimental Evaluation

We evaluated GCFL using four diverse datasets: CIFAR-10, CIFAR-100, Oxford Flowers-102, and FEMNIST. To test robustness, we introduced varying levels of noise (up to 60%), including label flips and feature corruptions. GCFL was compared against several baselines, including FedAvg, Scaffold, FedProx, and other coreset selection methods like CRUST and Facility Location.

Results and Discussion

GCFL demonstrates superior performance and efficiency across all tested scenarios.

Figure 2: Test accuracy of GCFL vs. noise percentage across four datasets (CIFAR100, CIFAR10, FEMNIST, FLOWERS) compared to state-of-the-art baselines.

Robustness to Noise

As shown in the experimental results, GCFL consistently outperforms standard FL algorithms and existing coreset methods as noise levels increase. For instance, on CIFAR-10 with 40% label noise, GCFL achieved 47.4% accuracy, significantly higher than FedAvg's 34.1%. The algorithm effectively acts as an automated data-cleaning mechanism.

Computational and Energy Efficiency

By training on a reduced subset of data, GCFL achieves substantial gains in efficiency. In our experiments, GCFL reduced the average epoch time by approximately 50% (from 1.5s to 0.76s) compared to FedAvg. This reduction directly translates to lower energy consumption on battery-powered edge devices.

Communication Overhead and Privacy

The communication overhead introduced by sending validation gradients is minimal, representing only a ~0.25% increase in total parameters for a 3.5M parameter model. Furthermore, GCFL preserves privacy: the server's validation set is never shared with clients, and clients only share model updates, adhering to the fundamental principles of Federated Learning.

Conclusion

GCFL provides a robust and efficient solution for Federated Learning in the presence of noisy data and resource-constrained devices. By utilizing gradient matching with a small server-side validation set, it effectively filters noise and reduces local computation. Future work will explore the integration of GCFL with Personalized Federated Learning to further tailor models to individual client needs while maintaining global robustness.

Summary updated

BibTeX
@inproceedings{sivasubramanian2024gradient,
  author = {Durga Sivasubramanian and Lokesh Nagalapatti and Rishabh K. Iyer and Ganesh Ramakrishnan},
  title = {{Gradient Coreset for Federated Learning}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=Z0MaLRlVUI},
}
Figure