IICNet: A Generic Framework for Reversible Image Conversion

Ka Leong Cheng, Yueqi Xie, Qifeng Chen

TL;DR

IICNet is a unified framework that can pack complex visual data—like video clips or stereo pairs—into a single, standard image. By leveraging Invertible Neural Networks (INNs), it ensures that the original high-fidelity content can be perfectly reconstructed, outperforming previous task-specific methods across a wide range of applications.

What Problem Does This Paper Address?

Reversible Image Conversion (RIC) is the art of squeezing "rich" content (e.g., a 5-frame video sequence or a 3D stereo pair) into a single 2D "embedding" image. The goal is two-fold: the embedding image should look like a normal photo (for compatibility with standard viewers), and the original content must be restorable with high accuracy when needed.

Figure 1: (a) Our IICNet can embed a high-resolution sequency into one low-resolution embedding image, which can be used to restore the original content when necessary. (b-e) Our IICNet is the first approach that can generalize among various reversible image conversion (RIC) tasks. We show the whole process of IICNet in (a) but only the restoration process in (b-e).

Existing solutions were fragmented. Researchers had to hand-engineer specific networks for each task—one for video, another for stereo. Furthermore, most used standard encoder-decoder architectures. These architectures have a "bottleneck" that inevitably loses information, leading to artifacts in the restored content. IICNet aims to be a "Swiss Army knife" for RIC, providing a single, highly invertible architecture that works across multiple domains without sacrificing quality.

Methods

The core of IICNet is the Invertible Neural Network (INN). Unlike standard neural networks, INNs are mathematically designed to be bijective, meaning the forward pass (embedding) and the backward pass (restoration) share the same parameters and are exact inverses of each other. This structure inherently minimizes information loss.

Key innovations include:

  • Relation Module: Standard INNs have strict architectural constraints that limit their ability to model complex non-linear relationships. IICNet adds a "Relation Module" at the start to extract cross-image features (like motion between video frames) before passing them into the invertible layers.
  • Channel Squeeze Layer: To reduce many input channels (e.g., 5 frames $\times$ 3 channels = 15 channels) down to a single 3-channel RGB image, the authors use a squeeze layer that averages "preliminary embeddings." During restoration, the single image is simply copied back into multiple channels.
  • Frequency-Domain Loss: To ensure the embedding image looks natural and free of "ghostly" high-frequency patterns, the authors optimize the network using a Fourier Transform-based loss in addition to standard pixel-wise losses.
Figure 2: Overview of the proposed network. IICNet sequentially contains a relation module, an invertible embedding module (an optional downscaling module plus several coupling layers), a channel squeeze layer, and a quantization layer.

Datasets

The authors evaluated IICNet on a diverse set of benchmarks to prove its generality:

  • DAVIS 2017: Used for spatial-temporal video embedding.
  • Flickr1024: Used for "mononizing" binocular (3D) images into 2D.
  • DIV2K: Adapted for dual-view image embedding (combining normal and zoomed views).
  • Adobe Deep Matting & Real Matting: Used for image composition and decomposition tasks.
  • Flickr 2W: Used for general image-in-image steganography (hiding up to 5 unrelated images).

Key Insights and Ideas

  • Generality is Possible: The most significant finding is that a generic invertible framework can outperform specialized, hand-engineered models. This suggests that the "information preservation" property of INNs is more critical than task-specific architectural tweaks.
  • The Power of Implicit Guidance: The "Channel Squeeze" layer works because the joint training process implicitly forces all internal "preliminary embeddings" to look nearly identical. This allows a simple "copy" operation to serve as an effective inverse during restoration.
  • Frequency Matters: Standard pixel-wise losses (like L2) often fail to capture the subtle artifacts that make an embedding image look "fake." Moving the loss calculation into the frequency domain was crucial for achieving high visual quality in the embedding.

Key Results

IICNet achieved state-of-the-art results across all tested tasks, often by large margins:

  • Video Embedding: On the DAVIS dataset, IICNet reached a PSNR of 37.9 dB for the embedding image and 36.7 dB for restoration, vastly outperforming the previous baseline which struggled at 25.3 dB and 34.4 dB respectively.
  • Binocular Images: It improved restoration quality by a significant 6.6 dB for left views compared to prior work.
  • Steganography: The model successfully hid 5 unrelated images in one, maintaining a restoration PSNR above 37 dB, demonstrating incredible data capacity.
Figure 5: Visual result comparisons on restored frames.

Limitations and Future Work

While IICNet is powerful, the authors acknowledge that INNs still have inherent limitations in their non-linear representation capacity compared to standard deep CNNs. Additionally, while the framework handles 8-bit quantization for storage, it remains sensitive to external noise or heavy lossy compression (like JPEG) applied to the embedding image. Future work could explore making these invertible transformations more robust to such "noisy" transmission channels to make them more practical for web-based applications.

Summary updated

BibTeX
@misc{cheng2021iicnet,
  author = {Ka Leong Cheng and Yueqi Xie and Qifeng Chen},
  title = {{IICNet: A Generic Framework for Reversible Image Conversion}},
  year = {2021},
  eprint = {2109.04242},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.04242},
}
Figure