paper-with-me

홈 › Papers

[Re] Neural Networks Fail to Learn Periodic Functions and How to Fix It

2021-01-31 · RC 2020 · Mayur Arvind, Mustansir Mama

Scope of Reproducibility Neural Networks Fail to Learn Periodic Functions and How to Fix It [1] demonstrates experimentally that standard activations such as ReLU, tanh, sigmoid and their variants all fail to learn how to extrapolate simple periodic functions. The original paper goes on to propose a new activation, which the authors name the snake function. The central claims of the paper are two-fold: (1) The properties of the activation functions are carried over to the neural networks. A tanh network will be smooth and extrapolates to a constant function, while ReLU extrapolates in a linear way. Standard neural networks with conventional activation functions are insufficient for extrapolating periodic functions. (2) The proposed activation function manages to learn periodic functions while being able to optimize as well as conventional activation functions. While both experimental proof and theoretical justifications are provided for the claims, we shall only be concerned with testing the claims via experimental means. Methodology While one of the authors was contacted to clarify certain difficulties, the reproduction of all experiments was completed using only the information provided in the paper. With one exception, the links to all datasets used were also provided in the original paper. This allowed us to implement most experiments from scratch. Results We were able to successfully replicate experiments supporting the central claim of the paper, that the proposed snake non-linearity can learn periodic functions. We also analyze the suitability of the snake activation for other tasks like generative modeling and sentiment analysis. What was easy Many experiments included descriptions of the neural network architectures and graphs showcasing performance, giving us a clear benchmark to compare our results against. Links to datasets for all experiments, barring one, were also included in the paper itself. What was difficult Data for the human body temperature experiment was not available. Proper implementation details were not given for initializing the weights in neural networks with snake and using snake with RNNs. Communication with original authors Liu Ziyin, one of the authors, was contacted to provide the dataset used for the human body temperature experiment, elaborate upon the implementation of variance correction and provide the implementation of RNNs using snake. Liu provided the GitHub link to the authorsʼ original code for the human body temperature, market index, and extrapolation experiments. Liu also provided an explanation on how to implement variance correction. While the code for the RNN implementation using the snake activation was not made public, a screenshot of the same was provided. We thank the authors for their assistance.

📄 PDF Abstract BibTeX

Code (2)

mayurak47/Reproducibility_Challenge 공식 구현 pytorch
yingkaisha/keras-unet-collection tf

Tasks

Sentiment Analysis

Similar Papers 제목 키워드 기반

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

2020-06-15 · NeurIPS 2020 12 · Liu Ziyin, Tilman Hartwig, Masahito Ueda

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…

Inductive Bias

Periodic Extrapolative Generalisation in Neural Networks

2022-09-21 · Peter Belcák, Roger Wattenhofer

The learning of the simplest possible computational pattern -- periodicity -- is an open problem in the research of strong generalisation in neural networks. We formalise the problem of extrapolative generalisation for p…

Benchmarking

Gradient Descent Fails to Learn High-frequency Functions and Modular Arithmetic

2023-10-19 · Rustem Takhanov, Maxat Tezekbayev, Artur Pak, Arman Bolatov 외

Classes of target functions containing a large number of approximately orthogonal elements are known to be hard to learn by the Statistical Query algorithms. Recently this classical fact re-emerged in a theory of gradien…

Separation and Estimation of Periodic/Aperiodic State

2022-02-16 · Hisayoshi Muramatsu

Periodicity and aperiodicity can exist in a state simultaneously and typically become quasi-periodicity and quasi-aperiodicity in a dynamically changing state. The quasi-periodic and quasi-aperiodic states existing in th…

Frequency and Generalisation of Periodic Activation Functions in Reinforcement Learning

2024-07-09 · Augustine N. Mavor-Parker, Matthew J. Sargent, Caswell Barry, Lewis Griffin 외

Periodic activation functions, often referred to as learned Fourier features have been widely demonstrated to improve sample efficiency and stability in a variety of deep RL algorithms. Potentially incompatible hypothese…

reinforcement-learning