arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.31454

Different Corruptions, Different Signals: Uncertainty and Loss in Federated Data Quality

Bradley Scott, Zeqi Luo, Edmond S. L. Ho

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Bradley Scott, Zeqi Luo, and Edmond S. L. Ho

School of Computing Science, University of Glasgow

Glasgow, United Kingdom

Bradley.Scott@glasgow.ac.uk, z.luo.3@research.gla.ac.uk, Shu-Lim.Ho@glasgow.ac.uk

Abstract—Federated learning (FL) data corruption can affect either inputs or labels, but it remains unclear whether input-conditional uncertainty and prediction-label loss expose these corruption modes equally. This paper compares two corruption-detection signals in FL: input-conditional uncertainty and prediction-label loss. The uncertainty signal is characterised using a learned aleatoric variance estimate together with Monte Carlo (MC) dropout variance and entropy measures, while the loss is computed against the supplied label. We test these signals against additive image noise and persistent random label flips. On ResNet-20 with CIFAR-10 and SVHN under Dirichlet partitions with data that are not independent and identically distributed (non-IID), the two corruption types behave differently. For persistent random label flips, the within-client per-sample area under the receiver operating characteristic curve (AUC) is 0.85 on CIFAR-10 and 0.95 on SVHN for prediction-label loss, while every uncertainty estimator stays at chance (0.49–0.50). This pattern is consistent with the model remaining confident in the underlying image despite the supplied label being wrong. For image noise, expected-entropy uncertainty rises above chance (0.67 on CIFAR-10 and 0.66 on SVHN), while loss responds comparably (0.64 on both). Each signal is therefore the stronger detector for a different corruption: the prediction-label loss for persistent label flips, and expected-entropy uncertainty for image noise, with its advantage becoming apparent as federation-wide corruption prevalence increases. Robust FL data-quality assessment should match the signal to the corruption rather than rely on uncertainty alone across corruption types.

Index Terms—federated learning, predictive uncertainty, aleatoric, epistemic, label noise, non-IID data, data quality

I. INTRODUCTION

Federated learning (FL) trains a shared model across clients without centralising their raw data [1]. That privacy boundary also makes data-quality assessment harder: the server sees updates and model outputs, not the examples that produced them. Recent robust FL methods use uncertainty to identify noisy clients or inspect suspicious updates. FedNed [2] and FedDPSO [3] use predictive uncertainty to identify extremely noisy clients before changing how those clients affect training. SureFED addresses poisoning-robust FL differently, using uncertainty-aware model evaluation to inspect client updates [4]. Together, these methods make uncertainty a natural candidate for detecting corrupted data in FL.

FL data corruption is not a single problem. Image noise changes the input x: the label is unchanged, but the image is degraded. A persistent label flip changes the supplied label y: the image is unchanged, but the same wrong label is used whenever that sample is seen. These corruptions affect different parts of the training pair (x,y)(x, y) and should not be expected to leave the same evidence in the model outputs.

This matters because two different corruption-detection signals are often discussed together. Input-conditional uncertainty scores, such as a learned aleatoric variance estimate [5], expected entropy [6], or Monte Carlo (MC) dropout disagreement [7], ask whether the model is unsure about the image. Loss scores computed against the supplied label ask whether the model believes the label attached to that image. This is the kind of prediction-label signal used by label-error methods such as Confident Learning [8]. For input corruption these two questions can point in the same direction. This motivates a direct test: if corruption changes the image, uncertainty and loss may both respond; if corruption changes only the label, loss may respond even when image-prediction uncertainty does not.

This gives our research question: In FL, do uncertainty and loss detect different forms of data corruption? We compare persistent random label flips with additive image noise, and we report both per-client and within-client per-sample detection area under the receiver operating characteristic curve (AUC). This tests whether uncertainty and loss are interchangeable corruption detectors, or whether each detects a different corruption mode. The per-client view matches the way many FL systems rank clients, but it is confounded by between-client heterogeneity, including class-composition differences in client data that are not independent and identically distributed (non-IID). The within-client test is the decisive one: corrupted and clean samples are compared inside the same client and under the same global model, so partition effects are held fixed.

We evaluate ResNet-20 on CIFAR-10 and SVHN under 10-client Dirichlet non-IID FL, sweeping both the corruption rate and the number of corrupt clients. The results support a multi-signal view. For persistent label flips, the input-conditional uncertainty scores stay at chance in the averaged within-client per-sample results (AUC 0.49–0.50), while the prediction-label loss separates flipped samples (0.85 on CIFAR-10 and 0.95 on SVHN). For image noise, expected-entropy uncertainty rises above chance (per-sample AUC 0.67 on CIFAR-10 and 0.66 on SVHN), while the loss responds comparably (0.64 on both). The practical conclusion is not that one signal replaces the other, but that each signal is informative for a different part of the corruption space.

The paper makes three contributions. First, it compares uncertainty and loss as corruption-detection signals for two data-corruption modes in FL: image noise and persistent label flips. Second, it shows why per-client detection is not enough by adding a within-client per-sample test that controls for between-client heterogeneity. Third, it shows that signal informativeness depends on both corruption type and federated prevalence: persistent label corruption is better detected by the prediction-label loss, while the expected-entropy advantage for image noise becomes apparent as federation-wide corruption prevalence increases.

References (26)