Frequency and Generalisation of Periodic Activation Functions in Reinforcement Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Mavor-Parker, Augustine N., Sargent, Matthew J., Barry, Caswell, Griffin, Lewis, Lyle, Clare
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917960456601600
author Mavor-Parker, Augustine N.
Sargent, Matthew J.
Barry, Caswell
Griffin, Lewis
Lyle, Clare
author_facet Mavor-Parker, Augustine N.
Sargent, Matthew J.
Barry, Caswell
Griffin, Lewis
Lyle, Clare
contents 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 hypotheses have been made about the source of these improvements. One is that periodic activations learn low frequency representations and as a result avoid overfitting to bootstrapped targets. Another is that periodic activations learn high frequency representations that are more expressive, allowing networks to quickly fit complex value functions. We analyse these claims empirically, finding that periodic representations consistently converge to high frequencies regardless of their initialisation frequency. We also find that while periodic activation functions improve sample efficiency, they exhibit worse generalization on states with added observation noise -- especially when compared to otherwise equivalent networks with ReLU activation functions. Finally, we show that weight decay regularization is able to partially offset the overfitting of periodic activation functions, delivering value functions that learn quickly while also generalizing.
format Preprint
id arxiv_https___arxiv_org_abs_2407_06756
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Frequency and Generalisation of Periodic Activation Functions in Reinforcement Learning
Mavor-Parker, Augustine N.
Sargent, Matthew J.
Barry, Caswell
Griffin, Lewis
Lyle, Clare
Machine Learning
Artificial Intelligence
Neural and Evolutionary Computing
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 hypotheses have been made about the source of these improvements. One is that periodic activations learn low frequency representations and as a result avoid overfitting to bootstrapped targets. Another is that periodic activations learn high frequency representations that are more expressive, allowing networks to quickly fit complex value functions. We analyse these claims empirically, finding that periodic representations consistently converge to high frequencies regardless of their initialisation frequency. We also find that while periodic activation functions improve sample efficiency, they exhibit worse generalization on states with added observation noise -- especially when compared to otherwise equivalent networks with ReLU activation functions. Finally, we show that weight decay regularization is able to partially offset the overfitting of periodic activation functions, delivering value functions that learn quickly while also generalizing.
title Frequency and Generalisation of Periodic Activation Functions in Reinforcement Learning
topic Machine Learning
Artificial Intelligence
Neural and Evolutionary Computing
url https://arxiv.org/abs/2407.06756