cs.CVMay 24, 2026

HCL-FF: Hierarchical and Contrastive Learning for Forward-Forward Algorithm

Authors: Jie-En YaoHong-En ChenC. -C. Jay Kuo

Organizations: University of Southern California

Abstract

Deep neural networks trained with backpropagation have achieved outstanding performance in vision tasks but remain biologically implausible, computationally demanding, and difficult to interpret. The Forward-Forward (FF) algorithm offers a promising alternative by training each layer independently through local goodness objectives. However, its purely local optimization lacks hierarchical coordination across layers, and the decoupling of goodness from features leaves the representations unconstrained and semantically ambiguous. We propose a Hierarchical and Contrastive Learning FF framework (HCL-FF) to address these limitations. HCL-FF introduces (1) a coarse-to-fine hierarchical learning strategy that guides representations from low-level cues to high-level semantics, and (2) a supervised contrastive objective that enforces class-discriminative alignment after goodness decoupling. Experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet demonstrate that HCL-FF achieves new state-of-the-art performance among FF-based methods, with notable accuracy gains of +5.46%, +17.00%, and +12.51%, respectively.

Explore similar work

CardsList
  1. FFR: Forward-Forward Learning for Regression

    Jun 2, 2026Xinyang Liu, Xuanyu Liang, Shiqi Ding +4BackpropagationSingle Forward Pass