← Latest papers
💻 computer science

Improved Pseudorandom Codes from Permuted Puzzles

This paper introduces a new construction of pseudorandom codes based on the permuted codes conjecture that simultaneously achieves subexponential security, robustness against worst-case edits on a binary alphabet, and resistance to adversaries possessing the detection key, thereby overcoming the critical limitations of prior watermarking schemes.

Original authors: Miranda Christ, Noah Golowich, Sam Gunn, Ankur Moitra, Daniel Wichs

Published 2026-06-23
📖 5 min read🧠 Deep dive

Original authors: Miranda Christ, Noah Golowich, Sam Gunn, Ankur Moitra, Daniel Wichs

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a famous author writing a novel. You want to prove that a specific paragraph was written by you and not by a copycat or an AI, but you don't want to change the story or make it look weird. You need a way to hide a secret "signature" inside the text that only you can find, even if someone tries to edit, delete, or scramble the words.

This paper is about building a much better version of that secret signature system, called a Pseudorandom Code (PRC). Think of a PRC as a magical encryption machine that turns a secret message into a long string of gibberish. If you have the key, you can turn the gibberish back into the message, even if someone has messed it up.

Here is the breakdown of the paper's achievements using simple analogies:

1. The Problem: The Old Signatures Were Too Easy to Break

Previously, researchers built these signature systems, but they had three big flaws:

  • The "Quasipolynomial" Flaw: Imagine a lock that takes a computer about a million years to break. That's good, right? But these old locks could actually be broken in a "quasipolynomial" time—think of it as a lock that takes a computer a few days instead of a million years. It wasn't secure enough for the long term.
  • The "Alphabet" Flaw: The old systems worked well if you could change the entire alphabet (like swapping every 'A' for a 'Z'). But real text (like English) has a small, fixed alphabet (26 letters). The old systems couldn't handle just changing a few letters or deleting a word without the signature breaking.
  • The "Key" Flaw: If a hacker knew your secret key, they could easily find tiny changes to remove your signature. The old systems assumed the hacker was blindfolded; they didn't work if the hacker had the glasses on.

2. The Solution: The "Permuted Puzzle"

The authors created a new system based on a concept they call the "Permuted Codes Conjecture."

Imagine you have a beautiful, complex mosaic (the code).

  1. Shuffle the Tiles: You take the mosaic and randomly shuffle the positions of the tiles (Index Permutation).
  2. Paint the Tiles: You take a brush and randomly repaint the color of each tile (Alphabet Permutation).
  3. Sprinkle Dust: You sprinkle some random dust over the whole thing (Noise).

The authors claim that if you do all three steps, the result looks exactly like a pile of random, meaningless dust. To anyone without the key, it's impossible to tell the difference between the "scrambled mosaic" and "random dust." This makes the signature undetectable (it doesn't ruin the quality of the text).

3. The Three Big Wins

The paper claims to solve all three problems mentioned above simultaneously:

  • Super Strong Security: They claim their new lock is so strong that even a supercomputer running for a very long time (sub-exponential time) couldn't tell the difference between their scrambled mosaic and random dust.
  • Robust to Edits (The "Edit" Problem): This is the biggest breakthrough. Their system can survive edits. If a hacker deletes a word, adds a typo, or swaps a sentence around, the system can still find the signature.
    • Analogy: Imagine a message written on a long strip of paper. If someone cuts out a few words, glues in new ones, or shuffles the order, the old system would fail. The new system is like a puzzle that can still be solved even if the pieces are slightly damaged or moved around.
  • Robust to the "Key-Knowing" Hacker: Their system works even if the hacker knows the secret key.
    • Analogy: Usually, if a thief knows your safe's combination, they can open it and remove the contents. The authors built a safe where even if the thief knows the combination, they can't remove the hidden item without destroying the safe itself. This allows anyone to verify the watermark, not just a trusted party, without breaking the system.

4. How They Did It (The "Folded" Trick)

To make this work for real text (which has low "entropy" or randomness per word), they used a special type of math code called Folded Reed-Solomon codes.

  • Analogy: Imagine you are trying to send a secret message, but you can only send short, choppy bursts of data. The old way was to send one letter at a time. The new way is to "fold" the message. Instead of sending "A, B, C," you send a single block that represents "A, B, and C" all at once. This allows the system to pack more information into the text without needing the text to be highly random or chaotic.

5. The "Catch" (The Assumption)

The authors admit they are making a big assumption. They are betting that the "Permuted Puzzle" (the scrambled mosaic) is truly impossible to distinguish from random dust.

  • They didn't prove this is mathematically impossible to break (no one has proven that for this specific type of puzzle yet).
  • However, they showed that:
    1. It is implied by another famous, well-studied assumption in cryptography (Permuted Puzzles).
    2. They tried to break it with many different types of attacks (like trying to find patterns in the dust) and failed.
    3. They proved that if you leave out any of the three steps (shuffling, repainting, or dusting), the system becomes easy to break. This suggests all three steps are necessary and the system is robust.

Summary

This paper introduces a new, super-secure way to watermark AI-generated text. It claims to be the first system that:

  1. Is nearly impossible to detect (it looks like normal text).
  2. Survives heavy editing (typos, deletions, rewrites).
  3. Works even if the attacker knows the secret key.

They achieve this by turning the text into a "scrambled puzzle" that relies on a new mathematical assumption, which they argue is very likely to be true based on extensive testing and connections to other established math theories.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →