Skip to main content
QUICK REVIEW

[Paper Review] Transient Non-Stationarity and Generalisation in Deep Reinforcement Learning

Whiteson, S, Igl, M|arXiv (Cornell University)|Jun 10, 2020
Reinforcement Learning in RoboticsComputer Science11 citations
TL;DR

This paper identifies transient non-stationarity in deep reinforcement learning—caused by evolving behavior policies—as a key factor degrading generalization performance, even in stationary environments. To counter this, it proposes Iterated Relearning (Iter), which periodically distills policies into freshly initialized student networks to reduce non-stationarity during training, significantly improving generalization on ProcGen and Multiroom benchmarks.

ABSTRACT

Non-stationarity can arise in Reinforcement Learning (RL) even in stationary environments. For example, most RL algorithms collect new data throughout training, using a non-stationary behaviour policy. Due to the transience of this non-stationarity, it is often not explicitly addressed in deep RL and a single neural network is continually updated. However, we find evidence that neural networks exhibit a memory effect where these transient non-stationarities can permanently impact the latent representation and adversely affect generalisation performance. Consequently, to improve generalisation of deep RL agents, we propose Iterated Relearning (ITER). ITER augments standard RL training by repeated knowledge transfer of the current policy into a freshly initialised network, which thereby experiences less non-stationarity during training. Experimentally, we show that ITER improves performance on the challenging generalisation benchmarks ProcGen and Multiroom.

Motivation & Objective

  • To investigate how transient non-stationarity in deep RL—induced by a changing behavior policy—impacts generalization despite a stationary environment.
  • To challenge the assumption that catastrophic forgetting fully explains performance degradation, proposing instead a memory effect in learned representations.
  • To develop a practical training paradigm that reduces non-stationarity during training to improve generalization in deep RL agents.
  • To empirically validate that non-stationarity harms generalization and that periodic reinitialization of networks can mitigate this effect.

Proposed method

  • Proposes Iterated Relearning (Iter), a training paradigm that periodically distills the current policy and value function into a newly initialized student network.
  • Uses knowledge distillation to transfer policy and value outputs from a trained 'teacher' network to a fresh 'student' network, minimizing non-stationarity during the student's training phase.
  • Performs distillation in parallel with main training, avoiding the need for additional data and introducing only minimal non-stationarity.
  • Employs soft labels from the teacher network during distillation to guide the student’s learning of improved latent representations.
  • Applies the method in a sequence of training iterations, where each student replaces the teacher after distillation, enabling continual retraining on a stationary data distribution.
  • Validates the approach on the Multiroom environment and the ProcGen benchmark, comparing generalization performance across held-out test environments.

Experimental results

Research questions

  • RQ1Does transient non-stationarity in deep RL, caused by a changing behavior policy, degrade generalization performance even in stationary environments?
  • RQ2To what extent do deep neural networks retain suboptimal or non-optimal features learned during non-stationary training, impairing performance on unseen inputs?
  • RQ3Can periodic reinitialization of the policy network through knowledge distillation improve generalization in deep RL agents?
  • RQ4How does Iterated Relearning compare to standard training and other regularization techniques in terms of generalization performance on challenging benchmarks?
  • RQ5What role does the relevance of features learned during non-stationary training play in the degradation of generalization?

Key findings

  • Transient non-stationarity in supervised learning on CIFAR-10 causes significant degradation in test performance, even when training accuracy remains nearly unchanged.
  • Neural networks exhibit a memory effect where relevant but suboptimal features learned during non-stationary training are retained and impair generalization, rather than being forgotten.
  • The singular value decomposition of representation matrices shows that networks rely on more features when trained on relevant but suboptimal data, supporting the legacy feature hypothesis.
  • Iterated Relearning improves generalization performance on the ProcGen benchmark, demonstrating superior performance on held-out test environments compared to standard training.
  • Iterated Relearning also improves performance on the Multiroom environment, indicating its effectiveness across diverse and challenging RL benchmarks.
  • The method is complementary to existing regularization techniques, as it directly targets the root cause of generalization failure due to non-stationarity, which regularization alone cannot fully resolve.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.