arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.09873cs.LGcs.AI
收藏

Rotate2Think:通过正交旋转进行几何提示以提升语言模型推理能力

Rotate2Think: Geometric Priming via Orthogonal Rotation to Improve Language Model Reasoning

Polytechnique Montréal(蒙特利尔综合理工学院);Mila - Quebec AI Institute(Mila-魁北克人工智能研究所);LAMA-WeST Lab(LAMA-WeST实验室);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)

Aditya Sharma, Christopher J. Pal, Amal Zouaq

AI总结:

发现推理模型的输入嵌入与思考嵌入存在高锥度且方向非共线,提出无训练方法Rotate2Think,通过正交Procrustes分析估计旋转并注入合成思考向量,在30/32配置中提升数学、科学和代码任务准确率。

摘要:

推理模型通过生成显式的中间推理轨迹再给出最终答案,在挑战性任务上取得了强劲表现。然而,推理过程中表示空间的内部结构仍知之甚少:模型的隐藏表示在思考时与输入提示的嵌入有何不同?这种结构能否被利用以在推理时激发更强的推理能力?我们表明,输入嵌入和思考嵌入(分别对提示和推理轨迹的最后一层隐藏状态进行均值池化)都表现出极高的锥度,所有向量紧密聚集在单一平均方向周围。关键的是,这些平均输入方向和思考方向是非共线的,思考嵌入在嵌入空间中占据了几何上不同的区域,这在许多不同模型和基准任务中均成立。这一观察启发我们将输入到思考的转换视为一个旋转问题,该问题可通过正交Procrustes分析得到闭式解。我们提出Rotate2Think,一种无需训练的方法,从少量正确求解的示例中估计该旋转,并在推理时将生成的合成思考向量注入思考分隔符之间,在推理轨迹开始时提供几何提示。在多个基准和模型家族上的评估表明,Rotate2Think在数学、科学和代码任务的32个模型-基准配置中改进了30个的准确率,并零样本泛化到MATH-Vision上的多模态推理。

英文摘要:

Reasoning models achieve strong performance on challenging tasks by generating explicit intermediate reasoning traces before producing a final answer. Yet the internal structure of representation space when reasoning remains poorly understood: how do a model's hidden representations differ during thinking versus the embeddings of the input prompt, and can this structure be exploited to elicit stronger reasoning at inference time? We show that both input embeddings and thinking embeddings (mean-pooled last-layer hidden states over the prompt and reasoning trace, respectively) exhibit extremely high conicity, with all vectors clustering tightly around a single mean direction. Crucially, these mean input and thinking directions are non-collinear, with thinking embeddings occupying a geometrically distinct region of embedding space across many different models and benchmark tasks. This observation motivates casting the input-to-thinking transition as a rotation problem admitting a closed-form solution via orthogonal Procrustes analysis. We propose Rotate2Think, a training-free method that estimates this rotation from a small set of correctly solved examples and injects the resulting synthetic thinking vector between thinking delimiters at inference time, providing a geometric primer at the onset of the reasoning trace. Evaluated across multiple benchmarks and model families, Rotate2Think improves accuracy in 30 of 32 model-benchmark configurations across mathematics, science, and code tasks, and generalizes zero-shot to multimodal reasoning on MATH-Vision.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑