Skip to main content
Back

MGSD Closes the Visual Planning Gap by 19% Without Symbolic Inputs

MGSD teaches vision-language models to plan spatially by distilling symbolic knowledge into visual reasoning, closing an 18-19% performance gap at inference time without any symbolic inputs.

Pro

  • Core result: MGSD improves visual spatial planning by ~19% on 4B and 8B VLM backbones over baseline, with no symbolic inputs at inference.
  • The problem: VLMs face a dual bottleneck in visual planning -- recovering scene structure from pixels AND reasoning over it for multi-step plans.
  • The method: A two-stage framework: cold-start grounding for perception, then on-policy self-distillation using a symbolic-state privileged teacher.
  • Key innovation: Symbolic state data is used only during training; the final model plans purely from visual input, closing the gap to text-based upper bounds.
  • Benchmark: Evaluated on the VSP benchmark (Maze Navigation + Blocks World), which isolates perception and reasoning sub-skills separately.
  • Code available: Framework is open-source at github.com/Oranger-l/MGSD, compatible with standard open-weight VLM backbones.

Ask a state-of-the-art vision-language model to navigate a maze from a screenshot, or rearrange blocks to match a target configuration, and it will likely fail -- not because it lacks raw intelligence, but because it is facing two compounding problems at once. It has to figure out the scene structure from raw pixels, and then reason over that inferred structure to produce a valid multi-step plan. A new paper introduces MGSD (Modality-Gap-Aware Self-Distillation), a training framework that tackles both bottlenecks simultaneously, delivering gains of roughly 19% on visual planning benchmarks while keeping inference purely visual.

The gap that nobody talks about

There is a well-known divide between how models handle text versus images. But in the planning domain, this gap has a very specific shape. One understudied capability in VLMs is visual spatial planning -- the ability to comprehend the spatial arrangements of objects and devise action plans to achieve desired outcomes in visual scenes. The trouble is that spatial planning is not one hard problem, it is two hard problems stacked on top of each other.

The MGSD paper calls this the perception-reasoning modality gap: visual planning requires a model to first recover latent state structure from pixels (where are the walls, the blocks, the obstacles?) and then reason over that recovered structure to produce valid actions. Symbolic planning, by contrast, hands the model an explicit list of objects and constraints. Both open-source and private VLMs fail to generate effective plans for even simple spatial planning tasks, with evaluations revealing fundamental deficiencies in visual perception and bottlenecks in reasoning abilities.

Diagram showing perception and reasoning gaps between base model, SFT, and MGSD with accuracy metrics

The result is a frustrating ceiling: give a model the same planning problem as text (symbolic state) and it performs dramatically better than when given an image. The gap between these two modes is the target MGSD is designed to close.

Two stages, one clean idea

MGSD is a two-stage training framework. The core insight is elegant: use a version of the model that has access to symbolic (text-based) state descriptions as a privileged teacher -- a teacher that sees more than the student will ever see at test time -- and use it to supervise the student's own visual reasoning traces during training. Crucially, symbolic data is only used during training; at inference, the model operates purely from images.

Stage 1: Cold-Start Grounding. Before any distillation can happen, the visual student needs a baseline ability to parse scenes. This stage fine-tunes the model on grounded visual examples, giving it reliable state representations and reducing early perception noise. Without this warm-up, the teacher's distributions would be too far from the student's to provide useful signal -- a known failure mode in on-policy distillation. Insufficient initial alignment ("cold-start") can yield flat, uninformative teacher distributions that slow learning or destabilize gradients, especially when teacher and student are heterogeneous.

Stage 2: On-Policy Self-Distillation (OPSD). Here the privileged teacher -- the same base model, but conditioned on symbolic state descriptions -- supervises the visual student's own rollout prefixes. On-Policy Self-Distillation is a family of training algorithms in which a model self-aligns its policy via distillation losses applied on the distribution induced by its own outputs, with a self-referential teacher policy defined through privileged context. In MGSD's case, the privileged context is the symbolic state: explicit object positions and constraints that the visual student will never have access to at test time. The distillation signal operates at the token level, pushing the student's visual rollout distributions toward the teacher's symbolic-informed ones.

MGSD architecture diagram showing Student Input, Teacher Input, Cold-Start SFT, OPSD, and Token Level Signal modules

The two-stage design is not arbitrary. The cold-start phase ensures the student's rollouts are coherent enough for the teacher's distributions to be meaningful. The OPSD phase then transfers planning quality without requiring the student to ever see symbolic inputs again.

What it is tested on

The primary benchmark is VSP (Visual Spatial Planning), which was specifically designed to decompose visual planning into measurable sub-skills. The VSP benchmark measures and diagnoses VLM capabilities in producing accurate spatial plans in visual environments, consisting of two scenarios: the simulated Maze Navigation scenario, whose main task is to move a game character through a maze, and the photo-realistic Blocks World scenario, whose main task is to move blocks from a starting configuration to a goal configuration.

VSP is a good stress test because it isolates the two bottlenecks independently. The sub-tasks include:

  • Single Object Perception -- can the model identify a single object's properties?
  • Spatial Relation Perception -- can it determine relative positions between two objects?
  • Environment Perception -- can it produce a textual description of the full visual scene?
  • Full Planning -- can it generate a valid multi-step action sequence to reach a goal?

The experiments were run on both 4B and 8B backbone models, and MGSD was compared against a base model, a standard supervised fine-tuning (SFT) baseline, and a symbolic-input upper bound (the same model given text descriptions instead of images).

The numbers

The results are consistent across both model scales. MGSD raises the macro average by 19.3% on the 4B backbone and 18.4% on the 8B backbone compared to baseline. Ablations confirm that the gains come from both components: the cold-start grounding stage improves visual state recovery, while the OPSD stage improves multi-step planning quality over the inferred structure. Neither stage alone accounts for the full improvement.

Bar chart comparing base model, MGSD, upper bound, and closed model performance across planning tasks

The models trained with MGSD also narrow the gap to the symbolic-input upper bound -- meaning they are getting closer to what the same model can do when handed a perfect text description of the scene. That is a meaningful signal: the improvement is not just from better fine-tuning data, it is from genuinely better visual state recovery and planning over that recovered state.

Where it fits and where it falls short

MGSD is most directly useful for anyone building VLM-based agents that need to operate in visually grounded environments: robotic manipulation, navigation, game-playing agents, or any setting where the model must look at a scene and produce a sequence of valid actions. The framework is model-agnostic and has been validated on both 4B and 8B scales, suggesting it should transfer to other backbone sizes.

The limitations are worth noting. The approach requires paired symbolic and visual data during training, which means you need environments where symbolic state descriptions can be generated alongside visual observations. This is tractable in simulation (mazes, block worlds, grid environments) but harder to obtain for open-world or real-world settings. The paper also evaluates on relatively structured, fully-observable environments -- it is not yet clear how well the approach scales to partially observable or highly complex real-world scenes.

The real breakthrough here is not just the performance number. It is the demonstration that the perception gap and the reasoning gap in visual planning are separable and can be addressed in sequence. The cold-start stage handles perception; the distillation stage handles reasoning. That decomposition gives future work a clear handle on which part of the pipeline to improve. The code is publicly available on GitHub, and the framework runs on standard open-weight VLM backbones, making it accessible for teams working on embodied or agentic AI systems.