Evaluating Closed-Loop Spatial Control in Multimodal Models: A Practical Framework

    This article presents a practical methodology for evaluating closed-loop spatial control in multimodal models, where success depends on taking correct actions rather than producing a correct answer. It covers task formalization (state and observation space, a 24-action discrete space, IoU-based success criteria, step limits, and cost tracking), a four-dimension metric system (success rate, final IoU, average steps, and average cost per task), and result interpretation from a small 10-task trial. Readers will learn how to build reproducible evaluation pipelines, why steps and cost differentiate models with similar success rates, and how to address the common fine-grained convergence bottleneck.

    1. Why Evaluate Spatial Control as a Separate Capability

    Multimodal foundation models are usually evaluated on one-shot output tasks such as question answering, image-text understanding, and long-document summarization. These tasks share one trait: the model produces a single answer and the evaluation ends. In real-world settings such as robotics, smart manufacturing, cloud operations visualization, and 3D content generation, however, models face closed-loop control problems. They must continuously revise their output based on current observations until the system state meets the goal.

    The evaluation setup in the source material is representative: given a 2D visual observation, the model must repeatedly control the rotation of a 3D object so that the current projection aligns with the target projection. Such tasks cannot be passed by “saying the right thing”; they can only be passed by “taking the right action.” This article strips away product-specific details and abstracts the topic into a general evaluation methodology for developers building their own evaluation pipelines on platforms such as Baidu AI Cloud.

    2. Task Modeling: Formalizing Control as an Evaluable Loop

    A rigorous closed-loop control evaluation must define at least five things: the state space, the action space, the observation function, the termination condition, and the cost function.

    1. State and observation: The true state is the 3D pose (for example, three Euler angles), but the model cannot see the state itself—only a 2D projection. This is a typical partially observable setup: the model must infer the pose error from the projection difference.
    2. Action space discretization: The original design defines 24 discrete actions, constructed in a way worth borrowing—3 rotation axes × 2 directions × 4 step sizes (1°, 5°, 10°, 30°) = 24. This orthogonal “axis–direction–step size” decomposition gives the action space both coarse and fine adjustments.
    3. Termination and success criteria: Success is defined as the IoU between the current projection and the target projection reaching 0.90. IoU is a standard metric in segmentation and detection; using it to measure projection overlap is intuitive and reproducible.
    4. Step limit: A maximum number of interaction steps prevents infinite loops and brings efficiency into the evaluation.
    5. Cost logging: Recording the cost per task allows “effectiveness” and “cost” to be compared in the same table.

    A schematic evaluation loop is shown below (pseudocode):

    1. def run_episode(policy, env, max_steps=40, iou_threshold=0.90):
    2. obs = env.reset()
    3. history = []
    4. for step in range(max_steps):
    5. action = policy.act(obs) # choose from 24 discrete actions
    6. obs, reward, done, info = env.step(action)
    7. history.append({"step": step, "iou": info["iou"], "cost": info["cost"]})
    8. if info["iou"] >= iou_threshold:
    9. return {"success": True, "steps": step + 1, "history": history}
    10. return {"success": False, "steps": max_steps, "history": history}

    3. Metrics: Four Dimensions, None Optional

    The original trial reported four metrics that together form a complete minimal metric system. Any team is advised to follow this design:

    • Success Rate: The proportion of tasks reaching the IoU threshold; it measures “whether the task can be completed.”
    • Average Final IoU: Measures “how close the result is,” preventing success rate from flattening all near-miss tasks.
    • Average Steps: Measures convergence efficiency, directly corresponding to latency and interaction turns in real scenarios.
    • Average Cost per Task: Measures economics by factoring model invocation overhead into decisions.

    In the original 10-task trial, two different models both succeeded on 4/10 tasks, with final IoUs of 0.754 and 0.753—nearly identical. However, their average steps were 23.90 versus 30.80, and the cost per task was about 1.17 versus 2.22 (relative values), a cost difference of roughly 47%. This shows that when success rates are comparable, steps and cost are what distinguish a model’s practical utility. Another higher-capability configuration achieved 8/10 with a final IoU of 0.897 and a cost of about 1.94, illustrating a different capability–cost tradeoff curve.

    Note that the numbers above come from a small-sample trial of 10 tasks, not a full 100-task leaderboard; statistical variance is large, and they should not be directly extrapolated into general conclusions. In engineering practice, teams should report confidence intervals at minimum and fix random seeds and the object set.

    4. Interpreting Results: Three Capability Profiles and One Shared Bottleneck

    Abstracting the results reveals three typical profiles:

    1. Efficient-convergence type: Success rate close to the high-precision tier, but with fewer steps and lower cost; suitable for cost-sensitive, large-scale invocation.
    2. High-precision type: Clearly higher success rate and final IoU, at the cost of more steps and higher cost; suitable for offline batch processing and high-value tasks.
    3. Intermediate type: Slightly higher success rate than the efficient type but lower IoU, meaning it can “get near” the success threshold but struggles to converge stably.

    Per-task results further reveal a shared bottleneck—fine-grained convergence failure: the model sometimes gets very close to the target pose (for example, a successful case with a final IoU of 0.941) yet cannot complete the last few degrees of fine adjustment; other tasks stall at low values such as 0.404 or 0.518, indicating insufficient generalization to differences in object structure. Engineering issues were also observed, such as overly long outputs being truncated and mid-task retries.

    5. Engineering Recommendations

    • Hierarchical actions: Have the model first select the axis and direction, then converge with small step sizes; this can significantly reduce wasted steps.
    • Feedback compression: Encode the projection difference as compact text or structured prompts to reduce the risk of long-output truncation.
    • Retries and timeouts: Set per-step timeouts and idempotent retries to avoid inconsistent intermediate states.
    • Observability: Use logging services and monitoring alerts to persist per-step IoU, steps, and cost, forming a traceable evaluation report.
    • Platformization: Freeze evaluation images on a container platform and store observations and trajectories in object storage to ensure reproducibility.

    6. Conclusion

    The value of closed-loop spatial control evaluation lies not in ranking a particular model, but in providing a reproducible, comparable, and attributable measurement framework. Developers should focus on the interplay of four dimensions—success rate, final IoU, steps, and cost—and treat fine-grained convergence as the primary optimization target.