Abstract
Diffusion models have shown an impressive ability to model complex data distributions, with several key advantages over GANs, such as stable training, better coverage of the training distribution's modes, and the ability to solve inverse problems without extra training. However, most diffusion models learn the distribution of fixed-resolution images. We propose to learn the distribution of continuous images by training diffusion models on image neural fields, which can be rendered at any resolution, and show its advantages over fixed-resolution models. To achieve this, a key challenge is to obtain a latent space that represents photorealistic image neural fields. We propose a simple and effective method, inspired by several recent techniques but with key changes to make the image neural fields photo-realistic. Our method can be used to convert existing latent diffusion autoencoders into image neural field autoencoders. We show that image neural field diffusion models can be trained using mixed-resolution image datasets, outperform fixed-resolution diffusion models followed by super-resolution models, and can solve inverse problems with conditions applied at different scales efficiently.
Introduction
Most modern image generators, such as Stable Diffusion, are "resolution-bound," typically trained to produce images at a specific size (e.g., 512x512). Generating higher-resolution outputs usually requires a two-step pipeline: generating a low-resolution image followed by a separate Super-Resolution (SR) model. This approach suffers from domain gaps between generated artifacts and real-world training data, hallucinations that deviate from the original intent, and limitations to fixed integer scales.
The Image Neural Field Diffusion (INFD) model addresses these issues by treating images as continuous signals rather than discrete grids of pixels. By integrating neural fields into the diffusion process, INFD enables the generation of high-fidelity images at arbitrary scales—up to 2K and beyond—without a separate upscaling step.
Methodology
The INFD framework consists of a two-stage process: a Neural Field Autoencoder and a Latent Diffusion Model.
Neural Field Autoencoder
Instead of a standard Variational Autoencoder (VAE), INFD utilizes an autoencoder where the decoder acts as a continuous Neural Field Renderer. The encoder maps an input image to a latent code $z$. A decoder then transforms $z$ into a feature map $\phi$.
A critical innovation is the Convolutional Local Image Function (CLIF). Traditional methods like Local Implicit Image Function (LIIF) process pixels independently using pointwise MLPs, which often results in "plastic" or noisy textures. In contrast, CLIF employs a small convolutional network to incorporate information from a local neighborhood of features. This allows the model to capture the complex, high-frequency textures necessary for photorealism, such as skin pores or fine hair.
Latent Diffusion and Training
A standard diffusion model (DDPM) is trained to operate within the continuous latent space $z$. To ensure resolution agnosticism, the authors employ mixed-resolution training. During training, ground-truth images are randomly downsampled, forcing the model to learn reconstruction from both global structures and fine local patches. Once trained, the renderer can be "queried" at any coordinate and zoom level to produce the final image.
Datasets and Experiments
The model was evaluated on several high-resolution benchmarks:
- FFHQ: 70,000 face images at 1024x1024.
- Mountains: ~500k images at 1024px and ~9k images at ultra-high resolutions (2048px+).
- FFHQ 6K-Mix: A setup where only 1.4% of images are high-resolution, testing the model's ability to learn from sparse high-res data.
- LAION-5B: Used for fine-tuning text-to-image capabilities.
Results
INFD demonstrates significant advantages over traditional fixed-resolution pipelines:
- Superior Quality: On the Mountains dataset at 1K resolution, INFD achieved a pFID of 5.13, significantly better than the 10.39 achieved by an LDM + Real-ESRGAN baseline.
- Scale Consistency: Unlike GAN-based methods, INFD maintains perfect alignment of features when zooming in, as it models a continuous signal.
- Data Efficiency: The model successfully learns to generate 1K images even when 98% of the training data is limited to 256px resolution.
- Inverse Problem Solving: The continuous nature of the field allows for efficient solving of inverse problems at any scale, such as zero-shot layout-to-image generation.
Conclusion
INFD successfully breaks the resolution ceiling of diffusion models by leveraging continuous neural fields. While the current encoder remains fixed-resolution, the resolution-agnostic decoder provides a robust path toward truly scale-independent generative AI. Future work may focus on making the entire pipeline fully continuous and optimizing the computational cost of rendering ultra-high resolutions.
Summary updated