神经网络是模块化的吗?通过可微权掩码检验功能模块性
Are Neural Nets Modular? Inspecting Functional Modularity Through Differentiable Weight Masks
摘要:
子网络实现可重用功能的神经网络(NN)有望提供许多优势,包括通过功能构建块的有效重组实现的组合性、可解释性、防止灾难性干扰等。了解NN是否以及如何模块化可以提供如何改进它们的见解。然而,目前的检查方法未能将模块与其功能联系起来。在本文中,我们提出了一种新的方法的基础上学习二进制权重模板,以确定个人的权重和负责特定的功能。使用这个强大的工具,我们贡献了一个广泛的研究新兴的模块化神经网络,涵盖了几个标准的架构和数据集。我们展示了常见的神经网络无法重用子模块,并提供了新的见解相关问题的系统概括语言任务。
英文摘要:
Neural networks (NNs) whose subnetworks implement reusable functions are expected to offer numerous advantages, including compositionality through efficient recombination of functional building blocks, interpretability, preventing catastrophic interference, etc. Understanding if and how NNs are modular could provide insights into how to improve them. Current inspection methods, however, fail to link modules to their functionality. In this paper, we present a novel method based on learning binary weight masks to identify individual weights and subnets responsible for specific functions. Using this powerful tool, we contribute an extensive study of emerging modularity in NNs that covers several standard architectures and datasets. We demonstrate how common NNs fail to reuse submodules and offer new insights into the related issue of systematic generalization on language tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。