dNaViT: Discrete Codes are General-Purpose Visual Representations
Xiaotong Li, Zhengrong Yue, Xu Huang, Jialv Zou, Minhao Jing, Wenhao Yan, Haodong Li, Hai Huang and 4 others
Meituan LongCat Team
Published November 9, 2026 · on the feed November 11, 2026 · ▲ 33 · arXiv 2611.12426
The abstract
Discrete autoregressive modeling, notably through next-token prediction, has become a cornerstone of modern language models. Extending this paradigm to vision allows visual and language models to converge on a unified framework, thereby fostering shared methodology and infrastructure. This work investigates a central question: how far can a finite discrete vocabulary go in representing the richness of the visual world? We present dNaViT, a Discrete Native-resolution Vision Transformer that produces discrete visual primitives analogous to language tokens. Built upon a frozen pretrained encoder, dNaViT applies lightweight residual modulation with a dual-branch objective to inject reconstruction-aware cues into semantic features. By leveraging grouped product quantization, it scales discrete capacity without inflating spatial sequence lengths, while a balanced training recipe maintains both semantic and pixel-level information. Consequently, dNaViT functions as a versatile discrete visual tokenizer, enabling unified encoding across downstream tasks alongside high-fidelity image decoding. Extensive evaluations show that dNaViT matches or exceeds task-specific baselines across 12 visual understanding benchmarks, 4 generation benchmarks, and an image editing benchmark. These findings demonstrate that a compact discrete vocabulary can serve as a universal visual currency and unlock the full potential of fully unified, native multimodal methodology.
The Brief
2:19A short podcast summary of the paper. Written and voiced by AI.
Transcript
dNaViT. Discrete Codes are General-Purpose Visual Representations. By Xiaotong Li and eleven others, from Meituan's LongCat Team. Published on the ninth of November.
Discrete autoregressive modeling, next-token prediction above all, is a cornerstone of modern language models. Carrying the same paradigm over to vision would let visual and language models converge on one framework, with shared methods and shared infrastructure. That raises the question the work sets itself: how far can a finite, discrete vocabulary go in representing the richness of the visual world?
The proposal is dNaViT, a Discrete Native-resolution Vision Transformer. It produces discrete visual primitives meant to play the part that tokens play in language, so that an image becomes a sequence of entries drawn from a fixed vocabulary. If that works, the machinery language models already use for next-token prediction has something visual to predict, and the two kinds of model can share it. The name carries the other part of the design: native resolution.
It does not start from scratch. dNaViT is built on a frozen pretrained encoder, and applies a lightweight residual modulation trained with a dual-branch objective, which injects reconstruction-aware cues into the encoder's semantic features. Capacity comes from grouped product quantization, which lets the discrete vocabulary grow without inflating the length of the spatial sequence. A balanced training recipe then keeps both kinds of information alive at once: the semantic, and the pixel-level. Each choice answers a pressure. The frozen encoder brings semantics. The modulation adds what reconstruction needs. The grouped quantization buys a richer vocabulary without longer sequences, and the balanced recipe stops either side from crowding out the other.
The result is meant as a versatile discrete visual tokenizer. The same codes serve unified encoding across downstream tasks, and can also be decoded back into high-fidelity images.
In extensive evaluations, dNaViT matches or exceeds task-specific baselines across twelve visual understanding benchmarks, four generation benchmarks, and an image editing benchmark. One tokenizer is set against specialists on each of those fronts.
Behind the paper sits a bet on convergence. If a compact discrete vocabulary can carry enough of the visual world for understanding, generation and editing alike, then images can be handled the way text already is. The authors call such a vocabulary a universal visual currency, and see it as the way to unlock fully unified, native multimodal methods.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Language has tokens. Vision has pixels. The wall is fitting both meaning and detail into one finite vocabulary.
Language models run on next-token prediction over a finite vocabulary. You want vision to share that framework, so images must become sequences of entries from a fixed vocabulary too.
The road ahead
- 1 · The problem ~6 min To let vision share the language-model framework, images must become tokens from a fixed vocabulary, yet those tokens must keep both meaning and pixel detail.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Start from a frozen encoder's meaningful features, add pixel detail lightly, quantize with several codebooks, and train with balanced semantic and pixel goals.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Frozen encoder features are enriched by residual modulation, quantized by grouped codebooks, and decoded back into features and images, trained in three stages.
- 6 · The experiment ~6 min You’ll guess: Across 12 visual understanding benchmarks, how did the single dNaViT tokenizer compare with task-specific baselines?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.