[Paper Review] Recurrent Memory Array Structures
This paper proposes Array-LSTM, a novel recurrent neural network architecture that replaces single memory cells in standard LSTM units with multiple memory cells per hidden unit, enabling improved generalization and sequence modeling. By introducing both deterministic and stochastic variants, the model achieves state-of-the-art performance on character-level language modeling, reaching 1.402 bits per character (BPC) on the enwik8 dataset and establishing new neural baselines of 1.12 BPC and 1.19 BPC on enwik9 and enwik10, respectively.
The following report introduces ideas augmenting standard Long Short Term Memory (LSTM) architecture with multiple memory cells per hidden unit in order to improve its generalization capabilities. It considers both deterministic and stochastic variants of memory operation. It is shown that the nondeterministic Array-LSTM approach improves state-of-the-art performance on character level text prediction achieving 1.402 BPC on enwik8 dataset. Furthermore, this report estabilishes baseline neural-based results of 1.12 BPC and 1.19 BPC for enwik9 and enwik10 datasets respectively.
Motivation & Objective
- To enhance the generalization capabilities of standard Long Short-Term Memory (LSTM) networks by introducing multiple memory cells per hidden unit.
- To explore both deterministic and stochastic variants of memory operations to improve learning efficiency and robustness.
- To establish new neural network-based baselines for character-level language modeling on large-scale Wikipedia text corpora (enwik9 and enwik10).
- To draw inspiration from the cerebellar cortex's architecture to design a memory structure that enables pooling of interchangeable substates within a single hidden unit.
- To investigate whether explicit memory array structures can better capture long-range dependencies and redundant patterns in sequential data than standard RNNs or stacked LSTMs.
Proposed method
- Proposes an Array-LSTM architecture where each hidden unit maintains multiple memory cells (c_k^t), each with its own set of input, forget, and output gates (i_k^t, f_k^t, o_k^t).
- Extends standard LSTM equations to operate independently per memory cell, with each cell updating its content via: c_k^t = f_k^t ⊙ c_k^{t-1} + i_k^t ⊙ ~c_k^t.
- Introduces a stochastic variant where memory cell selection is randomized during training, resembling a dropout mechanism to improve generalization.
- Uses a summation operation to combine outputs from all memory cells: h^t = Σ_k (o_k^t ⊙ tanh(c_k^t)), enabling shared hidden state representation across multiple memory cells.
- Employs modulated connections between inputs and memory cells, with learnable weight matrices (W, U) and biases (b) for each gate and cell combination.
- Draws architectural inspiration from the cerebellar cortex's array-like structure, where multiple parallel memory lanes allow for flexible, pooled representation of similar or interchangeable content.
Experimental results
Research questions
- RQ1Can replacing single memory cells in LSTM with multiple memory cells per hidden unit improve generalization in sequence modeling tasks?
- RQ2Does introducing stochasticity in memory cell selection (via dropout-like mechanisms) enhance model robustness and generalization on character-level text prediction?
- RQ3To what extent can array-structured memory improve performance on long-range dependency tasks compared to standard or stacked LSTM architectures?
- RQ4Can the proposed architecture achieve state-of-the-art results on standard language modeling benchmarks such as enwik8, enwik9, and enwik10?
- RQ5How does the pooling of multiple memory cells within a single hidden unit compare to hierarchical stacking of layers in terms of learning efficiency and representation capacity?
Key findings
- The nondeterministic Array-LSTM variant achieves a new state-of-the-art result of 1.402 bits per character (BPC) on the enwik8 dataset, outperforming previous models.
- The deterministic Array-LSTM establishes a new neural-based baseline of 1.12 BPC on the enwik9 dataset, demonstrating improved compression and prediction performance.
- The model achieves a neural-based baseline of 1.19 BPC on the enwik10 dataset, indicating strong generalization across increasingly complex text sequences.
- The use of multiple memory cells per hidden unit enables better representation of interchangeable or similar contextual patterns, effectively creating a form of internal pooling analogous to spatial pooling in CNNs.
- The stochastic variant of Array-LSTM improves generalization by introducing controlled randomness in memory cell activation, mimicking dropout and reducing overfitting.
- The architecture demonstrates that architectural innovation within a single layer—by expanding memory capacity rather than depth—can yield superior performance on sequence modeling tasks.
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.