Feed 0% source
AI/ML AI-generated

FFR: Forward-Forward Learning for Regression

Generated by a local model (nvidia/Gemma-4-26B-A4B-NVFP4) from a scientific paper, claim-checked against the full text. Provenance is open by design.

Most AI learns by looking backward at its mistakes. This process, called backpropagation (BP), is the industry standard. However, BP requires storing every intermediate activation (the output of each layer) to calculate gradients. This creates a memory footprint that scales linearly with network depth. A new paper proposes FFR (Forward-Forward for Regression). This method learns by only looking forward. It is faster and lighter for devices like smartwatches or industrial sensors. It remains almost as accurate as traditional methods.

The Problem

The status quo is backpropagation. While effective, BP has structural flaws for edge hardware. First, it suffers from "update locking." This means no layer can update its weights until the full cycle is complete. Second, it requires storing all intermediate activations. This essentially freezes the network's activity until the backward pass consumes them.

Existing attempts to move away from BP, specifically the Forward-Forward (FF) algorithm, struggle with regression. As shown in [Figure 1(b)], FF was designed for classification using contrastive pairs. These consist of a "positive" real data sample and a "negative" corrupted sample. In a continuous regression space, there is no natural "opposite" for a target value. Furthermore, the standard FF "goodness" function lacks awareness of target magnitude or numerical ordering. This leads to "representation collapse." In this state, layers become redundant, greedy point estimators that fail to capture complexity .

Figure 5
Figure 5. Per-layer training loss curves on the two synthetic tasks. −1.0 −0.5 0.0 0.5 1.0 α −1.00 −0.75 −0.50 −0.25 0.00 0.25 0.50 0.75 1.00 β FF-MSE −1.0 −0.5 0.0 0.5 1.0 α −1.00 −0.75 −0.50 −0.25 0.00 0.25 0.50 0.75 1.00 FF-CLF −1.0 −0.5 0.0 0.5 1.0 α −1.00 −0.75 −0.50 −0.25 0.00 0.25 0.50 0.75 1.00 FFR

How It Works

FFR solves the regression problem by using internal competition. The architecture relies on a "stratified ladder" structure .

Figure 2
Figure 2. FFR framework. Stratified ladder architecture is trained with ordinal competitive goodness function, then ensembled into ˆy with prediction uncertainty.
  1. Ordinal Competitive Goodness: FFR replaces contrastive pairs with intra-layer competition. It partitions a layer's neurons into $K$ disjoint groups. Each group competes to represent a specific region of the target range. To respect numerical order, the authors use a "distance-aware ordinal soft label." This creates a Gaussian-shaped target distribution around the true value $y$. Neurons representing values close to the target receive more reinforcement.

  2. Stratified Ladder Architecture: To prevent representation collapse, the authors vary group granularity across the network. Shallow layers use a few wide bins to capture coarse trends. Deeper layers increase the number of groups to refine fine-grained details. This "coarse-to-fine" progression is stabilized by group-wise normalization (adjusting activations within each group). This ensures each group maintains a comparable activation range.

  3. Hierarchical Prediction: The ladder architecture produces ordinal distributions at every layer. The model aggregates these multi-scale outputs into a final prediction. A terminal regression head uses the concatenated "goodness" scores from all layers. This produces a continuous estimate.

This remains a "forward-only" system. Each layer optimizes its own local objective independently. The model can update weights as soon as the forward pass reaches that layer. This bypasses the serial bottleneck of backpropagation.

Numbers

The authors report that FFR recovers, on average, 98.6% of the accuracy achieved by backpropagation. This metric is calculated as the mean ratio of BP-UR error to FFR error across five benchmarks. While BP remains the gold standard for accuracy, the efficiency gains are significant.

On the KonIQ-10k benchmark, FFR's peak training memory is remarkably low. At a depth of 8, FFR uses only 27% of the memory required by BP. At a depth of 32, that requirement drops to just 8% .

Figure 3
Figure 3. Scaling of peak training memory and per-iteration training time for FFR vs. BP on the KonIQ-10k dataset with a CNN backbone as depth grows. FFR’s memory stays flat in depth while BP’s grows linearly, and per-iteration compute is reduced relative to BP.

This means you can train much deeper networks on hardware with limited RAM. Regarding throughput, the per-iteration training time for FFR is approximately 72% of BP's . This reduction comes from skipping the input-gradient chain.

The hierarchical architecture also provides "prediction uncertainty as a free lunch." The model generates a confidence interval by measuring the dispersion among layer-wise predictors. This happens without expensive Bayesian approximations. As visualized in, the uncertainty bands widen where errors are higher.

Figure 4
Figure 4. FFR’s predicted mean (dashed) and 1σ/2σ/3σ uncertainty bands against the ground-truth target (solid), with samples sorted by target. Bands widen where errors are larger.

This provides a direct signal for detecting out-of-distribution samples.

What's Missing

There are gaps that a practitioner should consider. First, the paper focuses on standard floating-point precision. The primary selling point of FFR is suitability for edge hardware. However, the authors have not explored how this interacts with quantization-aware training (training models to be resilient to low-bit precision). If the competition logic is sensitive to precision loss, the memory gains might be harder to realize.

Second, the "biological plausibility" argument remains largely theoretical. While FFR avoids the weight-transport problem, it has not been demonstrated on actual neuromorphic hardware (chips designed to mimic biological neurons). It has not been tested on analog circuits or optical neural networks. We cannot be certain it captures the full efficiency potential of non-digital substrates.

Finally, scalability to extremely large-scale models is unaddressed. The experiments focus on MLPs (multi-layer perceptrons) and CNNs (convolutional neural networks). It is unclear if the stratified ladder architecture can maintain its advantage when scaled to billions of parameters.

Should You Prototype This

Yes, if you are targeting the edge.

If your roadmap involves regression models on microcontrollers or IoT gateways, FFR is worth a prototype. RAM is often the primary constraint in these environments. The ability to achieve near-BP accuracy while slashing peak memory by over 90% is a major win. However, if you work on high-end GPU clusters, stick with backpropagation. The accuracy delta and implementation complexity likely won't justify the switch. Code is reportedly available; see the paper for the canonical link.

Figures from the paper

Figure 1
Figure 1. Overview of FFR. (a) FFR framework and regression applications. (b) The gap between FF and regression. (c) Learning efficiency of FFR against BP on KonIQ-10k [12]: peak memory measured at depth 8 and depth 32, and per-iteration training time measured at depth 8.
Novelty
0.0/10
Overall
0.0/10
#forward-forward#regression#local learning#biologically plausible#edge AI
How this was made
Generation

Model: nvidia/Gemma-4-26B-A4B-NVFP4
Persona: habr_engineer
Refinement: 0
Pipeline: forge-1.0

Verification

Evaluator: nvidia/Gemma-4-26B-A4B-NVFP4
Score: 0% (failed)
Claims verified: 15 / 15

Translation

Model: nvidia/Gemma-4-26B-A4B-NVFP4

Hardware & cost

NVIDIA GB10 · 128 GB unified · NVFP4 · 100% local · $0 cloud
Tokens: 100,981
Wall-time: 403.1s
Tokens/s: 250.5

Next up

Current Video Quality Models Fail to Accurately Assess Diffusion-Based Super-...

8.3/10· 4 min