Image Generators With Conditionally-Independent Pixel Synthesis

Ivan Anokhin, Kirill Demochkin, Taras Khakhulin, Gleb Sterkin, Victor Lempitsky, Denis Korzhenkov

Abstract

Existing image generator networks rely heavily on spatial convolutions and, optionally, self-attention blocks in order to gradually synthesize images in a coarse-to-fine manner. Here, we present a new architecture for image generators, where the color value at each pixel is computed independently given the value of a random latent vector and the coordinate of that pixel. No spatial convolutions or similar operations that propagate information across pixels are involved during the synthesis. We analyze the modeling capabilities of such generators when trained in an adversarial fashion, and observe the new generators to achieve similar generation quality to state-of-the-art convolutional generators. We also investigate several interesting properties unique to the new architecture.

Introduction

For years, the "gold standard" for generating realistic images has been the Convolutional Neural Network (CNN). Architectures like DCGAN and StyleGAN rely on spatial convolutions to propagate information between neighboring pixels, gradually building an image from coarse features to fine details.

However, convolutions come with inherent "biases." They often struggle to reproduce the exact spectral distribution of real images, leading to subtle grid-like artifacts. Furthermore, because they operate on a fixed grid, they are difficult to adapt to non-standard shapes (like cylindrical panoramas) or foveated rendering. The CIPS (Conditionally-Independent Pixel Synthesis) model challenges the long-held belief that spatial convolutions are necessary for high-quality image generation, demonstrating that pixels can be computed in total isolation while maintaining global coherence.

Architecture and Methodology

CIPS is a purely MLP-based (Multi-Layer Perceptron) generator. Unlike standard GANs, there is no upsampling or "sliding window" convolution. The synthesis process for a single pixel is governed by a continuous function $G(z, x, y)$.

The CIPS architecture: pixels are synthesized independently using a shared style vector and local coordinates.

The network operates as follows:

  1. Mapping: A mapping network transforms a random latent vector $z$ into a style vector $w$.
  2. Positional Encoding: To provide spatial context, coordinates are processed through two channels: Fourier features (fixed sine waves capturing low-frequency shapes) and learnable coordinate embeddings (capturing high-frequency, fine-grained details).
  3. Modulated Fully-Connected Layers: The core of the network consists of "ModFC" layers. Similar to StyleGAN2, the weights of these layers are modulated (scaled) by the style vector $w$.
  4. Independent Synthesis: The network outputs an RGB value for the specific coordinate. Because every pixel is computed using the same $w$ but different $(x, y)$ inputs, the image remains coherent without the pixels ever "talking" to each other during the final synthesis.

Experimental Results

The model was evaluated on several diverse datasets at $256 \times 256$ resolution, including FFHQ (faces), LSUN Churches, and satellite imagery.

Samples generated by CIPS across various datasets including faces, churches, and landscapes.

CIPS achieves competitive quality compared to state-of-the-art convolutional models. On the LSUN Churches dataset, CIPS actually outperformed StyleGAN2, achieving a Frechet Inception Distance (FID) of 2.92 compared to StyleGAN2's 3.86. On FFHQ faces, it was slightly behind but comparable (4.38 vs 3.83).

Key Insights

  • Spectral Superiority: CNNs often have a "spectral gap"—they struggle to mimic the frequency distribution of real photos. Because CIPS operates directly on coordinates without upsampling, its output matches the power spectrum of real images much more closely than StyleGAN2.
  • Infinite Resolution & Foveation: Since the model is a continuous function, one can "zoom in" by sampling a denser grid of coordinates, or save computation by only rendering the pixels where a user is looking (foveated synthesis).
  • Computational Trade-off: This independence comes at a cost. CIPS is roughly 4.3x slower and requires 3.3x more operations (MACs) than StyleGAN2 at $256 \times 256$ resolution because it cannot take advantage of the shared computations inherent in convolutions.

Conclusion

CIPS proves that convolutions are not mandatory for high-quality image generation. While it currently faces challenges scaling to very high resolutions (e.g., $1024 \times 1024$) as efficiently as StyleGAN2, its unique properties in spectral fidelity and coordinate-based control offer a promising new direction for generative modeling, particularly in tasks like super-resolution or image editing where local control is paramount.

Summary updated

BibTeX
@inproceedings{anokhin2021image,
  author = {Ivan Anokhin and Kirill Demochkin and Taras Khakhulin and Gleb Sterkin and Victor Lempitsky and Denis Korzhenkov},
  title = {{Image Generators With Conditionally-Independent Pixel Synthesis}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=8GSLaW0V8Q},
}
Figure