PixDiff-PIG: Palette-Informed Diffusion for Pixel Art Generation
Abstract
Pixel-style image generation remains an under-explored regime where conventional diffusion models, typically optimized for natural photographs, fail to preserve discrete palettes and crisp silhouettes. This paper introduces PixDiff-PIG, a palette-informed diffusion framework tailored for low-resolution sprite synthesis. The system integrates k-means palette quantization, OKLab color modeling, and language-vision guidance into a compact TinyUNet-based denoising diffusion probabilistic model (DDPM). Each sprite is compressed into a feature bundle comprising a quantized palette, palette index map, luminance channel, and BLIP-generated caption, enabling efficient training and interpretable conditioning. PixDiff-PIG operates directly in OKLab space and optionally employs CLIP-based guidance during sampling to align generations with textual prompts while respecting palette structure. Experiments on a curated 42k-sprite dataset demonstrate that PixDiff-PIG outperforms StyleGAN2 and a latent diffusion baseline, achieving lower FID and higher palette consistency and prompt alignment. User studies with experienced pixel artists confirm improved aesthetic quality and palette coherence. The proposed framework highlights how palette-aware diffusion can bridge handcrafted pixel-art workflows and modern generative models on commodity hardware.
References
- Prafulla Dhariwal and Alex Nichol. Diffusion models beat GANs on image synthesis. In Advances in Neural Information Processing Systems, 2021.
- Patrick Esser, Robin Rombach, and Bjorn Ommer. Taming transformers for high-resolution image synthesis. In Conference on Computer Vision and Pattern Recognition, 2021.
- Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, 2020.
- Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. BLIP: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In International Conference on Machine Learning, 2022.
- James MacQueen. Some methods for classification and analysis of multivariate observations. In Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, 1967.
- Alex Nichol and Prafulla Dhariwal. Improved denoising diffusion probabilistic models. In International Conference on Machine Learning, 2021.
- Bjorn Ottosson. OKLab: A perceptual color space for image processing. Technical Report, 2020.
- Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, 2021.
- Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Bjorn Ommer. High-resolution image synthesis with latent diffusion models. In Conference on Computer Vision and Pattern Recognition, 2022.