Skip to main content
QUICK REVIEW

[Paper Review] Generating Steganographic Text with LSTMs

Tina Fang, Martin Jaggi|arXiv (Cornell University)|May 30, 2017
Authorship Attribution and ProfilingComputer Science18 references12 citations
TL;DR

This paper proposes a novel neural steganographic system using Long Short-Term Memory (LSTM) networks to generate high-quality steganographic text that conceals encrypted messages within natural language. By mapping secret bit blocks to token bins within a learned vocabulary, the LSTM generates linguistically natural text with a capacity of up to 2 bits per word—significantly exceeding prior state-of-the-art methods.

ABSTRACT

Motivated by concerns for user privacy, we design a steganographic system ("stegosystem") that enables two users to exchange encrypted messages without an adversary detecting that such an exchange is taking place. We propose a new linguistic stegosystem based on a Long Short-Term Memory (LSTM) neural network. We demonstrate our approach on the Twitter and Enron email datasets and show that it yields high-quality steganographic text while significantly improving capacity (encrypted bits per word) relative to the state-of-the-art.

Motivation & Objective

  • To address the privacy risks posed by surveillance in communication platforms that rely on targeted advertising based on unencrypted messages.
  • To overcome the limitations of existing cover modification stegosystems, which suffer from low capacity and unnatural linguistic output.
  • To develop a neural network-based steganographic system that generates high-quality, human-like stegotext with high information-carrying capacity.
  • To enable secure, undetectable communication between two parties without triggering suspicion from passive adversaries monitoring message traffic.

Proposed method

  • The system uses a shared key that partitions the vocabulary into 2^{|B|} disjoint bins, where each bin corresponds to a unique bit block of length |B|.
  • A modified word-level LSTM is trained to generate text token by token, constrained to select only from the bin corresponding to the current bit block.
  • Secret data is compressed and split into fixed-length bit blocks, which are then embedded into the stegotext via bin-mapped token selection.
  • The model is trained on large-scale datasets (Twitter and Enron emails) to maintain contextual coherence across sentences and paragraphs.
  • The system supports flexible trade-offs between capacity and quality by adjusting the number of bins and optionally adding common tokens.
  • No manual post-processing is applied; the stegotext is generated directly by the LSTM, distinguishing it from Matryoshka-style human-augmented systems.

Experimental results

Research questions

  • RQ1Can an LSTM-based language model generate steganographic text that is both linguistically natural and highly capacity-optimized?
  • RQ2How does the capacity of the proposed steganographic system compare to existing cover modification and neural steganography methods?
  • RQ3To what extent does the model preserve contextual coherence and grammatical correctness across long sequences despite bin constraints?
  • RQ4Can the system achieve high capacity without sacrificing perceptual quality, as judged by human or automated evaluation?
  • RQ5Is the system robust enough to resist detection by steganalysis tools or human judges, particularly when compared to existing stegosystems?

Key findings

  • The proposed LSTM-based steganographic system achieves a capacity of 32 bits per tweet (equivalent to ~2 bits per word), which is over 11 times higher than the state-of-the-art CoverTweet system (2.8 bits per tweet).
  • Generated stegotext maintains high linguistic quality, with examples showing syntactic correctness and naturalness comparable to real human tweets.
  • Even with up to 4 bins, the system preserves contextual consistency across sentences and paragraphs, indicating robustness to bin constraints.
  • The system enables a flexible trade-off between capacity and quality: increasing the number of bins boosts capacity, while reducing bins and adding common tokens improves fluency.
  • The model outperforms existing cover modification systems in capacity, as those systems are limited by the number of available transformation options.
  • Preliminary results suggest the system may be secure against human judges, though formal evaluation is planned for future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.