NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Steganographic Flow

Ping Wei, Ge Luo, Qi Song, Xinpeng Zhang, Zhenxing Qian, Sheng Li

TL;DR

Researchers have developed Generative Steganographic Flow (GSF), a novel method that generates "stego" images directly from secret data without needing a cover image. By leveraging the invertible nature of Normalizing Flows (specifically the Glow model), the system creates high-quality, realistic images where secret data is embedded directly into the mathematical representation (latent space) of the image, achieving significantly higher capacity and security than previous state-of-the-art methods.

What Problem Does This Paper Address?

Traditional steganography works by slightly altering an existing "cover" image to hide data. However, these tiny modifications often leave statistical "fingerprints" that modern steganalysis tools can easily detect.

To solve this, researchers turned to Generative Steganography (GS), where images are created from scratch to contain the data. Early GS attempts used Generative Adversarial Networks (GANs), but these suffered from two major flaws:

  1. Low Fidelity: The generated images often looked "off" or unnatural.
  2. Low Capacity: They could only hide a small amount of data (often using a mapping dictionary), and the extraction process was frequently prone to errors.

GSF addresses these gaps by using a reversible architecture that treats image generation and data extraction as two sides of the same mathematical coin.

Methods

The core of GSF is the Glow model, a type of Normalizing Flow. Unlike standard neural networks, Glow is bijective (invertible); you can transform an image into a latent vector ($Z$) and transform that exact vector back into the original image without losing information.

The GSF pipeline consists of three main components:

  1. Latent Optimization: Instead of starting with random noise, the authors initialize the latent vector $Z$ by averaging the latents of real images. They then use a "Quality Assessor" (a pre-trained ResNet50) to fine-tune $Z$ so the resulting image looks as realistic as possible.
  2. Secret Hiding (The IEEE 754 Trick): To hide data, the optimized latent vector $Z$ (composed of floats) is converted into 32-bit binary sequences using the IEEE 754 standard. Secret bits are then swapped into specific "hideable" slots—specifically the Sign bit and parts of the fractional bits.
  3. Image Generation: These modified sequences are converted back into floats (the "stego latent") and passed through the inverse Glow model to produce the final stego image.

To extract the data, the receiver simply passes the stego image back through the Glow model to recover the latent vector and reads the bits from the designated positions.

Datasets

The authors evaluated GSF using the CelebA dataset, a large-scale face attributes dataset containing over 200,000 celebrity images. This is a standard benchmark for generative models, as human faces are complex and any "unnatural" artifacts are immediately obvious to the human eye.

Key Insights and Ideas

  • One Network, Two Tasks: By using an invertible flow-based model, the authors eliminated the need for separate "encoder" and "decoder" networks. The same mathematical weights that generate the image also extract the data.
  • Latent Space as a Data Container: The paper treats the latent space not just as a source of randomness, but as a high-dimensional "safe." By optimizing the latent vector before hiding data, they ensure the "safe" is located in a region of the space that corresponds to high-quality, realistic images.
  • The Precision Trade-off: The researchers discovered a critical link between image format and data integrity. Saving images as standard PNGs (which rounds pixel values to integers) introduces "noise" that can corrupt the hidden data. However, using the TIFF format (which supports floating-point data) allows for nearly 100% perfect data recovery.

Key Results

  • Massive Capacity: GSF achieved a payload of up to 72 bits per pixel (bpp) for PNGs and 69 bpp for TIFFs. For context, many SOTA GAN-based methods struggle to exceed 0.1 bpp.
  • High Extraction Accuracy: At a payload of 3 bpp, GSF achieved 92.44% accuracy for PNGs and 99.99% accuracy for TIFFs.
  • Superior Security: The authors tested GSF against four advanced steganalysis tools (like Ye-net and SR-net). The "Probability of Error" (PE) for these tools was consistently near 0.5, meaning the detectors were essentially guessing at random—the stego images were indistinguishable from "plain" generated images.
  • Visual Quality: Using the NIQE metric (where lower is better), GSF scored 12.96, significantly outperforming previous GAN-based methods which scored as high as 56.60.

Limitations and Future Work

The primary limitation is the rounding error inherent in common image formats. When a stego image is converted to 8-bit integers (standard for JPEG/PNG), the fine-grained details in the latent space are slightly altered, leading to extraction errors. While the authors suggest using TIFF to bypass this, TIFF files are much larger and less common on social media, which might "arouse suspicion"—the very thing steganography tries to avoid.

Future work could involve developing flow-based models that are more robust to quantization (rounding) or finding ways to hide data in the "most significant" parts of the latent space that survive the conversion to standard image formats.

Summary updated

BibTeX
@inproceedings{wei2022generative,
  author = {Ping Wei and Ge Luo and Qi Song and Xinpeng Zhang and Zhenxing Qian and Sheng Li},
  title = {{Generative Steganographic Flow}},
  booktitle = {ICME},
  year = {2022},
  doi = {10.1109/icme52920.2022.9859628},
}
Figure