henhaobio
Sign in

bioRxivNeurosciencePreprint

Reverse-engineering Recurrent Neural Network solutions to a hierarchical inference task for mice

Rylan SchaefferiD, Mikail Khona, Leenoy MeshulamiD, Ila FieteiD

PDFDOI

Abstract

We study how recurrent neural networks (RNNs) solve a hierarchical inference task involving two latent variables and disparate timescales separated by 1-2 orders of magnitude. The task is of interest to the International Brain Laboratory, a global collaboration of experimental and theoretical neuroscientists studying how the mammalian brain generates behavior. We make four discoveries. First, RNNs learn behavior that is quantitatively similar to ideal Bayesian baselines. Second, RNNs perform inference by learning a two-dimensional subspace defining beliefs about the latent variables. Third, the geometry of RNN dynamics reflects an induced coupling between the two separate inference processes necessary to solve the task. Fourth, we perform model compression through a novel form of knowledge distillation on hidden representations - Representations and Dynamics Distillation (RADD)- to reduce the RNN dynamics to a low-dimensional, highly interpretable model. This technique promises a useful tool for interpretability of high dimensional nonlinear dynamical systems. Altogether, this work yields predictions to guide exploration and analysis of mouse neural data and circuity.

Citations
39

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISMiller '23Kao '19Marraffa '25Flimm '25Farrell '22Pezon '26
69% semantic matchNeuroscience
Kevin J. Miller, Maria Katharina Eckstein, Matthew Botvinick+1 more·neural information processing systems·Jan 1, 2023· 27 citations