TGAN: Deep Tensor Generative Adversarial Nets for Large Image Generation

Zihan Ding, Xiao-Yang Liu, Miao Yin, Wei Liu, Linghe KongarXiv 2019

Abstract

Generating high-resolution, realistic images remains a significant challenge for Generative Adversarial Networks (GANs). Standard architectures often suffer from training instability and loss of spatial structure when scaling to larger canvases. This paper introduces TGAN (Deep Tensor Generative Adversarial Nets), which utilizes a cascaded architecture combining a DCGAN with a Tensor Super-Resolution (TSR) module. By representing images as multi-dimensional tensors and employing tensor dictionary learning, TGAN successfully generates high-quality images at $374 \times 374$ resolution, significantly surpassing the typical limits of standard GAN outputs.

Introduction

Generating high-resolution, realistic images has long been a primary objective for Generative Adversarial Networks (GANs). While models like DCGAN excel at producing $32 \times 32$ or $64 \times 64$ thumbnails, they often struggle with larger canvases, resulting in blurry textures or training instability. TGAN (Deep Tensor Generative Adversarial Nets) addresses this "Resolution Wall" by shifting the generative process from raw pixel space into a structured "tensor space," enabling the generation of high-quality images at significantly larger scales.

The Resolution Wall

The "Resolution Wall" in deep generative modeling arises because as image size increases, the dimensionality of the search space explodes. Standard GANs struggle to reach a Nash equilibrium because the empirical distribution of millions of pixels is complex to learn. Furthermore, traditional vectorization flattens images, losing spatial proximity information. This loss of structure makes it difficult for models to capture fine-grained textures necessary for high-fidelity large images.

Methodology

TGAN employs a two-phase approach to bypass the difficulties of high-dimensional generation.

Overview of the TGAN architecture showing the training and generation phases.

Tensor Representation & Folding

Instead of flat vectors, images are treated as 3rd-order tensors. A "folding" process samples image "cubes" to create input tensor blocks, preserving local spatial patterns usually lost in vectorization. This approach utilizes circular matrix math to maintain image invariance after shifting, which is crucial for recognizing and generating objects regardless of their exact position.

Cascaded Architecture

The framework consists of two main stages:

  1. Phase 1 (Low-Res Generation): A pre-trained DCGAN generates low-resolution image tensors from random noise. Working at lower resolution ensures stability and efficiency.
  2. Phase 2 (Tensor Super-Resolution): These tensors are processed by a Tensor Super-Resolution (TSR) module using Tensor Dictionary Learning.

The core mechanism assumes that a low-resolution image and its high-resolution counterpart share the same sparse coefficients ($C$) when mapped to their respective dictionaries ($D_l$ and $D_h$). By solving for $C$ using the low-res output and multiplying it by the high-res dictionary, the model recovers fine details.

Experimental Results

The model was evaluated on MNIST, CIFAR10, and PASCAL2 VOC datasets. TGAN outperformed state-of-the-art Adversarial Autoencoders (AAE) both quantitatively and qualitatively.

Comparison of generated MNIST digits: TGAN (left) vs. AAE (right).
  • Quantitative Performance: On the PASCAL2 dataset ($374 \times 374$), TGAN achieved an Inception Score (IS) of 4.02, compared to AAE’s 3.81. On CIFAR10, it reached 4.05 vs. AAE's 3.98.
  • Visual Fidelity: TGAN images exhibited sharper textures and more recognizable features. In MNIST tests, TGAN produced significantly fewer "obscure" or unrecognizable images (2 out of 16) compared to the AAE baseline (6 out of 16).
  • Scaling: The framework successfully generated images at $374 \times 374$, a substantial improvement over the $128 \times 128$ limit common in contemporary literature.

Conclusion

TGAN demonstrates that adversarial learning is more effective when performed in a lower-dimensional tensor space. By delegating the "gist" of the image to the GAN and the "texture" to tensor dictionaries, the model achieves superior stability and resolution. While the current pipeline involves iterative optimization and relies on pre-trained components, future work may explore end-to-end training and universal dictionaries for more diverse natural scenes.

Summary updated

BibTeX
@misc{ding2019tgan,
  author = {Zihan Ding and Xiao-Yang Liu and Miao Yin and Wei Liu and Linghe Kong},
  title = {{TGAN: Deep Tensor Generative Adversarial Nets for Large Image Generation}},
  year = {2019},
  eprint = {1901.09953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.09953},
}
Figure