[Paper Review] Short-term Memory of Deep RNN
This paper investigates the short-term memory capacity (MC) of deep recurrent neural networks (RNNs) in a reservoir computing framework, showing that higher layers inherently develop longer memory spans even before training. Using untrained deep RNNs with controlled spectral radius, the study reveals that deeper layers exhibit progressively improved MC, peaking at 50.1 in the 10th layer when ρ=0.9, demonstrating that layering naturally biases networks toward longer-term memory retention.
The extension of deep learning towards temporal data processing is gaining an increasing research interest. In this paper we investigate the properties of state dynamics developed in successive levels of deep recurrent neural networks (RNNs) in terms of short-term memory abilities. Our results reveal interesting insights that shed light on the nature of layering as a factor of RNN design. Noticeably, higher layers in a hierarchically organized RNN architecture results to be inherently biased towards longer memory spans even prior to training of the recurrent connections. Moreover, in the context of Reservoir Computing framework, our analysis also points out the benefit of a layered recurrent organization as an efficient approach to improve the memory skills of reservoir models.
Motivation & Objective
- To analyze the intrinsic short-term memory capacity of successive layers in deep RNNs prior to training.
- To investigate how layering in deep RNNs influences the temporal dynamics and memory retention of hidden states.
- To evaluate whether a hierarchical recurrent architecture can improve memory skills in reservoir computing models without additional training cost.
- To quantify the diversification of memory spans across layers in deep stacked RNNs.
Proposed method
- The study employs a deep stacked RNN architecture with hierarchical state transitions from input to higher layers.
- Each layer uses a tanh activation function and is initialized with random weights scaled to control spectral radius ρ and input weight norms.
- The memory capacity (MC) is computed using a delay-based task where each layer must reconstruct past inputs after a delay k.
- The analysis focuses on untrained networks, with weights initialized uniformly in [-1,1] and rescaled to control ρ and ||W||₂ for stability.
- For each ρ value (including chaotic regimes), 50 independent network realizations are generated and results are averaged.
- Forgetting curves are analyzed to assess how memory retention decays over increasing delays k, particularly for layers 1 and 10.
Experimental results
Research questions
- RQ1Does the depth of a deep RNN architecture inherently bias higher layers toward longer short-term memory spans before any training?
- RQ2How does the spectral radius ρ of recurrent weights influence the memory capacity of individual layers in a deep RNN?
- RQ3To what extent do higher layers in a deep RNN exhibit diversified memory dynamics compared to lower layers?
- RQ4Can a layered recurrent architecture improve memory performance in reservoir computing models without increasing output training cost?
- RQ5How does the forgetting curve vary across layers in terms of delay-dependent memory retention?
Key findings
- Higher layers in untrained deep RNNs exhibit significantly longer short-term memory spans than lower layers, with memory capacity increasing from 22.2 in the first layer to 50.1 in the 10th layer when ρ=0.9.
- The memory capacity peaks at ρ=0.9, indicating an optimal balance between stability and memory retention in the ordered regime.
- Forgetting curves show that the 10th layer retains information with non-zero recall even at a delay of 60, while the 1st layer loses most information by delay 30.
- Higher layers display a right-shifted peak in memory recall and a smoother decay slope, indicating more gradual forgetting compared to lower layers.
- The layered architecture enables a natural diversification of memory spans, with lower layers capturing recent inputs and higher layers storing information over longer delays.
- The improvement in memory capacity through layering comes at minimal computational cost, as state computation scales linearly with depth while output training cost remains unchanged.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.