A Plug-and-Play Method for Improving Imperceptibility and Capacity in Practical Generative Text Steganography
Kaiyi Pang
TL;DR
This work tackles the practical imperceptibility and capacity limitations of generative text steganography by introducing FreStega, a plug-and-play method that reconstructs language-model distributions at decoding time through sequential entropy-based adjustments and spatial target-domain guidance. By aligning the stego-text distribution with the target cover domain and mitigating distribution sharpening, FreStega enhances imperceptibility (higher MAUVE, lower detector F1) and embedding capacity (up to ~21% gains) without sacrificing linguistic quality. The approach is model-agnostic, compatible with prompt-based and fine-tuning methods, and effective across multiple LLM sizes and domains, requiring only modest target-domain data for strong domain alignment. Experimental results on IMDB, Shakespeare, and XHS across four models and several baselines demonstrate robust improvements in real-world scenarios with practical time efficiency and broad applicability.
Abstract
Linguistic steganography embeds secret information into seemingly innocuous text to safeguard privacy under surveillance. Generative linguistic steganography leverages the probability distributions of language models (LMs) and applies steganographic algorithms during generation, and has attracted increasing attention with the rise of large language models (LLMs). To strengthen security, prior work has focused on distribution-preserving steganographic algorithms that minimize the gap between stego sampling and random sampling from the model. However, their reliance on model distributions, which often deviate from real-world cover texts, leads to limited imperceptibility when facing steganalysis detectors in practical settings. Moreover, LLM distributions tend to be more deterministic, reducing entropy and thus lowering embedding capacity. In this paper, we propose a plug-and-play method that reconstructs the distributions of language models used for generative linguistic steganography. FreStega dynamically adjusts token probabilities from the language model at each step of autoregressive stego text generation, leveraging both sequential and spatial dimensions. Extensive experiments on four LLMs, three benchmark datasets, and four distribution-preserving steganographic baselines demonstrate that, by reforming the distribution, FreStega improves the imperceptibility of stego text in realistic scenarios and increases steganographic capacity by 15.41\%, without degrading the quality of the generated stegotext.
