Pessimistic Latent Task-aware Optimization for Robust Offline Meta-Reinforcement Learning
Organizations: Dept. of Computer Science and Engineering, Seoul National University · Interdisciplinary Program in Artificial Intelligence, Seoul National University
Abstract
Context-based offline meta-reinforcement learning (COMRL) has advanced almost entirely through better task representations, which separate task identity from artifacts of the behavior policy so that the latent reflects the task alone. The implicit expectation has been that a clean representation will transfer to out-of-support (parameter-extrapolation) tasks. On such a task, however, the encoder produces a latent outside the training support, where the policy has never been trained. We address this gap with Pessimistic Latent Task-aware Optimization (PLATO), which exposes the policy to off-support latents during training. PLATO assumes a mild manifold hypothesis: task latents lie on a low-dimensional manifold, and out-of-support tasks lie farther from the training centroid. It exploits this geometry by perturbing inferred latents outward from the centroid to synthesize counterfactual tasks. A learned decoder ensemble then rolls out short trajectories at each perturbed latent, and the policy is updated on the imagined transitions under a pessimism weight that down-weights steps on which the ensemble disagrees. We prove that the perturbation leaves the training support by a controllable margin and that the out-of-support generalization gap is bounded by the same perturbation reach, and we give explicit conditions, verified empirically, under which the epistemic disagreement at the perturbed latent stays bounded away from zero. On eight MuJoCo continuous-control benchmarks, PLATO consistently improves out-of-support returns over strong COMRL baselines while remaining competitive on in-distribution tasks. Our code is available at https://github.com/deephoony/plato.
Figures & tables
| Environment | Offline PEARL | FOCAL | CSRO | UNICORN | ER-TRL | PLATO |
|---|---|---|---|---|---|---|
| Ant-Dir | -31 33 | 68 58 | -17 125 | -49 67 | 67 48 | 139 25 |
| Ant-Goal | -491 58 | -480 30 | -527 48 | -517 63 | -489 43 | -472 20 |
| Cheetah-Vel | -230 12 | -199 30 | -188 14 | -203 11 | -201 11 | -179 11 |
| Humanoid-Dir | 687 58 | 499 75 | 624 83 | 580 79 | 457 45 | 806 97 |
| Hopper-Mass | 402 76 | 467 43 | 494 59 | 397 55 | 444 62 | 508 26 |
| Hopper-Friction | 366 31 | 334 55 | 358 48 | 338 64 | 357 21 | 369 29 |
| Environment | Offline PEARL | FOCAL | CSRO | UNICORN | ER-TRL | PLATO |
|---|---|---|---|---|---|---|
| Ant-Dir | 183 39 | 589 20 | 547 49 | 321 45 | 605 34 | 617 29 |
| Ant-Goal | -242 15 | -218 10 | -214 13 | -249 12 | -207 11 | -215 10 |
| Cheetah-Vel | -73 16 | -69 16 | -68 7 | -64 4 | -64 6 | -61 11 |
| Humanoid-Dir | 688 74 | 550 44 | 632 47 | 616 46 | 529 61 | 858 43 |
| Hopper-Mass | 524 61 | 503 59 | 556 31 | 517 53 | 502 53 | 584 12 |
| Hopper-Friction | 517 46 | 526 68 | 584 15 | 474 101 | 521 44 | 526 42 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Environment | Type | ID | Out-of-support | |||
|---|---|---|---|---|---|---|
| Ant-Dir | Reward shift | 27 | 8 | 30 | 20 | 10 |
| Ant-Goal | Reward shift | 27 | 8 | 30 | 20 | 10 |
| Cheetah-Vel | Reward shift | 17 | 6 | 30 | 20 | 10 |
| Humanoid-Dir | Reward shift | 376 | 17 | 30 | 20 | 10 |
| Hopper-Mass | Dynamics shift | 11 | 3 | 30 | 20 | 10 |
| Hopper-Friction | Dynamics shift | 11 | 3 | 30 | 20 | 10 |
| Cheetah-Vel | Hopper-Mass | Walker-Friction | |
|---|---|---|---|
| In-distribution | Out-of-support | |||
| Environment | MerPO | PLATO | MerPO | PLATO |
| Ant-Dir | 678 34 | 617 29 | 70 18 | 139 25 |
| Ant-Goal | -225 12 | -215 10 | -481 20 | -472 20 |
| Humanoid-Dir | 652 51 | 858 43 | 577 68 | 806 97 |
| Hopper-Mass | 602 19 | 584 12 | 516 24 | 508 26 |
| Hopper-Friction | 576 33 | 526 42 | 329 27 | 369 29 |
Meta-Reinforcement Learning
Meta-reinforcement learning trains agents across tasks so they can adapt quickly to new environments or objectives.
See all 40 papers