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

Main page › All problems

The crossover time and its asymptotics

MAIS-O84 · open problem

Open problem MAIS-O84 · posed in MAIS-A8 as Problem 5.7 and Problem 7.2 · Status: open.

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

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

Randomizing the coin's position in as little as 2% of training levels largely cured the coin collector of Langosco et al. [LKSP+22] of running past a displaced coin. Why 2%? In the max-margin theory the diversity level $\varepsilon$ is absent from the endpoint: for every $\varepsilon>0$ the limiting linear classifier is the intended goal. The empirical phenomenon must therefore live at finite time — in how long the rare corrective examples take to overturn the proxy.

On the agenda's coin line, the state is an agent position $p$ and coin position $c$ in $\lbrace 0,\dots,L\rbrace $, encoded as $x_{\mathrm a}(p,c)=(1,p,c)$; the coin sits at the right end in all but an $\varepsilon$-fraction of training episodes, and $\mathcal L_\varepsilon$ is the logistic loss for the intended action $\mathrm{sign}(c-p)$, averaged over the training distribution. The displaced coin is never placed at the left end, so states with the coin there lie outside the training distribution for every $\varepsilon$; the exact distribution and conventions are in MAIS-A8.

The max-margin theorem of Soudry, Hoffer, Nacson, Gunasekar, and Srebro [SHNGS18] says that for linearly separable data, gradient descent on the logistic loss converges in direction to the maximum-margin classifier. For the linear model $f_w=w\cdot x_{\mathrm a}$, the agenda's Proposition 4.3 computes this direction to be $(0,-1,1)/\sqrt2$ for every $\varepsilon\in(0,1]$, so the logit at the probe state $s^{\ast }=(\lceil L/2\rceil,0)$ — coin at the left end, where proxy and goal disagree — tends to $-\infty$. But it starts by growing positive along the proxy direction, the max-margin direction of the $\varepsilon=0$ data (the agenda's Proposition 4.2). The question is when it turns.

Problem (MAIS-A8, Problem 5.7). In the linear model above, run gradient descent on $\mathcal L_\varepsilon$ from $w_0=0$ with a sufficiently small constant step size, so that the max-margin theorem of Soudry et al. applies, and let

$$k^{\ast }(\varepsilon)=\inf\lbrace k:\ f_{w_k}(x_{\mathrm a}(s^{\ast }))<0\rbrace $$

be the first step at which the probe verdict flips from proxy to goal; $k^{\ast }(\varepsilon)$ is finite because the probe value tends to $-\infty$. Determine its asymptotics as $\varepsilon\to0$ with $L$ and the step size fixed. A balance between logarithmic growth along the proxy direction and an $\varepsilon$-weighted corrective drift suggests $k^{\ast }(\varepsilon)=\varepsilon^{-1+o(1)}$. For the two-layer iteration define $K^{\ast }_\varepsilon=\inf\lbrace k:f_{\theta_k}(x_{\mathrm a}(s^{\ast }))<0\rbrace $, with $K^{\ast }_\varepsilon=\infty$ if the set is empty, and determine $\Pr(K^{\ast }_\varepsilon>N)$ as a function of $(\varepsilon,m,\sigma,\eta,L)$.

Here the two-layer iteration is gradient descent with step $\eta$, on the same loss with the same encoding, for a width-$m$ ReLU network from Gaussian initialization of scale $\sigma$; the probability is over that initialization, and the exact architecture and conventions are in the agenda. The agenda's starter section sharpens the linear part:

Problem (MAIS-A8, Problem 7.2). Prove $k^{\ast }(\varepsilon)=\varepsilon^{-1+o(1)}$, or refute it, in the setting of the problem above. The tools are those of Soudry et al. plus a two-phase analysis; no network is involved.

The crossover time is the theory's answer to the 2%: Langosco et al.'s agents were trained for a fixed compute budget, so the empirical misgeneralization frequency should be read at a fixed iteration budget, and the curve it traces is the distribution of $k^{\ast }$. For the max-margin computations this problem builds on, see MAIS-A8.

References

  • [SHNGS18] Soudry, Hoffer, Nacson, Gunasekar, and Srebro, The implicit bias of gradient descent on separable data, J. Mach. Learn. Res. 19(70):1–57, 2018. arXiv:1710.10345
  • [JT19] Ji and Telgarsky, The implicit bias of gradient descent on nonseparable data, COLT 2019 — the refined residual and rate analysis for the linear case. arXiv:1803.07300
  • [LKSP+22] Langosco, Koch, Sharkey, Pfau, Orseau, and Krueger, Goal misgeneralization in deep reinforcement learning, ICML 2022 — the 2% experiment. arXiv:2105.14111

Related: MAIS-O8 (the selection map whose finite-time structure this is) · MAIS-O89 (the other linear-model residual question) · MAIS-O88 (the reinforcement-learning diversity curve).

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