MentalThink: Shaping Thoughts in Mental SVG World

Kangheng Lin, Jisheng Yin, Dingming Li, En Yu, Yana Wei +9 more
7/3/2026
cs.AI
rl

No confident code implementation found for this paper.

Abstract

We introduce MentalThink, a visual-symbolic reasoning paradigm that equips Multimodal LLMs (MLLMs) with an executable mechanism for "mental" visualization. The core of MentalThink is a think-with-SVG pipeline, where the model learns to generate, render, and interpret scalable vector graphics (SVG) code as an intermediate visual representation for multi-turn reasoning.

Show full abstract

By creating structured vector sketches, the model can externalize spatial hypotheses, inspect them through deterministic rendering, and reason within a constrained geometric space, effectively mimicking the human process of mental imagery. We instantiate this paradigm through a two-stage training framework, combining Supervised Fine-Tuning (SFT) for SVG syntactic alignment with multi-turn Reinforcement Learning (RL) to encourage iterative inspection, revision, and refinement of intermediate visual hypotheses. Extensive evaluations demonstrate that MentalThink achieves superior performance on spatial understanding and reasoning benchmarks (e.g., 55.1% on VSIBench, 76.0% on MindCube), showing that executable vector graphics provide a verifiable visual workspace for dynamic perspective taking, visual reflection, and compositional scene construction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2026mentalthink,
  title  = {MentalThink: Shaping Thoughts in Mental SVG World},
  author = {Kangheng Lin and Jisheng Yin and Dingming Li and En Yu and Yana Wei and Han Zhou and Liang Zhao and Hongyu Zhou and Hongbo Peng and Jianjian Sun and Zheng Ge and Xiangyu Zhang and Daxin Jiang and Jingyu Wang},
  year   = {2026},
  eprint = {2607.03530},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.03530v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.03530.svg)](https://codeofpaper.com/paper/2607.03530)

Discussion