arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.05110cs.LG
收藏

打开AI黑箱:通过机制可解释性进行程序合成

Opening the AI black box: program synthesis via mechanistic interpretability

Massachusetts Institute of Technology(麻省理工学院);Institute for Artificial Intelligence and Fundamental Interactions(人工智能与基本相互作用研究所);Harvard University(哈佛大学)

Eric J. Michaud, Isaac Liao, Vedang Lad, Ziming Liu, Anish Mudide, Chloe Loughridge, Zifan Carl Guo, Tara Rezaei Kheirkhah, Mateja Vukelić, Max Tegmark

AI总结:

提出MIPS方法,通过机制可解释性将RNN学习到的算法自动提炼为Python代码,在62个任务中解决32个,与GPT-4互补,提升模型可解释性。

摘要:

我们提出了MIPS,一种基于自动机制可解释性的程序合成新方法,该方法对训练以执行所需任务的神经网络进行自动化机制可解释性分析,将学习到的算法自动提炼为Python代码。我们在一个包含62个可由RNN学习的算法任务的基准上测试了MIPS,发现它与GPT-4高度互补:MIPS解决了其中32个任务,包括13个GPT-4未解决的任务(GPT-4解决了30个)。MIPS使用整数自编码器将RNN转换为有限状态机,然后应用布尔或整数符号回归来捕获学习到的算法。与大型语言模型不同,这种程序合成技术不使用(因此也不受限于)人类训练数据,如来自GitHub的算法和代码。我们讨论了扩展该方法以使机器学习模型更具可解释性和可信赖性的机遇与挑战。

英文摘要:

We present MIPS, a novel method for program synthesis based on automated mechanistic interpretability of neural networks trained to perform the desired task, auto-distilling the learned algorithm into Python code. We test MIPS on a benchmark of 62 algorithmic tasks that can be learned by an RNN and find it highly complementary to GPT-4: MIPS solves 32 of them, including 13 that are not solved by GPT-4 (which also solves 30). MIPS uses an integer autoencoder to convert the RNN into a finite state machine, then applies Boolean or integer symbolic regression to capture the learned algorithm. As opposed to large language models, this program synthesis technique makes no use of (and is therefore not limited by) human training data such as algorithms and code from GitHub. We discuss opportunities and challenges for scaling up this approach to make machine-learned models more interpretable and trustworthy.

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

↑