No Regrets: Investigating and Improving Regret Approximations for Curriculum Discovery

Alexander Rutherford, Michael Beukman, Timon Willi, Bruno Lacerda, Nick Hawes +1 more
8/27/2024
cs.LGcs.AIcs.RO

Official code: amacrutherford/sampling-for-learnability (25 stars, Apache-2.0, last commit 2025-10-21).

Abstract

What data or environments to use for training to improve downstream performance is a longstanding and very topical question in reinforcement learning. In particular, Unsupervised Environment Design (UED) methods have gained recent attention as their adaptive curricula promise to enable agents to be robust to in- and out-of-distribution tasks. This work investigates how existing UED methods select training environments, focusing on task prioritisation metrics. Surprisingly, despite methods aiming to maximise regret in theory, the practical approximations do not correlate with regret but with success rate. As a result, a significant portion of an agent's experience comes from environments it has already mastered, offering little to no contribution toward enhancing its abilities. Put differently, current methods fail to predict intuitive measures of ``learnability.'' Specifically, they are unable to consistently identify those scenarios that the agent can sometimes solve, but not always. Based on our analysis, we develop a method that directly trains on scenarios with high learnability. This simple and intuitive approach outperforms existing UED methods in several binary-outcome environments, including the standard domain of Minigrid and a novel setting closely inspired by a real-world robotics problem. We further introduce a new adversarial evaluation procedure for directly measuring robustness, closely mirroring the conditional value at risk (CVaR). We open-source all our code and present visualisations of final policies here: https://github.com/amacrutherford/sampling-for-learnability.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official codebase for "Sampling For Learnability", published at NeurIPS 2024

252Shell, PythonSep 2, 202412 months agoApache-2.0

Similar Papers

Cite this paper

@article{rutherford2024regrets,
  title  = {No Regrets: Investigating and Improving Regret Approximations for Curriculum Discovery},
  author = {Alexander Rutherford and Michael Beukman and Timon Willi and Bruno Lacerda and Nick Hawes and Jakob Foerster},
  year   = {2024},
  eprint = {2408.15099},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2408.15099},
  url    = {http://arxiv.org/abs/2408.15099v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.15099.svg)](https://codeofpaper.com/paper/2408.15099)

Discussion