dNaViT: A shared discrete representation for visual understanding and generation
dNaViT converts images into shared discrete codes, bringing understanding, generation, and editing together on one representation; results are strong, but not superior on every task.
dNaViT: Discrete Codes are General-Purpose Visual Representations — arXiv:2611.12426
When will it reach products?
6–12 mo — You may see this idea over the next 6–12 months as an internal component of models that combine visual understanding and generation. Its first impact may come less as a standalone tool you use directly and more as model infrastructure that processes images with shared codes.
What happened?
LongCat researchers developed a method called dNaViT that represents images with discrete codes from a finite vocabulary. The same image codes can be used for understanding, generation, and editing, as well as image reconstruction. The method builds additional layers on top of a pretrained visual component without changing it.
Why it matters
Document processing, design tools, content generation, and visual assistants may require different visual-processing components today. dNaViT offers evidence that these tasks can use a shared visual representation. This approach could plausibly reduce infrastructure duplication and integration burden, but the paper does not measure these business benefits. What matters competitively is less taking first place on one task than approaching specialist systems across complementary tasks.
Technical summary
dNaViT is a visual tokenizer that converts images at different resolutions into discrete codes. It combines intermediate layers of the frozen Qwen3-VL vision transformer (ViT) with residual modulation (ResMod), adding the detail needed for reconstruction to semantic features. Grouped product quantization encodes channel groups with separate codebooks, expanding representational capacity without increasing the number of spatial positions. Two branches reconstruct both semantic features and pixels from the same codes, aiming to preserve meaning and image detail together. This shared representation is used in different task models; the results do not mean that all tasks were solved through a single joint training run.
Contribution
The main contribution is a general-purpose visual representation design that preserves semantic discriminability and pixel detail within the same discrete bottleneck. dNaViT achieves this balance with ResMod added to a frozen encoder, grouped quantization, and staged dual-branch training. Experiments in understanding, reconstruction, generation, and editing demonstrate the shared representation’s potential range of use; they do not establish lossless representation or superiority on every task.