Methods that generate training environments by minimizing worst-case regret pit an agent against an adversary that picks levels. Regret here means the gap between the best achievable return on a level and the agent's return on it. The adversary's choice is linear: regret against a distribution over levels is just a weighted average of per-level regrets. The agent's side is the difficult one, because its policy is a neural network and regret is non-convex in the network weights. Every existing convergence argument therefore either assumes away this non-convexity or patches it. Our proposal is to stop optimizing a single network as the agent's strategy. The agent's strategy becomes a probability mixture over the checkpoints that one training run already produces. In that lifted space the regret game is bilinear: a finite zero-sum matrix game between "which checkpoint to deploy" and "which level to play". Standard no-regret dynamics then have guarantees that do not depend on the network's loss surface. They need only an approximate best-response step, which ordinary reinforcement learning training already supplies.
The same population also addresses the second cost of regret-based environment design, which is sample inefficiency. Estimating regret requires knowing the best achievable return on each level, and current methods guess it with a value-loss proxy or a single agent's best past return. A population of checkpoints gives a stronger estimate at no extra training cost. On each level, the best return any checkpoint achieves is a lower bound on the optimum, and that bound tightens as the population grows. In two sentences: treat the agent's checkpoints as pure strategies and solve the regret game over mixtures of them, which makes the game convex-concave regardless of the network. Then reuse the same checkpoints as the reference "oracle" for estimating regret, so the convexification and the better regret estimates come from one structure.
Core Claim
Let $\pi_1,\dots,\pi_K$ be policy checkpoints and $M_1,\dots,M_J$ the levels in a replay buffer. Let $\hat R(\pi_k, M_j)$ be the estimated return of checkpoint $k$ on level $j$, and $\hat U(M_j)$ the best return any checkpoint achieves on level $j$, measured on held-out rollouts. The regret matrix has entries $G_{kj} = \hat U(M_j) - \hat R(\pi_k, M_j)$, and the method solves
$$\min_{p \in \Delta_K} \max_{q \in \Delta_J} \; p^\top G\, q,$$
where $p$ is a mixture over checkpoints and $q$ a distribution over levels. The agent's next training phase is a best response to the adversary's current $q$, and the result is appended as a new checkpoint. This is a double-oracle loop over a growing matrix game. The game is exactly bilinear, so no entropy term is needed to force concavity on the adversary's side. Convergence of the averaged strategies follows from the no-regret property of the matrix-game solver, conditional only on the best-response step making approximate progress.
We claim three things. First, the deployed mixture has lower worst-case regret on held-out levels than the final checkpoint of the same run. Second, it beats a uniform mixture of the same checkpoints, which isolates the contribution of solving the game. Third, the population-max estimate of $\hat U$ tracks true optimal returns more closely than the per-level value-loss proxies used by prioritized replay. This should yield better zero-shot transfer at an equal environment-step budget that counts all evaluation rollouts.
Relation to Prior Work
Three works motivate the gap. An Optimisation Framework for Unsupervised Environment Design recasts environment design as a non-convex–strongly-concave game by adding entropy regularization over the level distribution. It proves best-iterate convergence of two-timescale gradient descent-ascent. We keep its insight that the adversary side is well-behaved, but we convexify the agent side instead of regularizing the adversary. This removes the distortion that the regularizer introduces and turns the guarantee into one about averaged mixtures. AdaGDA gives faster gradient-complexity rates for non-convex–strongly-concave saddle problems. It also rests on strong concavity and is not formulated for regret objectives that embed an oracle baseline. Our formulation needs neither assumption. Safe Policy Improvement by Minimizing Robust Baseline Regret shows that the regret-optimal solution under parameter uncertainty can require randomized rather than deterministic policies. We take this as support for searching over randomized strategies.
We should be careful about how far that support goes. A stochastic neural policy already randomizes action by action. Our mixtures randomize once per episode, which is a different object. We treat representability as a secondary hypothesis to test, not as the main argument; the main argument is optimization structure.
Several methods supply the comparison points. Emergent Complexity and Zero-shot Transfer via Unsupervised Environment Design (PAIRED) estimates the optimum on a level with a single co-trained antagonist agent, and its guarantees assume a Nash equilibrium that deep training rarely reaches. Our population is a many-member antagonist that comes for free from checkpoints and needs no separate training. Replay-Guided Adversarial Environment Design introduces Robust PLR, written $\text{PLR}^\perp$: prioritized level replay that takes gradient steps only on curated replayed levels. We reuse its replay buffer as the level side $\{M_j\}$ of our matrix and keep its practice of training only on curated levels. TRACED improves regret estimates with a transition-prediction loss and a co-learnability score, and reports large sample-efficiency gains. Its improvements are heuristic scores and could in principle replace or augment our $\hat U$, so we test that combination explicitly.
Refining Minimax Regret for Unsupervised Environment Design (ReMiDi) constrains the design. It shows adversaries stagnating on levels whose regret cannot be reduced, such as levels with hidden information. A population-max estimate reports near-zero regret on levels that no checkpoint solves. That is protective against stagnation on unsolvable levels, but it is not equivalent to ReMiDi's level-perfect refinement, so we evaluate on its diagnostic tasks. Finally, Minimax Regret Optimisation for Robust Planning in Uncertain Markov Decision Processes solves regret exactly in tabular uncertain MDPs. Its exact solutions give us ground truth in small instances.
Research Program
We would build the double-oracle loop on top of the $\text{PLR}^\perp$ codebase conventions, using PPO agents. Every $T$ updates, the current weights are frozen as a new checkpoint. A subset of the level buffer is rolled out under the recent checkpoints to refresh $G$. The matrix game is solved with multiplicative weights, which runs in microseconds at our sizes. The resulting $q$ replaces the replay-priority distribution for the next training phase. At deployment, a checkpoint is sampled from $p$ at the start of each episode. We also test distilling the mixture into one latent-conditioned network, so that inference cost matches the baselines.
Two estimation details matter. The maximum over $K$ noisy return estimates is biased upward. We therefore choose the argmax checkpoint on one batch of rollouts and evaluate it on a fresh batch. Evaluation rollouts also cost environment steps, so we cap the matrix at a budget of, for example, 10% of total steps. We fill the matrix sparsely, prioritizing entries for recent checkpoints and high-$q$ levels, and count every step against the method.
The analysis has two parts. On the theory side, we would state the approximate-equilibrium guarantee for the averaged mixture as a function of best-response error and of estimation error in $G$. On the empirical side, we would measure how well $\hat U$ matches the true optimum where the optimum is computable. In MiniGrid mazes it is computable exactly from shortest-path length. In small tabular uncertain MDPs it follows from the exact solver of Rigter et al.
Baselines
The naive reference point is domain randomization, which trains on uniformly sampled levels. Emergent Complexity and Zero-shot Transfer via Unsupervised Environment Design reports 0% zero-shot success for it on Labyrinth and Maze, against 40% and 18% for PAIRED. We expect domain randomization to be weak; it anchors the scale.
The strongest existing method on the MiniGrid and BipedalWalker benchmarks in the file is TRACED. TRACED reports a mean solved rate of 0.66 across 12 test mazes at 10k PPO updates, versus 0.54 for ACCEL. It also reports a mean zero-shot return of about 90 on BipedalWalker test terrains at 10k updates, versus about 50 for ACCEL. We would run TRACED, ACCEL and $\text{PLR}^\perp$ from their released settings at the same 10k-update budget, with matched environment steps that include our evaluation rollouts, the same network, and the same number of hyperparameter trials per method. Beating TRACED means a higher mean solved rate than our own reproduction of TRACED across at least five seeds, with non-overlapping confidence intervals. It also means lower worst-case regret on held-out mazes, where true regret is computable.
The entropy-regularized game of An Optimisation Framework for Unsupervised Environment Design is the closest method in spirit and is reported to improve worst-case robustness. No reported numerical result was found on Lacuna for its MiniGrid solved rate, so we will reproduce it under the same budget.
Two ablations isolate the key ingredients. The first is a uniform mixture over the same checkpoints, which tests whether solving the game matters. The second keeps our level distribution $q$ but deploys only the final checkpoint, which tests whether the mixture matters at deployment rather than only during training.
Why not just…?
Why not just ensemble or weight-average the checkpoints? This is the most serious threat. If most of the gain comes from smoothing over training noise, a uniform mixture or a weight average captures it without any game. The uniform-mixture ablation and a weight-averaged variant settle this directly. If either matches the game-weighted mixture on worst-case held-out regret, the convexification argument loses its empirical bite. We would then report that the population is useful only as an estimator of the optimum.
Why not just use entropy regularization on the adversary, as the existing optimization treatment does? That approach already yields a convergence result. However, the guarantee is about best-iterate stationarity of a regularized objective, and the regularizer pulls the adversary toward uniform levels. That bias is exactly what minimax regret is meant to avoid. Our bilinear formulation needs no regularizer. Whether this matters in practice is measured head-to-head on the a-CVaR-style robustness evaluations that paper uses.
Why not just improve the regret proxy, as TRACED does, and keep a single policy? Better proxies plainly help, given TRACED's halving of required updates. They do not change the fact that a single network's regret game is non-convex. The two ideas are complementary, so we include a TRACED-score-plus-mixture variant. If that variant's gains are purely additive, the contributions are separable. If the mixture adds nothing on top of TRACED, we would conclude the bottleneck was estimation, not optimization.
Why not just maximin robustness? Worst-case optimization makes impossible levels dominate. Emergent Complexity and Zero-shot Transfer via Unsupervised Environment Design reports Hopper reward collapsing to zero under an unconstrained adversary, so we include maximin only as a reference point on the RRLS MuJoCo suite (SuReLI/RRLS).
Proposed Experiments
The first decisive check is on MiniGrid mazes built with Minigrid & Miniworld, where the true optimal return is known for each level. We would plot the error between $\hat U$ and the true optimum against $K$, and compare it with the value-loss proxy. We would then report exact worst-case regret over 1,000 held-out mazes for the final checkpoint, the uniform mixture and the game mixture. The method fails if the game mixture does not reduce worst-case regret relative to the final checkpoint.
The second check is zero-shot transfer on the 12 test mazes and on BipedalWalker at 10k updates, against the baselines above at matched environment steps.
The third check uses ReMiDi's Lever Game and T-Maze diagnostics. There, Refining Minimax Regret for Unsupervised Environment Design reports about 100% solve rate on visible-lever levels versus about 1.5% for standard methods. This tests whether the population-max estimate avoids regret stagnation without explicit trajectory filtering. A failure here would show that lower-bound estimates do not address the problem of regret that cannot be reduced.
The last check is small tabular uncertain MDPs, such as disaster-rescue-style instances, where we compare the max regret of our mixture to the exact minimax-regret solution of Minimax Regret Optimisation for Robust Planning in Uncertain Markov Decision Processes. This bounds how far the checkpoint approximation sits from the true optimum.
References
- An Optimisation Framework for Unsupervised Environment Design
- AdaGDA: Faster Adaptive Gradient Descent Ascent Methods for Minimax Optimization
- Safe Policy Improvement by Minimizing Robust Baseline Regret
- Emergent Complexity and Zero-shot Transfer via Unsupervised Environment Design
- Replay-Guided Adversarial Environment Design
- TRACED: Transition-aware Regret Approximation with Co-learnability for Environment Design
- Refining Minimax Regret for Unsupervised Environment Design
- Minimax Regret Optimisation for Robust Planning in Uncertain Markov Decision Processes
- Minigrid & Miniworld: Modular & Customizable Reinforcement Learning Environments for Goal-Oriented Tasks