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

学习循环神经网络权重矩阵的有用表示

Learning Useful Representations of Recurrent Neural Network Weight Matrices

The Swiss AI Lab IDSIA, USI & SUPSI(瑞士IDSIA人工智能实验室、瑞士意大利语区大学、瑞士应用科学与艺术大学)

Vincent Herrmann, Francesco Faccio, Jürgen Schmidhuber

AI总结:

研究如何学习RNN权重矩阵的有用表示,提出机械论与功能论方法,并发布首批RNN权重表示学习数据集,实验证明功能论方法在预测RNN训练任务等挑战性应用上表现更优。

摘要:

循环神经网络(RNNs)是通用的并行-序列计算机。RNN的程序就是其权重矩阵。如何学习RNN权重的有用表示,以促进RNN分析及下游任务?机械论方法直接观察某个RNN的权重来预测其行为,而功能论方法分析其整体功能——具体而言,即其输入-输出映射。我们考虑了针对RNN权重的几种机械论方法,并将置换等变的Deep Weight Space层适配于RNN。我们的两种新颖功能论方法通过“质询”RNN(利用探测输入)从RNN权重中提取信息。我们开发了一个理论框架,证明了在何种条件下功能论方法能生成有助于确定RNN行为的丰富表示。我们发布了首批两个用于RNN权重表示学习的“模型动物园”数据集。一个由一类形式语言的生成模型组成,另一个由顺序处理MNIST数字的分类器组成。在基于模拟的自监督学习技术的帮助下,我们在多个下游应用上比较和评估了不同的RNN权重编码技术。在最具挑战性的应用上,即预测RNN具体被训练于哪个任务,功能论方法展现出明显的优越性。

英文摘要:

Recurrent Neural Networks (RNNs) are general-purpose parallel-sequential computers. The program of an RNN is its weight matrix. How to learn useful representations of RNN weights that facilitate RNN analysis as well as downstream tasks? While the mechanistic approach directly looks at some RNN's weights to predict its behavior, the functionalist approach analyzes its overall functionality-specifically, its input-output mapping. We consider several mechanistic approaches for RNN weights and adapt the permutation equivariant Deep Weight Space layer for RNNs. Our two novel functionalist approaches extract information from RNN weights by 'interrogating' the RNN through probing inputs. We develop a theoretical framework that demonstrates conditions under which the functionalist approach can generate rich representations that help determine RNN behavior. We release the first two 'model zoo' datasets for RNN weight representation learning. One consists of generative models of a class of formal languages, and the other one of classifiers of sequentially processed MNIST digits. With the help of an emulation-based self-supervised learning technique we compare and evaluate the different RNN weight encoding techniques on multiple downstream applications. On the most challenging one, namely predicting which exact task the RNN was trained on, functionalist approaches show clear superiority.

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

↑