arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.08195cs.LGstat.ML
收藏

神经网络无法学习周期函数以及如何修复

Neural Networks Fail to Learn Periodic Functions and How to Fix It

The University of Tokyo(东京大学);RIKEN CEMS(理化学研究所新兴物质科学中心)

Liu Ziyin, Tilman Hartwig, Masahito Ueda

摘要:

以前的文献提供了有限的线索,如何学习周期函数使用现代神经网络。我们从研究神经网络的外推性质开始;我们通过实验证明并证明了标准激活函数,如ReLU,tanh,sigmoid及其变体,都无法学习外推简单的周期函数。我们假设,这是由于他们缺乏一个“周期性”的归纳偏见。作为这个问题的解决方案,我们提出了一种新的激活,即$x + \sin^2(x)$,它实现了所需的周期性感应偏置来学习周期函数,同时保持了基于ReLU的激活的有利优化特性。实验上,我们将所提出的方法应用于温度和金融数据预测。

英文摘要:

Previous literature offers limited clues on how to learn a periodic function using modern neural networks. We start with a study of the extrapolation properties of neural networks; we prove and demonstrate experimentally that the standard activations functions, such as ReLU, tanh, sigmoid, along with their variants, all fail to learn to extrapolate simple periodic functions. We hypothesize that this is due to their lack of a "periodic" inductive bias. As a fix of this problem, we propose a new activation, namely, $x + \sin^2(x)$, which achieves the desired periodic inductive bias to learn a periodic function while maintaining a favorable optimization property of the ReLU-based activations. Experimentally, we apply the proposed method to temperature and financial data prediction.

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

↑