TL;DR
Why does a generative model spend the exact same compute drawing a lone balloon against a clear blue sky as it does rendering a bustling festival? Most modern image generators chop every canvas into a rigid, fixed grid of squares, paying a flat computational tax regardless of what is actually in the picture. RenGen replaces rigid grids with flexible "region tokens," allowing you to dial down your compute budget to generate simpler, yet still crisp and realistic, scenes up to $2.5\times$ faster.
What Problem Does This Paper Address?
Standard latent diffusion models—the engines behind modern AI art—compress images into a fixed checkerboard of "patch tokens" (say, a $16\times16$ grid totaling 256 tokens). Because the grid is fixed, generating a minimalist icon requires the exact same wall-clock time and FLOPs as a crowded street scene.
Prior researchers tried to build "content-adaptive" tokenizers that vary token counts dynamically. However, when you starve those models of tokens, image quality plummets—things get blurry or artifact-ridden. The authors ask: Can we build a generator where fewer tokens yield simpler compositions (e.g., a close-up eagle instead of an eagle in a dense forest) without sacrificing photorealism?
Methods
Instead of square patches, RenGen operates on region tokens, where each token represents an arbitrary, organically shaped segment of an image. Because regions don't live on a neat grid, both the autoencoder (which compresses and reconstructs images) and the generator (a Diffusion Transformer, or DiT, which dreams up new tokens from noise) need clever spatial upgrades.
- Region Autoencoder (Standard + Novel): The authors take features from a frozen, pretrained vision backbone (DINOv3) and group them using classic Felzenszwalb–Huttenlocher (FH) graph-based segmentation. What's new: Simply pooling features inside a segment erases where that segment sits on the canvas. RenGen fixes this by injecting random Fourier positional embeddings into the patch features before pooling them via cross-attention. To render pixels back out, a grid of patch queries—armed with those exact same Fourier directions—cross-attends to the region tokens to pull the right visual details to the right spots.
- Point-Anchored DiT (Novel): When generating a brand-new image from noise, there is no image to segment yet—so where do the regions go? Instead of training a separate, slow model to invent layouts, RenGen scatters $P$ random anchor points evenly across the blank canvas (using Lloyd's algorithm). During training, the canvas is carved into geometric Voronoi cells around these points to create target tokens. At inference, the DiT takes $P$ noisy tokens tagged with their anchor coordinates (via 2D Rotary Position Embeddings) and denoises both the visual content and exact shape/extent of each region around its anchor. Choosing $P$ at sampling time directly controls scene busyness and compute.
Datasets
All training and evaluation experiments are conducted on ImageNet ($256\times256$, with high-resolution scaling tests at $512\times512$). No new datasets are introduced, though the authors group the ImageNet validation set into four complexity buckets based on FH segment counts to test compute-versus-complexity scaling.
Key Insights and Ideas
- Bake position into features, not separate codes: Giving each region token an explicit "mask code" helps reconstruction, but ruins generation—the DiT struggles to predict mask math precisely, causing layout glitches. Mixing Fourier positions directly into visual features before pooling lets content and location travel together seamlessly.
- Autoencoders generalize to weird shapes: Even though RenGen's autoencoder is trained exclusively on color-based FH segments, it reconstructs images almost just as well when fed geometric Voronoi cells (0.332 vs. 0.320 rFID). This surprising flexibility is why random anchor points work at all.
- Explicit layout generation is a trap: Conditioning a generator on real training layouts causes severe memorization, while training a two-stage "layout-then-content" pipeline eats up all your speed gains. Random point anchors give the DiT just enough spatial grounding for free.
- Resolution-free token budgets: Doubling image resolution from $256\times256$ to $512\times512$ quadruples patch tokens (and spikes DiT attention cost by $16\times$). Because a $512\times512$ image has roughly the same number of semantic regions as a $256\times256$ one, RenGen's DiT generation cost stays completely flat across resolutions!
Key Results
On ImageNet $256\times256$, RenGen uses an average of 88 tokens per image ($2.9\times$ fewer than a 256-patch grid):
- Generation Quality & Speed: Achieves a gFID of 1.34 (lower is better), beating all prior variable-token generators. Compared to the state-of-the-art patch-based RAEv2 (1.06 gFID), RenGen runs at $2.5\times$ lower latency (58ms vs. 146ms) and $2.6\times$ fewer TFLOPs (9.1 vs. 23.9).
- Flat Quality Across Complexity: Across four scene-complexity buckets (averaging 46 to 134 tokens), RenGen's gFID stays rock-steady (~6.06 to 6.37) while generating simple scenes $2.4\times$ faster than busy ones. Meanwhile, a competing adaptive method (BudgetPix) degrades sharply from 11.1 to 22.8 gFID as tokens shrink.
- Reconstruction & Scaling: Reconstructs nearly on par with RAEv2 (0.32 vs. 0.30 rFID). At $512\times512$, a single RenGen model outperforms RAEv2's high-res setup (0.39 vs. 0.50 rFID) using nearly a third of the DiT compute (47.5 vs. 135.2 GFLOPs).
Limitations and Future Work
RenGen's pixel-level PSNR lags slightly behind tokenizers trained end-to-end purely for pixel reconstruction (22.23 vs. MAETok's 23.61), as its DINOv3 encoder remains frozen. Furthermore, experiments are currently limited to class-conditional ImageNet. Next, the authors aim to scale RenGen to text-to-image generation, improve training efficiency, unlock multi-aspect-ratio decoding from a single model, and harness region tokens for intuitive spatial editing—like dragging, resizing, or rotating individual objects on the canvas.
Summary updated