Giter VIP home page Giter VIP logo

vitay-2016's Introduction

Robust timing and motor patterns by taming chaos in recurrent neural networks

Author: Julien Vitay [email protected]

Professorship for Artificial Intelligence, Department of Computer Science, Chemnitz University of Technology, D-09107 Chemnitz, Germany.

A reference implementation of:

Laje, R. and Buonomano, D.V. (2013). Robust timing and motor patterns by taming chaos in recurrent neural networks. Nat Neurosci. 16(7) pp 925-33 doi://10.1038/nn.3405

The original article and the associated data/code can be found online on Pubmed: http://www.ncbi.nlm.nih.gov/pubmed/23708144

Dependencies

The standard scientific Python stack is required:

  • Python 2.7 or >= 3.4
  • Numpy 1.10 (lower versions may work but not tested)
  • Scipy 0.17
  • Matplotlib 1.3

Data

The handwriting patterns for Fig. 2 are available on PMC (http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3753043), but the copyright holder is the Nature Publishing Group and no free license is provided, so it cannot be included in this repository. In order to reproduce Fig. 2, one has to download the provided data to obtain a .mat file.

The data is located at http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3753043/bin/NIHMS472497-supplement-3.zip. This zip file should then be decompressed in the data/ older, so that the file DAC_handwriting_output_targets.mat lies there.

In data/ is provided a get_handwriting.sh script for Linux/Mac OS users that automatically performs these steps:

wget http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3753043/bin/NIHMS472497-supplement-3.zip -O data.zip
unzip data.zip DAC_handwriting_output_targets.mat

Model

The model is implemented by a class RecurrentNetwork in the file code/RecurrentNetwork.py. The scripts code/Fig1.py, code/Fig2.py and code/Fig3.py allow to reproduce the corresponding figures of the manuscript.

As the script for Figure 3 takes 3 days of computation on a standard computer, we provide the script code/Fig3-Load.py that only produces the figure, based on recorded data stored in data/timingcapacity.npz.

Results

Complexity without chaos. Top: Temporal evolution of the firing rates of some recurrent neurons during the innate trajectory. Left: The innate trajectory (blue) superposed with a new noisy trial (red) before training. Right: The same after training. The top panel depicts the firing rate of 3 randomly chosen neurons, the middle one the firing rate of the read-out neuron, the bottom one the firing rate of the read-out neuron when a perturbation impulse is given 500 ms after the initial impulse.

Generation and stability of complex spatiotemporal motor patterns. Left and right: two different trajectories in the read-out space learned by the same network. Top: without perturbation. Bottom: with perturbation. Each figure is the superposition of 5 different test trials, showing the robustness of the trajectories to initial conditions and perturbations. Equidistant time points are represented as blue circles.

Improved "timing" capacity. A peak of variable duration (as in Fig. @fig:fig1) is learned by different networks. The fit between the target and the reproduction is measured using the Pearson correlation coefficient between the two time series. The reproduction capacity decreases with the duration of the training window, suggesting a limited timing capacity for a single network.

vitay-2016's People

Contributors

rougier avatar vitay avatar antoine-lizee avatar pdebuyl avatar daniel-mietchen avatar

Stargazers

NikuKikai avatar  avatar Wisam Reid avatar Yosuke Ueno avatar PhantomOp avatar Xavier Hinaut avatar Matt Turner avatar TJ Mahr avatar Anne S. Warlaumont avatar Tomek Roszczynialski avatar  avatar

Watchers

Konrad Hinsen avatar  avatar James Cloos avatar Thomas Arildsen avatar  avatar Xavier Hinaut 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.