Energy-Efficient Supervised Learning with a Binary Stochastic Forward-Forward Algorithm

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jaiswal, Risi, Datta, Supriyo, Makin, Joseph G.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911046895140864
author Jaiswal, Risi
Datta, Supriyo
Makin, Joseph G.
author_facet Jaiswal, Risi
Datta, Supriyo
Makin, Joseph G.
contents Reducing energy consumption has become a pressing need for modern machine learning, which has achieved many of its most impressive results by scaling to larger and more energy-consumptive neural networks. Unfortunately, the main algorithm for training such networks, backpropagation, poses significant challenges for custom hardware accelerators, due to both its serial dependencies and the memory footprint needed to store forward activations for the backward pass. Alternatives to backprop, although less effective, do exist; here the main computational bottleneck becomes matrix multiplication. In this study, we derive forward-forward algorithms for binary, stochastic units. Binarization of the activations transforms matrix multiplications into indexing operations, which can be executed efficiently in hardware. Stochasticity, combined with tied weights across units with different biases, bypasses the information bottleneck imposed by binary units. Furthermore, although slow and expensive in traditional hardware, binary sampling that is very fast can be implemented cheaply with p-bits (probabilistic bits), novel devices made up of unstable magnets. We evaluate our proposed algorithms on the MNIST, Fashion-MNIST, and CIFAR-10 datasets, showing that its performance is close to real-valued forward-forward, but with an estimated energy savings of about one order of magnitude.
format Preprint
id arxiv_https___arxiv_org_abs_2507_06461
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Energy-Efficient Supervised Learning with a Binary Stochastic Forward-Forward Algorithm
Jaiswal, Risi
Datta, Supriyo
Makin, Joseph G.
Machine Learning
Neural and Evolutionary Computing
Reducing energy consumption has become a pressing need for modern machine learning, which has achieved many of its most impressive results by scaling to larger and more energy-consumptive neural networks. Unfortunately, the main algorithm for training such networks, backpropagation, poses significant challenges for custom hardware accelerators, due to both its serial dependencies and the memory footprint needed to store forward activations for the backward pass. Alternatives to backprop, although less effective, do exist; here the main computational bottleneck becomes matrix multiplication. In this study, we derive forward-forward algorithms for binary, stochastic units. Binarization of the activations transforms matrix multiplications into indexing operations, which can be executed efficiently in hardware. Stochasticity, combined with tied weights across units with different biases, bypasses the information bottleneck imposed by binary units. Furthermore, although slow and expensive in traditional hardware, binary sampling that is very fast can be implemented cheaply with p-bits (probabilistic bits), novel devices made up of unstable magnets. We evaluate our proposed algorithms on the MNIST, Fashion-MNIST, and CIFAR-10 datasets, showing that its performance is close to real-valued forward-forward, but with an estimated energy savings of about one order of magnitude.
title Energy-Efficient Supervised Learning with a Binary Stochastic Forward-Forward Algorithm
topic Machine Learning
Neural and Evolutionary Computing
url https://arxiv.org/abs/2507.06461