注意空间推理与行动之间的差距!通过Spatial-Gym进行分步评估代理
Mind the Gap Between Spatial Reasoning and Acting! Step-by-Step Evaluation of Agents With Spatial-Gym
AI总结:
本文提出Spatial-Gym环境,通过2D网格谜题的分步决策任务评估模型在空间推理中的能力,发现分步格式对弱模型有益但对强模型有负面影响,且视觉模型在空间环境中的表现较差。
摘要:
空间推理是导航和机器人领域的核心,但测量模型在这些任务上的能力仍然困难。现有基准测试在单次响应中要求完整解决方案,不同于人类在交互环境中逐步进行。我们引入了Spatial-Gym,一个Gymnasium环境,通过测试2D网格谜题中的路径寻找作为顺序决策任务来隔离空间约束推理。我们评估了八个模型在三种设置(单次响应、分步、分步带回溯)中对人类、随机和A*基线的500次回合表现。最佳模型GPT-OSS 120B在单次响应中达到16.0%的解决率,比人类基线低82分。分步格式帮助较弱的模型(最高+5.4%)通过消除格式错误,但伤害更强的模型(最高5.6%)通过限制全局规划。回溯提高回合完成率,但仅对较弱的模型提高解决率;更强的模型很少回溯且不受益。我们的实验有三个关键发现:(1)模型无法随着难度增加推理努力,(2)接收空间环境图像的视觉模型解决率降低73%,(3)扩展的链式思维推理在分步设置中仍比标准推理有3-5倍的准确性优势。Spatial-Gym使模型限制诊断成为可能,并提供了一个通过强化学习改进空间推理的框架。
英文摘要:
Spatial reasoning is central to navigation and robotics, yet measuring model capabilities on these tasks remains difficult. Existing benchmarks evaluate models in a one-shot setting, requiring full solution generation in a single response, unlike humans, who work in interactive environments step-by-step. We introduce Spatial-Gym, a Gymnasium environment that isolates spatial constraint reasoning by testing pathfinding in 2D-grid puzzles as a sequential decision task with optional backtracking. We evaluate eight models in three settings (one-shot, step-by-step, step-by-step with backtracking) against human, random, and A* baselines on 500 episodes. The best model, GPT-OSS 120B, achieves a solve rate of 16.0%, 82 points below the human baseline (98.0%). Step-by-step format helps weaker models (up to +5.4%) by removing formatting errors, but hurts stronger models (up to 5.6%) by constraining global planning. Backtracking improves episode completion, but increases solve rate only for weaker models; stronger models rarely backtrack and do not benefit from it. Our experiments have three key findings: (1) models fail to scale reasoning effort with difficulty, (2) vision models receiving images of the spatial environment reduce solve rate by 73%, and (3) extended chain-of-thought reasoning retains a 3-5x accuracy advantage over standard inference even in the step-by-step setting. Spatial-Gym enables diagnosis of model limitations and provides a framework for improving spatial reasoning through reinforcement learning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。