Target Propagation via Regularized Inversion

Vincent Roulet, Zaïd Harchaoui

Abstract

Gradient Back-propagation (BP) remains the cornerstone of neural network training but suffers from the well-documented vanishing and exploding gradient problem, particularly in deep architectures and Recurrent Neural Networks (RNNs). This paper, "Target Propagation via Regularized Inversion" by Vincent Roulet and Zaid Harchaoui, introduces a mathematically grounded alternative. By framing Target Propagation (TP) through the lens of regularized optimization and variational inversion, the authors provide a method that effectively handles long-range dependencies. Their approach achieves superior performance on long-sequence tasks compared to standard BP while maintaining comparable computational complexity.

Introduction

The dominant method for training neural networks, Gradient Back-propagation, has a fundamental weakness: in deep networks or RNNs processing long sequences, gradients are multiplied repeatedly. This often leads to vanishing gradients, where the signal shrinks to zero, or exploding gradients, where it grows uncontrollably. Target Propagation (TP) was originally proposed as a perturbative alternative that sends "virtual targets"—values intermediate layers should have produced—backward through the network. However, early versions of TP were often unstable or required complex, separately learned "reverse layers."

Methodology: Regularized Inversion

The authors propose a simplified and theoretically robust version of TP grounded in Regularized Inversion. Instead of learning a separate inverse mapping, they define the inverse of a layer as the solution to a least-squares problem: finding the input that produces an output closest to the desired target.

Comparison of Gradient Back-Propagation and Target Propagation conceptual flows.

To ensure numerical stability, especially for non-invertible matrices common in neural networks, a regularization term ($rI$) is added. This ensures the inversion is well-conditioned. Furthermore, the authors utilize a first-order Taylor expansion to propagate targets, interpreting their method as a precise, first-order version of "Difference Target Propagation."

Application to Recurrent Neural Networks

A significant contribution of this work is the efficient application of TP to RNNs. In standard BP, the computational cost scales linearly with sequence length. The authors demonstrate that for RNNs, the most expensive part of the inversion—inverting a $p \times p$ matrix—only needs to occur once per training step, regardless of the sequence length. This amortization makes the time complexity of their TP approach roughly equal to standard BP for long sequences.

Computational graph for training a Recurrent Neural Network using Target Propagation.

As shown in the architecture above, virtual targets $\lambda_t$ are propagated through regularized inverse layers $\partial_h f^{-1 \top}$ to update the hidden states and parameters. The authors also provide a theoretical link showing that TP can be viewed as an approximate Gauss-Newton method, explaining its ability to find better descent directions in complex loss landscapes.

Experimental Results

The researchers evaluated their method on several benchmarks designed to test long-range memory:

  • Synthetic Tasks: On the "Temporal Order Problem" with a sequence length of 120, TP reached 100% accuracy in fewer than 40,000 iterations, whereas standard BP failed to learn the task entirely.
  • Pixel-by-Pixel Image Classification: In tasks where images (MNIST, CIFAR10) are flattened into long sequences, TP significantly outperformed BP. For pixel-by-pixel MNIST, TP achieved approximately 74% accuracy compared to BP's 25% on the same architecture. When pixels were permuted to increase difficulty, TP's advantage persisted, reaching ~86% accuracy.
  • Modern Architectures: The method was successfully extended to Gated Recurrent Units (GRUs) on FashionMNIST, demonstrating its compatibility with modern gated architectures.

Conclusion and Future Work

The study highlights that regularization is mandatory for the convergence of target propagation; without a non-zero regularization term, the algorithm fails to provide a useful signal. While the current implementation requires manual tuning of hyperparameters like the target step size and regularization parameter, it proves to be a practical and powerful tool for modeling very long sequences where traditional backpropagation fails. Future work may involve implementing adaptive step-size strategies, such as Adam, tailored for the descent directions generated by regularized target propagation.

Summary updated

BibTeX
@article{roulet2023target,
  author = {Vincent Roulet and Zaïd Harchaoui},
  title = {{Target Propagation via Regularized Inversion}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2023},
}
Figure