nvecoven / BRC

A repository containing the code for the Bistable Recurrent Cell
47 stars 6 forks source link

A bio-inspired bistable recurrent cell allows for long-lasting memory

A repository containing the code for the "A bio-inspired bistable recurrent cell allows for long-lasting memory" paper.

Link to the paper : https://arxiv.org/abs/2006.05252

Pytorch implementation and binary addition task

A great implementation of the NBRC and BRC cells has been made in Pytorch thanks to Nikita Janakarajan and Jannis Born . They also test the NBRC and BRC cells on binary addition tasks, on which they exhibit great performances.

Dependencies

The only dependency for the code provided is tensorflow 2 (and numpy, which is installed by default with tensorflow).

Install tensorflow : https://www.tensorflow.org/install

Nengolib is also required for the LMU cells.

Run experiments

Each benchmark included in the paper can be runned through the launcher script.