Evaluating 3D Spatial Reasoning in Multimodal LLMs: A 2D Projection Alignment Approach
This article presents a practical method for evaluating the 3D spatial reasoning ability of multimodal large language models. Instead of relying on commonsense Q&A or image-text matching, it frames the problem as 2D projection alignment: given a target 2D observation and the model's current real-time projection of an object, the model must choose rotation actions until the two projections visually converge. The article covers how to define a 24-action discrete rotation space (3 axes, 2 directions, 4 step sizes), how to set the IoU success threshold and step limits, how to engineer the multi-turn evaluation loop, and how to rule out the "local search" artifact with control experiments. It also explains how to record reproducible results, factor in token cost, and choose a model for deployment. Read this to understand the task design, the evaluation pipeline, and the metrics that matter when comparing multimodal models on spatial reasoning.
1. Why 3D Spatial Reasoning Needs Its Own Evaluation
Most mainstream multimodal model evaluations focus on commonsense Q&A, image captioning, and image-text matching. These tests check knowledge coverage and semantic alignment, but they rarely probe 3D spatial reasoning. By 3D spatial reasoning, we mean the model’s ability to infer an object’s pose in 3D space from a 2D observation alone, and then—based on the difference between the current projection and the target projection—choose the rotation axis, direction, and step size.
To answer “how do you evaluate the 3D spatial reasoning of a multimodal model?”, this article uses 2D projection alignment as the core task. Given a target 2D observation image and a real-time projection of the object the model currently controls, the model applies a series of rotations so that the current projection progressively approaches the target until the two overlap visually.
The key value of this task lies in its asymmetry: the input side exposes only 2D information, while the output side demands a rotation decision in 3D space. It is essentially “observe in lower dimension, reason in higher dimension.” The model cannot answer with language commonsense alone; it must judge where the current object differs from the target, which way to rotate, and how far. For robotic grasping, visual servoing, AR interaction, and industrial quality inspection, this ability is an important prerequisite.
2. How to Design 2D Projection Alignment
The core of the evaluation is 2D projection alignment. The system provides two kinds of images: a target 2D observation image, and a real-time projection of the current object in a simulation environment. Each turn, the model selects one rotation action from a discrete action set based on the difference between the two images. After the action is executed, the simulation updates the object’s pose and regenerates the current projection.
This design has several advantages.
First, the observation input is only 2D, but the task requires the model to understand 3D pose changes. The model cannot complete the alignment by merely recalling image content; it must infer the rotation direction from visual differences.
Second, no explicit pose ground truth is provided, so the model must infer the rotation axis, direction, and magnitude from the image differences itself. This is closer to real 3D spatial reasoning.
Third, results are quantifiable. As long as the action space, success criteria, and step limit are well defined, you can compare different models, different parameters, and different prompting strategies.
To avoid inconsistent target generation, the target 2D observation image should record its full generation conditions—at minimum the camera view, camera intrinsics, resolution, lighting, background, renderer version, and random seed. Otherwise, even if the model inputs look similar, rendering differences can make the evaluation non-reproducible.
3. How to Define the 24 Rotation Actions
To make the evaluation quantifiable and reproducible, the action space is designed as 24 discrete rotation actions. The combination is:
- 3 rotation axes: X, Y, and Z;
- 2 rotation directions: positive and negative;
- 4 angle step sizes: 1°, 5°, 10°, and 30°.
Therefore, 3 × 2 × 4 = 24. This design covers the full spectrum from coarse adjustment to fine tuning. Small steps like 1° and 5° are used for final convergence, while large steps like 30° are used to quickly correct significant deviations.
The action definition must specify the coordinate system and rotation rules clearly; otherwise, the model will easily pick the wrong axis or reverse the direction. The following conventions are recommended:
| Item | Recommended convention |
|---|---|
| Reference coordinate system | Camera coordinate system |
| Coordinate system type | Right-handed |
| Rotation center | Object’s own center |
| Positive/negative direction | Determined by the right-hand rule |
| Axis order | A single step executes a single-axis rotation; if extending to composite actions, use a fixed X→Y→Z order |
| Angle unit | Degrees |
| Step size options | 1°, 5°, 10°, 30° |
Actions can be numbered in a structured form, for example:
| Action ID | Meaning |
|---|---|
| X+_1 | Rotate 1° in the positive direction around the camera X axis |
| X-_1 | Rotate 1° in the negative direction around the camera X axis |
| Y+_5 | Rotate 5° in the positive direction around the camera Y axis |
| Z-_30 | Rotate 30° in the negative direction around the camera Z axis |
With this numbering scheme, the model outputs a program-parseable action identifier rather than a natural-language explanation. This reduces parsing ambiguity and makes it easy to count how often each step size is chosen.
Objects with rotational symmetry need special care. If the object can reach the IoU threshold against the target projection in some equivalent pose, it should not be judged as a failure just because the pose ground truth differs. The correct criterion is: success means the IoU between the current projection and the target projection reaches the threshold. If pose error needs to be analyzed later, first perform equivalent-pose matching, then compute the minimum pose difference.
4. How to Set the IoU Threshold and Success Criteria
Success is determined by projection overlap, or IoU (Intersection over Union). When the IoU between the current projection and the target observation reaches 0.90 or higher, the task is judged successful.
IoU is chosen over pixel difference, perceptual similarity, or human scoring because it can be computed automatically, produces stable results, and is easy to reproduce in batches. IoU also directly reflects how well the current projection covers the target projection, making it well suited to judging “whether it already looks aligned.”
In practice, the following decision flow is recommended:
- After the environment is initialized, compute the IoU between the initial projection and the target projection. If the initial IoU is already 0.90 or higher, judge the task as successful with 0 steps, avoiding an unnecessary extra action.
- After each action, recompute the IoU.
- If the threshold is reached, the task succeeds; record the successful step count, final IoU, action sequence, and token consumption.
- If the threshold is not reached, continue to the next turn.
- If the maximum step count is reached without success, judge the task as failed and record the failure reason.
A maximum step count of 30 is recommended. This number is not arbitrary—it is set based on the 24-action discrete space and the nature of the task: the model must first use larger steps for rough alignment, then smaller steps for local convergence. Thirty steps are usually enough to cover the basic “coarse-tune → fine-tune → confirm” process. If a business scenario needs a longer chain, you can raise the step limit, but you must state it clearly in the report and keep the same step limit across the same set of comparison experiments.
Failure reasons should be broken down rather than just labeled “failed.” At minimum, include:
| Failure type | Meaning |
|---|---|
| max_steps | Reached the maximum step count without success |
| parse_fail | The model output could not be parsed into a valid action |
| truncated | Output was truncated, leaving the action incomplete |
| invalid_action | The action ID is not among the 24 valid actions |
This lets you distinguish whether the model “cannot rotate correctly,” “has unstable output formatting,” or “runs out of steps because its reasoning chain is too long.”
5. How to Engineer the Evaluation Loop
The evaluation is essentially a multi-turn, interactive agent loop. Its skeleton can be described with the following pseudocode:
def evaluate_pose_alignment(model, target_img, max_steps=30, iou_threshold=0.90):state = env.reset()# Initial alignment pre-checkinitial_iou = compute_iou(state.current_projection, target_img)if initial_iou >= iou_threshold:return {"status": "success", "steps": 0, "final_iou": initial_iou}for step in range(max_steps):# Build input: target observation, current projection, action historyobservation = build_prompt(target_img=target_img,current_projection=state.current_projection,action_history=state.action_history)# Model generates raw outputraw_output = model.generate(observation)# Parse actionaction = parse_action(raw_output)if action is None:return {"status": "failure","reason": "parse_fail","step": step,"raw_output": raw_output}# Execute rotation action, update visual observationstate = env.step(action)current_iou = compute_iou(state.current_projection, target_img)# Check for successif current_iou >= iou_threshold:return {"status": "success","steps": step + 1,"final_iou": current_iou,"action_history": state.action_history}return {"status": "failure","reason": "max_steps","final_iou": current_iou}
Several points here are worth noting.
First, the code should not describe a “24-dimensional discrete action space” but rather “a discrete action space of 24 actions.” The action space is a discrete set, not a continuous vector.
Second, action parsing failures must not be silently ignored. If the model output cannot be parsed, record parse_fail. Whether to retry should be decided by policy and stated in the results. For example, you can set a strict mode where a single failure terminates immediately, or a lenient mode that retries at most once—but the retry count must be counted toward cost and failure rate.
Third, an initial alignment pre-check must run before the loop. Otherwise, when the object is already aligned at the start, the model may still be forced to execute an action, distorting the result.
Fourth, the prompt must clearly state the coordinate system, rotation center, action IDs, step-size mapping, and output format. Otherwise, the model will easily confuse the “object coordinate system” with the “camera coordinate system,” or output natural language that cannot be parsed.
A reference prompt template:
You will perform a 3D pose alignment task.Coordinate system: camera coordinate system, right-handed.Rotation center: the object's own center.Available actions are 24 rotation actions:X+_1, X-_1, X+_5, X-_5, X+_10, X-_10, X+_30, X-_30,Y+_1, Y-_1, Y+_5, Y-_5, Y+_10, Y-_10, Y+_30, Y-_30,Z+_1, Z-_1, Z+_5, Z-_5, Z+_10, Z-_10, Z+_30, Z-_30.Output only one valid action ID, with no explanation and no extra text.Output format:{"action": "X+_5"}
The purpose of this prompt is not only to constrain the format but also to lower the probability of output truncation. If the model produces long stretches of analysis, it can easily exceed the length limit, leaving the action unparseable.
6. How to Rule Out the “Local Search” Artifact
If you report only a model’s success rate, misjudgment is easy: the model may not truly be reasoning about 3D pose, but instead doing a form of local search driven by image feedback. To verify whether the model has genuine spatial reasoning ability, three types of control experiments are recommended.
The first is a random-action baseline. Let the program randomly pick one of the 24 actions within the same step limit. If the model’s success rate is only slightly higher than the random baseline, it is hard to argue that it has stable 3D reasoning ability. The random-action baseline helps determine whether the model’s gains are real.
The second is a geometry-based registration baseline without an LLM. Methods such as template matching, feature matching, Chamfer distance, or ICP can serve as non-language-model baselines. If a geometric registration method clearly outperforms the language model, it suggests the current task may rely more on geometric optimization than on the language model’s spatial reasoning. Only if the language model outperforms the geometric baseline can you more convincingly argue that the model itself provides additional value.
The third is prompt ablation. Compare “with coordinate-convention prompt” against “without coordinate-convention prompt.” If removing the coordinate convention sharply degrades performance, the model relies heavily on explicit prompting rather than fully intrinsic spatial understanding. If performance remains stable after removal, the model has stronger autonomous spatial reasoning ability.
If an evaluation does not include these controls, this must be stated honestly in the report. In that case, the conclusion should be phrased conservatively: “On this 2D projection alignment task, the model outperforms the participating general-purpose models” or “the model can complete some alignment tasks”—rather than directly inferring that “the model has strong general 3D spatial reasoning ability.”
7. How to Interpret Results and Choose a Model
Result analysis should not rely on vague descriptions like “success” or “failure”; instead, it should build a reproducible results table. At minimum, record two categories of data: evaluation configuration and model performance.
Recommended evaluation configuration:
| Item | What to record |
|---|---|
| Target object set | Object names, count, whether symmetric objects are included |
| Renderer | Renderer name and version |
| Camera parameters | View, focal length, resolution |
| Lighting and background | Lighting intensity, background type, random seed |
| Sampling parameters | Decoding temperature, top_p, random seed |
| Retry policy | Whether retries are allowed, retry count |
| Step limit | For example, 30 steps |
Recommended model results:
| Model | Spec | Sample size | Success rate | Avg steps | Truncation rate | Parse failure rate | Mean final IoU | Avg cost per task |
|---|---|---|---|---|---|---|---|---|
| TBD | TBD | TBD | Proportion with IoU ≥ 0.90 | TBD | TBD | TBD | TBD | TBD |
| TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
It should be emphasized here: if no data has actually been collected, do not substitute vague phrases such as “broke through 0.90 on most tasks,” “a considerable proportion,” or “many cases” for real results. Vague quantifiers are suitable for explaining phenomena, not for serving as evaluation conclusions.
Cost must also factor into model selection. Mainstream large models are typically billed per token, commonly with input and output prices listed separately. In a multi-turn task, every turn produces new input and output tokens, and the context accumulates. Average cost per task can be computed as follows:
Avg cost per task =(total input tokens across all tasks × input unit price+ total output tokens across all tasks × output unit price)÷ 1e6÷ number of tasks
If retries occur, the tokens they generate should also be counted in the total cost. Only this way can comparisons across models avoid focusing solely on success rate while ignoring real deployment cost.
Four metrics are recommended for model selection:
| Metric | Significance for selection |
|---|---|
| Success rate | Whether the model can reliably complete alignment |
| Average steps | Whether the model repeatedly tries inefficiently |
| Truncation and parse failure rates | Whether the model is suitable for structured calls |
| Cost per task | Whether large-scale deployment is feasible |
If two models have similar success rates but one has fewer average steps, a lower truncation rate, and lower cost, it is better suited for batch deployment.
8. Limitations and FAQs
The conclusions of this evaluation method have boundaries of applicability. They come mainly from simulation rendering, single objects, a fixed camera, and a discrete action space, and cannot be directly extrapolated to real 3D reasoning in open scenes. To get closer to real applications, you can further add experiments with continuous angles, occlusion, multiple views, dynamic lighting, multiple objects, symmetric objects, and real-image noise.
Frequently asked questions follow.
How do you evaluate 3D spatial reasoning?
You can use a 2D projection alignment task in which the model selects rotation actions based on a target 2D observation and the current 2D projection until the IoU between the current and target projections reaches a threshold. This quantifies the model’s pose reasoning and adjustment ability.
How is the IoU threshold set?
This article uses 0.90 as the success threshold because it well reflects projection coverage while avoiding too high a threshold that would misjudge many “near-success” cases as failures. In practice it can be adjusted to task difficulty, but the threshold must be fixed and reported.
How are the 24 rotation actions designed?
They are composed of 3 rotation axes, 2 rotation directions, and 4 angle step sizes. 1° and 5° are for fine tuning, 30° for coarse adjustment, and 10° for intermediate transitions. The model must not only pick the right axis and direction but also learn to choose an appropriate step size.
How do you choose a multimodal model?
Don’t look at language ability alone. Under the same evaluation configuration, compare success rate, average steps, truncation rate, parse failure rate, and cost per task. When abilities are comparable, prefer the model with lower cost, more stable output, and better suitability for structured calls.
Overall, evaluating the 3D spatial reasoning ability of multimodal large models is not just about whether the model can answer “does it look similar,” but whether it can complete “which way to rotate, how far, and when to stop.” Whoever fills the gaps in fine-grained convergence and output stability will more easily land in embodied AI, robot vision, and multimodal interaction scenarios.
