PixelFolder: An Efficient Progressive Pixel Synthesis Network for Image Generation

Jing He, Yiyi Zhou, Qi Zhang, Jun Peng, Yunhang Shen, Xiaoshuai Sun, Chao Chen, Rongrong Ji

Introduction

In the evolving landscape of Generative Adversarial Networks (GANs), two primary paradigms for image synthesis have emerged. The dominant approach, exemplified by models like StyleGAN, relies on feature upsampling to generate images. Conversely, a newer paradigm known as pixel synthesis (e.g., CIPS) treats image generation as a coordinate-based regression task, where each pixel value is computed independently based on random noise and spatial coordinates.

While pixel synthesis offers architectural simplicity and flexibility, it has historically been hindered by an "efficiency tax." Because these models perform regression directly at the target resolution, they often suffer from massive memory footprints and high computational overhead. Additionally, independent pixel calculation can lead to "local imagery incongruity," where neighboring pixels fail to form cohesive textures in complex areas like hair or fabric. PixelFolder addresses these challenges by introducing a progressive, multi-stage framework that maintains the benefits of pixel synthesis while drastically reducing resource requirements.

Methodology

PixelFolder introduces three core innovations to optimize the pixel synthesis process:

1. Progressive Pixel Regression

Rather than attempting to generate a high-resolution image in a single step, PixelFolder adopts a multi-stage approach. The network generates images across increasing scales (e.g., $16 \times 16 \rightarrow 64 \times 64 \rightarrow 256 \times 256$). This allows the model to perform the bulk of its computational work at lower resolutions, using subsequent stages to refine details and textures.

2. Pixel Folding and Unfolding

The "pixel folding" operation is the central mechanism for maintaining efficiency without sacrificing information. Traditional downsampling or pooling methods discard data to reduce spatial resolution. In contrast, pixel folding rearranges a local patch (such as a $2 \times 2$ grid) by stacking the pixels into the channel dimension. This reduces the spatial footprint while preserving all original data for the next layer. The "unfolding" operation reverses this process to restore resolution during the synthesis stages.

3. Streamlined Architecture

By leveraging folding operations and modulated convolutions (ModConv), PixelFolder achieves high-quality synthesis with a remarkably compact architecture. The model utilizes only 12 convolution layers—significantly fewer than previous pixel synthesis models—while maintaining the spatial priors necessary for high-fidelity generation.

Experimental Results

The authors evaluated PixelFolder on several benchmark datasets, including Flickr Faces-HQ (FFHQ) at $1024 \times 1024$ and LSUN Church. Supplementary tests were also conducted on LSUN Cat and LSUN Bedroom datasets.

Efficiency and Speed

PixelFolder demonstrates a significant leap in efficiency compared to both previous pixel synthesis models and standard upsampling GANs:

  • Vs. CIPS: PixelFolder reduces computational complexity (GMACs) by 89% and total parameters by 53%. On an NVIDIA V100 GPU, it achieves an inference speed approximately 7x faster than CIPS.
  • Vs. StyleGAN2: Despite StyleGAN2 being the industry standard for efficiency, PixelFolder uses 72% less computation and 31% fewer parameters.

Image Quality

In terms of generative quality, PixelFolder achieved State-of-the-Art (SOTA) Fréchet Inception Distance (FID) scores in several categories:

  • FFHQ ($256 \times 256$): 3.77
  • LSUN Church: 2.45

By allowing pixels to interact more effectively through the folding-convolutions mechanism, the model successfully mitigates the local artifacts common in earlier synthesis models, producing more realistic textures in fine details like hair and eyewear.

Discussion and Future Work

While PixelFolder represents a major step forward in efficient image generation, some limitations remain. At the highest resolution ($1024 \times 1024$), StyleGAN2 maintains a slight edge in FID (2.84 vs. PixelFolder's 2.98), although PixelFolder remains significantly more compact in parameter count.

Future research directions include optimizing the injection of spatial priors across all stages of the network and exploring the integration of PixelFolder’s efficient architecture into diffusion-based models. Such an integration could potentially address the slow sampling speeds currently associated with diffusion generators, making high-quality image synthesis more accessible for real-time applications.

Summary updated

BibTeX
@inproceedings{he2022pixelfolder,
  author = {Jing He and Yiyi Zhou and Qi Zhang and Jun Peng and Yunhang Shen and Xiaoshuai Sun and Chao Chen and Rongrong Ji},
  title = {{PixelFolder: An Efficient Progressive Pixel Synthesis Network for Image Generation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19781-9\_37},
}
Figure