Manuscript Offprint

arXiv:2609.11900

MindTopo: Can Foundation Models Reason in Topological Space?

Yunfei Ge, Anbang Liu, Qineng Wang, Johnalbert Garnica, Jianwen Lyu, Zihan Wang, Reuben Tan, Jianfeng Gao, Ruohan Zhang, Yining Hong, Jiajun Wu, Manling Li

Yunfei Ge ∗1^{*1}, Anbang Liu ∗1^{*1}, Qineng Wang ∗1†^{*1\dagger}, Johnalbert Garnica ∗1^{*1}, Jianwen Lyu 1^{1}, Zihan Wang 1^{1}, Reuben Tan 2^{2}, Jianfeng Gao 2^{2}, Ruohan Zhang 1,3^{1,3}, Yining Hong 3^{3}, Jiajun Wu 3^{3}, Manling Li 1^{1}

1^{1}Northwestern University 2^{2}Microsoft Research 3^{3}Stanford University

  • Equal contribution; † Project lead.

Website Code Dataset

Spatial reasoning depends not only on metric properties such as distance, angle, and shape, but also on topological relations that remain invariant under continuous deformation. Cognitive science identifies these relations as foundational to spatial understanding, yet foundation-model evaluations largely focus on metric or viewpoint-dependent relations. We introduce MINDTOPO, a benchmark of topological intuition across five properties grounded in cognitive science and formal topology: continuity, separation, order, enclosure, and knots. MINDTOPO evaluates each property at two cognitive levels. Reasoning asks a model to identify topological relations or infer how they change. Planning instantiates a foundation model as a closed-loop agent whose policy selects environment actions. MINDTOPO contains 11,030 instances across 13 procedurally generated task types with controllable difficulty. We benchmark 14 MLLMs and study agent configurations augmented with image and video generation, including 3 video generative models in planning settings. Every MLLM performs better on reasoning than on planning, and the best-performing model remains far below observed human performance. On Qwen3-VL-2B-Instruct, supervised fine-tuning and reinforcement learning improve reasoning more than planning. Generated observations retain local cues and reach plausible endpoints, but audited rollouts do not reliably follow environment dynamics or preserve topology across transitions.

Can MLLMs reason in topological space?

Reasoning Task

Question:

In which option can the

metal ring be removed

from the white ring?

Question Answer

A

B

Planning Task

Plan actions:

Rearrange the ropes

in the given image so

that no two ropes

cross each other.

Interactive Gym

Initial State

Final State

Evaluating topological intuition across five categories

Reasoning

Figure

Maze

Assembly

Bead

Sheep

Knot

Planning

MindTopo

Pipe

One Stroke

Final Goal

Swap

Chat Noir

Continuity

Separation

Order

Enclosure

Untangle

Knots

Current models still struggle

Topological spatial reasoning remains a blind spot

Figure 1 | Overview of MINDTOPO. Five topological properties (continuity, separation, order, enclosure, knots) probed at two cognitive levels: reasoning (visual QA over rendered scenes) and planning (interactive gym).

1. Introduction

“Representational space has to reconstruct, on its own plane and in the same order of succession, the elementary spatial relationships — first topological, then euclidean and projective.”

— Jean Piaget & Bärbel Inhelder, The Child’s Conception of Space (1956)

Spatial reasoning in the physical world involves more than Euclidean or metric properties such as distance, angle, and shape. Consider bending, stretching, or coiling a closed rope loop without cutting it or passing one segment through another. Its distances, angles, and shape can change greatly while its knot remains the same. Topology studies spatial relations of this kind, which remain invariant under continuous deformation [1, 2]. Recognizing the invariant is only the beginning when a foundation model must act. It must predict when an intervention will alter the relation and select actions that produce a desired one. We use topological intuition for this ability to perceive, infer about, and operate on topological relations.

Cognitive science places these relations at the foundation of spatial understanding. Piaget argued that topological relations precede Euclidean and projective relations in spatial development [3]. Studies of adult vision likewise found that the visual system extracts topological invariants before Euclidean features [4, 5]. Together, these findings motivate evaluating topology as a distinct layer of spatial reasoning. Yet spatial benchmarks for foundation models largely test metric or viewpoint-dependent relations such as distance, direction, size, shape, and three-dimensional location [6, 7, 8]. Recent work isolates path connectivity or knot reasoning [9, 10], but does not show whether models can reason across a broader set of topological relations and act on them. We therefore ask: to what extent can current foundation models reason about topological structure and plan actions that transform it?

To answer this question, we introduce MINDTOPO (Figure 1), a benchmark organized around five properties informed by Piaget's classification and later cognitive work [3, 11, 12]. Continuity and separation describe how a scene divides into connected parts. Order records the sequence of marked elements along a path or boundary. Enclosure describes the division between inside and outside, including holes. Knots capture entanglement that persists under deformation. Formal topology supplies the invariants and related structural targets used to instantiate these properties [1, 2, 13]. The cognitive taxonomy determines what MINDTOPO tests, while the formal targets determine how its tasks are generated and evaluated.

The same property can pose different cognitive demands depending on what a model must do with it. MINDTOPO therefore evaluates each property at two cognitive levels. Reasoning tasks present one or more rendered scenes and ask the model to identify a topological relation or infer how a specified change affects it. Planning tasks instantiate a foundation model as a closed-loop agent in an interactive environment. At each step, the agent receives a rendered observation. Its policy selects an action that builds, preserves, or alters the corresponding structure. A foundation model may recognize that a loop is knotted yet fail to plan how to untangle it. The two levels thus test whether reasoning about a topological relation transfers to action. Each task type comes from a parametric generator with controllable difficulty and ground truth computed from the scene state. MINDTOPO contains 11,030 instances across 13 task types, comprising 8,030 reasoning questions and 3,000 planning episodes.

This two-level design lets us compare reasoning with action. We benchmark 14 multimodal large language models (MLLMs) across the full suite. The best-performing model remains far below observed human performance, and every MLLM scores higher on reasoning than on planning. We also examine whether supervised fine-tuning and reinforcement learning can reduce these deficits on Qwen3-VL-2B-Instruct. Supervised fine-tuning followed by reinforcement learning gives the strongest average performance, but gains are much larger for reasoning than for planning. Reinforcement learning across reasoning tasks produces uneven gains on held-out tasks. The remaining reasoning-planning gap raises a further question: can visual prediction help a foundation-model agent preserve topology while acting? We study agent configurations augmented with image and video generation, including 3 video generative models in planning environments. Each configuration is evaluated through the behavior it produces. Generated observations can retain local cues and reach plausible endpoints, but audited rollouts do not

Figure

Figure 2 | MINDTOPO task overview. The 13 tasks by topological property and cognitive level. Gym Env marks the interactive planning environments; the remaining tasks pair a rendered scene with a visual question.

reliably follow environment dynamics or preserve topology across transitions. These results expose a gap between reasoning about a topological relation and using it to guide valid actions.

Overall, our contributions are fourfold. First, we formulate topological intuition as an evaluation target for spatial reasoning, grounding five properties in cognitive science and formal topology. Second, we introduce a scalable benchmark with 13 procedurally generated task types that probe these properties through reasoning and planning under controllable difficulty. Third, we benchmark 14 MLLMs and study agent configurations involving 3 video generative models in planning environments, revealing a consistent gap between reasoning about topological structure and acting on it. Fourth, we examine supervised fine-tuning and reinforcement learning on Qwen3-VL-2B-Instruct, showing that training improves reasoning more than planning and produces uneven gains on held-out tasks.

References (73)