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

06/15/2020
by   Liu Ziyin, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/26/2021

Periodic Activation Functions Induce Stationarity

Neural network models are known to reinforce hidden data biases, making ...
research
09/21/2022

Periodic Extrapolative Generalisation in Neural Networks

The learning of the simplest possible computational pattern – periodicit...
research
10/31/2021

Can we learn gradients by Hamiltonian Neural Networks?

In this work, we propose a meta-learner based on ODE neural networks tha...
research
01/27/2021

Periodic seismicity detection without declustering

Any periodic variations of earthquake occurrence rates in response to sm...
research
12/29/2022

Discovering Efficient Periodic Behaviours in Mechanical Systems via Neural Approximators

It is well known that conservative mechanical systems exhibit local osci...
research
06/02/2023

Analysis and FPGA based Implementation of Permutation Binary Neural Networks

This paper studies a permutation binary neural network characterized by ...
research
02/22/2021

Elementary superexpressive activations

We call a finite family of activation functions superexpressive if any m...

Please sign up or login with your details

Forgot password? Click here to reset