arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02675cs.LGcs.AIcs.CL
收藏

FAN:傅里叶分析网络

FAN: Fourier Analysis Networks

School of Computer Science, Peking University(北京大学计算机学院);The Hong Kong University of Science and Technology(香港科学与技术大学);ByteDance(字节跳动)

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

AI总结:

针对通用神经网络在周期性建模上的不足,提出FAN网络,通过傅里叶原理自然整合周期性,实现少参数、低FLOPs的通用建模,并在实验和泛化性上表现优越。

摘要:

尽管通用神经网络(如MLP和Transformer)取得了显著成功,但我们发现它们在建模和推理周期性现象方面存在明显不足,仅在训练域内取得边缘性能,且无法有效泛化到域外(OOD)场景。周期性在自然界和科学中无处不在。因此,神经网络应具备建模和处理周期性的基本能力。在这项工作中,我们提出了FAN,一种新颖的神经网络,它有效解决了周期性建模挑战,同时提供了类似于MLP的广泛适用性,且参数和FLOPs更少。通过引入傅里叶原理,周期性被自然地整合到FAN的结构和计算过程中。与现有的基于傅里叶的网络不同,后者具有特定的周期性建模能力,但在扩展到更深网络时面临挑战,且通常为特定任务设计,我们的方法克服了这一挑战,能够扩展到大规模模型,并保持通用建模能力。通过大量实验,我们证明了FAN在周期性建模任务中的优越性,以及FAN在一系列现实世界任务中的有效性和泛化性。此外,我们揭示,与现有基于傅里叶的网络相比,FAN能很好地兼顾周期性建模和通用建模。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑