Large Language Models Can Hide Text in Other Text of the Same LengthLLMs can hide text in other text of the same length
Translation in progress — untranslated text is omitted.
The paper proposes the Calgacus protocol, using large language models to hide one text within another of the same length but different content that remains coherent and plausible. The authors claim that an open-source model with 8 billion parameters can achieve high-quality results, and a message as long as an abstract can be encoded and decoded locally on a laptop in seconds. The paper notes that such protocols completely decouple text from author intent, further eroding trust in written communication, and gives a scenario: companies could encode responses from an unfiltered model into compliant replies from a safe model, thereby covertly deploying unfiltered LLMs. The authors believe this raises urgent issues for AI safety and challenges the understanding of whether large language models know something.
- LLM-generated text can be decoupled from author intent. Calgacus addresses: hiding a meaningful text inside another equally long text whose topic can be steered and that remains coherent, and discusses what this means for trust in writing and for chat systems that only show compliant answers externally.
- Using the same LLM, record the probability rank of each token of the hidden text given its context, then starting from the key prompt, at each step select the token at that rank to generate fake text. Someone holding the key reverses the ranks and reconstructs the original text by rank without the key. An optional second prompt can lower ranks, and two autoregressive models can be used for encoding and decoding respectively.
- On Llama 3 8b, 100 cover texts are generated for each of 3 85-token original texts; the authors state their log probabilities all fall within the range of 1000 Reddit texts, while random characters or random words do not. On average cover texts have lower probability. In Figure 8, all except GPT-2 are marked Good steering.
- The authors state explicitly: fake-text quality is not guaranteed and depends on the original text, the key, and the LLM; the ending may truncate abruptly; both parties must obtain the same logits. Systematic comparison of model quality and other modalities is left for future work. The paper does not report human discrimination experiments, nor empirical success rates for key search.
Related events and news
0 events · 1 news mentions
News that mentions this paper
- Check Pointcites the paper's id or linkCheck Point 披露 PuzzleMask:用纯散文隐藏载荷绕过 LLM 快速策略检查
Norelli & Bronstein (2025) demonstrated a message embedding technique where the task of recovering the message is beyond the resources of even the typical powerful target model.