TL;DR
Ask a Vision-Language Model to draw a rough box around a sheep, and it nails it; ask it to trace a tight 16-point polygon around the sheep's ears and legs, and it falls apart. Because standard models generate coordinates one token at a time from left to right, early mistakes snowball and ruin the outline. This paper swaps sequential generation for Diffusion Fine-Tuning (DFT), allowing the model to sketch and iteratively refine all polygon vertices—and even 3D bounding boxes—simultaneously.
What Problem Does This Paper Address?
Imagine trying to draw a silhouette of a bicycle in the dark, using a permanent marker, without ever lifting your pen. That is essentially what standard autoregressive (AR) Large Vision-Language Models (LVLMs) do during spatial grounding. When asked to trace an $N$-vertex polygon, they emit $2N$ coordinate tokens strictly left-to-right.
This causes two major headaches:
- Irreversible errors: If vertex #2 drifts slightly off course, the model cannot erase it, and subsequent vertices compound the mistake.
- Poor budgeting: Without global planning across the whole contour, the model often wastes its limited vertex budget on simple, straight edges and runs out of points right when it reaches intricate curves.
Replacing the AR backbone with a Diffusion Language Model (DLM)—which predicts all tokens in parallel—seems like an obvious fix. However, naively training a DLM on raw coordinate digits fails to converge, yielding tangled, overlapping contours.
Methods
To make discrete diffusion work for high-precision geometry, the authors introduce Diffusion Fine-Tuning (DFT), built on two training-time innovations and an optional inference search strategy:
- Hierarchical Coordinate Decomposition (HCD): Coordinates are quantized into integers from
000to999. Instead of treating a coordinate sequence as a flat string, HCD groups digits by place value across all vertices into three distinct channels: hundreds (coarse macro-skeleton), tens (mid-level shape), and units (fine detail). Note that standard AR baselines already tokenize numbers as digits; HCD's secret sauce is channel grouping. - Hierarchical Curriculum Learning (HCL): Training happens in three progressive stages. Stage 1 supervises only the hundreds digits. Stage 2 activates the tens loss (while feeding clean ground-truth hundreds digits as input), and Stage 3 unlocks all digits.
- Joint Inference & Block-wise Top-$k$ Decoding: Crucially, the coarse-to-fine hierarchy is strictly a training scaffold. At test time, everything starts fully masked, and the model jointly denoises hundreds, tens, and units in parallel over $K=12$ steps. The authors also test a block-wise top-$k$ decoder that evaluates small contiguous blocks of candidate digits in batches to trade off speed and accuracy.
Datasets
The authors evaluate DFT across three spatial grounding regimes, introducing two new benchmarks alongside standard ones:
- RefCOCO / RefCOCO+ / RefCOCOg: Standard 2D bounding-box benchmarks.
- RefCOCO-Polygon (New): Derived from the RefCOCO family, requiring 16-vertex polygons to tightly outline target objects.
- Ref3D (New): A monocular 9-DoF (center, dimensions, orientation) 3D bounding-box benchmark combining four indoor datasets (Objectron, SUN RGB-D, ARKitScenes, Hypersim) and two outdoor driving datasets (KITTI, nuScenes).
Key Insights and Ideas
- Curriculum learning rescues diffusion convergence: Naive discrete diffusion gets lost in the combinatorial space of exact coordinates, scoring below 5 [email protected]. Teaching the model to rough in the
100s place before sweating the1s place turns a non-converging mess into a sharp localizer.
- Complex geometry craves the full curriculum: Ablations show that 2D bounding boxes essentially saturate after Stage 1 (the hundreds digits are plenty for a rough box). In contrast, 16-point polygons and 3D boxes see massive accuracy jumps in Stages 2 and 3 as unit-digit precision comes online.
- Depth normalization makes or breaks 3D: Without changing a single layer of the network, DFT adapts LVLMs to 9-DoF 3D grounding—provided the parameters are normalized. Removing depth ($z$) normalization causes accuracy to plummet by ~15 points, roughly triple the damage of removing rotation normalization.
- Separating OOD failure from long-contour difficulty: When a 16-vertex model is tested on 32-vertex polygons, accuracy craters. Retraining at matched vertex counts proves most of that collapse is just train–test count mismatch, though long contours remain genuinely tough.
Key Results
Using matched fine-tuning data and schedules across three model lineages (LLaVA-OneVision/LLaDA-V, Qwen2.5-VL, and Qwen3-VL converted to DLMs), DFT consistently outperforms AR baselines:
- 16-Point Polygons ([email protected] on RefCOCOg-test): DFT boosts LLaVA-OV from 11.4 to 23.2 (+11.8), Qwen2.5-VL from 18.4 to 25.2 (+6.8), and Qwen3-VL from 19.7 to 26.4 (+6.7).
- 9-DoF 3D Boxes ([email protected]): On the LLaVA-OV lineage, DFT lifts Objectron from 43.2 to 52.2, SUN RGB-D from 25.0 to 39.3, and KITTI from 2.9 to 39.7.
- 2D Bounding Boxes ([email protected]): Matches or modestly beats saturated AR baselines by +0.6 to +3.7 points across splits.
- Latency vs. Search: At $N=16$, standard token-wise DFT takes 124 ms per image (vs. 41 ms for KV-cached greedy AR). Switching to block-wise top-$k$ decoding ($k=4, b=2$) cuts DFT latency to 73 ms while pushing RefCOCO-val accuracy from 21.5 up to 34.0.
Limitations and Future Work
- Exposure bias: Conditioning on clean ground-truth higher-order digits during training creates a train–test mismatch, since test-time inputs are noisy. An annealed self-conditioning variant narrows this gap (+1.4 points) but doesn't eliminate it.
- Numerical blindness: Digit-level cross-entropy doesn't understand spatial proximity—
299and300are right next to each other in pixel space, yet share zero digits. Adding an auxiliary continuous $L_1$ coordinate loss is explored as a separate refinement. - Fixed vertex budgets & latency: Fixed-$N$ polygons waste vertices on simple boxes, struggle with disconnected parts, and haven't been tested in variable-length setups. Furthermore, full-sequence diffusion steps remain slower than KV-cached greedy AR decoding.
Summary updated