Safety, Security & Responsible AI·Question 51 of 70Advanced

A customer asks you to prove which of these documents your model wrote. What can you actually deliver?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

I can prove which documents our system produced. I cannot prove which it did not, and I can say nothing about documents another model wrote. Three mechanisms, in decreasing order of usefulness.

Full worked answer

I can prove which documents our system produced. I cannot prove which it did not, and I can say nothing about documents another model wrote. Three mechanisms, in decreasing order of usefulness.

Server-side records of your own generations. The one that works. Hash every completion at generation time alongside request ID, model version, account and timestamp. A customer brings a document, you normalise and hash it, and it matches or it does not. The limits are equally exact: any edit breaks the match, and it says nothing about text you did not generate. Near-duplicate hashing or embedding search over the generation log recovers edited copies, at the cost of a similarity threshold.

Watermarking. The SynthID-Text approach biases sampling: candidate tokens compete in a tournament scored by pseudo-random values keyed on the preceding token window and a secret key, so output drifts toward high-scoring tokens. Detection averages those scores over the text and tests against chance. DeepMind published it in Nature in October 2024 and runs it across Gemini, and since September 2026 Anthropic has watermarked text from several Claude models, so this is shipped, not theoretical. Even then, coverage depends on the model and, for some models, on staying at default sampling settings.

Why it degrades where image watermarking does not: the signal lives in choices between tokens, so it exists only where there was a choice. Short outputs give too few scored tokens to clear threshold. Low-entropy generation, a factual answer, a quoted passage, schema-constrained JSON, code, has almost no distributional slack to modulate. Translation regenerates the sequence and removes the signal, paraphrase through another model does much the same, and human editing erodes it progressively. An image watermark is spread redundantly across thousands of pixels and survives re-encoding. A text watermark has only the token stream.

Post-hoc AI-text detectors. Not for any decision that affects a person. Liang et al. (Patterns, 2023) ran seven detectors over 91 TOEFL essays by non-native English writers: mean false-positive rate 61.3%, and 97.8% flagged by at least one detector, while native-speaker essays were classified correctly. The bias is structural: perplexity-based detectors read second-language writing as machine-like. OpenAI withdrew its own classifier in 2023 for low accuracy.

So what I deliver: a definitive answer for our outputs from logged hashes, watermark detection as corroborating signal on long-form generations with the caveats written down, and no claims about third-party text. Same boundary as the image-generation answer in the multimodal bank. Provenance identifies your content, it does not detect synthetic text in the wild, which is why transparency obligations target labelling by the generator rather than downstream detection.

What a good answer covers

  • I can prove which documents our system produced
  • I cannot prove which it did not, and I can say nothing about documents another model wrote
  • Three mechanisms, in decreasing order of usefulness
  • Server-side records of your own generations
  • Hash every completion at generation time alongside request ID, model version, account and timestamp

Key terms: Watermarking · Post-hoc AI-text detectors

Interviewer follow-ups to expect

  1. Your logged hash misses because the customer reformatted the document before sending it. What do you tell them, and what would you have needed to build to answer differently?

  2. If a regulator requires synthetic output to be labelled, does an invisible watermark satisfy that, or do you owe a visible disclosure as well?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep