Feedforward Sequential Memory Neural Networks without Recurrent Feedback

Shiliang Zhang, Hui Jiang, Si Wei, Li-Rong DaiarXiv 2015

Introduction

Modeling sequential data, such as text or speech, necessitates capturing long-term dependencies—where information from the beginning of a sequence influences elements at the end. Traditionally, Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks have been the primary tools for this task. However, RNNs are notoriously difficult to train due to vanishing and exploding gradient problems stemming from their recurrent feedback loops, which function like Infinite Impulse Response (IIR) filters. Training these models requires Back-Propagation Through Time (BPTT), a computationally intensive process that is difficult to parallelize.

The Feedforward Sequential Memory Neural Network (FSMN) addresses these challenges by providing a "memory" mechanism within a standard feedforward architecture, avoiding recurrent feedback entirely.

Methodology: The Memory Block

The defining feature of the FSMN is the Memory Block. Instead of relying on a hidden state that feeds back into itself, the FSMN integrates a tapped-delay structure into its hidden layers. This transforms the hidden layer into a Finite Impulse Response (FIR) filter.

FSMN architecture overview and comparison of FIR vs. IIR filter structures.

As illustrated in the architecture diagrams, a memory block captures the current hidden state $h_t$ along with its $N$ previous states ($h_{t-1}, \dots, h_{t-N}$). These are combined using learnable coefficients $a_i$ to produce an augmented hidden state $\tilde{h}_t$: $$\tilde{h}_t = f\left(\sum_{i=0}^N a_i \cdot h_{t-i}\right)$$

Because the network remains strictly feedforward, it can be trained using standard back-propagation (BP) rather than BPTT. This design ensures inherent stability and allows for highly efficient implementation using large matrix multiplications optimized for modern GPUs.

Experimental Results

The authors evaluated the FSMN on two major language modeling benchmarks: the Penn Tree Bank (PTB) and the Large Text Compression Benchmark (LTCB).

Penn Tree Bank (PTB)

On the PTB corpus, the FSMN demonstrated superior performance compared to both traditional n-gram models and recurrent architectures. As shown in the table below, the FSMN achieved a perplexity (PPL) of 102, significantly outperforming the standard RNNLM (123) and the LSTM (117).

Performance comparison (Perplexity) on the Penn Tree Bank (PTB) dataset.

Large Text Compression Benchmark (LTCB)

The FSMN's advantages scaled well to the much larger LTCB dataset (153 million words). In this context, the FSMN-LM reached a PPL of 92, a substantial improvement over the RNN-LM (112) and the FOFE-FNNLM (104). The results suggest that adding multiple memory blocks to different hidden layers creates a "temporal hierarchy" that further enhances the model's ability to capture complex sequences.

Conclusion

The FSMN offers a compelling alternative to RNNs for sequential modeling. By replacing recurrent IIR-like feedback with learnable FIR-like memory blocks, the architecture achieves state-of-the-art performance in language modeling while being faster to train and more stable. Future work aims to extend this architecture to acoustic modeling for speech recognition and explore its effectiveness in handling even longer-range dependencies.

Summary updated

BibTeX
@misc{zhang2015feedforward,
  author = {Shiliang Zhang and Hui Jiang and Si Wei and Li-Rong Dai},
  title = {{Feedforward Sequential Memory Neural Networks without Recurrent Feedback}},
  year = {2015},
  eprint = {1510.02693},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1510.02693},
}
Figure