Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FAN: Fourier Analysis Networks

About

Despite the remarkable successes of general-purpose neural networks, such as MLPs and Transformers, we find that they exhibit notable shortcomings in modeling and reasoning about periodic phenomena, achieving only marginal performance within the training domain and failing to generalize effectively to out-of-domain (OOD) scenarios. Periodicity is ubiquitous throughout nature and science. Therefore, neural networks should be equipped with the essential ability to model and handle periodicity. In this work, we propose FAN, a novel neural network that effectively addresses periodicity modeling challenges while offering broad applicability similar to MLP with fewer parameters and FLOPs. Periodicity is naturally integrated into FAN's structure and computational processes by introducing the Fourier Principle. Unlike existing Fourier-based networks, which possess particular periodicity modeling abilities but face challenges in scaling to deeper networks and are typically designed for specific tasks, our approach overcomes this challenge to enable scaling to large-scale models and maintains general-purpose modeling capability. Through extensive experiments, we demonstrate the superiority of FAN in periodicity modeling tasks and the effectiveness and generalizability of FAN across a range of real-world tasks. Moreover, we reveal that compared to existing Fourier-based networks, FAN accommodates both periodicity modeling and general-purpose modeling well.

Yihong Dong, Ge Li, Yongding Tao, Xue Jiang, Kechi Zhang, Jia Li, Jinliang Deng, Jing Su, Jun Zhang, Jingjing Xu• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K
Top-1 Acc65.7
1239
Image ClassificationMNIST (test)
Accuracy99.67
894
Image ClassificationCIFAR-100--
302
Time Series ForecastingWeather
MSE0.292
295
Image ClassificationFashionMNIST (test)
Accuracy94.47
260
Sentiment ClassificationSST2 (test)
Accuracy81.54
233
Time Series ForecastingExchange
MSE0.657
199
Sentiment ClassificationIMDB (test)--
144
Short-term forecastingM4 Quarterly
MASE1.415
141
Short-term forecastingM4 Monthly
MASE1.048
125
Showing 10 of 28 rows

Other info

Follow for update