All models

CaFo

A three-block convolutional cascade whose per-block predictors are trained without backpropagation.

Image classification · 25 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (31 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
875.3K
Operations
25
Framework
PyTorch
Recurrent
No
Published
Pattern Recognition (arXiv 2023)
Cited by
22 (as of 29 October 2026)
Authors
Gongpei Zhao, Tao Wang, Yidong Li and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15216
Graph hash
36f1cb7079908d7caaee6ed025b6224fa9bd66f47d5e39fd04ec12d5c175c213
Skeleton hash
c514494173a3cde93f4cb1a24ebcd67313550bd2ad994f1ec9d4dfebddf219e5
Architecture hash
966e2f77b38a7e26a805e0fad38f87f706d93db0494481e9a62557dee88e083a
Diagram SHA-256
6f5aba22d7971ab41d05fbe212ac956ecabe0d3b02aed20dbe25e4f8c1949589
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

CaFo, short for Cascaded Forward, is a learning framework for neural networks that does not rely on backpropagation. Its point of comparison is the Forward-Forward (FF) algorithm, which the paper calls one of the most well-known alternatives to backpropagation. Unlike FF, CaFo directly outputs a label distribution at each block, so it does not need additional negative samples.

The network is a cascade of neural blocks with a layer-wise predictor attached to each block. In the paper's experiments there are three blocks, each a convolutional layer followed by a ReLU activation, a max-pooling layer and a batch normalization layer. The three convolutional layers have 32, 128 and 512 output channels. Each predictor has only one fully connected layer, which is why it can be trained in place without backpropagation. At inference the predictions of all predictors are summed and the index of the maximum value is the predicted class.

Because each block can be trained independently, the paper notes that the method can be deployed on parallel acceleration systems. The paper evaluates CaFo on four public image classification benchmarks. With the mean square error loss, the setting of this model, each predictor is a fully connected layer alone; the cross entropy and sparsemax variants add an activation layer.

Key idea. Unlike Forward-Forward, CaFo directly outputs a label distribution at each cascaded block, so its training needs no additional negative samples.

  • CaFo
  • Cascaded Forward
  • Cascaded Forward algorithm
  • learning without backpropagation
  • backpropagation-free learning
  • alternative to backpropagation
  • layer-wise predictor
  • image classification

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhao2023cascadedforwardalgorithmneural,
      title={The Cascaded Forward Algorithm for Neural Network Training}, 
      author={Gongpei Zhao and Tao Wang and Yidong Li and Yi Jin and Congyan Lang and Haibin Ling},
      year={2023},
      eprint={2303.09728},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2303.09728}, 
}