Class-wise Contribution Estimation via Logit Maximization for Federated Learning

Asim Ukaye, Nurbek Tastan, Mubarak Abdu-Aguye, Karthik NandakumararXiv 2026

TL;DR

Standard federated learning aggregation protocols degrade when clients have highly unbalanced or skewed data distributions, often drowning out rare but valuable insights. This paper introduces CELM (Contribution Estimation via Logit Maximization), a data-free framework that allows a federated learning server to evaluate class-wise client contributions purely by probing client models using input optimization. By upweighting clients that possess unique class expertise, CELM significantly boosts global model robustness under severe data heterogeneity without requiring any client metadata or server-side validation data.

What Problem Does This Paper Address?

In Federated Learning (FL), multiple decentralized clients collaboratively train a global machine learning model without sharing their raw data. While promising for privacy, real-world FL deployments suffer from severe statistical heterogeneity (non-IID data). Clients often have massive differences in dataset sizes and class distributions (label skew).

Standard aggregation methods like FedAvg weight client contributions based on self-reported sample sizes, which assumes honesty and ignores data quality. More recent validation-free methods try to score clients by checking how well their model updates align with the average gradient. However, this "similarity-to-average" approach actively penalizes "Maverick" clients—informative outliers that hold rare but critical classes (e.g., a specialized hospital with rare disease data). These clients get drowned out by the majority, leading to poor global performance on minority classes.

Methods

The authors propose CELM (Contribution Estimation from Logit Maximization), a server-side framework that operates entirely without auxiliary validation datasets or client metadata.

Fig. 1: Overview of CELM. During the initial warm-up communication rounds, the server probes each client update using class-wise logit maximization, constructs a de- biased client-class evidence matrix, and converts normalized class-wise evidence into contribution weights for aggregation. After warm-up, these contribution weights are frozen and reused for the remaining rounds to stabilize training and reduce overhead.

The core mechanism consists of three main stages:

  1. Logit Maximization Probing: To figure out what a client model knows without looking at its data, the server performs activation maximization. Starting with random Gaussian noise, the server uses gradient ascent to optimize the input images to maximize the pre-softmax logit for each class $c$. If a client has trained on plenty of samples of class $c$, the optimized input will yield a high logit score ($q_{i,c}$).
  2. De-biasing and Normalization: To prevent generic model confidence from skewing the results, the server subtracts a baseline score calculated from the previous round's global model. Crucially, CELM applies class-wise normalization across all clients. This measures a client's relative share of evidence for a class, ensuring a client with rare data stands out.
  3. Warm-up and Freeze Strategy: Running input optimization for every class across every client is computationally expensive. To solve this, CELM only computes contribution weights during an initial "warm-up" window (e.g., the first 5% of training rounds). The weights are smoothed using an Exponential Moving Average (EMA) and then frozen for the remainder of the training, reducing server overhead to near zero for the rest of the timeline.

Datasets

The authors evaluated CELM across several computer vision benchmarks under synthetic and natural non-IID splits:

  • FashionMNIST (using a 4-layer MLP)
  • CIFAR-10 (using a 5-layer CNN)
  • EMNIST (used as a stress-test for a larger number of classes—47 classes)
  • FedISIC (a naturally partitioned clinical skin lesion dataset evaluated using a pretrained ViT-B/16)

Key Insights and Ideas

  • Models as Data Proxies: The paper demonstrates that a trained model's internal representations can be inverted via logit maximization to accurately reconstruct a proxy of the client's class distribution without leaking private, human-recognizable images.
  • The Power of Class-Wise Normalization: By normalizing scores per class rather than per client, the algorithm shifts the focus from who has the most data to who provides the most unique value. This mathematical shift is what protects Maverick clients from being ignored.
  • Temporal Stability: Data distributions don't typically change mid-training in cross-silo FL. Freezing the contribution weights after a brief warm-up period provides a dual benefit: it stabilizes the aggregation weights against round-by-round gradient noise and caps the server's computational burden.

Key Results

CELM consistently outperformed competitive baselines (FedAvg, CFFL, CGSV, ShapFed) in highly heterogeneous settings:

  • Superior Balanced Accuracy: On the naturally skewed clinical dataset FedISIC, CELM achieved a balanced accuracy of 70.18%, outperforming the next best method (CFFL) by a massive margin of +7.58%.
  • Maverick Protection: In specialized "Maverick" splits where rare classes were isolated to single clients, CELM achieved 61.21% accuracy on rare classes in CIFAR-10, compared to just 39.95% for FedAvg and a complete collapse (0.00%) for gradient-alignment methods like CGSV.
  • Free-Rider Detection: Because free-riders (clients contributing zero meaningful data) fail to produce high logits during probing, CELM achieved a near-perfect 1.00 AUROC for free-rider detection across multiple benchmarks, successfully separating malicious or lazy participants from honest ones.

Limitations and Future Work

While effective, the authors note a few limitations:

  • Computational Overhead During Warm-up: Even though the weights are eventually frozen, the initial warm-up phase requires repeated forward-backward passes on the server that scale linearly with the number of clients and classes ($O(K \cdot L \cdot C_{LM})$). Scaling to thousands of classes remains a challenge.
  • Calibration Dependence: The accuracy of the contribution estimation relies heavily on the client models being well-calibrated. If a client model is highly overconfident yet inaccurate, it could theoretically distort the evidence matrix. Future work will explore calibration-aware probing mechanisms.

Summary updated

BibTeX
@misc{ukaye2026class,
  author = {Asim Ukaye and Nurbek Tastan and Mubarak Abdu-Aguye and Karthik Nandakumar},
  title = {{Class-wise Contribution Estimation via Logit Maximization for Federated Learning}},
  year = {2026},
  eprint = {2605.18892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.18892},
}
Figure