All models

vibetoken

A 1D Transformer image tokenizer that compresses an image into a short token sequence and reconstructs it.

Diffusion and generative · 161 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 (31 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
1.3M
Operations
161
Framework
PyTorch
Recurrent
No
Published
2026
Cited by
0 (as of 16 November 2026)
Authors
Maitreya Patel, Jingtao Li, Weiming Zhuang and others
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
m12207
Graph hash
e93685966147c011e8e2762c6388ffad256d83f7a50cf8d96e29a3a218606ec6
Skeleton hash
06dc8c0783d9c96a069fae03129385bac4a17e712646fd6e6a9d74bd3d634bc4
Architecture hash
64fc848ca17708052f1abba686567de896ca1c13f37328a895e394b64f3e09a3
Diagram SHA-256
39a69ec279c7a23470bc27b3d188f1ddac6e15f1361d32b60ffbae1154cbd6ea
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.vibetoken:build_vibetoken: build({})

What it is

VibeToken is a 1D image tokenizer built on a Transformer: it turns an image into a short sequence of discrete tokens and decodes those tokens back into pixels. The paper's aim is a tokenizer that is not tied to one resolution: it encodes any input resolution into 32 to 256 tokens and decodes to any target resolution, which may differ from the input.

In the paper's design the encoder cuts the image into patches, prepends learned latent tokens, and a quantizer maps each latent to its nearest codebook vector. The decoder receives the quantized latents joined with learned masked output tokens and predicts pixels only at the masked positions. To handle varying image sizes, the position codes for the patch grid come from a dynamic grid position embedding, an idea the paper credits to NaViT and ViTAR. The patch embedding accepts variable patch sizes, following FlexiViT. Encoder and decoder are trained with the token count as a variable, so for a target length L the encoder produces exactly L latent tokens and the decoder consumes exactly L.

The same paper builds VibeToken-Gen, a class-conditioned autoregressive generator, on top of the tokenizer. For reconstruction on ImageNet-1k, the paper reports that its VibeToken-LL version attains 0.40 rFID at 256×256 and 0.51 at 512×512. The paper's tokenizers use multi-codebook vector quantization with 8 codebooks of size 4096.

Key idea. VibeToken is a resolution-agnostic 1D Transformer image tokenizer that encodes an image of any resolution into a user-chosen sequence of 32 to 256 tokens.

  • vibetoken
  • vibe token
  • 1d image tokenizer
  • image tokenizer
  • visual tokenizer
  • vq tokenizer
  • resolution-agnostic tokenizer
  • autoregressive image generation
  • dynamic resolution

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

Cite the paper

@misc{patel2026vibetokenscaling1dimage,
      title={VibeToken: Scaling 1D Image Tokenizers and Autoregressive Models for Dynamic Resolution Generations}, 
      author={Maitreya Patel and Jingtao Li and Weiming Zhuang and Yezhou Yang and Lingjuan Lv},
      year={2026},
      eprint={2604.24885},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2604.24885}, 
}