Abstract
Modern Vision-Language Models (VLMs) can solve a wide range of tasks requiring visual reasoning. In real-world scenarios, desirable properties for VLMs include fast inference and controllable generation (e.g., constraining outputs to adhere to a desired format). However, existing autoregressive (AR) VLMs like LLaVA struggle in these aspects. Discrete diffusion models (DMs) offer a promising alternative, enabling parallel decoding for faster inference and bidirectional context for controllable generation through text-infilling. While effective in language-only settings, DMs' potential for multimodal tasks is underexplored. We introduce LaViDa, a family of VLMs built on DMs. We build LaViDa by equipping DMs with a vision encoder and jointly fine-tune the combined parts for multimodal instruction following. To address challenges encountered, LaViDa incorporates novel techniques such as complementary masking for effective training, prefix KV cache for efficient inference, and timestep shifting for high-quality sampling. Experiments show that LaViDa achieves competitive or superior performance to AR VLMs on multi-modal benchmarks such as MMMU, while offering unique advantages of DMs, including flexible speed-quality tradeoff, controllability, and bidirectional reasoning. On COCO captioning, LaViDa surpasses Open-LLaVa-Next-8B by +4.1 CIDEr with 1.92x speedup. On bidirectional tasks, it achieves +59% improvement on Constrained Poem Completion. These results demonstrate LaViDa as a strong alternative to AR VLMs.
Introduction
The current landscape of Vision-Language Models (VLMs) is dominated by the autoregressive (AR) paradigm. Models like LLaVA and GPT-4o generate text sequentially, predicting one token at a time. While this approach has yielded impressive results in visual reasoning, it introduces two fundamental bottlenecks: high latency due to the lack of parallelization and a lack of bidirectional context, which hinders tasks like text infilling or strict adherence to structural constraints.
LaViDa (Large Vision-Language Diffusion Model with Masking) represents a departure from this standard. By utilizing discrete diffusion models (DMs) as a backbone, LaViDa enables parallel decoding and bidirectional reasoning. This allows the model to refine an entire sequence of tokens simultaneously, offering a flexible speed-quality tradeoff and superior control over structured text generation.
Methodology
LaViDa integrates a SigLIP-400M vision encoder with a diffusion-based language backbone (either LLaDA-8B or Dream-7B) via an MLP projector. To optimize diffusion for multimodal instruction following, the researchers introduced three primary technical innovations:
- Complementary Masking: Standard diffusion training can be inefficient as the model only learns from a subset of masked tokens per step. LaViDa employs a strategy where two masked versions of the same answer are generated with disjoint masks. This ensures every token in the output contributes to the gradient, maximizing training efficiency.
- Prefix-DLM Decoding: Unlike AR models, diffusion models typically lack Key-Value (KV) caching because they require bidirectional context. However, multimodal prompts often contain hundreds of static image tokens. LaViDa utilizes a specialized attention mask that allows the model to cache the "prefix" (image and question tokens), resulting in a significant 3.9× speedup during inference.
- Timestep Shifting: To improve sampling quality at low step counts, the authors moved away from linear unmasking schedules. They adopted a "convex" shifting strategy ((\alpha=1/3)) that unmasks a larger portion of tokens earlier in the process, maintaining high output quality even with very few diffusion steps.
Experimental Setup
The model was developed through a two-stage training pipeline:
- Pretraining: 558K image-text pairs (LCS-558K) were used to align visual features with the diffusion backbone's latent space.
- Instruction Fine-Tuning: The model was trained on 1 million visual instruction-following examples, including data from Open-LLaVA-Next, COCO, GQA, and OCR-VQA.
Evaluation was conducted across a diverse suite of benchmarks, including MMMU (world knowledge), MathVista (mathematical reasoning), ChartQA (visual document understanding), and ScienceQA.
Key Results and Insights
Competitive Reasoning Performance
LaViDa demonstrates that diffusion models are a viable alternative to AR models for complex reasoning. On the MMMU benchmark, LaViDa-L (8B) achieved a score of 43.3, notably outperforming LLaVA-1.6-7B (35.1) and Open-LLaVA-Next (37.4). Further fine-tuning on Chain-of-Thought (CoT) data (the "LaViDa-Reason" variant) resulted in an 18% relative improvement on the MathVision dataset.
Efficiency and Speed-Quality Tradeoff
One of the primary advantages of the diffusion approach is the ability to choose the number of inference steps. On COCO captioning, LaViDa outperformed Open-LLaVA-Next by +4.1 CIDEr points while operating 1.92× faster. Users can adjust the number of steps to prioritize either rapid response times or maximum generation quality.
Superior Controllability and Infilling
Because LaViDa considers the entire sequence at once, it excels at bidirectional tasks. In Constrained Poem Completion, where the model must fill in blanks while adhering to specific poetic meters or starting syllables, LaViDa achieved a +59% improvement over AR baselines. While AR models like LLaVA-1.6 often struggle to maintain constraints below a 50% success rate, LaViDa demonstrated near-perfect constraint satisfaction.
Limitations and Future Work
Despite its strengths, LaViDa faces certain challenges:
- OCR Performance: The model currently lags behind top-tier AR models in OCR-heavy tasks. This is likely due to the use of average pooling for vision token compression, which may discard fine-grained spatial details necessary for reading small text.
- Context Window: The underlying diffusion backbones (LLaDA/Dream) have shorter context windows (2048–4096 tokens) compared to the latest AR LLMs, limiting the ability to process extremely high-resolution images or long documents.
- Scaling: Future research will focus on scaling diffusion-based VLMs beyond the 8B parameter mark to determine if these advantages persist at the frontier level.
Conclusion
LaViDa proves that discrete diffusion models can compete with and, in several dimensions, exceed the performance of traditional autoregressive VLMs. By providing a faster, more controllable, and bidirectionally aware framework, LaViDa opens new avenues for multimodal AI applications that require both speed and structural precision.
Summary updated