Skip to main content
QUICK REVIEW

[Paper Review] Path-Normalized Optimization of Recurrent Neural Networks with ReLU Activations

Behnam Neyshabur, Yuhuai Wu|arXiv (Cornell University)|May 23, 2016
Topic ModelingComputer Science12 references16 citations
TL;DR

This paper proposes Path-SGD, a geometry-aware optimization method for recurrent neural networks (RNNs) with ReLU activations, by adapting path-normalization from feedforward networks to shared-weight RNN architectures. It demonstrates that Path-SGD significantly improves training stability and performance on long sequence tasks, achieving 0% error on 750-length addition sequences where standard SGD and even LSTMs fail, and reducing the performance gap between plain RNNs and LSTMs by over 50% on language modeling benchmarks.

ABSTRACT

We investigate the parameter-space geometry of recurrent neural networks (RNNs), and develop an adaptation of path-SGD optimization method, attuned to this geometry, that can learn plain RNNs with ReLU activations. On several datasets that require capturing long-term dependency structure, we show that path-SGD can significantly improve trainability of ReLU RNNs compared to RNNs trained with SGD, even with various recently suggested initialization schemes.

Motivation & Objective

  • Address the poor trainability of plain RNNs with ReLU activations due to vanishing or exploding gradients.
  • Understand the parameter-space geometry of RNNs as a subclass of feedforward networks with shared weights.
  • Develop an optimization method tailored to this geometry to improve convergence and generalization.
  • Demonstrate that better optimization can outperform architectural complexity (e.g., LSTMs) for long-term dependency tasks.
  • Enable practical deployment of simple, low-complexity RNNs in resource-constrained environments like mobile platforms.

Proposed method

  • Formalize RNNs as feedforward networks with shared weights using a directed acyclic graph (G) and parameter-sharing mapping (π).
  • Adapt the path-norm from feedforward networks to RNNs, defining a geometry that respects weight sharing and scale invariance.
  • Derive Path-SGD as steepest descent under the path-norm, updating parameters via gradient descent on the path-norm-regularized loss.
  • Use the path-norm to normalize gradients, reducing sensitivity to weight scale and stabilizing optimization dynamics.
  • Combine Path-SGD with Adam optimizer for faster convergence on large-scale language modeling tasks.
  • Apply the method to synthetic tasks (addition problem) and real-world benchmarks (PTB, text8) with ablation against standard SGD and LSTMs.

Experimental results

Research questions

  • RQ1How does the parameter-space geometry of RNNs differ from standard feedforward networks due to weight sharing?
  • RQ2Can path-normalization, effective in feedforward networks, be extended to RNNs with shared weights to improve optimization?
  • RQ3Does Path-SGD improve training stability and performance of ReLU RNNs on long sequence tasks compared to standard SGD and initialization schemes?
  • RQ4To what extent can Path-SGD close the performance gap between plain RNNs and more complex models like LSTMs?
  • RQ5Can Path-SGD enable simple RNNs to outperform or match LSTMs on long-term dependency and language modeling tasks?

Key findings

  • Path-SGD achieved 0% test error on the 750-length addition problem, while all other methods, including LSTMs, failed.
  • On the PTB language modeling dataset, RNN-Path achieved 1.47 BPC, outperforming ReLU RNN (1.55 BPC) and reducing the gap with LSTM (1.41 BPC) by 57%.
  • On the text8 dataset, RNN-Path achieved 1.58 BPC, outperforming ReLU RNN (1.65 BPC) and reducing the gap with LSTM (1.52 BPC) by 54%.
  • Even with identity initialization, Path-SGD enabled a simple RNN to solve the 750-length addition task, highlighting its robustness to initialization.
  • Path-SGD improved generalization on sequential MNIST, achieving competitive error rates comparable to state-of-the-art RNN variants.
  • The method showed reduced sensitivity to weight scale and improved optimization dynamics, suggesting better alignment with the intrinsic geometry of RNNs.

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.