Federated face recognition trains one face-embedding model across many organizations or devices, each holding photos of a disjoint set of people, without pooling the photos. The hard part is that each client sees only its own identities. A model trained this way learns to separate "my people" from each other but not from everyone else's. The methods that close this gap work by letting identity-bearing vectors cross the client boundary. These are per-person class vectors ("proxies," the rows of the final classification layer) or average embeddings ("centroids"), and they supply cross-client negatives. Those vectors are biometric templates in all but name. FedGC shows that shared class embeddings let an attacker reconstruct training faces. Unlike a password, a leaked face template cannot be reset.
Cancelable biometrics is the field that makes templates resettable. A template is passed through a key-dependent, hard-to-invert transform, and when the key is replaced the old template becomes useless and unlinkable to the new one. We propose to apply this idea to the training-time messages of federated learning rather than to the final enrollment templates. Every identity proxy that leaves a client is first transformed under a federation key that clients share, that the server never sees, and that is renewed every round. The design rests on one observation. A shared orthogonal rotation preserves cosine similarity exactly. Spherical interpolation toward a shared random high-dimensional key changes cosine similarity by a known affine map. Together they let clients compute the cross-client softmax "in the transformed frame" with only a temperature correction. A leaked proxy, meanwhile, lies off the backbone's output manifold and cannot be linked across rounds.
Core Claim
Cross-client separation of identities in federated biometric training can be recovered with proxies that are revocable and unlinkable across rounds, at a measurable and small accuracy cost relative to plaintext proxies. The resulting proxies resist model-guided inversion far better than Gaussian-noised proxies at matched verification accuracy.
The transform has three parts, applied to a unit-norm proxy $w$ under round key material $(R_t, k_t, m_t)$. $R_t$ is a random orthogonal matrix. $m_t$ is a random dimension-dropping mask, which discards information. $k_t$ is a random unit vector. The full transform is
$$T_t(w) = \mathrm{slerp}\big(\, \mathrm{norm}(m_t \odot R_t w),\; k_t,\; \alpha \big),$$
where slerp moves a point a fraction $\alpha$ of the way along the great circle toward $k_t$. In high dimension a random $k_t$ is nearly orthogonal to every proxy. For any two transformed vectors $x, y$ this gives
$$\langle T_t(x), T_t(y)\rangle \approx \cos^2(\alpha\pi/2)\,\langle x', y'\rangle + \sin^2(\alpha\pi/2),$$
where $x', y'$ are the masked, rotated vectors. The approximation follows from the slerp formula when the angle to $k_t$ is close to $\pi/2$. Margins are compressed by a known factor and can be restored by rescaling the softmax temperature.
The method contribution is not new math. It is the claim, which we will test, that this affine distortion is the only thing a federated softmax correction needs to survive. The role of the mask is honest about the threat model. Rotation and slerp protect against a server that lacks the key, but both are invertible once the key is stolen. Only the discarded dimensions resist an attacker who holds the key. That threat is exactly the "stolen-token" regime in which Benchmarking of Cancelable Biometrics for Deep Templates found that most cancelable schemes collapse; for example, Bloom-filter face EER rose from about 2% to over 35%. We therefore report key-held and key-stolen results separately and do not let the key's secrecy inflate the numbers.
Relation to Prior Work
The federated face recognition line motivates the gap. FedGC keeps class heads private (its FedPE baseline) and recovers accuracy with a server-side softmax regularizer that injects a cross-client gradient. On CASIA-WebFace split across 36 clients it reports 98.40% LFW accuracy against 94.77% for FedPE and 99.84% for centralized softmax. AdaFedFR instead broadcasts plaintext centroids of public identities, mines hard negatives against them, and adds Gaussian noise to adapter updates. FedFace attacks client drift with server-estimated momentum. All three move identity information in the clear, or in DP-noised form, and none makes it revocable.
The research file does not say what form of cross-client class information reaches FedGC's server. Our first engineering step is therefore an audit of exactly which identity-bearing tensors leave each client in a faithful FedGC reimplementation. The transform is then inserted at that boundary.
The cancelable-biometrics line supplies the method. SlerpFace rotates face templates toward random keys by spherical interpolation, with grouping and learned dropout. This cut diffusion-inversion similarity from 0.46 to 0.05 at 99.42% LFW accuracy, compared with 99.73% unprotected. We reuse its geometry, but it is applied post hoc to deployment templates of a frozen model, with a key per template. We apply a shared key that rotates every round to training messages, where cross-client comparability is mandatory.
CFVNet and Secure-RawNet put key-dependent transforms inside the training graph, but only in a centralized setting. Cancelable Product Quantization shows that key-bound obfuscation can preserve distances well enough for retrieval. It is a retrieval system, not a training protocol.
Two papers constrain the design. The benchmarking study's stolen-token results rule out reporting only key-secret security. Evaluating Gradient Inversion Attacks and Defenses in Federated Learning shows that backbone gradients leak images on their own. Strong defenses there, such as 90% pruning combined with InstaHide, reach LPIPS 0.73 against 0.45 undefended, at a cost of about 7 points of CIFAR-10 accuracy. We do not claim to fix backbone-gradient leakage. Our scope is the proxy channel, and backbone leakage is measured as a residual risk.
Research Program
The system is a FedGC-style trainer with three additions. First, clients agree on per-round key material through pairwise key agreement that excludes the server, and derive $(R_t, k_t, m_t)$ from it. Second, proxies are uploaded only as $T_t(w)$. Third, cross-client logits are computed as $\langle T_t(f), T_t(w_j)\rangle$ for local features $f$, with temperature rescaled by $1/\cos^2(\alpha\pi/2)$. This holds whether the correction runs at the server on transformed vectors or on clients after relay; we will implement whichever matches the audited FedGC data flow.
The analysis has three parts. The first measures how far the affine approximation drifts as a function of embedding dimension and $\alpha$, and whether the drift biases hard-negative selection. The second sweeps the mask keep-ratio to trace accuracy against stolen-key inversion quality. The third measures linkability of the same identity's proxies across rounds as keys renew. This last part also gives an empirical handle on renewability capacity, which the benchmarking study lists as open. A second modality check on palmprints, following the FedPalm protocol, tests whether the approach extends beyond face.
Baselines
The naive reference is FedPE: no proxies are shared, so nothing leaks through this channel but cross-client separation is lost. FedGC reports 94.77% LFW and 36.83% MegaFace TPR at 1e-6 FPR for it.
The strongest existing method is FedGC with plaintext cross-client class information. Its reported results are 98.40% LFW and 69.87% MegaFace TPR at 1e-6 FPR on the 36-client CASIA-WebFace split. Centralized softmax at 99.84% LFW is the ceiling. We will rerun FedGC ourselves on the identical split, backbone, number of rounds, and hyperparameter search budget, and compare against our reproduction rather than the quoted figure. Every protected variant gets the same tuning budget, with temperature and $\alpha$ counted as tuned hyperparameters.
The privacy competitor is FedGC with Gaussian noise added to the shared proxies, in the spirit of AdaFedFR's DP noise on updates. It is swept over noise scale. Beating it means lower inversion success at equal IJB-C TAR at 1e-4 FAR, or higher TAR at equal inversion success. For AdaFedFR's own setting the file reports 80.67% TAR at 1e-4 FAR on IJB-C; it uses an 8,000-identity MS-Celeb subset, so it is only a secondary comparison point.
Three ablations isolate the ingredients. Rotation only tests whether slerp and masking add security beyond a key-secret change of basis. A fixed key without per-round renewal tests the value of renewal for unlinkability. Transform without temperature correction tests whether the affine analysis matters.
Success means two things together. Accuracy must stay within one LFW point and within a few MegaFace points of reproduced FedGC while remaining well above FedPE. Inversion must be far worse than for plaintext proxies, with clear separation from DP-noised proxies at matched accuracy.
Why not just…?
Why not just keep proxies private, as FedPE does? It is the cleanest privacy answer, and FedGC's own numbers show the cost. Accuracy drops from 98.40% to 94.77% on LFW, and MegaFace TPR roughly halves. Improving the local loss alone is a fair rival. We include FedPE tuned with the same budget as a baseline, so if a private-only method closes the gap, our experiments will show it.
Why not just add differential-privacy noise to the shared proxies? This is the real threat. Noise is simple, and it gives a formal guarantee that our transform lacks. The concern is that face verification at 1e-4 to 1e-6 false-accept rates is extremely sensitive to small perturbations of angular margins, and that noise offers no revocation. The matched-accuracy sweep settles it directly. If DP-noised proxies match our inversion resistance at equal TAR, the cancelable transform is not justified, and we will say so.
Why not just train with FedGC and protect deployment templates post hoc with SlerpFace? That addresses a different leak. It protects enrollment templates after training, which is valuable and fully compatible with our method. It does nothing for the proxies exchanged during hundreds of training rounds. We will report the combined system and show that proxy inversion on plain FedGC succeeds regardless of post-hoc template protection.
Why not just use homomorphic encryption or secure aggregation? Secure aggregation reveals only sums. A per-identity softmax correction needs individual proxies, so sums are not enough. Fully homomorphic similarity search is reported to be hundreds of times slower than cancelable quantization; CPQ reports a 566× speedup over full homomorphic encryption and 0.71 s against more than 13,000 s at 100M entries. That cost is hard to pay inside every training round. Encryption is the stronger guarantee if cost is ignored, and we treat it as an upper bound on privacy rather than as a competitor on cost.
Proposed Experiments
Main training follows FedGC: CASIA-WebFace split by identity across 36 clients. Evaluation uses LFW accuracy, MegaFace TPR at 1e-6 FPR, and IJB-C TAR at 1e-4 FAR. Protected and unprotected runs share one backbone and one schedule.
Proxy inversion is attacked in two ways, under both key-held and key-stolen threat models. The first is DeepInversion through the shared backbone, the attack FedGC demonstrates. The second is diffusion-based inversion, as evaluated in SlerpFace. Attacks are scored by identity cosine similarity between reconstructions and the true person, using an independent face recognizer, and by attack success rate at the LFW verification threshold. Cross-round unlinkability is scored with the $D_{sys}^{\leftrightarrow}$ metric used by CFVNet and the benchmarking study. Residual backbone-gradient leakage is reported as LPIPS following Huang et al.
The decisive checks are three. Does the affine temperature correction keep FedGC's hard-negative mining intact, measured by MegaFace TPR against the no-correction ablation? Does stolen-key inversion stay near chance only through the mask, and at what accuracy cost? Do protected proxies dominate DP-noised proxies on the accuracy-versus-inversion curve?
As a transfer check, the same protocol runs on Tongji palmprints. FedPalm reports 0.61% closed-set EER and 4.27% open-set EER there, and FedAvg 1.27% closed-set. The routed expert features in that setting are transformed in the same way.
References
- Federated Learning for Face Recognition with Gradient Correction
- Benchmarking of Cancelable Biometrics for Deep Templates
- AdaFedFR: Federated Face Recognition with Adaptive Inter-Class Representation Learning
- Federated Face Recognition
- SlerpFace: Face Template Protection via Spherical Linear Interpolation
- CFVNet: An End-to-End Cancelable Finger Vein Network for Recognition
- Privacy-Preserving Speaker Verification via End-to-End Secure Representation Learning
- Secure and Scalable Face Retrieval via Cancelable Product Quantization
- Evaluating Gradient Inversion Attacks and Defenses in Federated Learning
- FedPalm: A General Federated Learning Framework for Closed- and Open-Set Palmprint Verification