arXiv(opens in a new tab)cs.LGAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.00446

CRAD: Class-wise Reliability-Aware Distillation for Decentralized Heterogeneous Federated Learning

Baraa Bilbeisi, Mengchen Fan, Baocheng Geng, Qing Tian

Abstract

Conventional federated learning (FL) relies on parameter averaging, which forces clients to be doubly homogeneous: it demands an identical architecture and degrades under non-IID data. Real-world deployments usually break both assumptions. We sidestep both by building a decentralized knowledge distillation framework in which each client evaluates its peers' model snapshots on its own local data and distills from the resulting soft predictions. Because knowledge is transferred through the shared class posterior, clients are free to run different architectures; and because every teacher is evaluated on the student's own device, raw data never leaves the client, with no central server or public dataset required. Within this setting, we identify and address an under-examined problem: how to combine the peer teacher predictions. Existing methods, like uniform averaging, ignore how knowledge reliability varies across teachers and classes. We propose Class-wise Reliability-Aware Distillation (CRAD), which, per class, first discards teachers that disagree with the peer consensus and then takes a weighted average of the rest, weighting each teacher by its per-class reliability (precision, or inverse variance). Since the variance of an accuracy from n samples scales as 1/n, support enters automatically: among the teachers that survive filtering, a teacher is trusted for a class to the degree that it is both accurate and well-evidenced for it. On three image-classification benchmarks (CIFAR-10, CIFAR-100, and PathMNIST colon pathology), across heterogeneous architectures under severe non-IID skew, CRAD consistently outperforms competing methods in global accuracy.

1. Introduction

Federated learning (FL) has enabled collaborative training of machine learning models across distributed clients while keeping raw data local [26, 27]. However, a fundamen-

tal limitation in practical deployments is the architectural homogeneity imposed by parameter averaging [8, 18, 28]. This assumption is rarely satisfied in real-world FL systems [18, 30, 38]. Consider a network of hospitals collaborating to train a diagnostic imaging model. Each operates under distinct hardware and data availability: a large urban hospital may run a full-scale network on a GPU server, while a rural clinic can only afford a compact model on a low-power device. Because these institutions cannot share patient data across jurisdictions, FL is the natural solution [1, 15]. Yet standard FL fails here: averaging across different architectures is undefined, since the weight tensors differ in shape and semantics [8, 22]. This incompatibility bites three ways: no single architecture suits all institutions without over-provisioning weak devices or under-using capable ones [30, 38]; knowledge held in incompatible weight spaces cannot be meaningfully combined [8, 22]; and even under a shared architecture, averaging models that have each specialized to their own skewed data can yield one worse than any single specialist [2, 14, 39].

Existing FL methods fall into two groups, neither of which fits this setting. Parameter-space consensus methods [16, 21, 34] curb client drift under non-IID data but still combine weights within a shared model space, so they remain inapplicable across incompatible architectures [18, 28]. Knowledge-distillation methods [12, 20, 22] instead exchange architecture-agnostic soft predictions, escaping the homogeneity constraint, but typically reintroduce a shared public dataset or a central server [3, 28], the very privacy and centralization costs FL is meant to avoid [25, 29]. These observations motivate our approach: a fully decentralized, peer-to-peer knowledge distillation (KD) framework in which clients collaborate without parameter averaging. Each client shares model snapshots, instantiated peers as local teachers, evaluates them on its own data, and distills from their combined soft predictions, with no public transfer set and no central coordinator. Decentralized, public-data-free distillation of this kind is attractive because it is natively compatible with heterogeneous architectures, and it lets each client learn the classes it sees

*These authors contributed equally.

†Corresponding author: qtian@uab.edu rarely or not at all [18]. But making this setting work surfaces a problem the FL distillation literature has largely left implicit: once a client holds a pool of peer teacher predictions, how should those predictions be combined to guide the student?

The default answer, inherited from ensemble distillation [22], is a uniform average over all peers. This is a poor choice under heterogeneity, where teacher reliability is uneven and class-dependent. The central question of our work is therefore how a client should weight its peer teachers, per class, accounting for both how accurate and how well-supported each is (a class accuracy from few samples being itself unreliable), without a server, public data, or expensive tuning.

We answer with Class-wise Reliability-Aware Distillation (CRAD). Alongside its model snapshot, each client shares a compact class-wise statistics vector summarizing, for every class, how many validation samples it holds and how often it classifies them correctly. On receiving these statistics from its peers, a client works class by class: it first discards the teachers that hold too few samples of the class or whose predictions deviate most from the per-class peer consensus, then combines the survivors by inverse-variance (precision) weighting, so that each teacher counts in proportion to the statistical evidence behind its class-accuracy estimate. Because the variance of an accuracy estimated from nn samples scales as 1/n1/n, sample support enters the weight automatically: a teacher that survives the filter and is both accurate and well-supported for a class receives a large weight, while a teacher guessing from a few samples is discounted. Our contributions are as follows:

  • We present a decentralized, public-data-free FL framework that handles model and data heterogeneity at once: clients of differing architectures collaborate purely through peer distillation over the shared CC-dimensional class posterior. Within it we surface an under-examined problem of how to combine peer teacher predictions, and show that, since teacher reliability is uneven across peers and classes, the usual uniform averaging is a poor choice.

  • As our central methodological contribution, we propose CRAD, which, per class, filters out teachers that disagree with the peer consensus and then weights the survivors by the inverse variance (precision) of their class-accuracy estimates, which, up to smoothing constants, is the Fisher information of each estimate: the amount of statistical evidence behind the teacher's competence for that class. It rewards both accuracy and sample support, requires few tuned hyperparameters, and adds only a compact per-class statistics vector to communication.

  • On the CIFAR-10, CIFAR-100, and PathMNIST image-classification benchmarks, under heterogeneous architectures and non-IID skew, CRAD attains the best global accuracy of all compared methods while maintaining strong

local accuracy.

References (37)