Spatial reward scarcity slows learning more than delayed rewards

Spatial But Not Temporal Reward Sparsity Drives Slow Policy Learning

Machine Learning

Summary

Learning from rewards that are rare is tricky, especially when these rewards happen only after a long sequence of actions or only for a few specific actions. The authors create a simple model to study how the location of rewards (spatial sparsity) and the timing of rewards (temporal sparsity) affect how quickly a learning system can improve. They find that having rewards available at only a few locations causes learning to slow down a lot, much more than if the rewards come after many steps in time. They also show that having the environment change a lot in some ways can help learning go faster than expected.

What this means in practice

  • For reinforcement learning practitioners: Design learning tasks and algorithms recognizing spatial reward scarcity as a key factor slowing down policy training.
  • For robotics developers: Improve robot learning efficiency by focusing on reducing spatial sparsity in reward signals during task design and environment setup.

A theory result. No direct application yet.

Authors

John J. Vastola, Kanaka Rajan

Abstract

A primary difference between reinforcement and supervised learning is that rewards are generally sparse in both space and time: few actions yield high reward (spatial sparsity), and rewards may only be provided after temporally extended sequences of actions (temporal sparsity). How these factors impact policy learning dynamics is undertheorized, especially because it is difficult to design a theoretical setting interesting enough to capture relevant phenomenology, but simple enough to treat analytically. In this paper, we propose and analytically solve a minimal model of learning to pursue a moving target which naturally incorporates both spatial and temporal reward sparsity. We show mathematically that spatial sparsity can produce exponential slowdowns in learning, and that temporal sparsity is comparatively benign, only yielding a comparatively short additional phase of pursuit trajectory refinement. We also show that the presence of highly variable environmental state features can---without complex function approximators---produce an implicit curriculum effect which makes learning from sparse rewards polynomially rather than exponentially slow. We provide a wealth of relevant calculations, whose utility is in part that they sharpen our intuitions about reward sparsity.