arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.03051cs.LGcs.AIcs.NE
收藏

使用超网络生成可解释网络

Generating Interpretable Networks using Hypernetworks

MIT(麻省理工学院)

Isaac Liao, Ziming Liu, Max Tegmark

AI总结:

本文提出用可控复杂度的超网络生成底层算法未知但事后可解释的网络,在 L1 范数任务中发现三种算法并展现对未见输入维度的系统性泛化。

摘要:

机制可解释性的一个核心目标是解码网络,即将神经网络的原始权重转换为可解释的算法。鉴于解码问题的困难,研究已在理解较容易的编码问题上取得进展,即将可解释算法转换为网络权重。以往工作聚焦于把现有算法编码到网络中,这些网络按定义就是可解释的。然而,只关注编码限制了发现人类从未偶然想到、但仍然可解释的新算法的可能性。在本工作中,我们探索使用超网络生成其底层算法尚属未知的可解释网络的可能性。该超网络经过精心设计,使其能够控制网络复杂度,从而产生按复杂度排序的多样化可解释算法族。所有算法事后看来都是可解释的,尽管其中一些对人类而言不那么直观,因此为如何像神经网络一样“思考”提供了新的见解。在计算 L1 范数的任务上,超网络发现了三种算法:(a)double-sided 算法,(b)convexity 算法,(c)pudding 算法,而在实验前作者只预期到第一种算法。我们自动分类这些算法,并分析这些算法阶段在训练过程中如何发展,以及它们如何受到复杂度控制的影响。此外,我们表明,训练后的超网络能够为训练中未见过的输入维度正确构建模型,展示出系统性泛化能力。

英文摘要:

An essential goal in mechanistic interpretability to decode a network, i.e., to convert a neural network's raw weights to an interpretable algorithm. Given the difficulty of the decoding problem, progress has been made to understand the easier encoding problem, i.e., to convert an interpretable algorithm into network weights. Previous works focus on encoding existing algorithms into networks, which are interpretable by definition. However, focusing on encoding limits the possibility of discovering new algorithms that humans have never stumbled upon, but that are nevertheless interpretable. In this work, we explore the possibility of using hypernetworks to generate interpretable networks whose underlying algorithms are not yet known. The hypernetwork is carefully designed such that it can control network complexity, leading to a diverse family of interpretable algorithms ranked by their complexity. All of them are interpretable in hindsight, although some of them are less intuitive to humans, hence providing new insights regarding how to "think" like a neural network. For the task of computing L1 norms, hypernetworks find three algorithms: (a) the double-sided algorithm, (b) the convexity algorithm, (c) the pudding algorithm, although only the first algorithm was expected by the authors before experiments. We automatically classify these algorithms and analyze how these algorithmic phases develop during training, as well as how they are affected by complexity control. Furthermore, we show that a trained hypernetwork can correctly construct models for input dimensions not seen in training, demonstrating systematic generalization.

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

↑