arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.15306cs.AIcs.LG
收藏

大模型问题解决中的泛化能力:最短路径问题的案例

Generalization in LLM Problem Solving: The Case of the Shortest Path

National University of Singapore(新加坡国立大学);Capital Fund Management(资本基金管理公司);Google Research(谷歌研究)

Yao Tong, Jiayuan Ye, Anastasia Borovykh, Reza Shokri

AI总结:

研究探讨了大模型在最短路径问题中的泛化能力,发现模型在空间迁移表现良好,但在长度扩展上因递归不稳定性而失败,分析了不同学习阶段对系统性问题解决的影响。

摘要:

语言模型能否系统性泛化仍存在争议。然而,实证表现由训练数据、训练范式和推理策略等多重因素共同塑造,使失败难以解释。我们引入了一个基于最短路径规划的受控合成环境,这是一个经典的可组合顺序优化问题。该设置能够清晰分离这些因素,并支持两种正交的泛化轴:空间迁移至未见地图和长度扩展至更长地平线问题。我们发现模型在空间迁移上表现强劲,但在长度扩展上因递归不稳定性而持续失败。我们进一步分析了不同学习阶段如何影响系统性问题解决:例如,数据覆盖设定了能力限制;强化学习提高了训练稳定性,但不扩大这些限制;而推理时的扩展增强了性能,但无法挽救长度扩展的失败。

英文摘要:

Whether language models can systematically generalize remains actively debated. Yet empirical performance is jointly shaped by multiple factors such as training data, training paradigms, and inference-time strategies, making failures difficult to interpret. We introduce a controlled synthetic environment based on shortest-path planning, a canonical composable sequential optimization problem. The setup enables clean separation of these factors and supports two orthogonal axes of generalization: spatial transfer to unseen maps and length scaling to longer-horizon problems. We find that models exhibit strong spatial transfer but consistently fail under length scaling due to recursive instability. We further analyze how distinct stages of the learning pipeline influence systematic problem-solving: for example, data coverage sets capability limits; reinforcement learning improves training stability but does not expand those limits; and inference-time scaling enhances performance but cannot rescue length-scaling failures.

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

↑