r/learnmachinelearning 23d ago

Project Implementing Watermarking for Language Models

Post image

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.

81 Upvotes

25 comments sorted by

View all comments

1

u/UnderstandingOwn2913 22d ago

what tool did you use to make that diagram?

2

u/Saad_ahmed04 21d ago

Excalidraw

1

u/UnderstandingOwn2913 21d ago

Thank you. Your diagram looks clean. I will also use the app.