FedTrace: Generated-Content-Based Watermark Verification for Traitor Tracing in Federated Learning

Tianzhe Xiao, Haozhao Wang, Yichen Li, Qiyu Qin, Debin Liu, Ruixuan LiNeurIPS 2026

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.

Figure 1: Overview of FedTrace. FedTrace protects federated diffusion-LoRA training through three coupled modules. (A) The server imprints client-specific identities into dispatched adapters, clients perform ordinary local image training, and the server strips identity-aligned residuals before aggregation and next-round re-imprinting. (B) A low-drift reliable-bit carrier selects watermark positions that remain stable after local training while still distinguishing active clients. (C) Anti- collision coding and soft subset verification attribute suspicious generated images to singleton clients or colluding client subsets without requiring suspect weights or an online query interface.

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 1 bits. 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.
Figure 3: Effect of reliable-bit selection after local training. (a) Bit recovery across four domains using all positions or the selected reliable positions. (b) Client attribution as the retained prefix length varies, with and without reliability-based selection.
  • 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

Abstract

As large generative models become widely deployed and customized, federated learning is increasingly used to adapt them while keeping user data local. Because clients repeatedly receive up-to-date adapters, a malicious client can copy a dispatched adapter, use it offline, and monetize generated images without exposing the stolen weights or a queryable service. The risk is amplified when multiple clients collude by merging or averaging leaked adapters, which can blur their identities. Existing federated watermarking and traitor-tracing methods usually assume white-box access to suspect weights or black-box query access to the deployed model. In realistic generative-model theft, however, the defender may only observe images that have already circulated. We propose \emph{FedTrace}, a generated-content-based watermark verification framework that attributes leaked federated models from suspicious generated images alone. FedTrace combines three components: a round-wise watermark lifecycle that separates identity distribution from utility aggregation, a reliability-aware carrier that concentrates identity evidence on low-drift watermark positions, and anti-collision coding with soft subset verification for collusive leakage. These components enable attribution after local training from generated outputs alone, without suspect weights or online query interfaces. Extensive experiments across customized diffusion datasets, base models, and federated settings show that FedTrace preserves detectable client identities after local training and strengthens subset-aware tracing against collusion.
BibTeX
@inproceedings{xiao2026fedtrace,
  author = {Tianzhe Xiao and Haozhao Wang and Yichen Li and Qiyu Qin and Debin Liu and Ruixuan Li},
  title = {{FedTrace: Generated-Content-Based Watermark Verification for Traitor Tracing in Federated Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ynVmgUSGjZ},
}
Figure