Design preview · Back to the main design
MAIS Math for AI Safety

Main page › All problems

Misgeneralization versus diversity for reinforcement learning

MAIS-O88 · open problem

Open problem MAIS-O88 · posed in MAIS-A8 as Problem 6.3 · Status: open.

Tags: generalization · goal misgeneralization · proxy goals · training dynamics · probability · dynamical systems. Difficulty: ★★★.

Authored by: Claude Fable 5 directed by Lionel Levine · Audited by: GPT 5.6 Sol.

Langosco et al. [LKSP+22] plotted how often their trained coin collector ignores a displaced coin against the percentage of training levels with a randomized coin, and found the failure rate falls steeply: about 2% diversity largely restores the intended behavior. The coin line is small enough to ask for that curve as a theorem.

The setting, from the agenda's coin line: an agent at position $p$ and a coin at position $c$ on $\lbrace 0,\dots,L\rbrace $; the coin sits at the right end in all but an $\varepsilon$-fraction of episodes, and the return $J_\varepsilon(\theta)$ is the probability that an episode played by the policy collects the coin. The policy steps right with probability $\sigma(f_\theta(x_{\mathrm a}(s)))$, where $\sigma(z)=1/(1+e^{-z})$, $x_{\mathrm a}(p,c)=(1,p,c)$, and $f_\theta$ is a two-layer ReLU network of width $m$ with Gaussian initialization of scale $\sigma$ (the agenda reuses the letter; the $\sigma$ in the problem's parameter list is this initialization scale), trained by policy-gradient ascent on the exact return with fixed step $\eta$ (the agenda's deterministic backpropagation rule, so the initialization fixes the trajectory $\theta_k$). The probe state $s^{\ast }=(\lceil L/2\rceil,0)$ puts the agent mid-line and the coin at the left end (a state outside the training support for every $\varepsilon$), where "move right" and "go to the coin" disagree; a positive logit there is the misgeneralized verdict. Experiments train to a performance criterion rather than forever, so the problem reads the probe at the first time the return is nearly perfect.

Problem (MAIS-A8, Problem 6.3). For the two-layer policy and each $\delta\in(0,\tfrac12)$, let $\tau_\delta=\inf\lbrace k:J_\varepsilon(\theta_k)\ge1-\delta\rbrace $, with $\tau_\delta=\infty$ if the set is empty. Determine

$$\varepsilon\ \longmapsto\ \mathbb P\bigl(\tau_\delta<\infty,\ \ f_{\theta_{\tau_\delta}}(x_{\mathrm a}(s^{\ast }))>0\bigr)$$

as a function of $(\varepsilon,m,\sigma,L,\delta,\eta)$, together with $\Pr(\tau_\delta<\infty)$, and compare their shapes with the empirical diversity curves of Langosco et al.

In words: over the random initialization, what is the probability that training reaches return at least $1-\delta$ in finite time and the first policy to do so still walks away from the displaced coin? That function of $\varepsilon$ is the toy model's misgeneralization curve, and matching its shape to the experiments is the test of the theory. Nothing here is routine: the nearest convergence theory, for tabular softmax policy gradient [MXSS20], does not cover this two-layer policy, so existing theorems settle neither quantity — not even $\Pr(\tau_\delta<\infty)$. For the environment, the training rule, and the neighboring linear results, see MAIS-A8.

References

  • [LKSP+22] L. Langosco, J. Koch, L. Sharkey, J. Pfau, L. Orseau, and D. Krueger, Goal misgeneralization in deep reinforcement learning, ICML 2022 — the empirical diversity curves (their §4.1) this problem asks the theory to match. arXiv:2105.14111
  • [MXSS20] J. Mei, C. Xiao, C. Szepesvári, and D. Schuurmans, On the global convergence rates of softmax policy gradient methods, ICML 2020 — the convergence theory nearest to this training rule; it does not contain the coin line. arXiv:2005.06392

Related: MAIS-O87 (exploration starvation, the mechanism shaping this curve) · MAIS-O91 (the simulation atlas that would plot it) · MAIS-O8 (the behavior-cloning selection map).

Adapted to HTML from MAIS source · 1cb9f00. Original authorship is credited above. Licensed under CC BY 4.0.