r/MachineLearning • u/Saad_ahmed04 • Aug 23 '26
Project Implementing Watermarking for Language Models [P]
I recently implemented a minimal, educational version of SynthID-Text-style watermarking for language models.
I saw anthropic post about how they'll start adding watermarks to their model responses and it made me very curious as to how they'll do it and what do they even mean by watermark here. Like will we start getting random ads or something in the middle of model responses or what.
Then decided to read their article and found out that watermark is not a visible message at all. It is a subtle statistical pattern introduced while the model chooses its tokens.
My implementation is not an exact reproduction of the original SynthID-Text system. I simplified or implemented a few components differently to keep the project understandable, but the main idea is there I think.
Github: https://github.com/Saad1926Q/llm-watermark
If you find it interesting then you may star the repo !!
View all comments
Show parent comment
1
u/Saad_ahmed04 Aug 23 '26
Yeah I do agree with this sentiment.
The main motivation for me was to try and understand what anthropic are planning on doing. And after digging into the algorithm they’re planning on using, I do have my doubts about its effectiveness and also the very thing you said i.e. people can just ask some other llm to change the wording a bit and now the watermark doesn’t work. So yeah let’s see what happens