arrow
Return

Advancing the forward-forward algorithm towards high-performance deep local learning

delete2026-02-24
delete0
PRE
AI
S
Siyuan Xu
Y
Yujie Wu
J
Jibin Wu
邓磊 (Lei Deng)
徐梦倩 (Mingkun Xu)
Q
Qinghao Wen
G
Guoqi Li
DOI:10.1016/j.neunet.2026.108765delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The Forward-Forward (FF) algorithm was recently proposed as a local learning method to address the limitations of backpropagation (BP), offering a memory-efficient and highly parallelizable alternative. However, it suffers from suboptimal performance and poor generalization in many complex tasks largely due to the lack of effective learning strategies. In this work, we reformulate FF using distance metric learning and propose a distance-forward algorithm (DF) to improve FF performance in supervised learning tasks while preserving its advantageous local computational properties. To achieve this, we reinterpret FF through the lens of centroid-based metric learning and develop a goodness-based N-pair margin loss to facilitate the learning of discriminative features. Furthermore, we integrate layer-collaboration local update strategies to reduce information loss caused by greedy local parameter updates. Finally, we extend our methods to spiking neural networks (SNNs) by developing an effective goodness function for temporal spike sequences, facilitating efficient event-driven implementation on neuromorphic hardware. Our comprehensive evaluation on eight datasets demonstrates that the proposed method surpasses existing FF models and other local learning approaches. Particularly, our DF methods require less than 40% of the memory cost compared to BP training, while exhibiting stronger robustness to multiple types of hardware-related noise. Overall, the proposed method provides an efficient and robust local learning solution, which potentially inspires future FF algorithm designs and prompts applications on many-core hardware architectures.
Keywords:
Forward-Forward algorithm
distance metric learning
local learning
spiking neural networks
N-pair margin loss

Journal

Neural Networks cover
Neural Networks
IF:
6.3
Papers:
7.8K
Citations:
3.0W

Organization

T
Tsinghua University
Scholars:
8.6K
Papers: 4.1K
Citations: 17.7W
H
Hong Kong Polytechnic University
Scholars:
985
Papers: 557
Citations: 0
C
Chinese Academy of Sciences
Scholars:
3.9W
Papers: 1.5W
Citations: 58.4W
researcher View more organizations