Abstract
Layer-wise Feedback Propagation (LFP) is a novel training paradigm that replaces traditional gradients with "rewards" distributed via explainability techniques. By utilizing Layer-wise Relevance Propagation (LRP) to attribute credit to individual neurons, LFP enables the training of non-differentiable models, such as Spiking Neural Networks (SNNs), and naturally produces sparse, energy-efficient models that are significantly easier to prune than those trained with standard gradient descent.
Introduction: The Differentiability Tax
For decades, deep learning has been synonymous with Gradient Descent (GD). While GD is incredibly effective, it imposes a "differentiability tax": both the model architecture and the objective function must be differentiable. This requirement has become a significant bottleneck for two primary reasons:
- Hardware Efficiency: Next-generation neuromorphic hardware often utilizes Spiking Neural Networks (SNNs) with discrete, non-differentiable activations (Heaviside steps). Training these typically requires "hacks" like surrogate gradients.
- Flexible Objectives: Many real-world metrics—such as F1-score in classification or Levenshtein distance in text recognition—are non-differentiable, making them difficult to optimize directly with GD.
Existing gradient-free alternatives, such as evolutionary strategies, often struggle to scale to the massive parameter counts of modern deep learning. LFP aims to provide a scalable, efficient, and flexible alternative that works where gradients fail.
Methods: Training via Credit Assignment
LFP reimagines training as a credit-assignment problem borrowed from the field of eXplainable AI (XAI). The process follows three distinct steps:
- Forward Pass: The model processes an input and generates a prediction.
- Feedback Propagation: Instead of calculating an error gradient, the system assigns an "initial reward" to the output neurons based on performance. It then uses Layer-wise Relevance Propagation (LRP) rules to decompose this global reward into "local rewards" for every neuron and connection in the network.
- Weight Update: LFP uses a greedy, Hebbian-like update rule. If a connection contributed to a positive reward, it is strengthened; if it hindered a positive outcome, it is weakened.
While LRP is traditionally used post-training to explain decisions, LFP uses it during training to guide learning. Crucially, LFP does not require derivatives, allowing it to propagate signals through "dead" zones where gradients would normally vanish or be undefined.
Key Insights and Theoretical Foundations
- The Theoretical Bridge: The authors prove that for standard ReLU networks, LFP is mathematically equivalent to a "weight-scaled" version of gradient descent. This provides a solid theoretical foundation for why a reward-based system can converge as reliably as a gradient-based one.
- Inherent Sparsity: Unlike GD, which tends to update all weights slightly, LFP is "greedy." It only strongly updates neurons that actually contribute to the output. This results in models where many weights naturally gravitate toward zero, leading to superior prunability.
- SNN Training without "Hacks": LFP can train Spiking Neural Networks using their native, non-differentiable step functions, bypassing the need for surrogate gradients which add computational overhead and approximation errors.
Experimental Results
The authors evaluated LFP across a diverse range of tasks, including standard benchmarks (MNIST, CIFAR-10/100), medical imaging (ISIC2019), and advanced architectures like Visual Transformers (ViT).
- Competitive Accuracy: On standard tasks, LFP achieves test accuracies comparable to Gradient Descent (e.g., ~99% on MNIST, ~82-91% on various VGG/ResNet configurations).
- Superior Prunability: LFP-trained models are remarkably "hollow." In pruning experiments, LFP models could have 80-90% of their weights removed while maintaining significantly higher accuracy than GD-trained models subjected to the same pruning.
- SNN Success: In training SNNs on CIFAR-10, LFP outperformed vanilla GD and matched or exceeded the performance of specialized surrogate gradient methods.
Limitations and Future Work
Despite its promise, LFP faces several challenges. Current implementations require symmetric weights (the backward pass uses the same weights as the forward pass), which is considered biologically implausible. Additionally, if a neuron has zero activation, it receives no reward, potentially leading to "dead neurons" early in training. While LFP worked on a Transformer, it was outperformed by GD in that high-dimensional setting, suggesting that more research is needed to develop optimal propagation rules for highly non-linear components like Softmax attention layers.
Summary updated