Abstract
SparSamp is a novel steganography method designed to hide secret messages within AI-generated content (AIGC) such as text, images, and audio. While traditional Provably Secure Steganography (PSS) methods often suffer from high computational overhead or detectable statistical deviations, SparSamp achieves "perfect security" with $O(1)$ computational complexity. By utilizing a sparse sampling mechanism, it ensures that the steganographic output is statistically indistinguishable from standard model output, maintaining high embedding rates without sacrificing performance.
Introduction
Steganography involves concealing secret messages within a "cover" medium to avoid detection by an observer, or "warden." With the proliferation of AI-Generated Content (AIGC), generative models like Large Language Models (LLMs) and Diffusion models have become ideal candidates for creating these covers. However, existing PSS methods face a persistent trilemma between security, efficiency, and capacity.
Many secure methods require sorting the entire vocabulary of a model at every step, leading to $O(N \log N)$ complexity, which is impractical for modern models with vocabularies exceeding 50,000 tokens. SparSamp addresses this by providing a constant-time ($O(1)$) solution that preserves the model's original probability distribution, ensuring zero Kullback-Leibler Divergence (KLD) between normal and steganographic outputs.
Methodology
SparSamp is designed as a plug-and-play replacement for the standard sampling component of generative models. Its core mechanism relies on three pillars:
- Message-Derived Random Numbers (MRNs): Instead of standard pseudo-random numbers, SparSamp generates MRNs by combining secret message segments with a pseudo-random seed.
- Sparse Sampling: To ensure unique decodability, the algorithm must avoid "token ambiguity"—where different message segments might lead to the same output token. SparSamp adaptively adjusts the sampling interval; if a token is ambiguous, it "sparsifies" the sampling in subsequent steps to narrow down possibilities until the message is uniquely decodable.
- O(1) Complexity via Homogenization: By leveraging the mathematical properties of uniform sampling, SparSamp calculates necessary parameters in constant time, regardless of vocabulary size.
Experimental Evaluation
The authors evaluated SparSamp across three modalities: text (GPT-2, Qwen-2.5, Llama-3), images (DDPM trained on FFHQ), and audio (WaveRNN).
Key Results
- Performance: SparSamp achieved embedding speeds of 755 bits/s for text, 5,046 bits/s for images, and 9,223 bits/s for audio. In high-entropy settings, it was up to 7,000x faster than competing methods like Meteor or Discop.
- Security: The method maintained an average KLD of 0. Empirical tests against deep-learning-based steganalysis (FCN, BiLSTM) resulted in detection error rates near 50%, indicating that the stego-content is indistinguishable from random noise to an observer.
- Capacity: The "utilization rate of entropy" often exceeded 95%, demonstrating that SparSamp hides nearly the maximum theoretical amount of data possible for a given output.
Discussion and Limitations
SparSamp effectively breaks the PSS trilemma, making high-speed, secure communication viable for massive modern AI models. However, some challenges remain. The overhead required to handle Byte-Pair Encoding (BPE) ambiguity in LLMs can slightly reduce embedding rates. Furthermore, the current framework assumes a "passive warden" and does not yet account for "active wardens" who might modify content (e.g., through re-compression) to destroy hidden messages. Future work will focus on extending SparSamp to public-key steganography frameworks and improving robustness against active content modification.
Summary updated