
HiDDeN-Encoder
23 ops204.7K params
An encoder hides bits in an image, a noise layer roughs it up, a decoder reads them back: HiDDeN and its heirs.
27 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
This family gathers learned data-hiding networks that embed a bit string invisibly in an image and recover it later, starting from HiDDeN, the first end-to-end trainable framework for data hiding applicable to both steganography and watermarking. An encoder network receives a cover image and a message encoded as a bit string and outputs an encoded image, and a decoder network receives the encoded image and attempts to reconstruct the message. A third network, the adversary, predicts whether a given image contains an encoded message, which provides an adversarial loss that improves the quality of encoded images. Optional noise layers between the encoder and decoder apply image transformations and force the model to learn encodings that can survive noisy transmission.
StegaStamp carries the idea into the physical world: a learned steganographic algorithm that encodes and decodes arbitrary hyperlink bitstrings into photos in a manner that approaches perceptual invisibility. Its network is trained against image perturbations approximating the space of distortions resulting from real printing and photography. The decoder uses a spatial transformer network to develop robustness against small perspective changes introduced while capturing and rectifying the encoded image. MBRS attacks JPEG robustness differently: for different mini-batches it randomly chooses one of real JPEG, simulated JPEG and a noise-free layer as the noise layer. It also uses Squeeze-and-Excitation blocks in the embedding and extracting stages and a message processor that expands the message. InvisMark targets high-resolution AI-generated images, using neural architectures and training strategies to embed imperceptible yet highly robust watermarks. Its encoder outputs watermark residuals at low resolution, which are then upscaled to match the original image resolution using a TrustMark-like resolution scaling approach.
Across the members the recurring design is the auto-encoder-like end-to-end architecture with an encoder, a noise layer and a decoder, where the noise layer is the key to robustness. The HiDDeN encoder and decoder members come from a PyTorch port whose author notes it is a work in progress and could not yet fully reproduce the results of the original paper.
Key idea. HiDDeN showed that a jointly trained encoder and decoder, with noise layers between them, can hide a message invisibly in an image and recover it despite Gaussian blurring, pixel-wise dropout, cropping, and JPEG compression. The later members keep that encoder, noise layer and decoder template and change what the noise layer models.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{zhu2018hiddenhidingdatadeep,
title={HiDDeN: Hiding Data With Deep Networks},
author={Jiren Zhu and Russell Kaplan and Justin Johnson and Li Fei-Fei},
year={2018},
eprint={1807.09937},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/1807.09937},
}