All models

IBQ

An image tokenizer whose Index Backpropagation Quantization trains the whole codebook jointly with the encoder.

Diffusion and generative · 745 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (13 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
173.9M
Operations
745
Framework
PyTorch
Recurrent
No
Published
ICCV (arXiv 2024)
Cited by
7 (as of 28 October 2026)
Authors
Fengyuan Shi, Zhuoyan Luo, Yixiao Ge and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17452
Graph hash
1dca6563267d79d43c43fa0d216226cf266ac40ed0244625313f0af18bc96dda
Skeleton hash
146df71a109185dd594083be718600d68e004e389c8f217b3567ddb772e8172b
Architecture hash
55f92e946db88b438a986ec372ebcbb60157e3a153f03ca4c1bc3d5792d35560
Diagram SHA-256
ea77642278324dbe43ea369ca9083dda24a3381d8ed2eb19a099352b0bf47708
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

IBQ, short for Index Backpropagation Quantization, is a vector quantization (VQ) method for training visual tokenizers, introduced in the paper Taming Scalable Visual Tokenizer for Autoregressive Image Generation. The paper attributes the poor scalability of existing VQ methods to an unstable codebook that receives only partial updates during training. As utilization decreases, the gap between non-activated codes and visual features widens and the codebook becomes prone to collapse.

IBQ instead optimizes all codebook embeddings jointly with the visual encoder. It applies a straight-through estimator to the one-hot categorical distribution between the encoded feature and the codebook, so that all codes are differentiable and keep a latent space consistent with the visual encoder. The authors' repository notes that IBQ is mathematically equivalent to the deterministic hard-gumbel implementation without temperature in the lucidrains/vector-quantize-pytorch library.

According to the paper, IBQ reaches a large-scale codebook (2^18) with high dimension (256) and high utilization, and experiments on ImageNet show competitive results on reconstruction and autoregressive visual generation. The authors say they refer a lot to VQGAN and MAGVIT, and that all experiments used the Ascend 910B for training.

Key idea. IBQ applies a straight-through estimator to the one-hot categorical distribution over codes, making all codes differentiable so the whole codebook trains jointly with the visual encoder.

  • ibq
  • index backpropagation quantization
  • visual tokenizer
  • image tokenizer
  • vector quantization
  • codebook utilization
  • codebook collapse
  • autoregressive image generation
  • straight-through estimator

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{shi2025scalableimagetokenizationindex,
      title={Scalable Image Tokenization with Index Backpropagation Quantization}, 
      author={Fengyuan Shi and Zhuoyan Luo and Yixiao Ge and Yujiu Yang and Ying Shan and Limin Wang},
      year={2025},
      eprint={2412.02692},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2412.02692}, 
}