[Paper Review] Feedforward Sequential Memory Neural Networks without Recurrent Feedback
This paper proposes Feedforward Sequential Memory Networks (FSMN), a feedforward neural network architecture with learnable finite impulse response (FIR) filter-like memory blocks in hidden layers, enabling effective modeling of long-term dependencies without recurrent feedback. Experiments on Penn Treebank and English wiki (LTCB) show FSMN-based language models significantly outperform both feedforward and recurrent neural network baselines, achieving state-of-the-art perplexity with stable, efficient training via standard backpropagation.
We introduce a new structure for memory neural networks, called feedforward sequential memory networks (FSMN), which can learn long-term dependency without using recurrent feedback. The proposed FSMN is a standard feedforward neural networks equipped with learnable sequential memory blocks in the hidden layers. In this work, we have applied FSMN to several language modeling (LM) tasks. Experimental results have shown that the memory blocks in FSMN can learn effective representations of long history. Experiments have shown that FSMN based language models can significantly outperform not only feedforward neural network (FNN) based LMs but also the popular recurrent neural network (RNN) LMs.
Motivation & Objective
- To address the challenge of modeling long-term dependencies in sequential data without relying on recurrent feedback.
- To design a feedforward neural network architecture that captures long-range temporal patterns more effectively than standard FNNs or RNNs.
- To enable stable and efficient training by avoiding backpropagation through time (BPTT) used in RNNs.
- To evaluate the proposed FSMN on benchmark language modeling tasks and compare it with strong FNN and RNN baselines.
Proposed method
- Introduces FSMN as a feedforward neural network with learnable sequential memory blocks inserted into hidden layers, replacing recurrent feedback.
- Employs a tapped-delay structure to compute a fixed-size context representation using a weighted sum of the current and previous N hidden states: $\tilde{\mathbf{h}}_t = f(\sum_{i=0}^{N} a_i \cdot \mathbf{h}_{t-i})$, where $\mathbf{a}$ is a learnable coefficient vector.
- Models the memory block as an N-order finite impulse response (FIR) filter, ensuring stability and enabling efficient backpropagation without BPTT.
- Represents sequential memory operations as matrix multiplications: $\tilde{\mathbf{H}} = f(\mathbf{H} \cdot \mathbf{M})$, where $\mathbf{M}$ is a structured matrix encoding the FIR filter coefficients.
- Uses standard backpropagation to train all parameters, including the filter coefficients $\mathbf{a}$, enabling end-to-end learning on GPUs with mini-batch SGD.
- Applies the architecture to language modeling by using context windows of previous words to predict the next word, with ReLU activation and normalized weight initialization.
Experimental results
Research questions
- RQ1Can a feedforward neural network with learnable memory blocks effectively model long-term dependencies in sequential data?
- RQ2How does the performance of FSMN compare to standard feedforward networks and recurrent networks in language modeling tasks?
- RQ3Can the proposed FIR-filter-based memory mechanism achieve stable and efficient training without backpropagation through time?
- RQ4Does the memory block in FSMN learn meaningful representations of long historical sequences?
Key findings
- On the Penn Treebank (PTB) test set, the FSMN-based language model achieves a perplexity of 102, significantly outperforming the RNN-LM baseline (123) and the LSTM model (117).
- On the Large Text Compression Benchmark (LTCB) using enwik9, the FSMN model achieves a test perplexity of 92 with a 3-hidden-layer architecture and memory blocks in two hidden layers, surpassing the RNN-LM baseline (112) and the FOFE-based FNNLM (104).
- The FSMN with a 30-order FIR filter and memory blocks in the first and second hidden layers achieves the lowest perplexity of 92 on LTCB, demonstrating the effectiveness of multiple memory blocks.
- The FSMN model achieves state-of-the-art performance on both PTB and LTCB benchmarks, outperforming not only standard FNNs and FOFE-based FNNs but also popular RNN and LSTM models.
- The training efficiency of FSMN is comparable to standard feedforward networks, as all operations are formulated as large matrix multiplications suitable for GPU acceleration and mini-batch SGD.
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.