arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03020cs.LGstat.ML
收藏

关于使用循环网络与隐式网络进行迷宫逻辑外推的研究

On Logical Extrapolation for Mazes with Recurrent and Implicit Networks

Brandon Knutson, Amandin Chyba Rabeendran, Michael Ivanitskiy, Jordan Pettyjohn, Cecilia Diniz-Behn, Samy Wu Fung, Daniel McKenzie

AI总结:

本文通过迷宫求解任务检验RNN和INN的逻辑外推能力,发现现有模型存在多种失败模式且未必真正学到算法,并指出分析外推动力学有助于设计更好的逻辑外推器。

摘要:

近期研究表明,某些神经网络架构——尤其是循环神经网络(RNNs)和隐式神经网络(INNs)——具备逻辑外推能力。当这些网络(下文称为逻辑外推器)在任务的简单实例上训练后,能够泛化到更困难的实例。此前研究假设,逻辑外推器之所以能做到这一点,是因为它们针对给定任务学习了一种可扩展的迭代算法,该算法能够收敛到解。我们在迷宫求解这一单一任务的背景下更仔细地检验了这一观点。通过沿多个维度(不仅仅是迷宫大小)改变测试数据,我们表明先前工作中提出的模型以多种方式失败,其中一些失败方式是意料之中的,另一些则不那么明显。目前仍不确定这些模型中是否有任何一个真正学到了算法。然而,我们提供了证据表明某个特定的RNN大致学到了一种“死胡同填充”的形式。我们表明,在更多样化的数据上训练这些模型可以解决某些失败模式,但矛盾的是,并未改善逻辑外推能力。我们还分析了收敛行为,并表明被显式训练为收敛到不动点的模型在外推时很可能确实会收敛到不动点,而未被如此训练的模型即使正确解决了问题,也可能表现出更奇异的极限行为,例如极限环。我们的结果(i)表明逻辑外推并不能免受目标错误泛化问题的影响,并且(ii)表明分析外推的动力学可能为设计更好的逻辑外推器提供洞见。

英文摘要:

Recent work suggests that certain neural network architectures -- particularly recurrent neural networks (RNNs) and implicit neural networks (INNs) -- are capable of logical extrapolation. When trained on easy instances of a task, these networks (henceforth: logical extrapolators) can generalize to more difficult instances. Previous research has hypothesized that logical extrapolators do so by learning a scalable, iterative algorithm for the given task which converges to the solution. We examine this idea more closely in the context of a single task: maze solving. By varying test data along multiple axes -- not just maze size -- we show that models introduced in prior work fail in a variety of ways, some expected and others less so. It remains uncertain whether any of these models has truly learned an algorithm. However, we provide evidence that a certain RNN has approximately learned a form of `deadend-filling'. We show that training these models on more diverse data addresses some failure modes but, paradoxically, does not improve logical extrapolation. We also analyze convergence behavior, and show that models explicitly trained to converge to a fixed point are likely to do so when extrapolating, while models that are not may exhibit more exotic limiting behavior such as limit cycles, even when they correctly solve the problem. Our results (i) show that logical extrapolation is not immune to the problem of goal misgeneralization, and (ii) suggest that analyzing the dynamics of extrapolation may yield insights into designing better logical extrapolators.

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

↑