Research ·
QuadTok: Quadtree Visual Tokenizer for Autoregressive Image Generation
QuadTok is a quadtree-based visual tokenizer for autoregressive image generation that dynamically allocates tokens to complex image regions, saving about 10% tokens versus a fixed 256-token grid while achieving a 2.08 gFID on ImageNet 256x256 with a 947M GPT-style model.

Researchers introduced QuadTok, a framework for visual tokenization and autoregressive image generation built on a hierarchical quadtree structure. Instead of the usual 2D grids or flat 1D token sequences, the tree structure aims to bridge 2D spatial binding with 1D sequence-level flexibility. The tokenizer assigns more representational capacity to visually intricate areas while leaving homogeneous regions at coarse resolution.
Compared with a fixed 256-token grid, an ImageNet-trained tokenizer saves roughly 10% of tokens on ImageNet and 9% when transferred zero-shot to COCO, while maintaining comparable reconstruction fidelity. The tree's natural causality supports autoregressive generation: given a quadtree topology supplied before generation, a 947M GPT-style model reaches a 2.08 gFID on the ImageNet 256x256 benchmark. The preserved spatial correlation also enables zero-shot spatially controlled image generation.
For builders working on autoregressive image models, QuadTok shows a way to cut token counts without losing fidelity, and its topology-conditioned design adds spatial control without extra training. Code is available at github.com/myc634/QuadTok.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz