PixNerd is a novel pixel-space diffusion transformer for image generation, introduced in the paper PixNerd: Pixel Neural Field Diffusion. Unlike conventional diffusion models that depend on a compressed latent space shaped by a pre-trained VAE, PixNerd proposes to model patch-wise decoding with a neural field. This results in a single-scale, single-stage, efficient, and end-to-end solution that directly operates in pixel space, avoiding accumulated errors and decoding artifacts.
Below are sample images generated by PixNerd, showcasing its capabilities:
The following checkpoints are available:
| Dataset | Model | Params | FID | HuggingFace |
|---|---|---|---|---|
| ImageNet256 | PixNerd-XL/16 | 700M | 2.15 | π€ |
| ImageNet512 | PixNerd-XL/16 | 700M | 2.84 | π€ |
| Dataset | Model | Params | GenEval | DPG | HuggingFace |
|---|---|---|---|---|---|
| Text-to-Image | PixNerd-XXL/16 | 1.2B | 0.73 | 80.9 | π€ |
You can try out the PixNerd-XXL/16 (text-to-image) model on our Hugging Face Space demo: https://huggingface.co/spaces/MCG-NJU/PixNerd.
To host a local Gradio demo for text-to-image applications, run the following command after setting up the environment:
python app.py --config configs_t2i/inference_heavydecoder.yaml --ckpt_path=XXX.ckpt
For image generation (C2i for ImageNet), you can use the provided codebase. First, install the required dependencies:
# for installation
pip install -r requirements.txt
Then, run inference using the main.py script (replace XXX.ckpt with your checkpoint path):
# for inference
python main.py predict -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml --ckpt_path=XXX.ckpt
# or specify the GPU(s) to use:
CUDA_VISIBLE_DEVICES=0,1, python main.py predict -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml --ckpt_path=XXX.ckpt
For more details on training and evaluation for both C2i and T2i applications, please refer to the official GitHub repository.
If you find this work useful for your research, please cite our paper:
@article{2507.23268,
Author = {Shuai Wang and Ziteng Gao and Chenhui Zhu and Weilin Huang and Limin Wang},
Title = {PixNerd: Pixel Neural Field Diffusion},
Year = {2025},
Eprint = {arXiv:2507.23268},
}
6 commits
1 commits
PixNerd is a novel pixel-space diffusion transformer for image generation, introduced in the paper PixNerd: Pixel Neural Field Diffusion. Unlike conventional diffusion models that depend on a compressed latent space shaped by a pre-trained VAE, PixNerd proposes to model patch-wise decoding with a neural field. This results in a single-scale, single-stage, efficient, and end-to-end solution that directly operates in pixel space, avoiding accumulated errors and decoding artifacts.
Below are sample images generated by PixNerd, showcasing its capabilities:
The following checkpoints are available:
| Dataset | Model | Params | FID | HuggingFace |
|---|---|---|---|---|
| ImageNet256 | PixNerd-XL/16 | 700M | 2.15 | π€ |
| ImageNet512 | PixNerd-XL/16 | 700M | 2.84 | π€ |
| Dataset | Model | Params | GenEval | DPG | HuggingFace |
|---|---|---|---|---|---|
| Text-to-Image | PixNerd-XXL/16 | 1.2B | 0.73 | 80.9 | π€ |
You can try out the PixNerd-XXL/16 (text-to-image) model on our Hugging Face Space demo: https://huggingface.co/spaces/MCG-NJU/PixNerd.
To host a local Gradio demo for text-to-image applications, run the following command after setting up the environment:
python app.py --config configs_t2i/inference_heavydecoder.yaml --ckpt_path=XXX.ckpt
For image generation (C2i for ImageNet), you can use the provided codebase. First, install the required dependencies:
# for installation
pip install -r requirements.txt
Then, run inference using the main.py script (replace XXX.ckpt with your checkpoint path):
# for inference
python main.py predict -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml --ckpt_path=XXX.ckpt
# or specify the GPU(s) to use:
CUDA_VISIBLE_DEVICES=0,1, python main.py predict -c configs_c2i/pix256std1_repa_pixnerd_xl.yaml --ckpt_path=XXX.ckpt
For more details on training and evaluation for both C2i and T2i applications, please refer to the official GitHub repository.
If you find this work useful for your research, please cite our paper:
@article{2507.23268,
Author = {Shuai Wang and Ziteng Gao and Chenhui Zhu and Weilin Huang and Limin Wang},
Title = {PixNerd: Pixel Neural Field Diffusion},
Year = {2025},
Eprint = {arXiv:2507.23268},
}
6 commits
1 commits