[Paper Review] Learning Long Term Dependencies via Fourier Recurrent Units
This paper introduces the Fourier Recurrent Unit (FRU), a novel RNN architecture that uses Fourier basis functions to summarize hidden states over time, enabling stable gradients and strong long-term dependency learning. FRU achieves state-of-the-art performance on sequence tasks like MNIST and IMDB with significantly fewer parameters than LSTM and SRU, outperforming them by up to 9.47% on permuted MNIST and 3.07% on IMDB while maintaining faster, smoother training.
It is a known fact that training recurrent neural networks for tasks that have long term dependencies is challenging. One of the main reasons is the vanishing or exploding gradient problem, which prevents gradient information from propagating to early layers. In this paper we propose a simple recurrent architecture, the Fourier Recurrent Unit (FRU), that stabilizes the gradients that arise in its training while giving us stronger expressive power. Specifically, FRU summarizes the hidden states $h^{(t)}$ along the temporal dimension with Fourier basis functions. This allows gradients to easily reach any layer due to FRU's residual learning structure and the global support of trigonometric functions. We show that FRU has gradient lower and upper bounds independent of temporal dimension. We also show the strong expressivity of sparse Fourier basis, from which FRU obtains its strong expressive power. Our experimental study also demonstrates that with fewer parameters the proposed architecture outperforms other recurrent architectures on many tasks.
Motivation & Objective
- To address the vanishing and exploding gradient problems in recurrent neural networks (RNNs) that hinder learning of long-term dependencies.
- To develop a recurrent architecture with stronger expressive power than existing models like SRU and LSTM, particularly for long sequences.
- To enable stable backpropagation through time by ensuring gradient bounds are independent of sequence length.
- To demonstrate that sparse Fourier basis representations provide strong expressive power while maintaining computational efficiency.
- To show that FRU achieves superior performance with fewer parameters compared to LSTM and SRU on benchmark sequence datasets.
Proposed method
- FRU summarizes hidden states across time using a linear combination of Fourier basis functions, enabling global, long-range context modeling.
- The architecture employs a residual learning structure, allowing gradients to flow backward through all layers without degradation.
- It uses a set of learnable frequency components (k) to represent past hidden states, with each frequency component capturing a different temporal scale.
- The model computes a statistical summary of past hidden states via Fourier coefficients, which are updated at each time step using a learnable transformation.
- The use of trigonometric functions ensures global support, allowing access to any point in the sequence history, unlike exponentially decaying methods such as SRU.
- Theoretical analysis shows that in the linear case, FRU maintains constant gradient lower and upper bounds independent of sequence length T.
Experimental results
Research questions
- RQ1Can a recurrent architecture using Fourier basis functions stabilize gradients and prevent vanishing/exploding gradient issues in long sequences?
- RQ2Does the use of sparse Fourier basis functions provide stronger expressive power than exponential moving averages used in SRU?
- RQ3Can FRU achieve higher performance than LSTM and SRU on sequence modeling tasks while using significantly fewer parameters?
- RQ4How does the residual structure combined with Fourier representation affect training stability and convergence speed?
- RQ5To what extent can FRU capture long-term dependencies in synthetic and real-world sequence data?
Key findings
- On the permuted MNIST dataset, FRU achieved 96.93% test accuracy, outperforming SRU (92.21%), LSTM (90.26%), and RNN (87.46%) by up to 9.47%.
- On the IMDB movie review dataset, FRU with 5 frequencies achieved 86.71% accuracy, surpassing SRU (86.40%) and LSTM (83.64%) with only 12K parameters—19 times fewer than SRU and 10 times fewer than LSTM.
- The extreme case of FRU with only the zero frequency (FRU₁,₁₀) achieved 86.44% accuracy using just 4K parameters, 8 times fewer than RNN, and converged faster.
- FRU demonstrated smoother training curves and faster convergence than all baselines across all datasets, indicating improved optimization stability.
- Theoretical analysis confirmed that FRU maintains constant gradient norm bounds (lower and upper) independent of sequence length T, unlike RNN and SRU, which scale exponentially with T.
- Experiments on synthetic data showed FRU could accurately model mixed sinusoidal and polynomial sequences, demonstrating strong expressive capacity.
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.