| ▲ | benrow 11 hours ago | |
I've heard that this kind of watermarking process works by biassing the statistical sampling towards a partition of the set of possible next tokens (red set and green set), at each position. It might only be a slight nudge each time, but over a sequence of tokens, the likelihood of repeating the bias by chance is increasingly improbable. The bias is different for each position and follows a defined RNG, seeded somehow predictably. Can be either an open algorithm, or not. If not open, then an API could be provided to determine if text is watermarked or not. How it applies to code - maybe it could be a subtle nudge to symbol names, etc, I'm just speculating (I only read about this in passing very recently). | ||
| ▲ | m-chrzan 10 hours ago | parent | next [-] | |
There's a computerphile video (https://www.youtube.com/watch?v=XZJc1p6RE78) with Dr. Mark Pound explaining a paper by John Kirchenbauer, Jonas Geiping et al. (https://arxiv.org/abs/2301.10226) that described a method for watermarking LLM output like this. It's not directly stated anywhere in the Claude support article that this is what they're using, but the properties of the watermark described seem to point to this method. | ||
| ▲ | metalcrow 8 hours ago | parent | prev | next [-] | |
Based on my understanding, it can only be applied to code in very limited ways: docstrings, variable names, string literals. The code itself can't really have tokens changed to another equally correct token (the foundation of the watermark) because then the code breaks! And the few places that you can do so are likely erased by formatters anyway. | ||
| ▲ | cassianoleal 10 hours ago | parent | prev | next [-] | |
> a defined RNG, seeded somehow predictably So, an NG? | ||
| ▲ | IshKebab 10 hours ago | parent | prev [-] | |
If it's based on position mod 2, wouldn't inserting or deleting (or splitting/merging) words every now and then trivially defeat it? If it is based on position mod 2 then wouldn't inserting/deleting (or splitting and merging) words every now and then defeat it? | ||