INQUIRING LINE

Could pairing an AI with a precise outside calculator fix its weak sense of space, without retraining it at all?

Could hybrid LLM-solver pipelines fix spatial reasoning without retraining models?

This explores whether pairing a language model with an external solver (a geometry engine, optimizer, or formal model that does the exact calculations) could fix LLMs' weak spatial reasoning, so we don't have to retrain the model itself.


This explores whether you can fix LLMs' spatial reasoning by handing the hard parts to an external solver instead of retraining the model. The corpus doesn't contain a paper that tests an LLM-plus-solver pipeline on spatial tasks directly. It does contain a clear diagnosis of what goes wrong, and several examples from nearby areas of the same division of labor working. Taken together, they suggest the answer is probably yes, with one important caveat.

Start with the diagnosis. When 15 models were tested on 2,000 floorplans, they computed distances and angles correctly but broke down on combining areas, irregular shapes, and multi-step path planning Can language models reason reliably about indoor spatial layouts?. Giving reasoning models more thinking time helped with the geometry but barely helped with planning. That points to a missing internal picture of the layout, not a shortage of compute Why do reasoning models fail at spatial planning tasks?. The same pattern shows up in generation. About 55% of GPT-made room layouts had structural flaws such as clustered furniture, wrong object counts, or wrong orientations, and humans had to clean them up before they could be used Why do GPT-generated room layouts fail so often?.

This is the key point: the failure looks like a limit you can't train your way past, not a gap that more scale will close. On constrained-optimization tasks, models stall at roughly 55–60% of constraints satisfied, whatever their size or training, and reasoning models don't reliably do better Do larger language models solve constrained optimization better?. Asked to run step-by-step numerical methods, models instead recall a familiar-looking template and output plausible but wrong numbers Do large language models actually perform iterative optimization?. On deep problems they wander rather than search systematically, so their success rate falls off sharply as problems get deeper Why do reasoning LLMs fail at deeper problem solving?. Spatial planning is exactly this kind of problem: keep track of the layout, satisfy constraints, search for a path. Those are the jobs solvers were built for.

The architectural precedents come from outside spatial reasoning. Causal Reflection keeps a formal causal model as the source of truth and uses the LLM only to translate its outputs into language. That way the model never has to do the reasoning it's bad at Can separating causal models from language models fix reasoning failures?. LLM Programs put the model inside an explicit algorithm that tracks state and control flow, and each model call sees only what that step needs Can algorithms control LLM reasoning better than LLMs alone?. Even without external solvers, splitting reasoning into separate tool calls raised GPT-4.1's AIME score from 26.7% to 43.3% with no retraining Can modular cognitive tools unlock reasoning without training?. Applied to space, the recipe would look like this: the LLM turns "put the desk near the window but leave a walkway" into formal constraints, a geometry or constraint solver holds the layout and does the search, and the LLM explains the result.

The caveat follows from the diagnosis. If models lack a coherent internal picture of a layout, the translation step itself could become the weak point. A model might write down constraints that are formally valid but describe the wrong room. Hybrid pipelines move the problem from computing to specifying, which is a much more tractable problem but not a solved one. The open question the corpus leaves you with is whether models that are bad at holding a spatial layout in mind are still good at describing one to a machine that can.


Sources 9 notes

Can language models reason reliably about indoor spatial layouts?

Testing 15 models on 2,000 floorplans reveals they handle simple metrics like distance and angle correctly but collapse on area unions, irregular polygons, and multi-step path planning. Failures appear rooted in lacking unified internal spatial models rather than insufficient computation.

Why do reasoning models fail at spatial planning tasks?

Reasoning-focused models gain substantially on geometric union tasks with extended inference but show only modest improvements on multi-step spatial planning. This divergence suggests the planning bottleneck is representational, not computational—models lack coherent internal layouts to reason over.

Why do GPT-generated room layouts fail so often?

About 55% of Holodeck's GPT-generated layouts contained structural flaws including under-population, clustering, and wrong object counts or orientations. OptiScene required manual filtering and correction before the layouts could train downstream models.

Do larger language models solve constrained optimization better?

Across constrained-optimization tasks, LLMs converge to ~55–60% constraint satisfaction independent of architecture, parameter count, or training regime. Reasoning models do not systematically outperform standard models, suggesting a fundamental ceiling rather than a scaling gap.

Do large language models actually perform iterative optimization?

Research shows LLMs cannot perform iterative procedures in latent space. They recognize optimization problems as template-similar and emit plausible-looking but incorrect values, a failure mode that persists across model scale and training approaches.

Show all 9 sources
Why do reasoning LLMs fail at deeper problem solving?

Current reasoning models lack the three properties of systematic exploration: validity, effectiveness, and necessity. This causes success probability to drop exponentially with problem depth, making medium problems solvable but deep problems catastrophically harder.

Can separating causal models from language models fix reasoning failures?

Causal Reflection proposes dividing labor: an explicit formal causal model captures dynamics across state, action, time, and perturbation with a Reflect mechanism for hypothesis revision, while LLMs serve only as structured inference engines translating formal outputs to natural language. This architecture sidesteps asking LLMs to perform unreliable causal reasoning.

Can algorithms control LLM reasoning better than LLMs alone?

LLM Programs embed LLMs within explicit algorithms that manage control flow and state, presenting only step-specific context to each LLM call. This information hiding addresses capability and context window limits while treating complex reasoning as modular, debuggable sub-tasks.

Can modular cognitive tools unlock reasoning without training?

Four cognitive tools implemented as sandboxed LLM calls improved GPT-4.1 on AIME2024 from 26.7% to 43.3% without any RL training. Modularity enforces operation isolation that pure prompting cannot guarantee, eliciting pre-existing reasoning capability.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.