
Perceptron
Historical1 op7.9K params
A linear layer whose weights carry learned Gaussian noise, so an RL agent explores by perturbing its own parameters.
Reinforcement learning and control · 1 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
A single factorised-Gaussian noisy linear layer, the primitive from which NoisyNet agents are built, with the Rainbow repository's PyTorch Noisy Nets as the reference code.
NoisyNet is a deep reinforcement learning agent with parametric noise added to its weights, where the stochasticity this induces in the agent's policy is used to aid efficient exploration. The parameters of the noise are learned with gradient descent along with the remaining network weights. The captured member is the primitive itself rather than a full agent: one noisy linear layer that behaves like a standard fully connected linear layer except that both the weights vector and the bias are perturbed by parametric zero-mean noise. The key insight is that a single change to the weight vector can induce a consistent, and potentially very complex, state-dependent change in policy over multiple time steps, unlike dithering approaches such as epsilon-greedy that add decorrelated noise at every step.
The paper explores two noise distributions. Independent Gaussian noise uses an independent Gaussian noise entry per weight, while Factorised Gaussian noise uses an independent noise per each output and another independent noise per each input. The factorised form exists to reduce the compute time of random number generation, which matters most for single-thread agents such as DQN and Dueling. The cost is modest: the number of parameters in the linear layers of the network is doubled, but the computational complexity is typically still dominated by the weight by activation multiplications.
The method is straightforward to implement and adds little computational overhead. Replacing the conventional exploration heuristics for A3C, DQN and dueling agents with NoisyNet yields substantially higher scores for a wide range of Atari games, in some cases advancing the agent from sub to super-human performance. Across 57 Atari games, the median human normalised score improves in all agents, adding at least 18 percentage points for A3C and at most 48 for DQN. The reference code captured here is the Kaixhin Rainbow repository, which implements Noisy Nets as one of the Rainbow components.
Key idea. Learned parametric noise on network weights as an exploration mechanism, with the noise variance trained by gradient descent alongside the other parameters and a factorised Gaussian form that keeps the cost low.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{fortunato2019noisynetworksexploration,
title={Noisy Networks for Exploration},
author={Meire Fortunato and Mohammad Gheshlaghi Azar and Bilal Piot and Jacob Menick and Ian Osband and Alex Graves and Vlad Mnih and Remi Munos and Demis Hassabis and Olivier Pietquin and Charles Blundell and Shane Legg},
year={2019},
eprint={1706.10295},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1706.10295},
}