DeepSeek’s Thinking with Visual Primitives: A Well-Worked Example of OPD, and Its Limits

Ventali Tan · May 2026

Last week DeepSeek released Thinking with Visual Primitives (TwVP), a multimodal reasoning model whose chain of thought is forced to emit bounding boxes and point coordinates rather than free-form language. The post-training pipeline ends in on-policy distillation from two specialist teachers.[1]

The most interesting thing about TwVP isn’t what it does on visual reasoning benchmarks. It’s that the paper solves on-policy distillation’s central failure mode without touching the algorithm — by changing the output representation instead.

OPD has a known failure mode: as student rollouts lengthen, prefixes drift outside the teacher’s reliable region, and dense token-level supervision becomes quietly biased: cheap, low-variance, and wrong. TwVP forces every reasoning step to emit image coordinates of the form <ref>label</ref><box>x1,y1,x2,y2</box>. The trajectory literally cannot leave the bounded canvas. The drift problem doesn’t get solved; it gets engineered out of existence.

The deeper move generalizes well beyond vision: design the output representation so local correctness is externally checkable. TwVP works because image coordinates sit inside the model’s output and are cheaply verifiable against detection annotations. That gives the system a trust signal independent of the teacher, which is what OPD has needed all along.

It is also the cleanest worked example I’ve seen of the layered post-training stack I sketched in an earlier post: sequence-level RL where local supervision is unreliable, on-policy distillation as the final consolidation step, externally verifiable rewards as the trust signal on top. This post walks through how each piece is handled in the actual paper, what the pattern says about where post-training is heading, and the limitations of this approach.

1. Getting OPD’s upside without its downside

Grounding bounds drift

TwVP attacks the drift problem at the representation level rather than the algorithmic level. Every reasoning step is forced to emit tokens of the form <ref>label</ref><box>x1,y1,x2,y2</box> that pin the trajectory to physical image coordinates. The student cannot drift into the open-ended linguistic state space where teacher guidance becomes unreliable; at every step, its output lives in the same grounded representational space as the teacher’s.

Coordinate grounding bounds the trajectory to a verifiable region TwVP: every step anchored to image coords trajectory cannot leave the image drift is bounded by construction Open reasoning: prefix drifts in token space teacher reliable region trajectory leaves the reliable region teacher guidance becomes unreliable
Figure 1. Left: in TwVP, every reasoning step emits image coordinates, so the trajectory stays inside the bounded canvas where teacher and verifier both operate. Right: in open-text reasoning, the same number of steps can land the prefix arbitrarily far outside the teacher’s reliable region.
Drift is bounded by construction, not by routing.

Specialists satisfy compatibility

Rethinking OPD argued that OPD only succeeds when student and teacher share reasoning patterns.[2] The natural failure mode is a generalist teacher providing token-level supervision on a student that reasons in a slightly different style.

TwVP’s response is to train two narrow specialists before doing any OPD: FTwG (focused on grounding, i.e. bounding boxes) and FTwP (focused on pointing, i.e. coordinates). Each specialist’s reliable region is wider within its sub-task than a generalist’s would be. The OPD step then runs inside a regime where the teacher distribution is well-defined for the kinds of trajectories the student is producing.

The compatibility condition is satisfied not by a clever student, but by a deliberately narrow teacher.

OPD as consolidation, not engine

TwVP’s pipeline runs sequence-level objectives first, dense token-level supervision last:

TwVP post-training stack: sequence-level RL, then OPD as consolidation Cold-start SFT GRPO · FTwG grounding / boxes GRPO · FTwP pointing / coords Unified RFT merge specialists On-Policy Distillation imitation sequence-level RL sequence-level RL token-level KD narrow specialists unified policy
Figure 2. The TwVP stack. OPD is the last layer, not the engine: two narrow specialists are trained with sequence-level GRPO, merged with another round of sequence-level RL, and only then distilled into a single policy on-policy. The layered structure matches the “dense where reliable, sequence-level otherwise” pattern from the earlier post.

OPD is the last layer, not the engine. Sequence-level objectives are baked in before the dense token-level supervision step. This is the layered stack I sketched, with OPD acting as the consolidation step.

Knowing when to trust dense feedback

The most open-ended claim in the previous post was that dense feedback only helps if we know when to trust it. SCOPE’s answer was uncertainty-aware routing of teacher KL.[3] TwVP’s answer is different and arguably stronger: do not trust the teacher’s local distribution at all, verify against ground truth.

The reward on TwVP’s maze navigation task decomposes into five components: causal exploration progress, exploration completeness, wall-penetration penalty, path validity, and final answer correctness. On counting, the reward uses a smooth exponential decay rather than a binary indicator.[1] These are externally verifiable signals computed against ground-truth geometry, not divergence from a teacher’s per-token distribution.

External verifier replaces teacher-KL as the trust signal student rollout <box>x,y,w,h</box> teacher KL degrades on long prefixes external verifier count error (smooth decay) path validity, wall penalty exploration completeness loss grounded trust signal
Figure 3. The teacher still contributes shape (top path, dashed) but is no longer load-bearing. The dominant trust signal is an external verifier (bottom path, solid) that computes losses against ground truth on the paths, counts, and final answers the student produces.

Because the trajectory is pinned to image coordinates, its reward can be computed against ground truth (the count, the final answer, the path through the maze) rather than against the teacher’s distribution. That gives the system a trust signal that does not depend on the teacher’s reliability on long student-generated prefixes. The teacher contributes shape; the verifiable reward contributes truth.

To compress the mapping: in the previous post, I argued that OPD is a transitional regime that needs (a) better-defined reliable regions, (b) sequence-level correction underneath, and (c) external trust signals on top.

TwVP does (a) by grounding trajectories in image coordinates and using narrow specialists, (b) by running GRPO and Unified RFT before the OPD stage, and (c) by replacing teacher-KL-as-truth with decomposed, geometrically verifiable rewards.

This is not coincidence. It is what the OPD ceiling looks like when you can engineer the output representation to do the work the algorithm cannot.

2. What it means for the field

A few patterns this work confirms.

OPD-as-consolidation is becoming the recognizable template. Qwen3 reported that distillation can outperform their full multi-stage pipeline. DeepSeek-V4 used OPD to merge experts after SFT/GRPO.[4] TwVP does the same: specialists trained with RL, then unified via OPD. The shape is consistent: dense token-level supervision is not the training method, it is the final layer that compresses a multi-policy system into a single policy. The default stack in domains with verifiable rewards is becoming: sequence-level RL on specialists, on-policy distillation as consolidation.

The “specialist → unified” template generalizes beyond vision. The reason TwVP needs specialists is that grounding and pointing are different sub-tasks with different reward shapes. The same is plausibly true of code agents (refactor vs. test vs. debug), of tool use (search vs. compute vs. retrieve), of research workflows (locate evidence vs. synthesize). Training narrow experts and consolidating with OPD is more tractable than RL on a generalist with a single noisy reward.

Coordinate grounding is one instance of a broader strategy: domain-engineered trust signals. TwVP works because image coordinates are simultaneously (i) part of the model’s output and (ii) cheaply verifiable against external annotations. The deeper move is not “use bounding boxes”: it is design the output representation so that local correctness is externally checkable. This reframes a chunk of agent RL research: instead of training better critics or denser rewards, design the action space so that local truth signals come for free.

The interesting open question shifts from “how do we make OPD work?” to “how do we manufacture verifiable trust signals in domains without natural anchors?”

The general lesson is that OPD’s ceiling is lifted not by better algorithms but by better representations.

3. Limitations

TwVP’s setup is unusually friendly to OPD because visual coordinates give cheap external verification. The “dense feedback only helps if we know when to trust it” critique bites hardest in domains where there is no ground-truth anchor to check against: long-horizon code agents, open-ended research trajectories, multi-turn tool use.

DeepSeek picked a domain where the trust signal is essentially free, and built the pipeline around it.

A few specific limits worth naming:

TwVP is a thoughtfully engineered instance of OPD-as-consolidation, but the conditions that make it work — cheap external verification, naturally short trajectories, well-defined sub-tasks — are not present in most domains where post-training is actually a bottleneck.

It is a successful demonstration, not a generalizable answer.

The open question I left in the earlier post still stands: dense feedback only helps if we know when to trust it. TwVP’s contribution is one way to know: anchor the output in something the world can verify. The question for everyone else is how to manufacture that anchor when the world doesn’t give you one for free.


References

  1. DeepSeek, Thinking with Visual Primitives, April 2026. Withdrawn by DeepSeek shortly after release; the link points to an archived snapshot.
  2. Rethinking On-Policy Distillation, 2026. On the compatibility condition between student and teacher reasoning, and the hidden costs of dense token-level supervision over long horizons.
  3. SCOPE: Signal-Calibrated On-Policy Distillation Enhancement with Dual-Path Adaptive Weighting, 2026. Uncertainty-aware routing of teacher KL.
  4. Qwen3 and DeepSeek-V4 post-training reports on distillation as a consolidation step after SFT/GRPO experts.
  5. Ventali Tan, Why Post-Training Is Moving Toward On-Policy Distillation, May 2026.