/rapid

RAPID: Training energy-based models through Restricted Axons and Pattern-InDuced correlations

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Alejandro Pozas-Kerstjens, Gorka Muñoz-Gil, Miguel Angel García-March, Antonio Acín, Maciej Lewenstein, and Przemyslaw R. Grzybowski

This is a repository containing the code for models with Restricted Axons and training via Pattern-InDuced correlations (RAPID), developed in the article "Efficient training of energy-based models via spin-glass control. Alejandro Pozas-Kerstjens, Gorka Muñoz-Gil, Miguel Angel García-March, Antonio Acín, Maciej Lewenstein, and Przemyslaw R. Grzybowski. arXiv:1910.01592."

All code is written in Python.

Libraries required:

Files:

  • comparison: example of use. Trains restricted Boltzmann machines using commonplace samplers and via RAPID, and computes various indicators of quality of training.

  • rapid: contains the relevant classes.

  • utils: additional functions relevant for the example.