In federated learning, hospitals, banks or phones train one shared model by sending model updates (gradients) to a server instead of raw data. When clients hold very different mixes of classes, a condition called label distribution skew, two things happen at once. Training gets worse, because each client's model drifts toward its own classes. And the most sensitive fact about a client often becomes its label mix itself, such as which diseases a hospital sees or which attack types hit a network. That mix is also the easiest thing to steal. Analytical attacks read class counts almost directly from the gradient of the final classification layer. They survive soft-label tricks. They survive Gaussian noise up to levels that ruin the model (Towards Eliminating Hard Label Constraints in Gradient Inversion Attacks). They also beat cryptographic aggregation when the server is allowed to plant a "fishing" model (Breaking Secure Aggregation: Label Leakage from Aggregated Gradients in Federated Learning).
This note proposes a training protocol aimed at that specific asset, the per-client label histogram. It is built from parts that already exist but have not been combined or tested against each other. The first part is a fixed, non-trainable classifier with normalized features. This structure was introduced to fix label skew, not to protect privacy. The second part is homomorphic encryption, meaning encryption under which the server can add encrypted updates without seeing them. It is arranged so that clients, not the server, hold and update the plaintext model. The question is whether this combination closes the label-leakage channels that the attacks above exploit. It must do so without adding the accuracy loss on rare classes that differential privacy causes. If it fails, the experiments should show exactly which channel stays open.
Core Claim
The label-skew literature has independently converged on designs that remove or freeze the classifier. One line normalizes penultimate features, which is what makes layer normalization work under one-class skew (Understanding the Role of Layer Normalization in Label-Skewed Federated Learning). Another fixes the classifier to a Simplex Equiangular Tight Frame, a set of maximally separated class directions shared by every client (Neural Collapse-Inspired Multi-Label Federated Learning under Label-Distribution Skew, Guiding Neural Collapse: Optimising Towards the Nearest Simplex Equiangular Tight Frame). The strongest label attacks exploit two things: the classifier bias and weight gradients, and the server's freedom to choose model parameters per client. These designs remove the first. They do not remove the second.
Our claim has two parts. First, a fixed ETF head with feature normalization does not by itself protect labels. The attacker knows the frozen head exactly, so it can push the label signal down one layer, in the spirit of the backpropagation tracing of Building Gradient Bridges. We expect the fixed head may even make this easier, and we will test that directly rather than assume protection. Second, put the same architecture inside threshold multiparty homomorphic aggregation in which clients keep and update the plaintext model themselves. BatchCrypt showed this deployment pattern (BatchCrypt: Efficient Homomorphic Encryption for Cross-Silo Federated Learning), but it was never analysed against fishing attacks. Under this arrangement the server can no longer author client-specific parameters. The fishing attack loses its lever. What remains for the server is the aggregate, which reveals the population label mix rather than any single client's. The skew fix still works, because the fixed head needs no label metadata and feature normalization is purely local.
Research Program
The protocol works as follows. Clients agree on a seed that determines the ETF head, and any client can recompute it, so a substituted head is detectable. Keys are distributed with the threshold BFV scheme of Secure Aggregation in Federated Learning using Multiparty Homomorphic Encryption, so no single party can decrypt and up to half the clients may drop out. Each round, clients encrypt their quantized, packed backbone updates. The server adds the ciphertexts, and a quorum of clients jointly decrypts only the sum. Every client applies that sum to its own copy of the model. Clients exchange a hash of the decrypted aggregate, so a server that sends different aggregates to different clients is caught.
The protocol has one obvious hole that we treat as part of the design. If participant sets differ across rounds, the difference between two aggregates isolates the clients who dropped in or out. We therefore enforce a minimum cohort size before decryption, and we measure how much histogram information leaks across rounds when that rule is relaxed.
The analysis has three threads. The first is analytical. We derive what the last trainable layer's gradient exposes when the head is a known fixed ETF followed by feature normalization. The normalization is nonlinear and couples coordinates, which may partly break the clean linear structure that bias-gradient attacks rely on. The second thread is adversarial. We build adapted attacks that know the protocol: a GDBR-style attack given the exact ETF, a fishing attack restricted to what a server can still do when clients own the model, and the Cocktail Party Attack of Cocktail Party Attack run on the decrypted aggregate. The third thread is utility. Homomorphic packing forces low-bit quantization, and the small update signal from rare classes is the first thing coarse bins erase. EdgeDetect reports exactly this widening gap under heterogeneity (EdgeDetect). We therefore sweep bit-width under Dirichlet skew and report rare-class accuracy separately.
Baselines
The naive reference point is FedAvg with a trainable classifier, plaintext updates and no defense. Under one-class CIFAR-10 skew it reaches 55.0% global accuracy (Understanding the Role of Layer Normalization). It should leak per-client histograms almost perfectly to bias-gradient attacks.
The strongest utility competitor is FedFN/FedLN in plaintext. It reports 87.2% on that same one-class setting, where FedFN achieves parity. We add FedLC, which reports 54.55% on CIFAR-10 at Dirichlet β=0.05 (Federated Learning with Label Distribution Skew via Logits Calibration), and FED-ROD, which reports 48.5% generic accuracy on CIFAR-100 at α=0.3 (On Bridging Generic and Personalized Federated Learning). Our protocol beats these on the privacy side if it matches their accuracy within one point while reducing per-client histogram recovery to the level of guessing from the population prior.
The strongest privacy competitor is client-level DP-FedAvg with the same architecture. It is tuned with an equal hyperparameter budget at several noise levels. Like-for-like comparison is at matched label-histogram recovery error, not at matched epsilon, because epsilon says nothing about what these specific attacks achieve.
The strongest cryptographic competitor is server-authored homomorphic aggregation, with the same encryption and quantization but the server distributing the model. LIA-SA reports 100% label recovery against such aggregation for batches up to 5,120. On the efficiency side, the MPHE scheme reports 95.20% on CIFAR-10 against a 95.48% uncompressed baseline. DictPFL, run from its released code (DictPFL Codebase), gives a low-overhead encrypted reference. It assumes a static shared dictionary that its authors flag as untested under heterogeneity (DictPFL).
Three ablations isolate the ingredients. The first keeps the ETF head but has the server author the model; this isolates the effect of model ownership. The second keeps client ownership but uses a trainable head; this isolates the effect of the fixed head. The third keeps everything but uses mask-based secure aggregation instead of homomorphic encryption. All runs share the same data partitions, ResNet backbones, round counts and hyperparameter search budget.
Why not just…?
Why not just add differential privacy? Uniform noise starves rare classes. Multi-Task Differential Privacy Under Distribution Skew shows tail tasks lose most, though only for convex models. The soft-label attack also survives noise until variance reaches $10^{-1}$. DP remains a real threat at moderate skew, which is why our comparison fixes leakage and compares tail-class accuracy. If DP matches us at equal leakage, the cryptography is not earning its cost.
Why not just use the fixed-ETF head in plaintext and call it a defense? We expect this to fail because the head is public. Under the GDBR logic, label information propagates into lower-layer gradients. The second ablation and the ETF-aware attack settle this directly. A positive result would be a finding in its own right, but we do not plan around it.
Why not just use ordinary mask-based secure aggregation, which is cheaper than homomorphic encryption? This is a serious alternative. The protection we claim comes from client ownership of the model, and masking could provide that too. The third ablation tests exactly this. If masking matches homomorphic encryption on leakage and accuracy, we will report that homomorphic encryption contributes only dropout tolerance and verifiability, not the core protection.
Why not just raise the quantization bit-width? BatchCrypt found 8 bits insufficient for CIFAR-10 but reported less than 1% loss at higher widths, so more bits may fully close the rare-class gap. Our bit-width sweep reports rare-class accuracy against ciphertext cost. Any skew-aware quantization would be pursued only if uniform 16-bit packing still loses tail accuracy.
Proposed Experiments
We use CIFAR-10 and CIFAR-100 under Dirichlet partitions (α from 0.05 to 1.0) and one-class allocations. We add ChestX-ray14 for multi-label skew, which matches the setting of FedNCA-ML. The primary privacy metric is the per-client label-histogram error of each adapted attack. We report it relative to an oracle that knows only the population histogram. Secondary metrics are image reconstruction PSNR and cross-round differencing leakage as the cohort-size rule is relaxed. Utility metrics are global accuracy, rare-class accuracy and the cost of encrypted communication and runtime.
The first decisive check is whether the ETF-aware attack on single plaintext gradients recovers histograms as well as attacks on a trainable head. This tells us whether the fixed head contributes anything to privacy. The second is whether moving model ownership to clients drops fishing-style recovery from near 100% to the population-oracle level. The third is whether the full protocol keeps FedFN-level accuracy under one-class skew at a bit-width that homomorphic packing can afford.
References
- Towards Eliminating Hard Label Constraints in Gradient Inversion Attacks
- Breaking Secure Aggregation: Label Leakage from Aggregated Gradients in Federated Learning
- Understanding the Role of Layer Normalization in Label-Skewed Federated Learning
- Neural Collapse-Inspired Multi-Label Federated Learning under Label-Distribution Skew
- Guiding Neural Collapse: Optimising Towards the Nearest Simplex Equiangular Tight Frame
- Building Gradient Bridges: Label Leakage from Restricted Gradient Sharing in Federated Learning
- BatchCrypt: Efficient Homomorphic Encryption for Cross-Silo Federated Learning
- Secure Aggregation in Federated Learning using Multiparty Homomorphic Encryption
- Cocktail Party Attack: Breaking Aggregation-Based Privacy in Federated Learning Using Independent Component Analysis
- EdgeDetect: Importance-Aware Gradient Compression with Homomorphic Aggregation for Federated Intrusion Detection
- Federated Learning with Label Distribution Skew via Logits Calibration
- On Bridging Generic and Personalized Federated Learning for Image Classification
- DictPFL: Efficient and Private Federated Learning on Encrypted Gradients
- Multi-Task Differential Privacy Under Distribution Skew