forward-forward-learning

Official

Memory-efficient local learning without backprop.

Authorplurigrid
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hinton's Forward-Forward (FF) algorithm enables local, backpropagation-free learning suitable for biologically plausible setups, on-chip training, memory-efficient networks, and parallel layer-wise updates.

Core Features & Use Cases

  • Two Forward Passes: Positive and negative data passes to optimize layer-wise goodness.
  • Goodness-Based Objectives: Layer-wise objectives using goodness of activations.
  • Self-Contrastive Extensions: Self-generated negatives for robust learning.
  • On-Chip Learning & Memory Efficiency: Suitable for neuromorphic hardware and edge devices.

Quick Start

Initialize an FFNetwork with your desired layer dimensions and begin training with a local-forward step loop.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: forward-forward-learning
Download link: https://github.com/plurigrid/asi/archive/main.zip#forward-forward-learning

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository