Coder Social home page Coder Social logo

nsi's Introduction

Neural System Identification by Training Recurrent Neural Networks

Introduction

Neural connectivities are critical in computational modeling but hard to measure in experiments. Can we infer the neural connectivities given the neural activity data? The problem can be modeled as a system identification process, thus, estimating parameters based on the input-response pairs.

The key barrier is that for the recorded neural responses, their relationships with the external inputs are usually obscure. In this work, we propose to use input-separated recurrent neural networks (RNNs) to solve the problem. We illustrate the effectiveness of our method by identifying a ring attractor network, which is the theoretical model of the drosophila head-direction (HD) system.

Requirements

To install dependancies

pip install -r requirements.txt

Data Collection: Ring Attractor Model

To simulate a ring attractor model and collect the firing rates data, run

python cann.py

and data will be stored in the folder data. You could turn visualize=True to visualize the continuous attractor activity.

drawing

Model Training

To train a RNN model fitting the simulated data, run the script

sh train.sh

you may want to register for the W & B service to log the training process.

Results Visualization

To visualize the neural system identification results, check the jupyter notebook in test.ipynb.

  • Tuning curves.

drawing

  • Connectivity matrix.

drawing

Conclusion

Experiments show that:

  • Input-separated RNN successfully identifies the structure of the connectivity matrix.
  • Without input separation, the RNN identifies a mixture of compass and shifter neurons, thus fails to genuinely reconstruct the network.
  • Shifter neurons automatically emerge within the input/hidden neurons, even only the compass neurons are observed during training.

In all, our results imply two constraints are effective in neural system identification---a neural activity constraint determining the response-response connectivity (attractors in working memory) and a neural dynamics constraint determining the input-response connectivity (transformations between the attractor states).

Future directions include identifying neural systems with higher-order input-response relations, mutual inference between input and response neurons, and application to actual physiology data, especially examining the 2D continuous attractor model of the grid cell system.

nsi's People

Contributors

liuyuezhang avatar

Stargazers

Jeff Carpenter avatar William Gilpin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.