Skip to main content
QUICK REVIEW

[Paper Review] Reviving and Improving Recurrent Back-Propagation

Renjie Liao, Yuwen Xiong|arXiv (Cornell University)|Mar 16, 2018
Advanced Graph Neural NetworksComputer Science30 citations
TL;DR

This paper revives and improves Recurrent Back-Propagation (RBP) by introducing Neumann-RBP, a differentiable, stable, and efficient alternative to traditional backpropagation through time (BPTT) for recurrent networks. It leverages the Neumann series to approximate gradients via iterative matrix-vector products, achieving convergence comparable to BPTT while avoiding the instability of standard RBP, as validated on continuous Hopfield networks and citation networks with state-of-the-art performance.

ABSTRACT

In this paper, we revisit the recurrent back-propagation (RBP) algorithm, discuss the conditions under which it applies as well as how to satisfy them in deep neural networks. We show that RBP can be unstable and propose two variants based on conjugate gradient on the normal equations (CG-RBP) and Neumann series (Neumann-RBP). We further investigate the relationship between Neumann-RBP and back propagation through time (BPTT) and its truncated version (TBPTT). Our Neumann-RBP has the same time complexity as TBPTT but only requires constant memory, whereas TBPTT's memory cost scales linearly with the number of truncation steps. We examine all RBP variants along with BPTT and TBPTT in three different application domains: associative memory with continuous Hopfield networks, document classification in citation networks using graph neural networks and hyperparameter optimization for fully connected networks. All experiments demonstrate that RBPs, especially the Neumann-RBP variant, are efficient and effective for optimizing convergent recurrent neural networks. Code is released at: \url{https://github.com/lrjconan/RBP}.

Motivation & Objective

  • To address the instability and convergence issues of standard Recurrent Back-Propagation (RBP) in training recurrent neural networks.
  • To develop a differentiable, stable, and efficient alternative to BPTT that avoids the computational burden of full backpropagation through time.
  • To formalize the theoretical conditions under which RBP and Neumann-RBP are equivalent to BPTT using implicit function theorem and Neumann series convergence.
  • To empirically validate the proposed Neumann-RBP method on associative memory tasks and citation network classification, demonstrating superior stability and accuracy.

Proposed method

  • Proposes Neumann-RBP as a differentiable approximation of RBP using the Neumann series expansion of the inverse Jacobian, enabling stable gradient computation.
  • Derives equivalence between Neumann-RBP and BPTT under the condition that the Neumann series ∑t=0∞JF,h∗t converges.
  • Introduces two optimization strategies: maximizing the lower bound of the smallest eigenvalue of (I−JF,h∗)⊤(I−JF,h∗) via regularization, and directly differentiating through the Lanczos algorithm to compute the smallest eigenvalue.
  • Employs a simple PyTorch-based implementation of Neumann-RBP using auto-differentiation, requiring fewer than 10 lines of code.
  • Truncates the Neumann series at K steps to approximate K-step TBPTT, enabling efficient training with reduced memory and computation.
  • Validates the method on continuous Hopfield networks and citation networks using SGD with momentum, comparing against BPTT, TBPTT, RBP, CG-RBP, and ARTBP.

Experimental results

Research questions

  • RQ1Under what conditions is Neumann-RBP equivalent to BPTT in recurrent networks with steady-state dynamics?
  • RQ2How can the stability of RBP be improved by ensuring the smallest eigenvalue of (I−JF,h∗)⊤(I−JF,h∗) is bounded away from zero?
  • RQ3Can Neumann-RBP achieve comparable performance to BPTT while avoiding the computational cost of full backpropagation through time?
  • RQ4How does Neumann-RBP compare to existing RBP variants like CG-RBP and ARTBP in terms of convergence and accuracy on real-world sequence modeling tasks?
  • RQ5What is the impact of truncation length on the performance of Neumann-RBP in long-sequence learning?

Key findings

  • Neumann-RBP achieves 100% success rate on the continuous Hopfield network task with 30-step truncation, while standard RBP fails until 30 steps, demonstrating superior stability.
  • On the Cora citation network, Neumann-RBP achieves a test accuracy of 46.63±8.3%, outperforming BPTT (24.48±6.6%) and RBP (29.25±3.3%), and matching TBPTT (46.55±6.4%) with better stability.
  • Neumann-RBP matches TBPTT performance on Cora and Pubmed datasets, achieving 46.63±8.3% and 42.22±7.1% respectively, outperforming ARTBP variants.
  • The method successfully recovers the full gradient via Neumann series when the spectral radius of JF,h∗ is less than 1, ensuring theoretical equivalence to BPTT.
  • The implementation is highly efficient, requiring under 10 lines of PyTorch code, and enables differentiable, stable training without backpropagating through the entire sequence.
  • Neumann-RBP maintains high performance even with unstable or corrupted initializations, as shown in 100 trials with random corruptions, confirming robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.