(Jumping in here late, so excuse me if I missed some context from earlier).
The watermark happens in a different phase than the LLM generation. The inference itself, the part where the LLM searches its massive dataset to finish your sentence, is the expensive part. Adding the watermark to it afterward, comparing a few close synonyms to each other, is trivially cheap, like < 1% of the inference cost. (And inference itself is much cheaper than the initial training).
When you ask it a question like “How do I do this thing?”, it has to spend seconds (or minutes) coming up with a sentence like “To do this thing, you have to first put the thingamabob in the juicer, then flick your wrist towards Jupiter in order to summon the friendly mollusc.”
For each word in that sentence, some words are more “important” to the final answer — “Jupiter”, for example, could not have any reasonable synonyms. Exchanging it for “Saturn” might summon an angry bird instead. Thus, that’s not a good word for watermarking.
But in that sentence, many other words/phrases could be trivially replaced. “To do this…” could also be “In order to…” or “To start…”, etc. “Towards” could be “in the direction of” or “at”. These low-importance synonyms could each have their own scores:
- “To do this” might be 44.1% preferred
- “In order to” might be 43.9% preferred
All the watermarking algorithm has to do is to weight and bias those two choices against each other, per its secret internal list. Maybe it gives “In order to” a secret 20% boost. But it’s only ever looking at those synonyms against each other, not re-generating scores against the whole giant LLM training data. It does that over and over again across the whole sentence/paragraph/document. That entire process takes mere milliseconds.
And by the end (for a sufficiently long text), it is statistically almost impossible to have a false positive where a watermarked text was mis-identified as such; a person not having access to the secret list would not be able to know ALL the particular synonyms pairs that get secretly weighted. They might be able to guess one or two, by sheer dumb luck, but not hundreds of them across a whole document.
They already charge by the FLOP… that’s what usage-based, per-token pricing is. But watermarking is nearly free. Inference of a single word would cost a lot more than watermarking an entire document… by several orders of magnitude.
- It is VERY expensive to train the LLM model to begin with
- Inference (using that trained model to predict next words) is still pretty expensive
- Adding a watermark to one synonym out of 10, based on a preexisting secret list, is trivially cheap (pretty much free) in comparison