The Cascaded Forward algorithm for neural network training

Gongpei Zhao, Tao Wang, Yi Jin, Congyan Lang, Yidong Li, Haibin Ling

TL;DR

The Cascaded Forward (CaFo) algorithm is a novel training framework that ditches backpropagation in favor of a forward-only, block-wise learning approach. By eliminating the need for the complex negative sampling required by predecessors like the Forward-Forward algorithm, CaFo achieves superior accuracy and efficiency on multi-class image classification benchmarks while moving closer to biological plausibility.

What Problem Does This Paper Address?

For decades, Backpropagation (BP) has been the engine of deep learning. However, it isn't perfect. From a computational standpoint, BP struggles with vanishing/exploding gradients and getting stuck in local minima. From a systems perspective, it requires a "white-box" understanding of the network—you must know the exact mathematical operations of every layer to calculate derivatives.

Perhaps most interestingly, BP is biologically implausible. The human brain doesn't seem to stop its "forward pass" of perception to perform a synchronized "backward pass" to update synaptic weights. Furthermore, BP requires "weight transport"—the backward path must perfectly mirror the forward path's weights—which isn't how cortical connections work.

Recent alternatives like Hinton’s Forward-Forward (FF) algorithm attempted to solve this by using two forward passes (one for "positive" real data and one for "negative" corrupted data). However, FF is computationally expensive due to the double pass and relies heavily on the quality of negative samples, which is difficult to generate for complex datasets.

Methods

The authors introduce Cascaded Forward (CaFo), a framework that trains neural networks block-by-block without a global backward pass.

Figure 2: Overall architecture of the CaFo network. It consists of cascaded neural blocks, each with its own independent predictor.

The Architecture

CaFo consists of two main components:

  1. Neural Blocks: These are standard stacks (e.g., Conv2d -> ReLU -> MaxPool -> BatchNorm) that project input features into a new space.
  2. Layer-wise Predictors: Attached to every block, these simple linear layers (plus an activation like Softmax) attempt to predict the final class labels directly from that block's intermediate features.

The Training Process

Unlike BP, which updates all layers simultaneously based on a final error, CaFo updates each block and its predictor locally:

  • Block Training: Blocks can be trained using Direct Feedback Alignment (DFA)—which uses fixed random weights for feedback—or even left with random Kaiming initialization.
  • Predictor Training: Each predictor is trained in situ to minimize the error between its local output and the ground truth labels. The authors tested three loss functions: Mean Squared Error (MSE), Cross-Entropy (CE), and Sparsemax (SL).
  • Inference: During testing, the final prediction is simply the sum of the outputs from all layer-wise predictors.

Datasets

The authors evaluated CaFo on four standard image classification benchmarks:

  • MNIST: The classic handwritten digit dataset.
  • CIFAR-10 & CIFAR-100: Natural images across 10 and 100 categories.
  • Mini-ImageNet: A more complex subset of ImageNet often used for few-shot learning, featuring 100 classes.

Key Insights and Ideas

  • No Negative Samples Needed: Unlike the Forward-Forward algorithm, CaFo directly predicts label distributions. This removes the "black art" of generating negative samples and makes the algorithm much more stable and easier to apply to multi-class problems.
  • Parallelism and Portability: Because each block and predictor can be trained independently, CaFo is a natural fit for parallel hardware. You don't have to wait for a global backward pass to finish before starting the next forward step.
  • Greedy but Effective: Even though each layer makes a "greedy" local decision, the ensemble effect of summing predictions from all layers (shallow to deep) leads to high accuracy.
  • Biological Realism: CaFo addresses the "update locking" problem. In CaFo, the first layer can start processing a new input while the second layer is still updating its weights from the previous one, mimicking the continuous stream of information in the brain.
Figure 3: Comparison of BP and various non-BP algorithms. CaFo (f) simplifies the process by using a single forward stream and local losses.

Key Results

CaFo significantly outperformed other non-BP algorithms like DFA, DRTP, and FF across the board:

  • Accuracy: On CIFAR-10, CaFo (using CE loss and DFA-trained blocks) achieved a test error of 30.52%, compared to 41.00% for the original FF algorithm.
  • Scaling to Classes: The advantage was even clearer on CIFAR-100, where CaFo achieved 57.87% error, while the reproduced FF algorithm struggled at 78.67%.
  • Efficiency: The "CaFo+MSE (rand)" variant, which uses randomly initialized blocks and a closed-form solution for predictors, trained on MNIST in just 0.62 seconds—orders of magnitude faster than BP-based or iterative non-BP methods.

Limitations and Future Work

While promising, the authors note a few hurdles:

  • The BP Gap: While CaFo beats other non-BP methods, there is still a performance gap compared to traditional end-to-end Backpropagation (e.g., 0.77% vs 1.05% error on MNIST).
  • Scalability: The experiments were conducted on relatively small networks (a few million connections). Whether CaFo can scale to massive architectures like ResNet-101 or Vision Transformers remains to be seen.
  • Fusion Strategies: Currently, CaFo just sums the predictions of all layers. The authors suggest that more sophisticated fusion strategies could further boost performance.

Summary updated

BibTeX
@article{zhao2025cascaded,
  author = {Gongpei Zhao and Tao Wang and Yi Jin and Congyan Lang and Yidong Li and Haibin Ling},
  title = {{The Cascaded Forward algorithm for neural network training}},
  journal = {Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=f1ipHNCycF},
}
Figure