TL;DR
When LLMs are fine-tuned across distributed clients using federated learning (FL), watermarks embedded in synthetic client data can reliably "contaminate" the global model—a property known as radioactivity. However, this paper discovers that an adversarial server can easily scrub these provenance signals without hurting model utility by applying Byzantine-robust aggregation to filter out watermarked client updates as outliers. Consequently, watermark radioactivity and robustness against server filtering are fundamentally at odds in federated setups.
What Problem Does This Paper Address?
As collaborative fine-tuning increasingly relies on synthetic, LLM-generated data across distributed silos (e.g., healthcare or finance), tracking data provenance—proving whose data was used to train a global model—is crucial for transparency, IP attribution, and regulatory compliance.
In centralized training, watermarks embedded in LLM-generated text are radioactive: their statistical fingerprint persists in models fine-tuned on that text. But does this hold under federated learning (FL), where client drift and multi-epoch local training introduce heavy noise? Furthermore, what happens if the central server acts as an adversary that wants to exploit client data while evading provenance tracking without sacrificing global model performance?
Methods
The authors study federated LLM fine-tuning using the FedOpt framework across two scenarios:
- VanillaFL (Benign Server): The server averages all client updates using standard FedAvg/FedOpt.
- ActiveFL (Adversarial Server): An active server attempts to eliminate watermark signals without knowing client keys or having access to raw text.
To execute the attack in ActiveFL, the server leverages Byzantine-robust aggregation (specifically RandEigen, a quasi-linear time robust mean estimator). Because watermarking subtly shifts token distributions, local gradient updates computed on watermarked data separate into outlier clusters in high-dimensional parameter space. RandEigen detects and filters out these outlier updates prior to model updates.
The authors evaluate two primary watermark families:
- KGW+ (Kirchenbauer et al.): A hashing-based "green-red list" watermark that biases token logits.
- KTH+ (Kuditipudi et al.): A provably distortion-free, sequence-based watermark relying on permutation tests.
- (Additionally tested in appendices: Gumbel-based watermarking and non-LLM Unicode character replacement).
Datasets
The authors evaluated federated fine-tuning using:
- C4: Raw web crawl text (using the first 20 tokens as prompts).
- Stanford Alpaca: 52k instruction-following question-answer pairs.
- MMLU-Pro: Multi-task language understanding benchmark used to assess downstream reasoning and utility impacts.
Note: No new benchmarks were introduced; existing datasets were adapted to federated settings with synthetic generations produced via Pythia-2.8B.
Key Insights and Ideas
- Radioactivity vs. Distortion-Free Designs: KGW+ is strongly radioactive in benign FL because its score accumulates across independent prompts. In contrast, distortion-free watermarks (like KTH+) completely fail to be radioactive ($p \approx 0.5$) because their detectors cannot accumulate signal across different prompts.
- The Radioactivity–Robustness Paradox: To make a watermark more detectable (radioactive), one typically increases logit bias ($\delta$), sampling temperature discrepancies ($\Delta T$), or client participation ($\epsilon$). However, stronger watermarks push local parameter updates further away from the clean update distribution, turning watermarked clients into obvious statistical outliers that robust aggregators easily discard.
- Synthetic vs. Natural Distribution Shifts: Even when all clients train entirely on synthetic text generated by the same model (eliminating natural-vs-synthetic distribution shifts), KGW+ updates still form separable clusters with larger $\ell_2$ displacements, allowing the server to filter them out.
- A Three-Way Trade-off: While increasing the watermarked client fraction ($\epsilon$) improves resistance against robust filtering (raising evasion rates), it degrades the global model's general downstream utility.
Key Results
- Radioactivity in VanillaFL: Under standard averaging with as few as 6.6% watermarking clients, KGW+ achieved decisive detection: $p$-values dropped to $1.27 \times 10^{-3}$ on Pythia-160M and $2.41 \times 10^{-8}$ on Pythia-410M for C4, reaching $4.96 \times 10^{-24}$ on Alpaca.
- Complete Provenance Erasure in ActiveFL: When the server deployed RandEigen aggregation, KGW+ detectability was entirely suppressed across all models and datasets, pushing post-fine-tuning $p$-values back to chance ($0.23$–$0.61$).
- Filtering Dynamics: Increasing logit bias $\delta$ from 0 to 5 decreased the watermark Evasion Rate (ER) from 60.2% down to 0.7%, demonstrating that higher watermark strength makes server filtering substantially more effective.
- Utility Impact: Increasing the proportion of watermarking clients from 0% to 16.6% increased evaluation cross-entropy loss from 3.156 to 3.158 and degraded MMLU-Pro accuracy (from 11.76% to 11.65%).
Limitations and Future Work
- Static Aggregators: The study primarily focuses on one state-of-the-art robust aggregator (RandEigen); evaluations against other defense mechanics or adaptive client countermeasures remain unexplored.
- Coordinated Threat Model: The provenance model assumes watermarking clients share a single key and generator model, which might not reflect real-world federations with heterogeneous data contributors.
- Open Questions: The core findings highlight the need for new watermarking techniques that embed subtle, non-outlier signals capable of accumulating in weight updates without drifting into detectable geometric subspaces.
Summary updated