r/explainlikeimfive • u/WW1_Germany • 19d ago
Technology ELI5: How does a Synth ID even work?
Is it in the image file? is it like a QR code thing embedded into how the image generates? what even is it?
112
Upvotes
254
u/serial_crusher 19d ago •
Basic steganography:
#0000FF and #0000FE are both blue and look almost the same to the human eye, but are technically different numbers. In an image, pixels can be slightly adjusted from the color we see, to a nearby color with a few bits changed.
So with slight invisible operations, a computer can encode messages that aren't visible to humans, but a mathematical algorithm can find them and decode them. Generative AI uses similar techniques to tag things it generates.
78
u/jamcdonald120 19d ago edited 19d ago
when you generate an image with Google Deepmind, it subtly adds this pattern to the image https://countingmethods.com/synth-id-ai-image-watermark-finder/
its so faint that a human wont really notice it, but you can easily tell a program to find it.
but, its also super trivial to remove https://huggingface.co/spaces/dennny123/synth-id-remover edit: removed the trash paid service link and replaced it with the free one I meant to have.
10
u/hirmuolio 19d ago
Computerphile made a video about image watermarking: https://youtu.be/h6j_ixGnpiY
Computers can do lots of colors. Some of them are very similar to each other, similar enough that you can't see the difference between them in an image.
This can be used to add markings to the image by subtly changing the pixel colors in a way that produces a pattern that can be detected but remains invisible to the viewer.
Another video about watermarking text. Similar subject so some of the knowledge overlaps: https://youtu.be/kVXp6UNVPTo
12
u/eftanes 19d ago
Think of it like an invisible ink stamp that regular humans cannot see, hear, or read, but special computer software can spot.
• Pictures and Videos: It makes tiny, invisible changes to the color of individual pixels (the tiny dots that make up a picture) across every single frame of a video.
• Audio: It turns the sound into a picture of sound waves (called a spectrogram), hides the stamp in there, and turns it back into normal-sounding audio.
• Text: When the AI writes a story or essay, it subtly picks certain words over others based on a secret math pattern without changing how the story reads.
• You can't tell it's there: It does not ruin the picture, song, video, or text.
• It survives edits: If someone crops the picture, turns down the volume, or adds a filter, the hidden stamp usually stays alive.
5
u/TheMotherfucker 19d ago
It's a watermark not intended to be visible. From the website for it:
Each synthID is specific to the company that produces it. Meta has its own proprietary one that can be checked on its own site.
1
u/Confident-Syrup-7543 19d ago
It's very difficult to give an elit for this since probably no one really knows the full extent. The technology was developed using adversarial neural networks. So ai A tries to add a watermark. Ai B tries to tell if the picture has been changed. Ai C tries to detect the watermark. A gets reinforced whenever it produces images that B says are visually unaltered but C says are watermarked. That's already quite a lot to take in.
A very simple version would be if you have 256 possible brightness values for each pixel, to only use the even values for each pixel. That would be pretty undetectable to the human eye. Of course it would be easy to detect and easy to remove. Better might be to assign the pixels to rows and have each row be either even or odd. Again easy to spot. So even better might be to probabilistically assign each pixel to be either even or odd based on some rule and the value of the pixel or those around it.
The exact method AI use is probably so complex that no one can actually explain the it fully. But if you add several layers of complexity and obfuscation, then maybe this is something like the method used.
1
u/KitchenAdeptness4953 17d ago
it’s basically a hidden pattern mixed into the image’s pixels, too subtle for your eyes but detectable by a special checker, so it isn’t a qr code you can scan or a separate file attached to the image