paper-with-me

홈 › Papers

Reverse engineering recurrent neural networks with Jacobian switching linear dynamical systems

2021-11-01 · NeurIPS 2021 12 · Jimmy T. H. Smith, Scott W. Linderman, David Sussillo

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.

📄 PDF Abstract BibTeX arXiv:2111.01256

Code (1)

jimmysmith1919/jslds_public 공식 구현 jax

Tasks

Time Series Analysis

Similar Papers 제목 키워드 기반

Reverse engineering recurrent networks for sentiment classification reveals line attractor dynamics

2019-06-25 · NeurIPS 2019 12 · Niru Maheswaranathan, Alex Williams, Matthew D. Golub, Surya Ganguli 외

Recurrent neural networks (RNNs) are a widely used tool for modeling sequential data, yet they are often treated as inscrutable black boxes. Given a trained recurrent network, we would like to reverse engineer it--to obt…

General ClassificationSentiment AnalysisSentiment Classification

Local Inverse Geometry Can Be Amortized

2026-05-13 · Aaditya L. Kachhadiya arxiv

Nonlinear inverse problems often trade inexpensive but fragile first-order updates against curvature-aware methods such as Gauss-Newton and Levenberg-Marquardt, which obtain stronger directions by repeatedly solving Jaco…

Reverse-engineering Bar Charts Using Neural Networks

2020-09-05 · Fangfang Zhou, Yong Zhao, Wenjiang Chen, Yijing Tan 외

Reverse-engineering bar charts extracts textual and numeric information from the visual representations of bar charts to support application scenarios that require the underlying information. In this paper, we propose a …

Decoderobject-detectionObject Detection

Using Degeneracy in the Loss Landscape for Mechanistic Interpretability

2024-05-17 · Lucius Bushnaq, Jake Mendel, Stefan Heimersheim, Dan Braun 외

Mechanistic Interpretability aims to reverse engineer the algorithms implemented by neural networks by studying their weights and activations. An obstacle to reverse engineering neural networks is that many of the parame…

Learning Theory

Bayesian Inference in Recurrent Explicit Duration Switching Linear Dynamical Systems

2024-11-06 · Mikołaj Słupiński, Piotr Lipiński

In this paper, we propose a novel model called Recurrent Explicit Duration Switching Linear Dynamical Systems (REDSLDS) that incorporates recurrent explicit duration variables into the rSLDS model. We also propose an inf…

Bayesian Inference