r/computerscience • u/kindreon • Jul 21 '25
Discussion Protocol to deter piracy with idea from philosophy
A couple years ago, I was thinking about philosophy in the shower and noticed interpretation functions in nature aren't very injective. Rather there tends to be a lot of syntax that maps to the same semantics. For example:
- The sky is blue
- Blue is the color of the sky
- The sky is #0000FF
This "statement cloud" grows especially fast as you increase the complexity of what you're trying to communicate, to the point where the lack of injectivity feels useful. What if we could take say an image and map it to a specific point in its "statement" cloud such that the mapping encodes something? This way, say you encode an identifying message into an image and that image gets leaked, you could figure out who leaked it. Because the encoding affects the image's "syntax" itself, it's more resilient to countermeasures like screenshots, editing, and duplication compared to traditional methods like using metadata. Further, assured ways of making the encoded message unretrievable would risk altering the image so much it'd no longer be interpretable, creating an interesting gap for content protection. I feel this idea could help artists combat piracy or better guarantee privacy by threatening mutual damage in leaks by encoding a recipient's private information. The friends I asked had never heard of anything like this during our relatively extensive CS educations so I was wondering if anyone here had any thoughts.
Edit: if the idea seems too abstract to be feasible, I can share an example implementation given the mods allow it
11
u/_kaas Jul 21 '25
how does this differ from watermarking?
8
u/ArtisticFox8 Jul 21 '25
The idea of hiding text in images is called steganography. Example site: https://manytools.org/hacker-tools/steganography-encode-text-into-image/
Afaik, the problem with these is compression or cropping of the image can lose the data.
But if these issues are ever worked around, you could sign a photo and the information would be there forever.
7
u/MoussaAdam Jul 21 '25 edited Jul 21 '25
I guess I will translate for anyone coming across this. if I understood correctly, practically this ends up being an image format that can encode the same image in many different ways. so each user can be given a differently encoded image. when the image gets shared online it can be tracked back to the user. Anyways tho, I don't see this working and I am not against piracy.
To speak in OPs terminology: language is a sort of algebra where the value of an expression (the value a sentence points to) is a pointer somewhere in the space of meaning. Just like 4 + 5 and 3 + 6 both produce 9, the sentences you gave evaluate to the same proposition about the sky being blue. That’s what I believe at least.
I think you mean generating many statements all of which map to the same image, so each user can be given a unique statement that can be used to generate the image instead of giving them the raw untouched image. this would be a new, likely inefficient, image format.
You’d need to map the sentences to some kind of identifiable information (which users may choose to lie about). You’d also need to make it impossible for the user to generate new, random sentences that still map to the same image, but the author must somehow still be able to. Even if you solve those problems, at some point the image becomes just a buffer of pixels, and the user could extract the pixels and re-encode the image into a clean format that doesn’t track them.
Your idea boils down to this: we need an algebra for defining images, one flexible enough to allow encoding the same image using different expressions. But we already sort of have that. You can use various tools to generate thousands of similar images from one original, each encoded slightly differently and you can track those images by their hashes.
4
u/beingsubmitted Jul 21 '25
You seem to be talking about watermarking or steganography, but you also seem to be making a bit of a leap from "this one domain is not injective" to "all domains must not be injective". Images are injective. There are many different functions to encode them, but each is a discrete domain and no encoding layouts multiple inputs to the same output. However, that doesn't mean that every minor change in the input is noticeable.