# Improving Flexible Image Tokenizers for Autoregressive Image Generation

*Zixuan Fu, Lanqing Guo, Chong Wang, Binbin SONG, Ding Liu, Bihan Wen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149748) · [Open on the map](../papers.html#p149748)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Tokenization and Resolution Scaling](../pgroup/396.md) · Type: new method · Keywords: flexible image tokenizer, autoregressive image generation, redundant token padding, hierarchical semantic regularization, latent modeling

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Creation and Editing › Image Generation; [Model Architectures & Sequence Modeling](../areas/architectures.md) › Vision and Generative Architectures › Discrete Image Tokenization

## Summary
ReTok improves flexible image tokenizers by adding redundant token padding and hierarchical semantic regularization to fully exploit all tokens for enhanced autoregressive image generation.

## Explained to a 5-year-old
We break pictures into small pieces called tokens to represent them. Usually the later pieces are often dropped, so most of the picture information is stored in the early pieces. The new method makes sure all pieces are used by adding extra padding and helping the pieces match a big picture model. This helps the model learn better from every piece and creates clearer pictures. As a result, the pictures generated step by step look much better.

## Explained to a 5-year-old, longer
Pictures can be turned into a list of small pieces called tokens. These tokens are ordered, so the first few tokens hold most of the picture information. In many current methods, the later tokens are often dropped during training, which wastes their potential. This makes it hard to generate good pictures when using many tokens because the later tokens are not used. The new approach adds extra padding to the later tokens so they are used more often. It also adds a special training rule that matches the early tokens to a big picture model. The matching rule gets weaker as we move toward the later tokens, allowing finer details to be learned. By using all tokens, the model can capture more information and create sharper images. The extra padding ensures that even the tail tokens contribute to the final picture. This helps the model avoid putting all the information into just the first few tokens. As a result, the generated images are clearer and have better details.

## For a technical reader
The paper introduces ReTok, a flexible tokenizer that improves autoregressive image generation. It adds redundant token padding to ensure tail tokens are used, preventing information concentration in early tokens. Additionally, hierarchical semantic regularization aligns early decoding features with a pre-trained vision model while reducing regularization strength toward the tail. This design enables finer detail reconstruction and better latent modeling. Experiments on ImageNet show superior generation quality over existing flexible and fixed-length tokenizers.

## Problem
Flexible image tokenizers use nested dropout that truncates trailing tokens, causing image information to concentrate in early tokens and limiting downstream autoregressive image generation as token length grows. This concentration reduces the effectiveness of latent modeling for longer sequences.

## Method
The approach introduces redundant token padding to activate tail tokens more frequently and hierarchical semantic regularization to align early decoding features with a pre-trained vision model while weakening regularization toward the tail. This allows all tokens to contribute to latent modeling and improves reconstruction of fine details.

## Results
The approach shows superior generation performance on ImageNet 256×256 compared to flexible and fixed-length tokenizers.

## Contributions
It introduces redundant token padding and hierarchical semantic regularization to better utilize all tokens in flexible tokenizers, addressing information concentration in early tokens. This leads to improved latent modeling and autoregressive image generation.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149748)
