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

基于Jacobian切换线性动力系统的循环神经网络逆向工程

Reverse engineering recurrent neural networks with Jacobian switching linear dynamical systems

Stanford University(斯坦福大学)

Jimmy T. H. Smith, Scott W. Linderman, David Sussillo

摘要:

循环神经网络(RNN)是处理时间序列数据的强大模型,但理解它们的功能仍然具有挑战性。提高这种理解对机器学习和神经科学社区都有很大的意义。通过围绕其固定点线性化来对经过训练的RNN进行逆向工程的框架提供了洞察力,但该方法具有重大挑战。这些困难包括在研究RNN动态时难以选择围绕哪个固定点扩展,以及在用线性化动态重建非线性动态时的误差积累。我们提出了一个新的模型,通过用一个新的切换线性动力系统(SLDS)公式共同训练RNN来克服这些限制。共同训练的RNN的一阶泰勒级数展开和一个辅助函数被训练来挑选RNN的不动点来控制SLDS动态。结果是一个训练的SLDS变体,它非常接近RNN,一个辅助函数,可以为状态空间中的每个点产生一个固定点,以及一个训练的非线性RNN,其动态已经被正则化,以便其一阶项执行计算,如果可能的话。该模型消除了训练后的固定点优化,并允许我们在状态空间中的任何点上明确地研究学习到的SLDS动态。它还将SLDS模型推广到开关点的连续流形,同时在开关之间共享参数。我们验证了该模型的实用性相关的两个合成任务,以前的工作逆向工程RNN。然后,我们表明,我们的模型可以用作更复杂的架构,如LFADS的下降,并应用此LFADS混合分析单次试验尖峰活动从非人类灵长类动物的运动系统。

英文摘要:

Recurrent neural networks (RNNs) are powerful models for processing time-series data, but it remains challenging to understand how they function. Improving this understanding is of substantial interest to both the machine learning and neuroscience communities. The framework of reverse engineering a trained RNN by linearizing around its fixed points has provided insight, but the approach has significant challenges. These include difficulty choosing which fixed point to expand around when studying RNN dynamics and error accumulation when reconstructing the nonlinear dynamics with the linearized dynamics. We present a new model that overcomes these limitations by co-training an RNN with a novel switching linear dynamical system (SLDS) formulation. A first-order Taylor series expansion of the co-trained RNN and an auxiliary function trained to pick out the RNN's fixed points govern the SLDS dynamics. The results are a trained SLDS variant that closely approximates the RNN, an auxiliary function that can produce a fixed point for each point in state-space, and a trained nonlinear RNN whose dynamics have been regularized such that its first-order terms perform the computation, if possible. This model removes the post-training fixed point optimization and allows us to unambiguously study the learned dynamics of the SLDS at any point in state-space. It also generalizes SLDS models to continuous manifolds of switching points while sharing parameters across switches. We validate the utility of the model on two synthetic tasks relevant to previous work reverse engineering RNNs. We then show that our model can be used as a drop-in in more complex architectures, such as LFADS, and apply this LFADS hybrid to analyze single-trial spiking activity from the motor system of a non-human primate.

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

↑