Low Entropy Makes Code Generation Harder to Watermark Reliably

davidstutz92 · x · 2026-08-11

David Stutz points out a crucial technical caveat regarding AI text watermarking in models like Claude: not all text generation is equally 'watermarkable'.

He notes that code generation is particularly harder to watermark because it has lower entropy to exploit compared to natural language. This lack of randomness means that significantly more tokens are required to reliably detect the watermark in AI-generated code.

Original post →

More from Safety

Safety channel →