Papers
Topics
Authors
Recent
Search
2000 character limit reached

LaViDa-R1: Unified Multimodal Diffusion Model

Updated 5 July 2026
  • LaViDa-R1 is a multimodal reasoning dLLM that unifies supervised finetuning, reinforcement learning, and best-of-N distillation to enhance both text and image processing.
  • It replaces traditional autoregressive generation with masked discrete diffusion, enabling bidirectional context and parallel token refinement for improved multimodal outputs.
  • The model demonstrates significant gains in visual reasoning, VQA, image editing, and grounding tasks, validating its unified framework across varied benchmarks.

LaViDa-R1 is a multimodal, general-purpose reasoning diffusion LLM (dLLM) that post-trains LaViDa-O through a unified post-training framework that seamlessly integrates supervised finetuning (SFT) and multi-task reinforcement learning (RL) for multimodal understanding and generation tasks (Li et al., 15 Feb 2026). It replaces the strictly autoregressive token-by-token generation paradigm with masked discrete diffusion over a sequence of joint text–image tokens, enabling bidirectional context, parallel token refinement, and a single generative model for both understanding and image editing. Within the LaViDa line, the earlier LaViDa work introduced a family of VLMs built on discrete diffusion models and included the stage-3 specialization LaViDa-Reason, whereas LaViDa-R1 is presented as a multimodal, general-purpose reasoning dLLM rather than a merely hypothetical extension (Li et al., 22 May 2025).

1. Concept, scope, and nomenclature

LaViDa-R1 is built to support diverse multimodal understanding and generation tasks in a unified manner. The paper characterizes its central contributions as a unified post-training framework that combines SFT, on-policy GRPO-style RL, and Best-of-N self-distillation by expressing all objectives as one weighted policy gradient; training-time guided rollout generation via answer-forcing and tree search; and a complementary-masking likelihood estimator with uniform weighting that stabilizes dLLM policy learning by ensuring complete token coverage and balanced gradients (Li et al., 15 Feb 2026).

The model’s scope is explicitly multimodal. It is evaluated on visual reasoning, VQA, text-only reasoning, image editing, and reason-intensive grounding, and the same transformer policy decodes text “words,” structural tokens such as > and <answer>, spatial targets, and image raster tokens. This unification is central to the system’s design: the same sampling engine is used across reasoning traces, bounding boxes, and image-token outputs.

A recurrent source of confusion is the similarity between the names LaViDa-R1 and LaVida Drive. The autonomous-driving VQA framework "LaVida Drive: Vision-Text Interaction VLM for Autonomous Driving with Token Selection, Recovery and Enhancement" does not define or mention a variant named “LaViDa-R1”; it presents a single system called LaVida Drive (Jiao et al., 2024). The naming overlap is therefore nominal rather than architectural.

2. Backbone and discrete diffusion formulation

LaViDa-R1 post-trains LaViDa-O, a unified multimodal dLLM that operates on a single sequence interleaving text and image tokens. All conditioning, including images, instructions, and diagrams, is serialized into a prompt xx, and the target output, whether a reasoning trace plus answer or an edited image, is a sequence yy (Li et al., 15 Feb 2026). The backbone is a bidirectional transformer parameterizing πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x) at each token ii, conditioned on the entire partially masked sequence yty_t and the prompt xx.

The model uses masked discrete diffusion rather than continuous diffusion. The forward process replaces tokens with a mask token MM in proportion tt:

q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).

The reverse process is policy-conditioned. When y0y_0 is unknown, the model replaces it with yy0:

yy1

The likelihood estimator used for pretraining and SFT is written as

yy2

with yy3, which the paper states balances token gradients across mask ratios (Li et al., 15 Feb 2026). Reasoning and answers are delimited with <think>... and <answer>...</answer>, so the policy jointly optimizes the full reasoning trace and final outputs.

This formulation differs from autoregressive VLMs in two ways emphasized by the paper: bidirectional visibility, which allows the model to holistically revise earlier reasoning given later tokens, and parallel decoding, which resolves multiple tokens per diffusion step.

3. Unified post-training objective

All post-training objectives are cast as weighted policy gradients over sequence likelihoods:

yy4

By choosing yy5 appropriately, the same objective recovers SFT, on-policy GRPO, and Best-of-N distillation (Li et al., 15 Feb 2026). For SFT, samples are loaded from data and yy6. For on-policy GRPO, outputs are sampled from yy7 and yy8 is the normalized advantage. For Best-of-N distillation, the highest-reward sample receives weight yy9 and the others πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)0.

LaViDa-R1 mixes on-policy GRPO and Best-of-N distillation with SFT regularization in a single batch without resampling. The aggregated advantage is

πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)1

The paper’s rationale for using SFT in place of KL is specific to dLLMs. In dLLMs, KL against a frozen reference is described as expensive and often destabilizing for high-entropy visual tokens; SFT is used as a stabilizer and anchor while still allowing exploration beyond the base model. This design also removes the reference model from the online optimization loop, reducing memory and compute cost.

The reward definitions remain task-specific while the training objective remains unified. Math and Q&A use πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)2–πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)3 correctness for the final answer inside <answer> tags; reason-grounding uses IoU reward on predicted bounding boxes, reported as mIoU and πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)4; and image editing uses a VLM-based EditScore reward for visual quality and instruction compliance.

4. Guided rollouts and likelihood estimation

LaViDa-R1 introduces three training techniques intended to make RL effective for multimodal diffusion policies: answer-forcing, tree search, and complementary masking likelihood estimation (Li et al., 15 Feb 2026).

Answer-forcing addresses hard prompts with vanishing RL signal. If all πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)5 on-policy samples have low reward but a ground-truth answer πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)6 is available, the method injects that answer into a partially masked sequence and lets diffusion infill the reasoning:

πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)7

The guided sample is included only if none of the original πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)8 samples passes a reward threshold πθ(y0[i]yt,x)\pi_\theta(y_0[i]\mid y_t,x)9, with the paper giving ii0 as an example for correctness or IoU. Fill-in-the-Middle padding tokens are used when needed to permit flexible-length infill. The stated purpose is to convert “no-signal” batches into usable gradients by exploiting bidirectional infilling.

Tree search over diffusion trajectories is used for tasks without ground truth but with real-valued reward, such as image editing. The procedure expands the group by branching from promising partial states: generate ii1 samples from fully masked states at ii2, evaluate rewards, pick the best trajectory, recover an early partial state ii3 for a restart index such as ii4 out of ii5 steps, and sample new rollouts from that point. The paper reports restart indices such as ii6 and stores each final ii7 together with an unmasking step vector ii8 so arbitrary partial states can be reconstructed without saving full trajectories.

Complementary masking likelihood estimation couples two Monte Carlo masks. One masked sample ii9 is drawn via the forward process, and the second yty_t0 is its complementary mask, formed by flipping masked and unmasked positions. The resulting estimator ensures yty_t1 token coverage per update and avoids overweighting low-yty_t2 masks, which the paper identifies as a source of instability when sequences contain many image tokens.

Taken together, these techniques address three dLLM-specific difficulties explicitly identified in the paper: sparse rewards, missing token gradients, and unstable policy learning.

5. Tasks, benchmarks, and quantitative performance

The evaluation spans visual reasoning, VQA, text-only reasoning, image editing, and reason-intensive grounding (Li et al., 15 Feb 2026). The reported benchmarks are MathVista and MathVerse for visual reasoning; ChartQA, AI2D, and MMMU-Pro for VQA; GSM8K and MATH-500 for text-only reasoning; ImgEdit for image editing; and LISA-Grounding for reason-intensive grounding.

Benchmark LaViDa-R1 / LaViDa-O / SFT Metric
MathVista 60.0 / 56.9 / 57.6 accuracy
MathVerse 38.7 / 36.9 / 36.6 accuracy
ChartQA 81.7 / 80.0 / 80.8 accuracy
AI2D 78.9 / 76.7 / 78.6 accuracy
MMMU-Pro 32.8 / 31.2 / 31.9 accuracy
GSM8K 81.5 / 47.4 / 70.6 accuracy
MATH-500 38.6 / 23.4 / 31.0 accuracy
ImgEdit 3.90 / 3.71 / 3.81 GPT-4o judged score
LISA [email protected] 66.7 / 29.2 / 40.3 yty_t3
LISA mIoU 60.0 / 26.1 / 36.9 mIoU

The paper states that LaViDa-R1 delivers consistent gains across all modalities, with notably large improvements on GSM8K, MATH-500, and LISA-Grounding where reasoning dominates (Li et al., 15 Feb 2026). On image editing, the ImgEdit overall score rises from yty_t4 for LaViDa-O and yty_t5 for SFT to yty_t6 for LaViDa-R1. On reason-intensive grounding, the jump from yty_t7 to yty_t8 in yty_t9 and from xx0 to xx1 in mIoU is one of the paper’s clearest demonstrations that the post-training recipe affects more than answer formatting.

The qualitative observations reported alongside these numbers emphasize structured <think> chains. In visual math reasoning, the model references diagrams, counts, and geometric relations before a concise <answer>. In grounding, it explains search criteria, proposes candidate regions, and outputs boxes with higher IoU. In image editing, it performs plan-then-edit reasoning such as “replace the sky with sunset hues; keep building edges crisp.”

6. Ablations, scaling behavior, and limitations

The ablation studies isolate the main components of the training recipe (Li et al., 15 Feb 2026). For answer-forcing injection rate, the reported settings are xx2, xx3, xx4, and xx5. The xx6 setting is best, with MathVista xx7, LISA xx8, and MATH-500 xx9, whereas MM0 is reported as collapsed. The paper’s explanation is that too much forcing creates misleading “always-high” reward even with poor traces; moderate forcing recovers signal without collapse.

Tree search is also sensitive to where branching occurs. A baseline with no search and group size MM1 yields approximately MM2–MM3 on ImgEdit; branching at MM4 with group MM5 reaches MM6, while deeper branching at MM7 with group MM8 drops slightly to MM9. The paper attributes this to early branching adding productive stochasticity, whereas late branching near a nearly clean sample adds little uncertainty.

For likelihood estimation, complementary masking with tt0 and tt1 is the best setting, reaching LISA tt2 and ImgEdit tt3, while tt4 and UniGRPO variants are weaker. For mixed-loss weighting, tt5 is best at tt6, compared with tt7 for GRPO only and tt8 for Best-of-N only. The paper summarizes this as GRPO providing exploration and Best-of-N providing focus.

The training setup uses tt9 GPUs, with H100 for main training and some ablations on A100, over approximately q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).0 days for SFT Stage 1 and approximately q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).1 days for unified Stage 2. A stated throughput bottleneck is VLM-based reward evaluation for EditScore; with global batch size approximately q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).2 images, reward server latency is q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).3–q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).4s. Reported practical hyperparameters include q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).5, answer-forcing threshold q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).6, injection rate approximately q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).7, tree-search restarts q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).8 with q(yt[i]y0[i])=Cat(yt[i];(1t)Y0[i]+tM).q\big(y_t[i]\mid y_0[i]\big) = \mathrm{Cat}\big(y_t[i];\,(1-t)\,\mathbf{Y}_0[i] + t\,\mathbf{M}\big).9 steps and y0y_00, sequence lengths y0y_01 for math, y0y_02 for editing, and y0y_03 for grounding, image understanding resolution y0y_04, and image generation resolution up to y0y_05.

The paper identifies four main limitations. First, a performance gap versus frontier AR multimodal models such as Qwen3-VL remains. Second, dLLMs lack mature low-level serving stacks, and current on-policy training uses Python-side sampling, limiting throughput. Third, reward modeling for text-to-image reasoning is weak, since VLM reward models struggle to judge “reasoning-grounded” generations. Fourth, the present scope is single-turn reasoning with visual inputs; future work is directed toward multi-turn interactive tasks and broader generative modalities. This suggests that the main unresolved issues are not confined to the unified objective itself, but also include reward quality and systems infrastructure.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to LaViDa-R1.