← Latest papers
💬 NLP

Token Rankings are Unforgeable Language Model Signatures

This paper demonstrates that token rankings serve as a unique, unforgeable signature for language models that can identify them without leaking their parameters, provided APIs restrict output to a sufficiently small top-kk to prevent parameter theft while still revealing the model's distinct ranking patterns.

Original authors: Matthew Finlayson, Andreas Grivas, Xiang Ren, Swabha Swayamdipta

Published 2026-06-04
📖 4 min read☕ Coffee break read

Original authors: Matthew Finlayson, Andreas Grivas, Xiang Ren, Swabha Swayamdipta

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 have a very famous, unique chef. This chef doesn't just cook food; they have a specific way of arranging the ingredients on the plate. Even if you can't taste the food or see the exact recipe, the order in which the ingredients are stacked is so unique that it acts like a fingerprint.

This paper introduces a new way to identify AI language models using that exact idea: the order of words, not their exact probabilities.

Here is the breakdown of their discovery, using simple analogies:

1. The Problem: The "Recipe" Leak

Previously, to prove an AI was who it claimed to be, researchers asked the AI for its "confidence scores" (how sure it is about each word).

  • The Analogy: Imagine the AI says, "I am 99% sure the next word is 'cat', 1% 'dog', and 0.01% 'helicopter'."
  • The Risk: If you have these exact numbers, a hacker can reverse-engineer the AI's brain (its internal parameters) to build a fake copy. Once they have the fake copy, they can forge the signature, making it impossible to tell the real AI from the fake one.

2. The Solution: The "Ranking" Signature

The authors propose a safer way. Instead of giving the exact confidence numbers, the API only gives the ranking.

  • The Analogy: The AI just says, "1st place: 'cat', 2nd place: 'dog', 3rd place: 'helicopter'." It doesn't say how much more likely 'cat' is than 'dog'.
  • The Discovery: The authors found that every AI model has a unique set of "possible rankings" it can produce. Because of how the AI's brain is built (specifically, a "bottleneck" that limits how many ideas it can hold at once), it can only produce a tiny, specific subset of all possible word orders.
  • The Result: If you see a specific list of word orders, it is overwhelmingly likely to have come from that specific model and no other. It's like seeing a specific arrangement of puzzle pieces; only one specific puzzle box could have produced that exact shape.

3. Why It's "Unforgeable" (The Hard Lock)

The paper proves that you cannot fake this signature.

  • The Analogy: Imagine trying to build a new machine from scratch that produces the exact same list of word orders as the original chef.
  • The Math: The authors show that doing this is a mathematical nightmare. It belongs to a class of problems so difficult that even the most powerful computers would struggle to solve them. It's not just "hard"; it's theoretically impossible to do efficiently. Even if a hacker stole the model's brain, they couldn't easily create a different brain that mimics this specific ranking signature.

4. The Catch: The "Rough Sketch" Attack

However, the authors also found a security risk. If an API gives away the entire list of rankings (e.g., the top 50,000 words in order), a hacker can use that to draw a "rough sketch" of the AI's brain.

  • The Analogy: It's like looking at a blurry photo of a face. You can't identify the person perfectly, but you can tell they have a nose, eyes, and a mouth. You can't forge the signature with this sketch, but you can steal some of the model's "features."
  • The Fix: The authors found a "sweet spot." If the API only shows the top few words (e.g., the top 500), the signature remains unique and unforgeable, but the information is too blurry for a hacker to steal the model's brain.

Summary

  • Old Way: Show exact probabilities \rightarrow Hacker steals the brain \rightarrow Hacker fakes the signature.
  • New Way: Show only word rankings \rightarrow Signature is unique and mathematically impossible to fake.
  • Safety Tip: Don't show all the rankings. Just show the top kk (a small number). This keeps the signature safe from forgers and the brain safe from thieves.

This method gives AI companies a way to prove, "Yes, this output really came from our model," without accidentally handing over the keys to their secret sauce.

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 →