arXiv Machine Learning

Safe In-Context Reinforcement Learning

arXiv:2509. 25582v4 Announce Type: replace Abstract: In-context reinforcement learning (ICRL) is an emerging RL paradigm where an agent, after pretraining, can adapt to out-of-distribution test tasks without any parameter updates, instead relying on an expanding context of interaction history.

arXiv AI
Sep 15

Evaluation Metrics for Safe Reinforcement Learning

The paper introduces new evaluation metrics for safe reinforcement learning that go beyond average safety guarantees by examining how often and how severely safety bounds are violated, consistency across tasks and bounds, and the relationship between training-time and final policy behavior. It also proposes a safety tier system for categorizing algorithms and presents empirical safety evaluations on multiple navigation tasks. The authors recommend reporting aggregate metrics, distributional data, and task‑specific results together, and provide an open‑source suite, SafeRLEval, to facilitate reliable safety assessment.

By Lindsay Spoor, Aske Plaat, Thomas Moerland
arXiv AI
Sep 24

Turning Safety into Competence: Minimally Exploitable Robot Policies via Safety-Filtered Reinforcement Learning

The paper introduces Safety to Competence (S2C), a two‑stage reinforcement learning framework that first learns a safety filter and then trains a competitive task policy while embedding the filter. By separating safety synthesis from task learning, S2C reduces training complexity and prevents the policy from being exploited by adversarial attacks. Experiments on simulated touchdown games show that S2C achieves higher win rates, better Elo ratings, and lower exploitability than eight safe‑RL baselines, and hardware tests confirm its competence against a human opponent.

By Ruihan Wu, Rui Yang, Donggeon David Oh, Duy Nguyen, Haimin Hu
arXiv AI
Nov 6

Accelerating Safe Reinforcement Learning with Massive Parallelism

The paper tackles the challenge of scaling safe reinforcement learning to massively parallel training, where many environments run short rollouts. It identifies a mismatch between short trajectories and full‑episode safety constraints in constrained Markov decision processes, and proposes a phase‑aggregated cost estimator that reconstructs episode‑level costs from short batches. By integrating finite‑sample uncertainty and distribution mismatch into a constraint‑tightening framework, the authors develop a scalable on‑policy safe RL method that matches the performance of non‑parallel implementations while dramatically cutting wall‑clock training time.

By Joonyoung Lim, Younghwan Yoo
arXiv AI
Aug 26

RePolicy: Reinforcement Learning for Safety-Policy Invocation in Agent Safeguards

RePolicy is a reinforcement learning approach designed to invoke safety policies for language model agents by evaluating entire execution trajectories within context-dependent policy libraries. It generates policy-grounded rationales and safety judgments, and is initialized with the PolicyTraj-20K dataset before fine-tuning via GRPO with verifiable rewards and policy-context perturbation. Experiments on six safety benchmarks demonstrate strong safety-detection performance and robust policy invocation across varying contexts.

By Houcheng Jiang, Boxuan Zhang, Qiyong Zhong, Junfeng Fang, Xiang Wang, Xiangnan He
Hugging Face Trending Papers
Nov 16

Algorithm Distillation for Safe In-Context Reinforcement Learning

The paper introduces Safe Algorithm Distillation (Safe AD) for in-context reinforcement learning, focusing on tasks with hidden constraints such as hidden goals or velocity limits. It proposes a two-phase budget-aware teacher that first explores to locate the hidden task and then exploits it within the remaining budget, collecting learning histories under both fixed and dynamic budgets. Additionally, the authors present A‑Lag, a test‑time adjustment that reweights actions based on predicted cost using an adaptive Lagrange multiplier, which consistently reduces episode cost across five benchmark environments.

arXiv Machine Learning
Jul 7

CDCP: Conditional Diffusion Model with Contextual Prompts for Multi-task Offline Safe Reinforcement Learning

arXiv:2607. 03903v1 Announce Type: new Abstract: Multi-task offline safe reinforcement learning (RL) promises to learn a shared optimal safe policy from offline data across multiple tasks.

By Jiayi Guan, Tianle Zhang, Li Shen, Ruiqi Zhang, Ao Zhou, Lusong Li, Guai Chen, Mengjie Li, Alois Knoll, Xiaodong He, Changjun Jiang