Introduction
Recurrent Neural Networks (RNNs) are essential for modeling sequential data, yet training them with standard Back-Propagation (BP) is notoriously difficult. As sequences grow longer, the "vanishing and exploding gradient" problem often prevents the model from learning long-range dependencies. While Target Propagation (TP) has been proposed as a biologically plausible alternative—propagating "virtual targets" instead of gradients—previous iterations were often computationally expensive and theoretically heuristic, relying on auxiliary networks to learn layer inverses.
This paper introduces Target Propagation via Regularized Inversion (TP-RI), a simplified, mathematically grounded version of TP. By replacing learned inverses with regularized analytical inversions, the authors provide an algorithm that is easier to analyze and capable of outperforming BP on tasks involving very long sequences.
Methodology: From Gradients to Targets
The core innovation of TP-RI lies in how it handles the backward pass. In standard Gradient Back-Propagation, the error signal is propagated using the Jacobian of the forward mapping. In contrast, Target Propagation attempts to find a target in the input space that would have produced the desired output.
TP-RI achieves this through three key steps:
- Analytical Inversion: Instead of auxiliary networks, it uses a closed-form mathematical expression (a regularized pseudo-inverse) for linear layers with activation functions.
- Linearization: It uses the Jacobian of this analytical inverse to propagate targets backward, allowing for easy implementation in differentiable programming frameworks.
- Regularization as Noise: The authors demonstrate that adding a regularization term to the matrix inversion is mathematically equivalent to the "noise injection" used in older TP variants, providing a formal justification for stabilizing training.
Application to Recurrent Architectures
In an RNN, the challenge is propagating these targets across many time steps. TP-RI linearizes the inverse mapping at each step of the unrolled network.
As illustrated above, the forward pass (blue) generates hidden states $h_t$. The backward pass (purple/red) propagates targets $\lambda_t$ using the regularized inverse Jacobian $\partial_h f^{\dagger \top}$. A significant finding of this work is that because weights are shared across time steps in an RNN, the matrix inverse only needs to be computed once per mini-batch. This ensures that for long sequences, the theoretical computational complexity of TP-RI is nearly identical to that of BP.
Key Insights and Results
- The Gauss-Newton Connection: The paper reinforces that TP is closely related to Gauss-Newton optimization. While BP follows the steepest descent, TP attempts to find a more direct path by accounting for the curvature of the loss surface.
- Superiority on Long Sequences: On the "Temporal Order" task (length $T=120$), TP-RI reached 100% accuracy in significantly fewer iterations than BP, which often failed to converge.
- Competitive Performance: On sequential image classification tasks like MNIST and CIFAR10 (where images are fed pixel-by-pixel), TP-RI achieved performance competitive with or superior to BP.
- Stability: The regularization parameter acts as a "trust region," ensuring that the backward-propagated targets remain useful and preventing the divergence often seen in second-order optimization methods.
Conclusion and Future Work
TP-RI demonstrates that target propagation is a viable, mathematically sound alternative to back-propagation for RNNs. While current implementations are slower than highly optimized BP kernels, the theoretical complexity is competitive. Future work includes scaling this logic to wider layers and attention mechanisms, and developing custom GPU kernels to bridge the implementation gap.
Summary updated