Ross ROSS = Recommend OSS · open-source software intelligence for agents

mpezeshki/pytorch_forward_forward

Implementation of Hinton's forward-forward (FF) algorithm - an alternative to back-propagation observed · 2026-08-28

github.com/mpezeshki/pytorch_forward_forward · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 97

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1365
  • days_rel: n/a
  • days_push: 1093
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1500 stars · 144 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A PyTorch implementation of Geoffrey Hinton's forward-forward (FF) training algorithm, an alternative to back-propagation that computes gradients locally without backpropagating errors. It trains layer-by-layer with a local objective on positive and negative samples, demonstrated on MNIST.

Use cases

  • implement the forward-forward algorithm in pytorch
  • train neural networks without backpropagation
  • experiment with local learning objectives
  • reproduce Hinton's forward-forward MNIST results
  • study alternatives to backpropagation
  • learn layer-wise training with positive and negative samples

When to choose

  • you want a reference implementation of the forward-forward algorithm
  • you are researching backprop-free or local learning methods
  • you want a small, readable PyTorch codebase to extend for FF experiments

When to avoid

  • you need state-of-the-art accuracy on large-scale vision or NLP tasks
  • you need a maintained, production-ready training framework
  • you need GPU-optimized, scalable training beyond MNIST-scale demos

Facets

library · maturity maintenance

machine-learning deep-learning machine-learning deep-learning python forward-forward-algorithm pytorch neural-networks research-code mnist hinton algorithms

1 source

Member repositories

RepositoryRoleHealth v2
mpezeshki/pytorch_forward_forwardmain32

For agents

markdown · JSON · MCP: product_card(name="mpezeshki/pytorch_forward_forward")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem