Our new X account is live! Follow @wizwand_team for updates
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 ClassificationMNIST (test)
Accuracy99.67
882
Image ClassificationImageNet-1K
Top-1 Acc65.7
836
Image ClassificationCIFAR-100--
302
Time Series ForecastingWeather
MSE0.292
223
Image ClassificationFashionMNIST (test)
Accuracy94.47
218
Sentiment ClassificationSST2 (test)
Accuracy81.54
214
Time Series ForecastingExchange
MSE0.657
176
Sentiment ClassificationIMDB (test)--
144
Time Series ForecastingETTh
MSE0.842
24
Sentiment ClassificationSentiment140 (test)
Accuracy61.94
12
Showing 10 of 19 rows

Other info

Follow for update