Introduction
For years, the "gold standard" for image generation has been the convolutional neural network (CNN). Architectures like StyleGAN rely on spatial convolutions to propagate information across a grid, gradually building an image from coarse to fine details. However, convolutions come with inherent baggage. They often introduce "spectral artifacts"—unnatural grid-like patterns in the high-frequency domain—due to upsampling operations. Furthermore, because convolutions are tied to a rigid Cartesian grid, they are difficult to adapt to non-standard topologies (like 360-degree panoramas) or variable-resolution rendering (foveated synthesis).
The authors of "Image Generators with Conditionally-Independent Pixel Synthesis" (CIPS) ask a fundamental question: Can we generate high-quality, globally coherent images if every pixel is computed in total isolation?
Methods: The CIPS Architecture
The authors introduce CIPS (Conditionally-Independent Pixel Synthesis). Unlike a CNN, CIPS is essentially a deep Multi-Layer Perceptron (MLP).
The model synthesizes the color of a pixel at $(x, y)$ by taking two primary inputs: a global latent vector $z$ (representing the "style" of the image) and the specific coordinates $(x, y)$.
Key Components
- Weight Modulation: Borrowing from StyleGANv2, CIPS uses "ModFC" (Modulated Fully-Connected) layers. The latent vector $z$ is mapped to a style vector $w$, which then scales the weights of the MLP. This allows the global style to influence every pixel's calculation consistently across the image.
- Positional Encoding: Since there are no convolutions to provide spatial context, CIPS relies heavily on positional encoding. It uses a hybrid approach combining Fourier Features (sine-based encodings for periodic structures) and Coordinate Embeddings (learnable vectors for every pixel location). The authors found these embeddings crucial for capturing fine-grained, non-periodic details like hair or skin texture.
- Skip Connections: The model employs cumulative projections, where intermediate layers contribute to the final RGB output, helping stabilize training and improve detail.
Results and Datasets
The model was evaluated on several diverse and challenging datasets at $256 \times 256$ resolution, including FFHQ (faces), LSUN Churches, Landscapes, and Satellite imagery.
Key Insights
- Independence is Possible: The most surprising finding is that spatial convolutions are not a requirement for global coherence. As long as every pixel "knows" its location and shares the same global style vector, the resulting image looks like a unified whole rather than a collection of random dots.
- Superior Spectra: Because CIPS avoids upsampling and convolutions, it eliminates common spectral distortions. Its output frequency spectrum is much closer to that of real images compared to CNN-based generators.
- Competitive Quality: CIPS achieves FID (Fréchet Inception Distance) scores comparable to StyleGANv2. On the LSUN Churches dataset, CIPS actually outperformed StyleGANv2 (FID 2.92 vs. 3.86).
Unique Advantages
The independent nature of pixel synthesis enables several unique capabilities:
- Foveated Synthesis: One can generate a low-resolution "preview" and then only synthesize high-resolution pixels in a specific area of interest (e.g., where a user is looking), significantly reducing computational overhead.
- Seamless Panoramas: By swapping the Cartesian coordinate system for a cylindrical one during training, CIPS can generate perfectly seamless 360-degree panoramas without the specialized padding tricks required by CNNs.
Limitations and Future Work
Despite its successes, CIPS has limitations. The model occasionally produces "wavy" textures in hair or repeating line patterns in buildings, likely a side effect of the periodic sine functions in the Fourier features. Additionally, CIPS models tend to be larger in parameter count (~44M for CIPS-base vs. ~30M for StyleGANv2) and evaluating a deep MLP for every pixel may become a bottleneck at ultra-high resolutions (4K/8K) compared to GPU-optimized convolutions. Future work includes exploring CIPS for image-to-image translation and refining positional encodings to eliminate remaining artifacts.
Summary updated