Abstract
Generative linguistic steganography attempts to hide secret messages into covertext. Previous studies have generally focused on the statistical differences between the covertext and stegotext, however, ill-formed stegotext can readily be identified by humans. In this paper, we propose a novel zero-shot approach based on in-context learning for linguistic steganography to achieve better perceptual and statistical imperceptibility. We also design several new metrics and reproducible language evaluations to measure the imperceptibility of the stegotext. Our experimental results indicate that our method produces $1.926\times$ more innocent and intelligible stegotext than any other method.
1. Introduction
Steganography is the art of concealing a secret message within a non-secret "cover" medium so that the very existence of the message remains hidden. In linguistic steganography, the goal is to generate "stegotext"—sentences that appear perfectly natural to a human reader but actually encode a binary bitstream.
A major challenge in this field is the Perceptual-Statistical Imperceptibility Conflict (Psic Effect). While many existing methods can fool mathematical "stegalyzers" by matching statistical distributions, they often produce "zombie text"—grammatically correct but semantically nonsensical sentences that immediately trigger human suspicion. This paper introduces a zero-shot approach that leverages the in-context learning capabilities of Large Language Models (LLMs) to bypass both statistical and human detection.
2. Methodology
The proposed framework consists of three primary modules designed to maximize both the naturalness of the text and the efficiency of the hidden data embedding.
2.1 Edge Flipping (EF) Coding
The researchers observed that LLMs generate higher-quality text when the bitstream contains more zeros, as these typically correspond to higher-probability words in a Huffman tree. EF coding is a novel preprocessing step that transforms the secret bitstream to minimize the number of '1's, ensuring the subsequent generation stays within the "high-confidence" zone of the language model.
2.2 In-Context Stegotext Generation
Instead of fine-tuning models on specific datasets, the system uses In-Context Learning (ICL). By providing a few-shot prompt with examples of a target style (e.g., movie reviews or tweets), the model (LLaMA2-Chat-7B) learns to mimic the semantics and tone of the target domain on the fly. This allows for instant versatility across different communication channels.
2.3 The Embedding Module
Using a modified Huffman encoding, the system maps the bitstream to word selections based on the LLM's probability distribution. To prevent the model from falling into repetitive loops—a common issue in generative steganography—the authors implemented Annealing Selection and Repeat Penalties.
3. Experimental Results
The method was evaluated using the IMDB (movie reviews) and Twitter datasets. To provide a more robust measure of quality, the researchers used GPT-3.5 as a "proxy human" to judge the generated text across metrics of Soundness, Relevance, and Engagingness.
- Superior Quality: The proposed method's stegotext was rated as $1.926\times$ more innocent and intelligible than the best-performing baselines.
- Statistical Stealth: Despite the zero-shot nature of the approach, it achieved lower detection accuracy from steganalysis tools like TS-BiRNN compared to other training-free methods.
- Ablation Success: Edge Flipping (EF) coding was shown to consistently improve both the information density (Bits Per Word) and statistical imperceptibility across all test settings.
4. Discussion and Limitations
While highly effective, the use of a 7B-parameter LLM introduces significant computational overhead, making the system roughly $3\times$ to $5\times$ slower than lighter RNN-based methods. Additionally, there is an inherent trade-off between bitrate and quality; attempting to hide too much data eventually degrades the naturalness of the text. Future research will focus on making linguistic steganography more robust against minor edits or channel noise, which currently risk corrupting the entire hidden message.
Reference: Lin, K., Luo, Y., Zhang, Z., & Luo, P. (2024). Zero-shot Generative Linguistic Steganography. arXiv:2403.10856v1 [cs.CL].
Summary updated