Abstract
Backpropagation (BP) remains the dominant and most successful method for training parameters of deep neural network models. However, BP relies on two computationally distinct phases, does not provide a satisfactory explanation of biological learning, and can be challenging to apply for training of networks with discontinuities or noisy node dynamics. By comparison, node perturbation (NP), also known as activity-perturbed forward gradients, proposes learning by the injection of noise into network activations, and subsequent measurement of the induced loss change. NP relies on two forward (inference) passes, does not make use of network derivatives, and has been proposed as a model for learning in biological systems. However, standard NP is highly data inefficient and can be unstable due to its unguided noise-based search process. In this work, we develop a modern perspective on NP by relating it to the directional derivative and incorporating input decorrelation. We find that a closer alignment with directional derivatives together with input decorrelation at every layer theoretically and practically enhances performance of NP learning with large improvements in parameter convergence and much higher performance on the test data, approaching that of BP. Furthermore, our novel formulation allows for application to noisy systems in which the noise process itself is inaccessible, which is of particular interest for on-chip learning in neuromorphic systems.
Introduction
Backpropagation (BP) is the cornerstone of modern deep learning, yet it faces significant criticism regarding its biological plausibility and its implementation on specialized hardware. BP requires a computationally distinct backward phase and relies on non-local information, making it difficult to deploy on noisy neuromorphic hardware or to use as a model for biological synaptic updates.
Node Perturbation (NP) offers a compelling alternative. By injecting random noise into network activations during a forward pass and measuring the resulting change in global loss, NP estimates gradients without needing a backward pass or explicit derivatives. Despite its elegance, standard NP has historically suffered from extreme data inefficiency and instability, particularly as networks grow deeper. This research revitalizes NP by grounding it in directional derivatives and introducing layer-wise input decorrelation, bridging the performance gap between forward-only learning and backpropagation.
Refined Node Perturbation Methods
To address the limitations of standard NP, the authors propose three primary algorithmic enhancements:
1. Iterative Node Perturbation (INP)
Standard NP perturbs the entire network simultaneously, which introduces significant variance. INP instead perturbs one layer at a time. This isolation allows the algorithm to capture the exact directional derivative for each specific layer. While this requires a separate forward pass for every layer ($L+1$ passes), it ensures the weight updates are highly aligned with the true BP gradient.
2. Activity-based Node Perturbation (ANP)
To improve efficiency, ANP perturbs all layers simultaneously but changes how updates are calculated. Rather than using the raw injected noise vector, ANP uses the difference in activations between the clean and noisy passes. This approach accounts for the cascading effects of noise as it propagates through the network, effectively filtering out the interference caused by perturbations in preceding layers.
3. Input Decorrelation
A primary reason NP fails in deep networks is that correlated input features confound credit assignment. The authors introduce a trainable decorrelation matrix at each layer to "whiten" the inputs. This process de-biases the learning signal and aligns it more closely with the natural gradient. The resulting variants—DNP, DINP, and DANP—demonstrate significantly improved stability and convergence speeds.
Experimental Results
The proposed methods were evaluated across synthetic data, image classification (CIFAR-10, Tiny ImageNet), and robotics regression (SARCOS).
- Gradient Alignment: Synthetic tests confirmed that INP provides the best alignment with the true BP gradient, with ANP following closely. Standard NP lagged significantly, explaining its historical underperformance.
- CIFAR-10: In a 3-hidden-layer fully connected network, standard NP achieved only 28.1% accuracy. The introduction of decorrelation (DNP) boosted this to 42.1%. The advanced DINP and DANP methods reached 46.3% and 44.4% respectively, nearing the BP baseline of 51.5%.
- Scaling to Tiny ImageNet: On this more complex 200-class dataset, standard DNP failed (7.5% accuracy). However, by utilizing noise resampling (taking multiple noisy forward passes per update), DINP reached 13.4% and DANP reached 12.0%, approaching the BP performance of 14.5%.
- Robotics Regression: On the SARCOS dataset, DANP achieved a test loss of 9.79, proving highly competitive with BP’s 9.48 and demonstrating the method's utility beyond classification.
Discussion and Implications
A significant finding of this work is that DANP can learn effectively even when a noiseless "clean" pass is impossible. By comparing two different noisy passes, the algorithm can still estimate the gradient. This makes it an ideal candidate for analog or neuromorphic hardware where intrinsic thermal or electrical noise is a permanent fixture of the system.
Furthermore, the success of input decorrelation suggests a potential biological parallel. In the visual cortex, lateral inhibition serves a similar function to whitening, potentially enabling biological systems to utilize perturbation-based learning more effectively than previously thought.
Limitations and Future Work
While these methods close the gap with BP, they introduce new trade-offs. Decorrelation matrices add computational overhead, and INP’s scaling with layer depth ($L+1$) can be restrictive. Additionally, achieving BP-level accuracy on complex tasks like Tiny ImageNet requires expensive noise resampling. Future research will focus on applying these techniques to more complex architectures like ResNets and Transformers, and exploring their application in reinforcement learning where non-differentiable environments are common.
Summary updated