dNaViT: Discrete Codes are General-Purpose Visual Representations

Xiaotong Li, Zhengrong Yue, Xu Huang, Jialv Zou, Minhao Jing, Wenhao Yan, Haodong Li, Hai Huang, Bo Zhao, Yan Feng, Peng Pei, Xunliang Cai

arXiv:2611.12426 · 2026-11-11 공개 · arXiv · PDF

benchmark-evaluation vision-transformer encoder-decoder tokenization multimodal-modeling visual-representation reconstruction-loss product-quantization

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.

한국어 요약

한 줄 요약

dNaViT는 시각 정보를 언어 토큰과 유사한 이산 코드로 표현하는 다목적 시각 토크나이저로, 512×512 해상도에서 28.12 dB PSNR과 885 OCRBench 점수를 달성한다.

핵심 기여도

핵심 아이디어

dNaViT는 시각 정보를 이산 토큰으로 표현함으로써 언어 모델과 유사한 아키텍처를 시각 분야로 확장하는 것을 목표로 한다. 이는 기존 시각 모델이 종종 모달리티별로 다른 표현 방식과 학습 목적을 사용하는 문제를 해결한다. 핵심 아이디어는 **Residual Modulator**를 통해 프리트레인된 인코더의 세미나틱 특성을 픽셀 정보로 풍부하게 한 후, **Grouped Product Quantization (PQ)**를 사용하여 이산 코드로 압축하는 것이다. 이는 공간 시퀀스 길이를 늘리지 않고 이산 용량을 확장할 수 있게 하며, **dual-branch objective**를 통해 세미나틱과 픽셀 수준 정보를 동시에 유지한다.

기술적 접근법

주요 결과

의의 및 한계

dNaViT는 이산 토큰 공간이 시각 정보를 효과적으로 표현할 수 있음을 입증하며, 언어-시각 통합 모델링의 기초를 제공한다. 특히, **단일 이산 코드 공간**이 다양한 시각 작업(이해, 생성, 편집)에서 일관된 성능을 보이는 것은 기존 이산 토크나이저의 한계를 극복한 점에서 학술적 의의가 크다. 또한, **데이터 효율성**이 높아, 훈련 데이터가 제한된 상황에서도 유용하다. 그러나, 이산 코드가 시각 정보의 복잡성을 완전히 포착하지 못할 가능성, 또는 고해상도 이미지에서의 성능 저하가 있을 수 있다는 한계가 존재한다. 또한, 코드 조건화된 디코더(Refiner)가 필요할 수 있어, 실용적 구현에 있어 추가적인 연구가 필요할 수 있다.

실용적 활용

dNaViT는 멀티모달 모델링, 이미지 생성 및 편집, 문서 이해 및 추론 등 다양한 시각-언어 작업에 적용 가능하다. 특히, **OCR, 이미지-텍스트 일관성 유지, 고해상도 이미지 생성** 등에서 높은 성능을 보이므로, 문서 처리, 디지털 콘텐츠 생성, 인공지능 기반 이미지 편집 도구 등 산업 분야에서 활용 가능하다.