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 条
  • [21] Expressive Priors in Bayesian Neural Networks: Kernel Combinations and Periodic Functions
    Pearce, Tim
    Tsuchida, Russell
    Zaki, Mohamed
    Brintrup, Alexandra
    Neely, Andy
    35TH UNCERTAINTY IN ARTIFICIAL INTELLIGENCE CONFERENCE (UAI 2019), 2020, 115 : 134 - 144
  • [22] Global convergence of periodic solution of neural networks with discontinuous activation functions
    Huang, Lihong
    Guo, Zhenyuan
    CHAOS SOLITONS & FRACTALS, 2009, 42 (04) : 2351 - 2356
  • [23] AI Pontryagin or how artificial neural networks learn to control dynamical systems
    Lucas Böttcher
    Nino Antulov-Fantulin
    Thomas Asikis
    Nature Communications, 13
  • [24] AI Pontryagin or how artificial neural networks learn to control dynamical systems
    Boettcher, Lucas
    Antulov-Fantulin, Nino
    Asikis, Thomas
    NATURE COMMUNICATIONS, 2022, 13 (01)
  • [25] A method for representing periodic functions and enforcing exactly periodic boundary conditions with deep neural networks
    Dong, Suchuan
    Ni, Naxian
    JOURNAL OF COMPUTATIONAL PHYSICS, 2021, 435
  • [26] How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Model
    Cagnetta, Francesco
    Petrini, Leonardo
    Tomasini, Umberto M.
    Favero, Alessandro
    Wyart, Matthieu
    PHYSICAL REVIEW X, 2024, 14 (03):
  • [27] Arctic Vision: Using Neural Networks for Ice Object Classification, and Controlling How They Fail
    Pedersen, Ole-Magnus
    Kim, Ekaterina
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2020, 8 (10) : 1 - 19
  • [28] Optimization for problem classes -: Neural networks that learn to learn
    Hüsken, M
    Gayko, JE
    Sendhoff, B
    2000 IEEE SYMPOSIUM ON COMBINATIONS OF EVOLUTIONARY COMPUTATION AND NEURAL NETWORKS, 2000, : 98 - 109
  • [29] Why intranets fail (and how to fix them): A practical guide for information professionals
    du Preez, M
    ELECTRONIC LIBRARY, 2005, 23 (04): : 499 - 500
  • [30] Maximum-entropy principle and neural networks that learn to construct approximate wave functions
    Diambra, L
    Plastino, A
    PHYSICAL REVIEW E, 1996, 53 (01): : 1021 - 1027