Can You Keep a Secret? Involuntary Information Leakage in Language Model Writing

Ari Holtzman, Peter West
5/11/2026
cs.CRcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Language models are deployed in settings that require compartmentalization: system prompts should not be disclosed, chain-of-thought reasoning is hidden from users, and sensitive data passes through shared contexts. We test whether models can keep prompted information out of their writing.

Show full abstract

We give each model a secret word with instructions not to reveal it, then ask it to write a story. A second model tries to identify the secret from the story in a binary discrimination test. The secret word never appears literally in any output, but all five frontier models we test leak it thematically -- through topic choice, imagery, and setting--6hy-at rates significantly different from chance, up to 79\%. When told to actively hide the secret, models write \emph{away from} it, and this avoidance is itself detectable. The leakage is cross-model readable, scales sharply with model size within two model families, and disappears entirely for short-form writing like jokes. Giving the model a decoy concept to ``focus on instead'' partially redirects the leakage from the real secret to the decoy. Attending to a secret appears to open up an information channel that frontier LLMs cannot close, even when instructed to.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{holtzman2026keep,
  title  = {Can You Keep a Secret? Involuntary Information Leakage in Language Model Writing},
  author = {Ari Holtzman and Peter West},
  year   = {2026},
  eprint = {2605.10794},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.10794v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.10794.svg)](https://codeofpaper.com/paper/2605.10794)

Discussion