arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.05305cs.LGcs.AI
收藏

神经网络潜空间的闭式解释:基于符号梯度

Closed-Form Interpretation of Neural Network Latent Spaces with Symbolic Gradients

University of Waterloo(多伦多大学);Perimeter Institute for Theoretical Physics(理论物理研究所);Homes Plus Magazine Inc.(Homes Plus 杂志公司);University of Toronto(多伦多大学)

Sebastian J. Wetzel, Zakaria Patel

AI总结:

本文提出一种基于符号梯度的框架,通过将神经网络嵌入等价类并寻找与人类可读方程的交集,实现潜空间神经元的闭式解释,并在矩阵不变量和动力系统守恒量上验证有效性。

摘要:

已有研究表明,自编码器或孪生网络等人工神经网络能够在潜空间中编码有意义的概念。然而,目前尚不存在一个全面的框架,能够在没有先验知识的情况下以人类可读的形式检索这些信息。在定量学科中,概念通常以方程的形式表述。因此,为了提取这些概念,我们引入了一个框架,用于在人工神经网络的潜空间中找到神经元的闭式解释。该解释框架基于将训练好的神经网络嵌入到一个编码相同概念的函数的等价类中。我们通过寻找该等价类与由符号搜索空间定义的人类可读方程之间的交集来解释这些神经网络。在计算上,该框架基于寻找一个符号表达式,其归一化梯度与特定神经元相对于输入变量的归一化梯度相匹配。我们通过从孪生神经网络的潜空间中检索矩阵的不变量和动力系统的守恒量,证明了我们方法的有效性。

英文摘要:

It has been demonstrated that artificial neural networks like autoencoders or Siamese networks encode meaningful concepts in their latent spaces. However, there does not exist a comprehensive framework for retrieving this information in a human-readable form without prior knowledge. In quantitative disciplines concepts are typically formulated as equations. Hence, in order to extract these concepts, we introduce a framework for finding closed-form interpretations of neurons in latent spaces of artificial neural networks. The interpretation framework is based on embedding trained neural networks into an equivalence class of functions that encode the same concept. We interpret these neural networks by finding an intersection between the equivalence class and human-readable equations defined by a symbolic search space. Computationally, this framework is based on finding a symbolic expression whose normalized gradients match the normalized gradients of a specific neuron with respect to the input variables. The effectiveness of our approach is demonstrated by retrieving invariants of matrices and conserved quantities of dynamical systems from latent spaces of Siamese neural networks.

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

↑