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

时钟与披萨:神经网络机制解释中的两个故事

The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks

Massachusetts Institute of Technology(麻省理工学院)

Ziqian Zhong, Ziming Liu, Max Tegmark, Jacob Andreas

AI总结:

以模加法为例,发现神经网络通过改变超参数和初始化能发现多种不同算法(如Clock和Pizza算法),表明简单学习问题存在多样化解决方案,推动了刻画神经网络行为新工具的开发。

摘要:

在易于理解的算法任务上训练的神经网络,是否能可靠地重新发现解决这些任务的已知算法?最近几项从群算术到上下文线性回归等任务的研究表明,答案是肯定的。我们以模加法作为典型问题,展示了神经网络中的算法发现有时更为复杂。对模型超参数和初始化的微小改变,能促使从固定训练集中发现具有定性差异的不同算法,甚至是多个此类算法的并行实现。一些训练用于执行模加法的网络实现了熟悉的Clock(时钟)算法;其他网络则实现了一种此前未描述过、不够直观但可理解的程序,我们称之为Pizza(披萨)算法,或是多种更为复杂的程序。我们的结果表明,即使是简单的学习问题也能容纳令人惊讶的多样化解决方案,这推动了开发新工具来刻画神经网络在其算法相空间中的行为。

英文摘要:

Do neural networks, trained on well-understood algorithmic tasks, reliably rediscover known algorithms for solving those tasks? Several recent studies, on tasks ranging from group arithmetic to in-context linear regression, have suggested that the answer is yes. Using modular addition as a prototypical problem, we show that algorithm discovery in neural networks is sometimes more complex. Small changes to model hyperparameters and initializations can induce the discovery of qualitatively different algorithms from a fixed training set, and even parallel implementations of multiple such algorithms. Some networks trained to perform modular addition implement a familiar Clock algorithm; others implement a previously undescribed, less intuitive, but comprehensible procedure which we term the Pizza algorithm, or a variety of even more complex procedures. Our results show that even simple learning problems can admit a surprising diversity of solutions, motivating the development of new tools for characterizing the behavior of neural networks across their algorithmic phase space.

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

↑