[Paper Review] Fourier Neural Networks: A Comparative Study
This paper evaluates Fourier Neural Networks (FNNs) inspired by Fourier series, comparing them to standard feedforward networks with sigmoid activation. Despite theoretical advantages in function approximation, FNNs—especially Gallant and White's (1988) cosine squasher—do not outperform standard networks on real-world tasks, though they match or exceed truncated Fourier series in synthetic function approximation.
We review neural network architectures which were motivated by Fourier series and integrals and which are referred to as Fourier neural networks. These networks are empirically evaluated in synthetic and real-world tasks. Neither of them outperforms the standard neural network with sigmoid activation function in the real-world tasks. All neural networks, both Fourier and the standard one, empirically demonstrate lower approximation error than the truncated Fourier series when it comes to an approximation of a known function of multiple variables.
Motivation & Objective
- To investigate whether Fourier Neural Networks (FNNs) outperform standard feedforward neural networks with sigmoid activation in real-world machine learning tasks.
- To evaluate the empirical performance of various FNN architectures, particularly those inspired by Fourier series and integrals.
- To determine if the theoretical approximation guarantees of Fourier series translate into practical advantages in neural network learning.
- To analyze why FNNs, despite strong theoretical foundations, are not widely used in practice.
- To compare FNNs with truncated Fourier series in approximating known multivariate functions.
Proposed method
- Empirically evaluate multiple FNN architectures—Gallant and White (1988), Silvescu (1999), Liu (2013), and others—on synthetic and real-world datasets.
- Implement FNNs using modified activation functions: σ_GW (cosine squasher), σ_S (sine-based), and σ_L (log-sigmoid-like), replacing standard sigmoid in feedforward networks.
- Train and test models on the Penn Treebank (PTB) dataset using the SCRN architecture, varying hidden and context state sizes (d_h, d_s) across (40,10), (90,10), (100,40), (300,40).
- Use perplexity (PPL) as the primary evaluation metric on the test set to compare language modeling performance.
- Analyze pre-activation values in the Gallant and White FNN to assess how often inputs fall outside the non-constant region of σ_GW.
- Compare approximation error of FNNs and standard networks against the truncated Fourier series on known multivariate functions.
Experimental results
Research questions
- RQ1Does any Fourier Neural Network architecture outperform the standard feedforward network with sigmoid activation in real-world tasks?
- RQ2How do different FNN activation functions (e.g., σ_GW, σ_S, σ_L) compare in terms of approximation accuracy and generalization?
- RQ3To what extent do FNNs surpass the truncated Fourier series in approximating known multivariate functions?
- RQ4Why do FNNs, despite strong theoretical approximation guarantees, underperform in practice compared to standard networks?
- RQ5Is the constant behavior of the Gallant and White activation function outside [−π/2, π/2] a key factor in its suboptimal performance?
Key findings
- The standard feedforward neural network with sigmoid activation outperforms all FNN variants on real-world language modeling tasks using the PTB dataset.
- The FNN proposed by Gallant and White (1988) with the cosine squasher activation function performs best among all FNNs, though still worse than the standard network.
- On synthetic tasks, all FNNs achieve lower approximation error than the truncated Fourier series when approximating known multivariate functions.
- Approximately 8% of pre-activated values in the Gallant and White FNN fall outside the interval [−π/2, π/2], where the activation becomes constant, leading to information loss.
- The standard sigmoid activation function can theoretically distinguish all real inputs, unlike σ_GW, which saturates for |x| > π/2, potentially harming model expressivity.
- Perplexity results show that σ_GW yields higher PPL (132.8 at (40,10)) than the standard sigmoid (128.0), and other FNNs (σ_S, σ_L) perform progressively worse, confirming the performance gap.
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.