Client Boundaries as Identity Supervision for Federated Face Editing

When a face generator is trained across many phones, each phone usually holds photos of one person. That person's identity is constant across the phone's photos, while their smile, lighting, pose and age change from photo to photo. We propose to use this fact directly. The boundary between clients is a free label for "who," and the variation within a client is a free label for "what changed." The model's shared attribute controls are trained collaboratively. Each person's identity stays in a small private module that never leaves the device. Two mechanisms, one on the device and one on the server, remove from each shared update the directions that belong to one client only, and route those directions back into that client's private module.

This matters for two reasons. The first concerns the model. Unsupervised disentanglement is known to be ill-posed without some weak supervision (Can Diffusion Models Disentangle? A Theoretical Perspective proves exact recovery of content and style subspaces only when such supervision is available). The partition into clients supplies that supervision at no annotation cost, and supplies more of it as the population grows. The second concerns privacy. In existing split designs the "shared" adapter is trained on single-identity data, so it can quietly carry that identity to the server. This happens before any averaging, and averaging cannot undo it.

Core Claim

In identity-partitioned federated fine-tuning of a face diffusion model (a generator that learns to turn random noise into images by repeated denoising), the attribute adapter's update from a single client contains a client-specific component. That component is the identity residue, and it can be measured and removed. We claim three things. First, projecting each client's attribute update away from the directions spanned by its private identity adapter lowers identity leakage in what is transmitted. Second, a server-side step that keeps only update directions supported across many clients, and sends the rest back to the originating client, improves both attribute control and identity preservation. Third, the benefit grows with the number of clients but shrinks as more clients participate per round. This third claim gives the proposal a scaling signature that a simple dilution effect would not produce. Under dilution, larger rounds should close the gap entirely, while the pre-averaging privacy benefit should not depend on round size.

Relation to Prior Work

Four papers already join disentanglement and federated learning, and they shape this design in different ways.

Fed-PISA is the closest. It gives each speaker a private identity adapter for voice timbre and a shared style adapter for prosody, aggregated by style similarity. It reports speaker similarity of 0.645 and style expressivity of 0.704. It also reports a warning sign: training the style adapter longer degrades speaker similarity. That is the identity-bleed effect we target. Fed-PISA offers no mechanism against it, and it averages adapter factors naively. We keep its split and add the leakage-removal machinery, in a visual setting.

FedDis federates only the shape encoder of an autoencoder and keeps appearance local, with an orthogonality loss between the two. Its ablation shows the gain falling from 40% to 16% without that loss. This motivates an explicit separation term. However, its setting is a few MRI sites, not thousands of single-identity clients. FedDVA splits the latent space of a variational autoencoder into universal and personal parts on toy-scale data. SPIRE personalizes a federated diffusion model with one compact token per client. Its token is monolithic: it cannot separate identity from pose, lighting or expression. It also needs pre-training from scratch.

Two further papers supply the method rather than the motivation. FedRot-LoRA and FedPA-LoRA show that averaging the factors of low-rank adapters is wrong, for two reasons. The factors can be rotated without changing the product. Also, the average of the factors differs from the average of the products. We reuse their Procrustes alignment, which rotates each client's factors to best match a common reference. Our consensus step then operates on correctly aligned products.

PrOSe shows that enforcing orthogonality between latent blocks reduces cross-attribute leakage in centralized training. We apply the same principle to parameter updates, on the device.

Arc2Face supplies the backbone: a Stable Diffusion model conditioned only on a frozen ArcFace identity embedding. It also constrains the design. Arc2Face had to discard text prompts because prompt tokens altered facial shape, so we add attribute control through a separate adapter rather than through text.

Research Program

Every client starts from a frozen Arc2Face backbone, so identity conditioning through ArcFace is common to all methods. Each client $i$ adds two low-rank adapters (LoRA, small matrix pairs $BA$ added to the attention weights).

The first is a private identity adapter with factors $B_i^{\text{id}}, A_i^{\text{id}}$. It absorbs what ArcFace misses about that person, such as hair texture, skin, and habitual accessories. The second is a shared attribute adapter. It is driven by a CelebA attribute vector, either from ground-truth labels or from a local attribute classifier, and injected alongside the identity embedding.

On the device. After local steps, the client forms its attribute update $\Delta_i$, the product of its attribute factors minus the round's starting point. Before transmitting, it removes the part lying in the column space of its identity adapter:

$$\tilde{\Delta}_i = (I - P_i)\,\Delta_i, \qquad P_i = Q_i Q_i^\top,$$

Here $Q_i$ is an orthonormal basis for the columns of $B_i^{\text{id}}$, so $P_i$ projects onto the output directions the identity adapter uses. The removed part is added back into the identity adapter by a low-rank refit, so no locally learned signal is lost; it only changes which module holds it. A soft orthogonality penalty between the two adapters, in the spirit of PrOSe, is an ablation.

On the server. The server rotates each client's factors to a common reference, as FedRot-LoRA does. It then maintains a running estimate $U$ of the top-$k$ directions shared across clients' aligned updates, updated with momentum so that it stays stable when only a few dozen clients participate per round. Only $UU^\top \tilde{\Delta}_i$ enters the global attribute adapter. Each participating client receives its own residual $(I - UU^\top)\tilde{\Delta}_i$ and folds it into its private adapter.

The analysis tracks two quantities: how much of each update is client-specific, and how that fraction changes with population size and participation rate.

Baselines

The naive reference is FedAvg followed by local fine-tuning of one adapter per client. It has no identity/attribute split and aggregates factors naively. On MNIST generation, SPIRE reports a Kernel Inception Distance (KID, a sample-quality distance where lower is better) of 0.028 for this approach against 0.012 for SPIRE. This number comes from a different dataset and only calibrates expectations.

Second is a Fed-PISA-style split with naive factor averaging, re-implemented on the same backbone. It isolates the value of the split alone.

The strongest competitor is the same split with FedRot-LoRA alignment applied to the attribute adapter. It is strongest because it already fixes the known aggregation pathology, and averaging many clients already dilutes identity residue. It may therefore capture most of any quality gain. On MNLI with 50 clients, FedRot-LoRA reports 87.34% accuracy against 76.80% for FedIT. There is no reported result found on Lacuna for FedRot-LoRA, or for any federated method, on identity-partitioned CelebA generation. SPIRE's CelebA comparison is qualitative only.

SPIRE itself serves as the monolithic-token baseline, adapted to the Arc2Face backbone by learning its client token while the backbone stays frozen.

Two ablations isolate the key ingredients: device-side projection only, and server-side consensus only.

All methods use the same backbone, client partitions, participation schedule, number of local steps, and adapter rank budget. The identity-adapter rank is counted against the total rank budget, so methods with more private parameters gain no advantage. All methods receive an equal grid of hyperparameter trials on held-out validation clients.

Beating the strongest baseline means two things. The method must show lower transmitted-update leakage at equal attribute accuracy. It must also show a higher identity-preservation-versus-attribute-accuracy frontier on held-out identities, with confidence intervals across three seeds that do not overlap.

Why not just…?

Why not just use FedRot-LoRA on a Fed-PISA-style split? This is the real threat to the model-quality claim. With large rounds, averaging alone may wash out identity residue. We say so plainly, and the participation sweep below decides it: if the quality gap vanishes at every participation rate, the server step is unnecessary. The device-side projection addresses a different problem. The server, or anyone observing traffic, sees each client's individual update before averaging. Alignment does nothing about identity in that update, so the leakage probe is the test that matters there.

Why not just rely on the frozen ArcFace embedding, since Arc2Face already separates identity? ArcFace was trained to discard appearance that does not help recognition. On single-identity data, those discarded cues become constant within the client, and the attribute adapter is the only trainable place to absorb them. Arc2Face's own finding that extra conditioning channels change facial shape suggests this channel will not stay clean. Our "frozen backbone plus federated attribute adapter" baseline measures this directly through leakage and nearest-training-identity drift.

Why not just add differential-privacy noise to the updates? Noise is added evenly in all directions, so it degrades attribute directions as much as identity ones. Our projection removes only directions tied to one client. We will run differentially private FedAvg at matched leakage-probe accuracy and compare attribute accuracy. If noise matches our method at equal leakage, the targeted projection is not worth its complexity.

Why not just let SPIRE's client token absorb identity? A single token has to explain the whole client distribution. It offers no handle for editing smile or lighting independently of identity, and it gives no guarantee that the shared network carries no client-specific residue. The attribute-control metrics decide this comparison.

Proposed Experiments

The main testbed is the LEAF partition of CelebA (Deep Learning Face Attributes in the Wild), with one celebrity per client and roughly 20–25 images each, matching SPIRE's regime. We vary the number of clients from 100 to several thousand and the number participating per round from 10 to 200. CelebA-HQ is used for higher-resolution evaluation.

We measure four things. Identity preservation under editing is the ArcFace cosine similarity between source and edited faces. Attribute control is the edit success rate of a held-out CelebA attribute classifier. Sample quality is KID. Leakage has two measures. The first is the accuracy of a probe that matches a client's transmitted update to its ArcFace embedding among distractors. The second is the similarity of faces generated for held-out identities to their nearest training identity.

The decisive checks are three. First, at matched attribute accuracy, the device-side projection must cut probe accuracy relative to split-plus-FedRot. Second, the quality gain from the server step must shrink as participation per round grows, while the leakage gain should not. Third, a replication on Fed-PISA's speech corpora (ESD, EmoV-DB, RAVDESS, CREMA-D) must show that projection prevents the speaker-similarity drop that Fed-PISA reports when style training is lengthened. If the first check fails, the central claim fails.

Communication overhead is also reported. FedPA-LoRA's roughly 34% wall-clock increase per round is the reference for alignment-based methods.