🤗 Upvotes: 29 | cs.CV, cs.AI Authors: Xiaotong Li, Zhengrong Yue, Xu Huang, Jialv Zou, Minhao Jing, Wenhao Yan, Haodong Li, Hai Huang, Bo Zhao, Yan Feng, Peng Pei, Xunliang Cai Title: dNaViT: Discrete Codes are General-Purpose Visual Representations Arxiv: http://arxiv.org/abs/2611.12426v1 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.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Evan: Welcome to the Daily Paper Cast. Ashley: Today's paper is from the Hugging Face daily paper list of November 11, 2026, with 29 upvotes. Evan: The title is 'dNaViT: Discrete Codes are General-Purpose Visual Representations'. Ashley: First two authors are Xiaotong Li and Zhengrong Yue, with corresponding author Xiaotong Li. They're from the Meituan LongCat Team. Evan: Let's dive into the Introduction. What's the background and objective of this paper?
Ashley: Language models have achieved remarkable success using discrete autoregressive modeling through next-token prediction, anchored by discrete tokens. This approach provides a unified substrate for representation learning and autoregressive modeling, often discussed in the context of compression as intelligence. Evan: However, modern multimodal models typically rely on heterogenous learning objectives and modality-specific representations. This divergence raises a foundational question: Can visual information be represented losslessly like language using a learned discrete vocabulary?
Ashley: That's exactly the main question this paper addresses. Discrete visual representations offer a promising bridge by aligning visual inputs with autoregressive language architectures under a shared token-prediction objective. Evan: Given the continuous nature of visual signals, what challenges do discrete representations face? Ashley: Discretizing dense, continuous visual signals into a finite vocabulary presents a severe information bottleneck that can hinder performance. Crucially, harmonizing high-level semantic abstraction for understanding with fine-grained pixel details for high-fidelity reconstruction within a single discrete bottleneck remains an unresolved tension.
Evan: So how does dNaViT, the Discrete Native-resolution Vision Transformer, tackle these challenges? Ashley: dNaViT builds upon a frozen pretrained encoder and applies residual modulation with a dual-branch objective to enrich semantic features with reconstruction-relevant information. Using grouped product quantization, dNaViT scales discrete capacity without inflating spatial sequence lengths. This balanced training recipe maintains both semantic and pixel-level information.
Evan: Interesting approach. Can you summarize the contributions this paper makes? Ashley: Sure. Firstly, dNaViT introduces a novel method to capture both high-level semantic structure and fine-grained pixel information within a shared vocabulary, effectively acting as a versatile discrete visual tokenizer. Ashley: Secondly, it uses residual modulation to aggregate multi-level features from a frozen vision encoder and grouped product quantization to encode enriched representations.
Progressive training coordinates dual-branch representation and pixel reconstruction objectives to mitigate interference during optimization. Ashley: Finally, extensive evaluations demonstrate dNaViT's generality across visual understanding, image reconstruction, generation, and editing tasks. It achieves strong understanding and generation performance with a substantially smaller training data budget compared to the compared models. Evan: And that's the end of the Introduction section.
Evan: Let's move on to the Method section and see how dNaViT achieves its objectives. Ashley: In the Method section, the authors present the architecture and modules of dNaViT, detailing how discrete codes serve as a unified interface for various downstream tasks. Evan: Alright, so what does the overall architecture of dNaViT look like? Ashley: The architecture builds upon a frozen pretrained vision transformer encoder, enhanced with Residual Modulation, known as ResMod.
This module enriches the features of the frozen encoder without training the encoder itself. Following this, the enriched features enter a Grouped Product Quantizer, which partitions the features into multiple discrete tokens encoded with their respective codebooks. Evan: Okay, but how does ResMod specifically work? Ashley: ResMod operates by fusing intermediate features from the frozen encoder, creating a spatially varying correction to its final representation. The fusion process incorporates layers from different depths and predicts token-wise scale and shift parameters.
This spatial modulation enriches the semantic features with reconstruction-relevant details. Evan: Interesting. And what about the next stage, the Grouped Product Quantizer? Ashley: The Grouped Product Quantizer partitions the enriched features into groups along the channel dimension and encodes each group using its dedicated codebook. This method increases the quantization capacity without altering the spatial token grid, allowing detailed visual information to be preserved more effectively. Evan: How does this setup perform across different downstream tasks?
Ashley: To preserve both high-level semantic structure and low-level visual details essential for different tasks, dNaViT employs dual-branch reconstruction. It has a semantic decoder aligning the discrete codes with continuous visual features and a pixel decoder restoring and expanding the spatial grid to reconstruct an RGB image. Evan: That sounds thorough. How do they ensure balanced optimization between these branches? Ashley: Supervision is coordinated through progressive training stages. Initially, ResMod is trained to recover the original visual signal, improving reconstruction fidelity.
Then, discrete semantic representations are initialized using the fixed semantic target. Finally, joint optimization refines both semantic and pixel reconstruction, benefiting from balanced dual-branch objectives. Evan: What kind of training data is used to achieve these results? Ashley: dNaViT’s training data is meticulously curated, combining three main sources: general-domain images, text-rich images, and fine-grained high-aesthetic images. This ensures broad semantic representation while maintaining fine pixel details.
They use a combination of LAION, COYO, DataComp, various academic collections, and in-house high-quality imagery. The training process starts with the fixed resolution before transitioning to higher native resolutions. Evan: A well-rounded dataset indeed. How do the modules in dNaViT interact with each other during the training? Ashley: The interaction happens in three distinct stages. First, during continuous pixel pretraining, ResMod recovers visual signals from the encoder outputs.
Second, the discrete semantic representations preserve the pixel details introduced earlier. The encoder remains frozen while the quantizer and semantic decoder are optimized. Finally, in joint reconstruction, both branches refine the discrete representations using the frozen ResMod outputs as fixed targets, while pixel gradients update the quantizer and student ResMod. Evan: It's fascinating how they balance multiple objectives. What about their evaluation methods? Ashley: Evaluations span five key tasks: image reconstruction, classification, multimodal understanding, generation, and editing.
Performance metrics include PSNR, SSIM for reconstruction fidelity, accuracy for classification and OCR benchmarks, and various specific benchmarks for generation and editing tasks, validating the general-purpose nature of the discrete visual tokens. Evan: No wonder they demonstrate such comprehensive effective use. Any last insights on the refiner module? Ashley: Yes, a separate module, the refiner, enhances visual perceptual quality, conditioning directly on the discrete codes.
This bypasses the intermediate RGB decoding, preserving the details while maintaining consistency with the original structure and content specified by the tokenizer. Evan: And that concludes the Method section of the paper. Evan: Let's dive into the Experiment and Results section to see how dNaViT performs across various tasks. Ashley: The authors evaluate dNaViT across five core capabilities: image reconstruction, classification, multimodal understanding, generation, and editing.
Evan: Let's start with image reconstruction. How does dNaViT measure up in terms of reconstructing visual details? Ashley: Image reconstruction was assessed on ImageNet-1K and TokBench datasets. dNaViT-G64, the variant with more quantization groups, achieved strong results: 25.41 dB PSNR and 0.76 SSIM at 256 by 256 resolution, and even higher fidelity at 512 by 512 and 1024 by 1024 resolutions, reaching up to 32.90 dB PSNR and 0.91 SSIM.
This demonstrates the model's capability to retain significant reconstruction-relevant information. Evan: What about the fine-grained reconstruction on TokBench? Ashley: On TokBench, dNaViT-G64 showed impressive performance in preserving textual and facial details. It achieved T-ACC of 63.08%, T-NED of 78.27%, and F-Sim of 0.67 at the highest resolution, outperforming several baseline models.
However, small text remains a challenging feature, indicating areas for potential improvement. Evan: Next, let's talk about image classification. How did dNaViT perform when transferring to different classification benchmarks? Ashley: dNaViT's frozen representations were evaluated by linear probing on ImageNet-1K and direct transfer to ImageNet-based distribution-shift benchmarks. Notably, dNaViT's discrete variant achieved 79.47% accuracy on ImageNet-1K, closely matching its continuous counterpart.
It also showed competitive accuracy across disorder benchmarks such as ImageNet-A, ImageNet-R, ImageNet-V2, ImageNet-Sketch, and ObjectNet. Evan: Impressive consistency. How does this model handle multimodal understanding tasks? Ashley: For multimodal understanding, dNaViT was paired with Qwen3-8B and tested on benchmarks like MMMU, RealWorldQA, and MMStar. It achieved solid scores, rivaling some of the most advanced continuous-representation models.
Particularly in mathematical reasoning and general visual understanding, it demonstrated that discrete tokens can support complex reasoning and comprehension tasks effectively. Evan: So, how does dNaViT perform in generative tasks such as text-to-image generation? Ashley: Text-to-image generation was evaluated on GenEval2, Qwen-Image-Bench, SpatialGenEval, and LongText-Bench. dNaViT-8B achieved the highest overall score on GenEval2 GM.
On Qwen-Image-Bench, it scored 52.17, surpassing open-weight baselines, and showed strong performance in spatial-relation generation and text rendering in both English and Chinese. Evan: That’s impressive! What about instruction-guided image editing? Ashley: For image editing, dNaViT was tested on GEdit-Bench, scoring 7.41 in semantic consistency, 7.20 in perceptual quality, and 7.30 overall.
It performed well compared to established models, showing its capability to handle complex, instruction-guided edits while maintaining high perceptual fidelity. Evan: It’s clear that dNaViT’s discrete visual tokens are versatile across multiple challenging tasks. And that’s the end of the Experiment section. Evan: Let's move on to the Related Work section and understand how this paper positions itself in the broader research landscape. Ashley: The paper distinguishes itself by exploring discrete visual and language representations in a unified tokenization framework, building upon several foundational works in vision and language modeling.
Evan: Can you give us some context on the relevant foundational works? Ashley: Sure. Language modeling has benefited greatly from discrete autoregressive approaches. Influential papers like 'Language Models are Few-Shot Learners' by Brown et al. (2020) highlighted the remarkable capabilities of discrete tokens in language representation and reasoning. Evan: Indeed, next-token prediction has become a central technique in language models. How does this approach extend to vision?
Ashley: Adapting discrete tokens to vision has seen significant strides, particularly with vector-quantized approaches like VQ-VAE by van den Oord et al. (2017), which encode continuous visual features into discrete codebook indices. These indices can be processed similarly to text tokens, enabling a unified autoregressive modeling framework. Evan: What challenges do discrete visual tokenization frameworks typically face? Ashley: One key challenge is balancing between high-level semantic abstraction and preserving fine-grained visual details.
Studies, including those by Ma et al. (2025) and Yu et al. (2026), have identified limited discrete capacity as a major bottleneck in supporting both objectives simultaneously. Evan: How does dNaViT address these complexity issues? Ashley: dNaViT incorporates lightweight residual modulation and grouped product quantization to enrich semantic features with reconstruction-relevant cues, effectively scaling discrete capacity without inflating spatial sequences.
This balances the semantic structure with detailed visual information, mitigating the information bottleneck during quantization. Evan: How does this approach compare to other recent multimodal models? Ashley: Recent multimodal models like Chameleon (Chameleon Team, 2024) and Emu3 (Wang et al., 2024b) have demonstrated the potential of integrating linguistic and visual intelligence using shared discrete tokens. However, dNaViT's dual-branch reconstruction and progressive training stages provide a nuanced solution to balancing semantic and pixel details better than many of these approaches.
Evan: That's a critical improvement. How do other works in visual representation influence dNaViT's design? Ashley: Prior works like Rombach et al. (2022) and Cui et al. (2025) focused heavily on reconstruction from continuous features. dNaViT extends this by using discrete codes, thus benefiting from the scalable next-token prediction framework established in language models. Evan: It seems dNaViT stands on the shoulders of giants, leveraging existing advances to further its novel approach.
Ashley: Precisely. By building on and integrating ideas from these influential works, dNaViT has positioned itself as a strong contender in the field, addressing unique challenges of multimodal representation and tokenization. Evan: That's the end of the Related Work section. Let's continue exploring how these foundations impact the paper's results. Evan: Let's wrap up today's episode by summarizing the key contributions and takeaways from the dNaViT paper. Ashley: The paper introduces dNaViT, a Discrete Native-resolution Vision Transformer that captures both high-level semantic structure and fine-grained pixel information within a shared discrete vocabulary.
This model addresses significant challenges in discrete visual representation by employing residual modulation and grouped product quantization, balancing semantic enrichment with detailed visual reconstruction. Evan: Their approach provides a versatile discrete visual tokenizer that excels in diverse tasks. Can you also highlight the distinctive features of their training process? Ashley: Certainly. The training process is progressive, involving stages of continuous pixel pretraining, discrete semantic reconstruction, and joint optimization.
This method ensures that dNaViT can retain both semantic and pixel-level information effectively. Additionally, their curated dataset, which includes general-domain images, text-rich images, and high-aesthetic images, plays a crucial role in ensuring model robustness and versatility. Evan: These innovations clearly demonstrate dNaViT's potential as a universal visual currency, enabling high-fidelity image reconstruction, robust classification, and effective multimodal understanding among other tasks.
Ashley: Indeed. Their extensive evaluations across five key tasks—image reconstruction, classification, multimodal understanding, generation, and editing—show dNaViT's strong performance and generality. The results underscore the model's efficiency and effectiveness, even with a smaller data budget compared to other models. Evan: As we conclude our discussion on dNaViT, it's clear that this paper contributes significantly to advancing integrated visual and language modeling.
Thank you, Ashley, for unpacking these insights. Ashley: You're welcome, Evan. And thank you to our listeners for joining us today. We hope you found this episode informative and engaging. Evan: Be sure to join us again for our next episode, where we will dive into another fascinating paper from the Hugging Face daily list. Until then, stay curious and keep exploring! Ashley: Goodbye, everyone! Evan: Goodbye!
🤗 Upvotes: 31 | cs.CV Authors: Yang Cao, Zhe Zhu, Yiheng Zhang, Zhengqiang Zhang, Haoyuan Li, Le Wan, Dan Xu Title: PartAgent: Agentic 3D Part Segmentation via Expert Integration and Closed-Loop Refinement Arxiv:...
🤗 Upvotes: 30 | cs.CR Authors: LingSante MedGuard Team Title: LingSante MedGuard Technical Report Arxiv: http://arxiv.org/abs/2611.25509v3 Abstract: As medical AI is increasingly used for patient consultation and...