WoE Wrote It? Watermarking Mixture-of-Experts LLMs for Black-Box Text Provenance

summary

The gist

Large Language Model (LLM) watermarks provide a mechanism for text provenance, enabling model owners to identify machine-generated content and attribute it to a specific watermarked model WoE biases…

In short

Watermarking of Experts (WoE) is a black-box method for proving who wrote text from large Mixture-of-Experts (MoE) models without needing access to the model's weights or deployment. It embeds an owner-specific vocabulary bias into selected expert pathways during training, allowing defenders to reconstruct the text's routing traces and verify provenance.

Key concepts

Watermarking of Experts (WoE)
A novel technique that uses the sparse structure of MoE models. WoE embeds a detectable vocabulary bias into specific experts by applying localized loss during training. This makes the watermark intrinsic to the model's weights, meaning it remains active even if an attacker steals or distills parts of the model.
Sparse Mixture-of-Experts (MoE)
A type of large language model architecture that uses a Mixture-of-Experts structure. Instead of using all parameters for every input, MoE models only activate a small subset of specialized 'experts' for any given text. WoE exploits this sparsity to embed the watermark without globally disrupting the model's general performance.
Routing Traces and Green List
The process where a suspect text is fed into the watermarked model to reconstruct which specific experts were activated (the routing trace). This trace is then compared against a 'green list'—a set of experts pre-selected by the defender. A Z-score test determines if the activated experts align with the expected bias.
Utility Preservation Trade-off
WoE balances security and performance. While detecting watermarks causes a small drop in accuracy (about 1.7 percentage points), this loss is minimal across various models. The system is designed to operate near the best point on the trade-off frontier, ensuring high detection rates without severely compromising the model's overall usefulness.

Terminology used across episodes

This episode discusses

The paper

WoE Wrote It? Watermarking Mixture-of-Experts LLMs for Black-Box Text Provenance · Read on arXiv

Radboud University · University of Bristol · Faculty of Electrical Engineering and Computing, University of Zagreb

Large Language Model (LLM) watermarks provide a mechanism for text provenance, enabling model owners to identify machine-generated content and attribute it to a specific watermarked model. However, current LLM watermarking approaches predominantly rely on inference-time sampler methods and focus their analysis on dense models. Inference-time methods are only effective when the text is explicitly generated via the model owner's controlled API; they fail in a post-compromise scenario. An adversary who steals or leaks the model weights gains complete control over inference and can simply run an unmodified sampler, bypassing the watermark and preventing post-theft attribution. In this work, we introduce Watermarking of Experts (WoE), a novel black-box text provenance method that leverages the unique structural properties of sparse Mixture-of-Experts (MoE) models. WoE biases the vocabulary of specific experts and shifts the watermark signal embedding away from unenforceable inference wrappers. This approach ensures the watermark remains intrinsic to the model parameters, enabling defenders to attribute text generated by stolen weights, leaked checkpoints, and secondary dense models distilled from the stolen architecture without needing access to the adversary's deployment or weights. We evaluate WoE across eight MoE models, demonstrating successful watermark detection from suspect text, achieving an average true positive rate of 90.1% at a 1% false positive rate, reaching up to 94.9%, while largely preserving general model utility. Furthermore, WoE remains detectable under adversarial supervised fine-tuning, model extraction, and output-level paraphrasing, forcing malicious actors into a trade-off in which weakening the attribution signal requires additional model adaptation or text-rewriting operations, or compromises the utility of the resulting output.

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: I'm Nadia.

Elias: And I'm Elias, here with Priya.

Nadia: We're looking at the paper: "WoE Wrote It? Watermarking Mixture-of-Experts LLMs for Black-Box Text Provenance".

Title and authors: Nadia: So we're looking at this paper, "WoE Wrote It? Watermarking Mixture-of-Experts LLMs for Black-Box Text Provenance." Who are the authors, and what does the title tell us about the problem they’re trying to tackle?

Elias: The authors are Jona te Lintelo Radboud University Lichao Wu University of Bristol Stjepan Picek Faculty of Electrical Engineering and Computing, University of Zagreb and Radboud University. The title tells us they are dealing with text provenance for Mixture-of-Experts LLMs.

Priya: What does that mean for the real world? Why is it a problem we need to solve right now instead of just theoretical stuff?

Nadia: It’s a problem because current watermarking methods only work when the text is explicitly generated via the model owner’s controlled API, which fails when an adversary steals model weights and can just run an unmodified sampler.

Elias: That's the core issue they are tackling; existing methods are not robust against post-theft attribution because they don't consider what happens after the weights leave the creator’s control.

Priya: So if an attacker has those stolen weights, they can just use a standard sampler and bypass any watermark unless it’s built into the model itself? What does this paper actually propose to solve that post-theft problem?

The paper's summary: Nadia: So, to recap, this paper is about using the structure of Mixture-of-Experts models to build a way to track where text came from without needing access to how it was deployed in real life.

Elias: Exactly. It moves the watermark away from things like inference wrappers and makes it part of the model's core weights itself, which is what we want for true provenance.

Priya: The big deal they are showing is that this works even against someone who has stolen the weights or a checkpoint, because it’s intrinsic to those parameters.

Nadia: They do this by biasing certain expert vocabularies, which means when you generate text, that text carries a statistical signal tied to the model owner.

Elias: How do they build that bias? It's a three-step process involving creating a secret seed to pick experts and then using low rank adaptation to push those chosen experts toward a particular word list.

Priya: And the detection part is clever, too; it doesn't just look at the final text. They feed the suspicious text into their watermarked model to reconstruct the exact routing path it took through the experts.

Nadia: Then they compare those paths against their pre-selected list of biased experts using a statistical test, a z score significance test, to see if it matches.

Elias: That’s how they handle the black box problem; you don't need to know the exact internal workings of the stolen model, just enough to trace where the text went.

Priya: The results show this works across eight different MoE models, giving them a ninety point one percent true positive rate when you keep the false positive rate at one percent.

Nadia: But you have to be careful with those numbers; they also show that this method doesn't completely destroy the model's general usefulness, actually causing only about one point seven percentage points of accuracy loss on average.

Elias: And they tackle that by showing how you can tune the payload distribution—say, targeting particular layers like one layer at each of the first three depth quartiles—to find a better balance between detection and keeping that accuracy loss down.

Priya: So, this means we have a method that stays detectable under attacks like supervised fine-tuning or model extraction because weakening the signal actually forces the attacker to do extra work or lower their output quality.

Nadia: What I find really interesting here is how they handle distillation attacks; they show that even when you distill a big MoE model down to a smaller dense model, the student still learns that green list bias as standard language structure.

Elias: That means the attribution signal doesn't just disappear when you compress the architecture; it gets baked into how the smaller model speaks naturally.

Priya: It really shows how structural information in sparse models can be leveraged for defense, not just surface-level text analysis.

The paper's improvements: Nadia: So, we're looking at how they suggest improving their WoE method for better results and more practical use.

Elias: They focus on making the system more flexible so it doesn't just work well on one particular architecture, but across a wider range of sparse models.

Priya: They look at distributing that payload—the secret seed information—across different layers, like targeting one layer in each of the first three depth quartiles.

Nadia: That makes sense because it lets you optimize for detectability while trying to keep that accuracy loss under control, which is what we talked about earlier.

Elias: And they also explored different ways to handle those adversarial attacks, like supervised fine-tuning, by showing how you need sustained fine-tuning just to bring that detection rate back up.

Priya: That speaks directly to the real world; if an attacker can easily scrub the signal with a simple fine-tune, then the defense isn't very strong for them.

Nadia: They also looked at how to handle model extraction, and they found that you can still retain a substantial portion of that attribution signal even when distilling a big MoE model into a much smaller dense one.

Elias: That’s huge because it means the provenance information isn't lost just because the architecture changes shape or gets compressed.

Priya: They also focused on making the detection process faster, suggesting that instead of doing complex calculations every time, you can do it with a standard forward pass and then a constant time green list check at each position.

Nadia: That’s good for deployment because you don't need massive computational resources just to check if something is watermarked.

Elias: It’s about making the detection part efficient so it can be used repeatedly for large scale provenance analysis, which is what we need when dealing with real data streams.

Priya: Overall, they are suggesting that by being more strategic about where you place the watermark and how you measure its effectiveness, this method becomes much more adaptable to different security scenarios.

Nadia: It moves WoE from just a proof of concept to something that’s actually usable in a defense context against sophisticated model theft.

Conclusion: Nadia: So we're wrapping up this look at "WoE Wrote It? Watermarking Mixture-of-Experts LLMs for Black-Box Text Provenance." To sum it up, this framework uses the unique structure of sparse Mixture-of-Experts models to embed a watermark directly into the weights.

Elias: That means we can trace where text came from even if an attacker has stolen the model weights and can't see how it runs.

Nadia: The main result is that this approach works well, giving us ninety point one percent detection rate at one percent false positive rate across many different models.

Elias: But you gotta remember that they found a trade-off; to maintain utility, you usually accept a little drop in benchmark accuracy of about one point seven percentage points.

Priya: I’m interested in that trade-off; what the data really shows is that we’re getting high detection rates while still keeping the model useful enough for most tasks.

Nadia: Exactly. And they showed this method holds up against some tough attacks, like supervised fine-tuning, because you have to do a lot of extra work to scrub the signal effectively.

Elias: They also proved it’s resilient against model extraction and distillation; the green list bias gets internalized even when the architecture is changed.

Priya: That’s important for privacy researchers because it shows that this isn't just a surface trick; it's baked into the math of how these AI models learn.

Nadia: The implication here is that for those of us working on exploitation, WoE gives us a way to defend against stolen IP without needing access to the target deployment.

Elias: It shifts the focus from just checking inference time to embedding structural properties into the model itself for long term provenance.

Priya: So this work is really about building more trustworthy AI systems by making their internal structure traceable rather than just their output detectable.

More episodes

← Home