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

被引:0
|
作者
Liu Ziyin [1 ]
Hartwig, Tilman [1 ,2 ,3 ]
Ueda, Masahito [1 ,2 ,4 ]
机构
[1] Univ Tokyo, Sch Sci, Dept Phys, Tokyo, Japan
[2] Univ Tokyo, Inst Phys Intelligence, Sch Sci, Tokyo, Japan
[3] Univ Tokyo, Kavli IPMU WPI, UTIAS, Tokyo, Japan
[4] RIKEN, CEMS, Tokyo, Japan
基金
日本学术振兴会;
关键词
ARIMA;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页数:12
相关论文
共 50 条
  • [41] Repairing Deep Neural Networks: Fix Patterns and Challenges
    Islam, Md Johirul
    Pan, Rangeet
    Giang Nguyen
    Rajan, Hridesh
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 1135 - 1146
  • [42] Global exponential stability in Lagrange sense for periodic neural networks with various activation functions
    Wu, Ailong
    Zeng, Zhigang
    Fu, Chaojin
    Shen, Wenwen
    NEUROCOMPUTING, 2011, 74 (05) : 831 - 837
  • [43] NEURAL NETWORKS THAT LEARN TEMPORAL SEQUENCES BY SELECTION
    DEHAENE, S
    CHANGEUX, JP
    NADAL, JP
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 1987, 84 (09) : 2727 - 2731
  • [44] Neural networks learn the motions of molecular machines
    Timothy Grant
    Nature Methods, 2021, 18 : 869 - 871
  • [45] Can neural networks learn finite elements?
    Novo, Julia
    Terres, Eduardo
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2025, 453
  • [46] Neural networks learn the motions of molecular machines
    Grant, Timothy
    NATURE METHODS, 2021, 18 (08) : 869 - 871
  • [47] Neural Networks Learn to Speed Up Simulations
    Edwards, Chris
    COMMUNICATIONS OF THE ACM, 2022, 65 (05) : 27 - 29
  • [48] Neural networks learn the art of chemical synthesis
    Service, Robert F.
    SCIENCE, 2017, 357 (6346) : 27 - 27
  • [49] Learn to Recognize Actions Through Neural Networks
    Lan, Zhenzhong
    MM'15: PROCEEDINGS OF THE 2015 ACM MULTIMEDIA CONFERENCE, 2015, : 657 - 660
  • [50] Recursive neural networks learn to localize faces
    Bianchini, M
    Maggini, M
    Sarti, L
    Scarselli, F
    PATTERN RECOGNITION LETTERS, 2005, 26 (12) : 1885 - 1895