atlas

Research map / Large language models / Language, safety and interpretability

Improving Autoregressive Visual Generation with Cluster-Oriented Token Prediction

CVPR 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes IAR, which rearranges the VQGAN codebook into balanced k-means clusters and adds a cluster-oriented cross-entropy loss so LLaMA-style autoregressive image generators predict the correct cluster, improving training efficiency and FID on ImageNet 256.

Problem

Autoregressive LLM-based visual generation treats image tokens like words, ignoring that nearby codebook embeddings represent similar image content; a wrong token prediction can therefore produce artifacts and slow training.

Approach

Rearrange the VQGAN codebook via balanced k-means so that contiguous index ranges form clusters of visually similar codes, then add a cluster-level cross-entropy term (via LogSumExp over each cluster) so the model is rewarded for predicting the correct cluster even when the exact token is wrong.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add codebook rearrangement and LCCE (ablation)LlamaGen-B / IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.77Helped
Add codebook rearrangement (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 7.15No clear effect
Add LCCE (ablation)IAR-B · ImageNet, 100 epochsFID: 6.962 -> 6.77Helped
Set cluster size to 128 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.77Helped
Set cluster size to 8 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 7.02Helped
Set cluster size to 16 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.99Helped
Set cluster size to 32 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.83Helped
Set cluster size to 64 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.92Helped
Set cluster size to 256 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.81Helped
Set cluster size to 512 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 6.94Helped
Set LCCE weight λ to 0.1 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 7.01Helped
Set LCCE weight λ to 0.25 (ablation)IAR-B · ImageNet, 100 epochsFID: 7.14 -> 7.05Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet

Benchmarks: ImageNet 256x256 class-conditional generation

Metrics: FID IS Precision Recall

Baselines: LlamaGen VQGAN VQGAN-re ViT-VQGAN RQTransformer MaskGIT DiT-XL/2 LDM-4 BigGAN GigaGAN StyleGAN-XL ADM

Builds on: LlamaGen VQGAN classifier-free guidance balanced k-means

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy