spiking-implementation-of-the-recurrent-forward-forward-algorithm

An implementation of Recurrent Forward-Forward from Hinton's paper, later ported to the spike domain using SnnTorch.

https://github.com/nicola97/spiking-implementation-of-the-recurrent-forward-forward-algorithm

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.1%) to scientific vocabulary

Keywords

forward-forward forward-forward-algorithm neuromorphic-algorithm neuromorphic-computing neuromorphic-engineering recurrent-forward-forward spiking-neural-networks
Last synced: 6 months ago · JSON representation ·

Repository

An implementation of Recurrent Forward-Forward from Hinton's paper, later ported to the spike domain using SnnTorch.

Basic Info
  • Host: GitHub
  • Owner: Nicola97
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 3.2 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
forward-forward forward-forward-algorithm neuromorphic-algorithm neuromorphic-computing neuromorphic-engineering recurrent-forward-forward spiking-neural-networks
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

Nome immagine

In this repository, you will find:

  • An improved implementation of the Forward-Forward Algorithm, based on the repository Forward-Forward-Algorithm.

  • A recurrent architecture based on the Forward-Forward Algorithm.

  • A recurrent spiking architecture based on the Forward-Forward Algorithm.

This is a work in progress, so some parts of the code are not yet optimized. I'm actively working on it to improve the code.

Acknowledgements

  • Geoffrey Hinton for developing the Forward-Forward Algorithm, which you can find here.
  • @mpezeshki for his original implementation of the Forward-Forward Algorithm.

Theory Behind the Repository

Forward - Forward Algorithm

Nome immagine

FF Algorithm - Loss Function

Nome immagine

FF Algorithm - Goodnes Function

Nome immagine

FF Algorithm - Recurrent Architecture

Nome immagine

FF Algorithm - Metalayer

Nome immagine

FF Algorithm - Spike Recurrent Architecture

Nome immagine

FF Algorithm - Spike Metalayer

Nome immagine

Owner

  • Name: Nicola
  • Login: Nicola97
  • Kind: user

# AI Engineering # Flutter

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite our work!"
authors:
  - family-names: "Quattrone"
    given-names: "Nicola"
title: "Spike Implementation of the Recurrent Forward-Forward Algorithm"
version: "1.0.0"
date-released: "2025-02-10"
url: "https://github.com/Nicola97/Spike-Implementation-of-the-Recurrent-Forward-Forward-Algorithm"

GitHub Events

Total
  • Watch event: 2
  • Push event: 5
Last Year
  • Watch event: 2
  • Push event: 5

Dependencies

requirements.txt pypi
  • ipython *
  • matplotlib *
  • numpy *
  • pandas *
  • scikit-learn *
  • seaborn *
  • snntorch *
  • statistics *
  • torch *
  • torchvision *
  • tqdm *