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

基于序列模型的符号谜题循环推理

Recurrent Reasoning on Symbolic Puzzles with Sequence Models

Algoverse AI Research;Cornell University(康奈尔大学)

Gowrav Mannem, Chowdhury Marzia Mahjabin, Jason Chen, Shivank Garg, Kevin Zhu

AI总结:

提出 RecurrReason 基准,包含四个递归逻辑谜题,通过控制难度参数 N 评估序列模型,发现架构比规模更重要,预训练仅对局部结构转移函数的谜题有效。

摘要:

大型语言模型在符号和算法任务上通常表现强劲,但当问题变长、变难或略微超出分布时,这种表面优势可能隐藏脆弱行为。当前推理基准的一个主要限制是,许多主要测试模型是否能产生有效答案,而较少关注解决方案在可控难度缩放下是否最小、稳健和稳定。我们引入了 RecurrReason,一个难度可控的基准,包含四个递归逻辑谜题(汉诺塔、过河问题、积木世界和跳棋),具有 BFS 最优轨迹和单一可解释难度参数 $N \in \{1,\dots,10\}$,总计 10,817 个独特谜题和 285,933 步动作。我们在一致的数据划分和评估标准下,对两个 Transformer 家族(编码器-解码器模型(T5 风格)和仅解码器模型(GPT-2 风格))进行基准测试,在 $N=1$ 到 $7$ 上训练,并在 $N=8$ 到 $10$ 的保留分布内实例和更难的分布外实例上评估。微调后的预训练 T5 在积木世界上达到 97.27% 的验证准确率和 81.00% 的 OOD 准确率;所有模型在过河问题上的所有条件下得分为 0.00%。失败模式分析表明,架构比规模更能决定成功。预训练仅能迁移到具有局部结构转移函数的谜题。我们的代码和数据集将在接收后开源。

英文摘要:

Large language models often appear strong on symbolic and algorithmic tasks, yet this apparent strength can hide brittle behaviour when problems become longer, harder, or slightly out of distribution. A major limitation of current reasoning benchmarks is that many primarily test whether a model can produce a valid answer, while paying less attention to whether the solution is minimal, robust, and stable under controlled difficulty scaling. We introduce RecurrReason, a difficulty-controlled benchmark of four recurrent logic puzzles (Tower of Hanoi, River Crossing, Block World, and Checkers Jumping) with BFS-optimal trajectories and a single interpretable difficulty parameter $N \in \{1,\dots,10\}$, totalling 10{,}817 unique puzzles and 285{,}933 moves. We benchmark two Transformer families, an encoder-decoder model (T5-style) and a decoder-only model (GPT-2-style), under consistent data splits and evaluation criteria, training on $N{=}1$ to $7$ and evaluating on both held-out in-distribution instances and harder out-of-distribution instances at $N{=}8$ to $10$. Fine-tuned pre-trained T5 achieves 97.27\% validation and 81.00\% OOD accuracy on Block World; all models score 0.00\% on River Crossing under all conditions. Failure mode analysis reveals that architecture is a stronger determinant of success than scale. Pre-training transfers only to puzzles with locally structured transition functions. Our code and dataset will be open-sourced upon acceptance.

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

↑