NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning representations for binary-classification without backpropagation

Mathias LechnerICLR 2020

TL;DR

Researchers have long sought a biologically plausible alternative to backpropagation (BP) that doesn't require "weight symmetry." This paper introduces monotone Direct Feedback Alignment (mDFA), the first feedback alignment algorithm with a rigorous mathematical proof demonstrating its ability to learn. By constraining network weights to be positive, the authors show that mDFA consistently computes the correct sign of the gradient for binary classification. This allows it to match BP's performance while enabling massive parallelization.

The Biological Plausibility Problem

Deep learning relies almost entirely on backpropagation (BP) to train neural networks. However, neuroscientists point out that BP is biologically implausible for two main reasons:

  1. The Weight Transport Problem: BP requires "symmetric" connections. Artificial neurons must use the exact same weights to send signals forward as they do to send error signals backward—a mechanism not found in biological brains.
  2. Separation of Channels: BP requires a strict separation between the signals that carry forward data and the signals that carry backward errors.

Alternatives like Feedback Alignment (FA) and Direct Feedback Alignment (DFA) attempt to solve this by using fixed random matrices for the backward pass. While they work surprisingly well in practice for small tasks, they have historically lacked a solid theoretical foundation. We didn't know why they worked or if they would always converge. This paper bridges that gap by providing a provable guarantee for a novel variant of DFA.

Comparison of backward pass routing in BP, FA, DFA, and mDFA.

Enter mDFA: Methods & Architecture

The authors introduce a new architecture called a mono-net and a corresponding learning rule, mDFA.

  • The Mono-net: In a mono-net, all weights (except for the very first layer) are constrained to be positive. When combined with monotonic increasing activation functions (like tanh or sigmoid), the entire network becomes a "monotonically increasing function" of its first-layer representations.
  • Universal Approximation: You might intuitively think that restricting weights to positive values would cripple a network's expressivity. However, the authors mathematically prove that mono-nets remain Universal Approximators—they can represent any continuous function, though they might require more neurons than a standard unconstrained network.
  • mDFA Algorithm: This method builds on the DFA approach, where the error from the output layer is fed directly to every hidden layer through a fixed random matrix. In mDFA, these random feedback matrices are also constrained to be strictly positive.

Datasets

The authors evaluated their approach on several standard benchmarks, modified for different levels of difficulty:

  • Binarized CIFAR-100: Pairs of classes were randomly sampled to create 1-vs-1 classification tasks.
  • Binarized ImageNet: Similar to the CIFAR setup, but using the much higher-resolution and more complex ImageNet dataset.
  • n-Class CIFAR-100 & ImageNet: To test the limits of their theory, they scaled the tasks up to 50 classes.

Key Insights

  • Sign Matters More Than Magnitude: The core "aha moment" of the paper is that for a learning algorithm to successfully optimize a network, it doesn't necessarily need the exact gradient magnitude; it just needs to know which direction to move the weights (the correct sign).
  • Monotonicity Preserves the Sign: Because the mono-net is monotonically increasing, a positive change at an early layer will always result in a non-negative change at the output. This ensures that a positive feedback signal will always point the weight update in a direction that reduces the overall error.
  • Parallelism: Unlike BP, which is inherently sequential (a layer must wait for the layer above it to finish calculating its error before it can update), mDFA allows all layers to update their weights simultaneously as soon as the output error is known. This could drastically reduce training latency on specialized hardware.

Results

  • Matching Backprop: In binary classification tasks—where the mathematical theory holds most strongly—mDFA matched both the training and test accuracy of standard Backpropagation on CIFAR-100 and ImageNet.
  • Outperforming FA/DFA: mDFA significantly outperformed standard Feedback Alignment and Direct Feedback Alignment in these binary tasks.
  • The "ReLU" Surprise: Interestingly, mDFA performed poorly with ReLU activations. The authors found that symmetric/bipolar activations (like tanh or hard-tanh) are crucial for feedback alignment algorithms to thrive.
  • Scaling Limits: As the number of output neurons (classes) increased, mDFA's performance began to degrade compared to BP. This confirms that the "scalar output" requirement central to their mathematical proof is a significant practical factor.

Limitations and Future Work

The primary limitation of mDFA is the scalar output constraint. The mathematical proof only guarantees the correct gradient sign when the network has a single output neuron (i.e., binary classification). While the network still performs decently on multi-class problems with a small number of categories, it falls behind BP as the output dimension grows.

Future Work: * Developing a more general theory that covers multi-dimensional outputs to close the gap with BP on large-scale multi-class tasks. * Exploring specialized hardware (like neuromorphic chips) that can natively take advantage of the parallel weight updates offered by mDFA. * Investigating better initialization schemes for positive-weight networks to further improve generalization.

Summary updated

BibTeX
@inproceedings{lechner2020learning,
  author = {Mathias Lechner},
  title = {{Learning representations for binary-classification without backpropagation}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
}
Figure