Semantic Steganography: A Framework for Robust and High-Capacity Information Hiding using Large Language Models

Minhao Bai, Jinshuai Yang, Kaiyi Pang, Yongfeng Huang, Yue GaoarXiv 2024 · DOI

Abstract

Traditional generative steganography methods embed secret information by modifying token probability distributions. This technique suffers from low capacity in high-performance Large Language Models (LLMs) and extreme fragility against real-world communication noise. This paper presents a novel semantic steganography framework that shifts the embedding target from symbolic tokens to semantic meaning. By utilizing an ontology-entity tree and a feedback-driven generation loop involving multiple LLM agents, the proposed method achieves a nearly 10x increase in data capacity (approximately 28 bits per sentence) and maintains high decoding success rates (77%-93%) under various noise conditions.

Introduction

Steganography aims to conceal the existence of a secret message within a cover medium. In the context of LLMs, current methods typically rely on symbol-level embedding, hijacking the choices made during token generation. However, as LLMs become more sophisticated, their output distributions become more predictable (lower entropy), which reduces the available space for hiding data. Furthermore, these symbolic methods are highly sensitive to minor text alterations—such as paraphrasing, transcoding, or character changes—common in digital communication. This paper addresses these limitations by proposing a framework that hides information within the meaning of the generated text.

Methodology

The proposed framework moves beyond symbolic manipulation to embed information within the semantic structure of the text. The process is divided into three core phases:

  1. Semantic Space Construction: The authors build an Ontology-Entity Tree, a hierarchical structure where broad concepts (e.g., "Location") branch into sub-concepts ("Tourism Location") and finally into specific entities ("Las Vegas"). Secret bitstreams are mapped to these paths using Arithmetic Coding.
  2. Embedding and Generation Phase: A Generation Agent (GA)—an LLM—is tasked with writing a natural sentence that includes the chosen entity. To ensure quality and decodability, a Check Agent (CA) reviews the sentence using a Feedback Chain of Thought (CoT). If the sentence is awkward or contains ambiguous entities, the CA provides hints for regeneration.
  3. Extraction Phase: The receiver uses an Extraction Agent (EA) to identify the entities in the received text. By referencing the shared ontology tree, the original bitstream is reconstructed.
The Semantic Steganography Framework: Overview of the embedding, generation, and extraction phases using an Ontology-Entity Tree and multi-agent interaction.

Results and Discussion

The framework was evaluated against state-of-the-art (SOTA) methods, including AC, METEOR, and DISCOP, using datasets like LCCC and models such as ChatGLM2-6B.

Capacity and Quality

While SOTA symbolic methods struggled to hide more than 2-4 bits per sentence, the semantic approach achieved roughly 28 bits per sentence. Furthermore, using GPT-4 as a judge for "semantic rationality," the proposed method scored significantly higher (7.36) than traditional methods (approx. 5.1–5.7), indicating that the hidden messages are more indistinguishable from natural human-written text.

Robustness

A key advantage of this approach is its resilience to noise. In tests involving random word insertion, deletion, or replacement, traditional methods saw decoding success rates drop to near zero. In contrast, the semantic framework maintained success rates between 77% and 93% for single-entity types. This robustness stems from the fact that meaning is more stable than specific token sequences; a message survives even if the sentence is paraphrased.

Robustness Analysis: Precision and recall distributions (Bertscore) after paraphrasing and semantic communication (SNR=5), demonstrating the framework's ability to maintain high extraction accuracy despite text alterations.

Conclusion and Future Work

By leveraging the vast semantic space of LLMs, this framework provides a robust, high-capacity alternative to traditional symbolic steganography. While the system faces challenges in low-redundancy contexts (e.g., highly restrictive prompts) and requires higher computational overhead due to the multi-agent feedback loop, it represents a significant step forward in secure communication. Future research will focus on developing specialized steganalysis methods to better understand the security boundaries of semantic-level information hiding.

Summary updated

BibTeX
@misc{bai2024semantic,
  author = {Minhao Bai and Jinshuai Yang and Kaiyi Pang and Yongfeng Huang and Yue Gao},
  title = {{Semantic Steganography: A Framework for Robust and High-Capacity Information Hiding using Large Language Models}},
  year = {2024},
  eprint = {2412.11043},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.11043},
}
Figure