Efficient Safe Meta-Reinforcement Learning: Provable Near-Optimality and Anytime Safety

Si-Yuan Xu, Minghui Zhu
1/1/2025
rl

No confident code implementation found for this paper.

Abstract

This paper studies the problem of safe meta-reinforcement learning (safe meta-RL), where an agent efficiently adapts to unseen tasks while satisfying safety constraints at all times during adaptation. We propose a framework consisting of two complementary modules: safe policy adaptation and safe meta-policy training.

Show full abstract

The first module introduces a novel one-step safe policy adaptation method that admits a closed-form solution, ensuring monotonic improvement, constraint satisfaction at every step, and high computational efficiency. The second module develops a Hessian-free meta-training algorithm that incorporates safety constraints on the meta-policy and leverages the analytical form of the adapted policy to enable scalable optimization. Together, these modules yield three key advantages over existing safe meta-RL methods: (i) superior optimality, (ii) anytime safety guarantee, and (iii) high computational efficiency. Beyond existing safe meta-RL analyses, we prove the anytime safety guarantee of policy adaptation and provide a lower bound of the expected total reward of the adapted policies compared with the optimal policies, which shows that the adapted policies are nearly optimal. Empirically, our algorithm achieves superior optimality, strict safety compliance, and substantial computational gains—up to 70% faster training and 50% faster testing—across diverse locomotion and navigation benchmarks.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2025efficient,
  title  = {Efficient Safe Meta-Reinforcement Learning: Provable Near-Optimality and Anytime Safety},
  author = {Si-Yuan Xu and Minghui Zhu},
  year   = {2025},
  doi    = {10.52202/085713-1053},
  url    = {https://doi.org/10.52202/085713-1053},
  journal = {Neural Information Processing Systems}
}

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/a422caead0f02d328a3fb2fc399e8cf6b267b9f6.svg)](https://codeofpaper.com/paper/a422caead0f02d328a3fb2fc399e8cf6b267b9f6)

Discussion