软空间推理
研究论文 · 2026/10/01
大型视觉语言模型(LVLM)通常通过思维链(CoT)进行空间推理,将中间推理编码为离散语言标记的自回归序列。这种硬思考要求每一步都承诺一个单一标记,即使正确的空间解释仍不确定。这种早期承诺构成了过早离散化:错误的标记选择可能通过后续推理传播错误。我们提出软空间推理,一种在LVLM中为空间任务引入软思考的后训练框架。在每个中间推理步骤,LVLM通过混合标记嵌入而非选择单一标记来形成连续软状态,允许多个候选延续影响下一步。然而,适当的软度可能因推理步骤而异:保留多个候选可能保留有用的空间解释,但如果这些候选暗示冲突的空间关系,混合它们可能干扰后续推理。软空间推理的核心是AdaptSoft,一个使用当前隐藏状态和预测不确定性来适应每个推理步骤软度的控制器。为了训练AdaptSoft,我们引入梯度对齐学习目标,为软度控制提供步骤特定的学习信号,无需中间推理监督。在各种空间基准上,软空间推理使用相同骨干网络优于硬和固定软CoT基线,以及一系列现有LVLM。源代码可在https://github.com/rafiibnsultan/Soft_Spatial_Reasoning获取。
该研究针对LVLM空间推理中过早离散化导致错误传播的问题,提出了一种创新的软思考后训练框架,通过自适应软度控制提升推理准确性,并在多个基准上验证了有效性,对提升视觉语言模型的空间推理能力具有重要价值。
Large Vision-Language Models (LVLMs) commonly perform spatial reasoning through chain-of-thought (CoT), encoding intermediate reasoning as autoregressive sequences of discrete language tokens. Such hard thinking requires committing to a single token at each step, even when the correct spatial interpretation remains uncertain. This early commitment constitutes premature discretization: an incorrect token selection can propagate errors through subsequent reasoning. We propose Soft Spatial Reasoning, a post-training framework that introduces soft thinking for spatial tasks in LVLMs. At each intermediate reasoning step, the LVLM forms a continuous soft state by mixing token embeddings rather than selecting a single token, allowing multiple candidate continuations to influence the next step. The appropriate degree of softness, however, can vary across reasoning steps: retaining multiple candidates may preserve a useful spatial interpretation, but if those candidates imply conflicting spatial relations, mixing them may interfere with subsequent reasoning. At the core of Soft Spatial Reasoning is AdaptSoft, a controller that uses the current hidden state and predictive uncertainty to adapt the degree of softness at each reasoning step. To train AdaptSoft, we introduce a gradient-alignment learning objective that provides a step-specific learning signal for softness control without intermediate reasoning supervision. Across diverse spatial benchmarks, Soft Spatial Reasoning outperforms hard and fixed-soft CoT baselines using the same backbone, as well as a range of existing LVLMs. The source code is available at https://github.com/rafiibnsultan/Soft_Spatial_Reasoning