SD-πXL: Generating Low-Resolution Quantized Imagery via Score Distillation

Alexandre Binninger, Olga Sorkine-Hornung
10/8/2024
cs.CVcs.GR

No official code found. Best implementation: AlexandreBinninger/SD-piXL (67 stars, MIT, last commit 2025-05-02).

Abstract

Low-resolution quantized imagery, such as pixel art, is seeing a revival in modern applications ranging from video game graphics to digital design and fabrication, where creativity is often bound by a limited palette of elemental units. Despite their growing popularity, the automated generation of quantized images from raw inputs remains a significant challenge, often necessitating intensive manual input. We introduce SD-$π$XL, an approach for producing quantized images that employs score distillation sampling in conjunction with a differentiable image generator. Our method enables users to input a prompt and optionally an image for spatial conditioning, set any desired output size $H \times W$, and choose a palette of $n$ colors or elements. Each color corresponds to a distinct class for our generator, which operates on an $H \times W \times n$ tensor. We adopt a softmax approach, computing a convex sum of elements, thus rendering the process differentiable and amenable to backpropagation. We show that employing Gumbel-softmax reparameterization allows for crisp pixel art effects. Unique to our method is the ability to transform input images into low-resolution, quantized versions while retaining their key semantic features. Our experiments validate SD-$π$XL's performance in creating visually pleasing and faithful representations, consistently outperforming the current state-of-the-art. Furthermore, we showcase SD-$π$XL's practical utility in fabrication through its applications in interlocking brick mosaic, beading and embroidery design.

View on arXivView PDF

Code Implementations(1)

MIT

Repository for SD-πXL: Generating Low-Resolution Quantized Imagery via Score Distillation (SIGGRAPH Asia 2024)

677PythonAug 19, 20241 years agoMIT

Similar Papers

Cite this paper

@article{binninger2024sdxl,
  title  = {SD-πXL: Generating Low-Resolution Quantized Imagery via Score Distillation},
  author = {Alexandre Binninger and Olga Sorkine-Hornung},
  year   = {2024},
  eprint = {2410.06236},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06236v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.06236.svg)](https://codeofpaper.com/paper/2410.06236)

Discussion