TL;DR
When training image generators collaboratively via Federated Learning, participants repeatedly receive updated model weights—making it trivially easy for a rogue participant to steal the model, take it offline, and sell the generated art. Existing "traitor tracing" methods fail here because they require inspecting the stolen weights or querying a live API. FedTrace solves this forensic puzzle by embedding invisible, resilient client fingerprints into the model's adapters, allowing defenders to pinpoint the exact leaker (or a group of colluding leakers) from a handful of circulating images alone.
What Problem Does This Paper Address?
Federated Learning (FL) lets multiple clients collaboratively fine-tune a shared generative model (like Stable Diffusion using lightweight LoRA adapters) without ever sharing their private training images. However, every round of FL requires sending the latest adapter weights out to the clients. A malicious client can easily pocket that adapter, go completely offline, and start selling generated images on downstream markets.
Traditional model-protection schemes assume the defender either recovers the stolen checkpoint (white-box verification) or gets to interrogate the thief’s deployed model via an API (black-box verification). In generative AI theft, you often get neither—you only see suspicious images floating around the internet. Furthermore, clients perform local training that naturally degrades embedded watermarks, and clever thieves might collude by averaging their adapters together to blur their individual fingerprints. We needed a way to trace traitors strictly from generated content in the wild.
Methods
FedTrace introduces a server-controlled watermarking pipeline that requires zero changes to how clients train locally—clients just do standard image optimization while the server handles the spycraft.
It relies on three main mechanisms:
- Round-Wise Watermark Lifecycle (Imprint, Strip, Repeat): Before dispatching an adapter to a client, the server maps a secret binary client ID into the LoRA down-projection weights and reinforces it briefly on public data. When the client returns the trained adapter, the server mathematically projects out ("strips") the watermark residual before aggregating updates globally. This keeps client watermarks from polluting the shared global model.
- Low-Drift Reliable-Bit Selection: Local training causes some LoRA rank directions to shift dramatically ("high drift"), scrambling watermark bits tied to them. Using proxy public data, the server profiles which directions stay calm during adaptation and concentrates client IDs onto the shortest prefix of stable, low-drift bit positions.
- Anti-Collision Coding & Soft Subset Verification: To defeat colluders who merge models, the server assigns client codes that maximize separation while penalizing overlapping
1bits. During verification, a frozen decoder extracts soft bit confidences from suspicious images and compares them (via reliability-weighted cosine similarity) against empirical subset prototypes—reference signatures generated by actually merging candidate adapters on the server.
Datasets
Rather than introducing a new dataset, the authors adopt four personalization domains established in prior LoRA-watermarking work (AuthenLoRA), paired with popular Stable Diffusion backbones:
- Realistic Human (portraits, paired with Stable Diffusion v1.5)
- Anime Character (character personalization, paired with AnyLoRA)
- PixelArt (style adaptation, paired with AnyLoRA)
- Lolita (clothing design, paired with MajicMix v7)
In addition, a disjoint public dataset is used server-side to pretrain the frozen watermark encoder-decoder and reinforce watermarks between rounds.
Key Insights and Ideas
- Decoupling identity from utility: Treating watermarks as temporary "shipping labels"—stamped onto outgoing adapters and stripped upon return—prevents client fingerprints from colliding inside the global model across training rounds.
- Less is more when bits drift: Evaluating all watermark bits after local training actually hurts attribution because noisy, high-drift LoRA ranks drown out clean evidence. Filtering down to a compact, stable prefix boosts accuracy significantly.
- Model merging isn't strictly linear in output space: When two traitors average their LoRA weights, the resulting watermark evidence in generated images doesn't just look like the simple average of their individual signatures. Simulating the merge server-side (empirical subset prototypes) captures non-linear merging effects and dramatically improves collusion detection.
Key Results
- Single-Traitor Attribution: In a 5-client setup after local training, FedTrace achieves 0.800 client attribution accuracy on Anime, PixelArt, and Realistic Human, and 1.000 on Lolita—doubling the 0.40 accuracy of adapted static fingerprinting baselines on Realistic Human while keeping image quality (CLIP score of 32.98 vs. 33.68 for clean FL) intact.
- Reliable-Bit Gains: Isolating low-drift positions lifts mean bit recovery from 0.893 to 0.919, pushing client attribution accuracy at a 10-bit prefix to 0.85 (compared to 0.73 without reliability selection).
- Catching Colluders: Under two-client adapter merging across all four domains, using empirical subset prototypes achieves 0.927 accuracy at catching at least one colluder and 0.664 at recovering the exact colluding pair (nearly doubling the 0.334 exact-match rate of simple averaged prototypes).
- Robustness: Image-level Top-1 attribution starts at 0.827 with no tampering and holds up reasonably well against JPEG compression (0.736), Gaussian noise (0.731), and 8-bit model quantization (0.790).
Limitations and Future Work
While the provided main text does not include a standalone limitations section, the experimental findings highlight two clear boundaries:
- Vulnerability to Structural Pruning: Among tested attacks, LoRA rank pruning causes the sharpest drop—pulling bit accuracy down to 0.761 and Top-1 image attribution to 0.685, since rank removal directly slices into the down-projection rows carrying the identity modulation.
- Client-Scaling Tradeoffs: As more clients join a fixed 16-bit code space, separating identities gets tougher; on Realistic Human, attribution accuracy steps down from 0.917 (3 clients) to 0.875 (4 clients) and 0.800 (5 clients), pointing to a natural capacity-separation tradeoff as federations grow larger.
Summary updated