Auditing Edge Generators Without Trusting the Edge

Hierarchical federated learning trains one model across many devices arranged in tiers. Phones or sensors ("workers") train locally, nearby edge servers combine their updates, and a cloud server combines the edges. A recent design adds a twist. Each edge server runs a generative model and hands its workers synthetic images to patch over their skewed local data, and a 5% synthetic infusion lifts accuracy on extremely skewed MNIST from 89.23% to 93.16% (Edge Association Strategies for Synthetic Data Empowered Hierarchical Federated Learning with Non-IID Data). That design, and its federated cousin for renewable-energy scenarios (Privacy-Preserving Spatiotemporal Scenario Generation of Renewable Energies), simply trusts the generator. A generator that has collapsed on a few classes, drifted, or been tampered with passes its errors to every worker it serves. Nobody in the system is positioned to notice.

We propose that the workers audit their edge's generator and reach agreement through a hierarchy that routes around the party being audited. Each worker scores the synthetic data by what it actually buys on that worker's own small real holdout, separately for each class. Workers in a cluster combine these scores in a way that tolerates liars, and other edges cross-check. The outcome is a per-edge, per-class decision on how much synthetic data to admit, which replaces the fixed 5% rule. The key point is why a hierarchy is needed at all. Under skewed data, no single worker holds all classes, so no single worker can detect a generator that is broken on classes it never sees. The cluster collectively covers those classes. And because the edge server is the thing under audit, it cannot be the one who tallies the verdict.

Core Claim

The claim is narrow and testable. With realistic non-IID skew, class-conditional generator faults are nearly invisible to the two defenses a practitioner would reach for first. The first is robust aggregation of model updates, because a poisoned class looks like ordinary data skew. The second is each worker validating on its own real data, because the worker lacks the affected classes. A class-resolved, utility-based audit aggregated inside the cluster, with an inter-cluster committee that excludes the audited edge, will detect these faults. It will also recover the accuracy they cost, at a communication cost far below all-to-all voting among workers.

This builds on two findings from synthetic-data evaluation. Utility on the downstream task, not visual or statistical closeness, determines whether synthetic data substitutes for real data (On the Equivalency, Substitutability, and Flexibility of Synthetic Data). That work measured substitutability centrally on multi-person tracking; we measure it distributedly and per class. The second finding comes from an expert Delphi panel, which recommended against standalone distance or similarity metrics and called for risk measured relative to baselines (A Consensus Privacy Metrics Framework for Synthetic Data). That consensus was among humans about metrics. Ours is among machines about a specific generator, and we borrow only its prescription: use relative, task-grounded scores.

Research Program

The audit score is simple. Worker $i$ holds a small real holdout $D_{i,c}$ for each class $c$ it has. It receives a synthetic batch $S_{e,c}$ from edge $e$. It computes

$$u_{i,c} = \ell(\theta_i; D_{i,c}) - \ell(\theta_i + \Delta(S_{e,c}); D_{i,c}),$$

where $\theta_i$ is the worker's current model, $\Delta(S_{e,c})$ is the change from a few gradient steps on the synthetic class-$c$ batch, and $\ell$ is holdout loss. Positive $u_{i,c}$ means the synthetic data helps on real data of that class. The score is relative, in the Delphi sense: it compares against the no-synthetic baseline rather than measuring distance to real data.

Within a cluster, workers combine $u_{i,c}$ over the subset holding class $c$. They use push-sum gossip, the averaging protocol whose convergence in clustered networks depends on subnetwork diameter rather than global diameter (Fast and Robust State Estimation and Tracking via Hierarchical Learning). Here it runs over a coordinate-wise trimmed mean so that a minority of dishonest workers cannot swing the verdict.

The edge server relays messages but does not tally. The resulting class vector goes to an inter-cluster committee of other edges. Following the layered agreement structure of multi-layer PBFT (A Scalable Multi-Layer PBFT Consensus for Blockchain), the committee agrees on per-class admission weights $w_{e,c}\in[0,w_{\max}]$ through a monotone map from the aggregated score. For classes that cluster $e$'s workers do not cover, the committee sends a sample of $S_{e,c}$ to workers in another cluster that do cover them. This cross-cluster audit is the piece that handles class coverage gaps within a single cluster.

This design deliberately differs from its closest relatives. Relative to the edge-association work, it replaces blind acceptance and a fixed infusion ratio with an audited, class-specific ratio. Relative to hierarchical PBFT variants such as GM-PBFT (Grouped Multilayer Practical Byzantine Fault Tolerance Algorithm), the hierarchy agrees on a quality judgment rather than a transaction order. It also treats the cluster head as a conflicted party, which answers the cluster-leader vulnerability that literature leaves open.

Baselines

The naive reference is no synthetic data at all, plus blind acceptance at the fixed 5% ratio. The latter is the configuration of Edge Association Strategies, and on clean generators it reports 89.23% rising to 93.16% on extreme non-IID MNIST. No CIFAR-10 figure was recoverable from that source, so we will reproduce both datasets. On clean generators the audit should match this within noise; beating the baseline there is not the goal. The test is under faulty generators, where blind acceptance should degrade and the audit should recover close to clean-generator accuracy.

The strongest competitor is Byzantine-robust aggregation at the edge and cloud tiers, using coordinate-wise median or trimmed mean over model updates, on top of blind 5% acceptance. It is strongest because it needs no new protocol and would catch any fault that makes updates look anomalous. No reported result found on Lacuna for robust aggregation in synthetic-data-empowered hierarchical federated learning. We will run it with the same workers, rounds, synthetic budget, and a hyperparameter sweep of equal size to ours, and charge our audit's extra local gradient steps against our compute. Beating it means higher final accuracy and higher generator-fault detection AUROC (area under the curve for separating faulty from healthy edges) at matched rounds, specifically in the subtle-fault regime.

A second competitor is local-only validation. Each worker computes $u_{i,c}$ and filters synthetic data itself, with no consensus. A third is flat consensus, in which all workers vote globally; it tests whether the hierarchy's lower message count costs detection power.

Three ablations isolate the key ingredients. The first removes class resolution by using a single scalar score per edge. The second removes the cross-cluster audit. The third lets the audited edge tally its own verdict, which should fail when that edge is adversarial.

Why not just…?

Why not just use robust aggregation of model updates? This is the real threat, and we take it seriously. If an edge produces grossly label-flipped data, its workers' updates may be outliers, and a median will discard them. That is not the fault we target. A generator collapsed on two classes produces updates that resemble legitimate skew in a non-IID system, where every worker's update already looks different. We expect robust aggregation's detection AUROC to fall toward chance as skew grows. The skew-sweep experiment below settles this directly, and if robust aggregation matches us across the sweep, the proposal's premise is wrong.

Why not just let each worker check synthetic data against its own real data? Under extreme skew a worker may hold two of ten classes, so it cannot judge the other eight. This is precisely where collapse on missing classes hurts, since those are the classes the synthetic data is supposed to supply. The local-only baseline measures this gap as a function of classes per worker. We expect its advantage to shrink as data becomes closer to independent and identically distributed (IID), and we will report where the curves cross.

Why not just score generators with a similarity metric such as FID? Computing a distance to real data requires pooling real data centrally, which the federated setting forbids. There is also direct evidence that closeness is the wrong target. The Delphi panel rejected standalone similarity metrics (A Consensus Privacy Metrics Framework). Chang et al. found that behaviorally complex synthetic data, not smoother data, raised DanceTrack HOTA from 68.8 to 73.5 (Equivalency, Substitutability, and Flexibility). Our ablation that swaps $u_{i,c}$ for a locally computed feature-distance score tests this in our setting.

Proposed Experiments

The main testbed is the three-tier setup on MNIST and CIFAR-10 with a conditional GAN or latent diffusion model at each edge, as in Edge Association Strategies. We inject four fault types into a fraction of edges. The first is class-conditional mode collapse on $k$ classes. The second is slow drift, in which generator weights degrade over rounds, mirroring the drift concerns of Hinder et al.. The third is adversarial label-swapping on a subset of classes. The fourth is dishonest workers who inflate or deflate scores, making up up to a third of a cluster. We sweep non-IID severity and the fraction of faulty edges, and report final accuracy, per-class accuracy on affected classes, detection AUROC, rounds to detection, and messages per round.

The decisive check is the skew sweep under subtle collapse. The proposal succeeds only if audit detection remains high while robust aggregation and local-only validation degrade as skew increases. A second check verifies that the self-tallying ablation fails when the faulty edge is adversarial, which is the case that justifies routing the verdict around the edge. A third check is transfer to time series: we build a hierarchical version of Fed-LSGAN over the 32 Washington wind sites grouped into regional clusters, using CRPS on real holdout days as the utility score, and corrupt one site's generator. Here the reference number is Fed-LSGAN's reported FID of 4.446 on clean training (Privacy-Preserving Spatiotemporal Scenario Generation), and we check whether the audit keeps a corrupted site from degrading the global scenario generator. Finally, the learned per-class admission weights give an empirical exchange rate between synthetic and real data per class in a distributed system, the quantity Chang et al. measured only centrally. We will report whether the 5% rule survives once generators are audited rather than trusted.