Skip to main content
QUICK REVIEW

[Paper Review] Interference and Generalization in Temporal Difference Learning

Emmanuel Bengio, Joëlle Pineau|arXiv (Cornell University)|Mar 13, 2020
Domain Adaptation and Few-Shot LearningComputer Science49 references10 citations
TL;DR

This paper investigates the relationship between interference—defined as the inner product of gradients—and generalization in temporal difference (TD) learning. It finds that TD learning naturally produces low-interference, under-generalizing parameters, contrasting with supervised learning where low interference correlates with better generalization, and attributes this to the dynamics of bootstrapping and non-stationary targets.

ABSTRACT

We study the link between generalization and interference in temporal-difference (TD) learning. Interference is defined as the inner product of two different gradients, representing their alignment. This quantity emerges as being of interest from a variety of observations about neural networks, parameter sharing and the dynamics of learning. We find that TD easily leads to low-interference, under-generalizing parameters, while the effect seems reversed in supervised learning. We hypothesize that the cause can be traced back to the interplay between the dynamics of interference and bootstrapping. This is supported empirically by several observations: the negative relationship between the generalization gap and interference in TD, the negative effect of bootstrapping on interference and the local coherence of targets, and the contrast between the propagation rate of information in TD(0) versus TD($λ$) and regression tasks such as Monte-Carlo policy evaluation. We hope that these new findings can guide the future discovery of better bootstrapping methods.

Motivation & Objective

  • To investigate the role of gradient interference in generalization within temporal difference (TD) learning.
  • To compare the behavior of interference and generalization in TD learning versus supervised learning.
  • To understand why TD methods often lead to poor generalization despite using deep neural networks.
  • To explore how bootstrapping and target stability affect interference dynamics in TD algorithms.
  • To guide future development of better bootstrapping methods by analyzing interference evolution.

Proposed method

  • Defines interference as the inner product of gradients from two different objectives, $ \rho_{1,2} = \nabla_\theta J_1^T \nabla_\theta J_2 $, to quantify gradient alignment.
  • Empirically measures interference across different TD methods (DQN, DDQN, QL) and regression tasks using a replay buffer from MsPacman.
  • Analyzes the evolution of interference using momentum SGD, deriving updated interference terms involving moving averages of gradients.
  • Compares interference dynamics in TD(0), TD(λ), and Monte-Carlo policy evaluation to assess information propagation and target coherence.
  • Uses regression and policy evaluation tasks to compute interference terms $ r_1, r_2, r_3 $, analyzing their sign and magnitude distributions.
  • Employs a frozen target network (DQN), exponential moving average (DDQN), and self-targeting (QL) to study how target stability affects interference.

Experimental results

Research questions

  • RQ1How does interference evolve during training in TD learning compared to supervised learning?
  • RQ2Why does low interference in TD learning correlate with poor generalization, contrary to the behavior in supervised learning?
  • RQ3What role does bootstrapping play in shaping interference dynamics and target coherence in TD methods?
  • RQ4How do optimizer choices like Adam and RMSProp influence interference and generalization in TD learning?
  • RQ5To what extent does TD(λ) improve generalization and interference stability compared to TD(0) and Q-learning?

Key findings

  • TD learning consistently produces low-interference parameters, with interference values remaining low and often negative, especially in Q-learning and DQN.
  • The generalization gap in TD learning is negatively correlated with interference, meaning lower interference leads to worse generalization.
  • Bootstrapping in TD methods reduces interference and destabilizes target coherence, contributing to poor generalization and memorization of training data.
  • TD(λ) shows better interference stability and generalization than TD(0) and Q-learning, suggesting improved target propagation and coherence.
  • Momentum SGD dampens interference variance by aligning with the moving average of gradients, potentially stabilizing interference evolution in TD.
  • Adam and RMSProp exhibit unexpected differences in interference dynamics, indicating that optimizer choice significantly affects generalization in TD learning.

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.