paper-with-me

홈 › Papers

Safe In-Context Reinforcement Learning

2025-09-29 · Amir Moeini, Minjae Kwon, Alper Kamil Bozkurt, Yuichi Motai, Rohan Chandra, Lu Feng, Shangtong Zhang arxiv

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. While ICRL has shown impressive generalization, safety during this adaptation process remains unexplored, limiting its applicability in real-world deployments where test-time behavior is expected to be safe. In this work, we propose SCARED: Safe Contextual Adaptive Reinforcement via Exact-penalty Dual, the first method that promotes safe adaptation of ICRL under the constrained Markov decision process framework. During the parameter-update-free adaptation process, our agent not only maximizes the reward but also keeps the accumulated cost within a user-specified safety budget. We also demonstrate that the agent actively reacts to the safety budget; with a higher safety budget, the agent behaves more aggressively, and with a lower safety budget the agent behaves more conservatively. Across challenging benchmarks, SCARED consistently enables safe and robust in-context adaptation, outperforming existing ICRL and safe meta-RL baselines.

📄 PDF Abstract BibTeX arXiv:2509.25582

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement Learning

Similar Papers 제목 키워드 기반

Safe Continual Reinforcement Learning under Nonstationarity via Adaptive Safety Constraints

2026-05-13 · Timofey Tomashevskiy arxiv

Safe reinforcement learning in nonstationary environments requires safety mechanisms that adapt as environmental conditions change. Standard safe reinforcement learning methods often assume fixed constraints or stable en…

Reinforcement Learning

Context-Aware Safe Reinforcement Learning for Non-Stationary Environments

2021-01-02 · Baiming Chen, Zuxin Liu, Jiacheng Zhu, Mengdi Xu 외

Safety is a critical concern when deploying reinforcement learning agents for realistic tasks. Recently, safe reinforcement learning algorithms have been developed to optimize the agent's performance while avoiding viola…

Meta-Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)+1

Safe Continual Reinforcement Learning Methods for Nonstationary Environments. Towards a Survey of the State of the Art

2026-01-08 · Timofey Tomashevskiy arxiv

This work provides a state-of-the-art survey of continual safe online reinforcement learning (COSRL) methods. We discuss theoretical aspects, challenges, and open questions in building continual online safe reinforcement…

Reinforcement LearningContinual Learning

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

2026-08-25 · Houcheng Jiang, Boxuan Zhang, Qiyong Zhong, Junfeng Fang 외 arxiv

Safeguarding language model agents requires assessing complete execution trajectories under context-dependent safety policies. Existing policy-aware safeguards mainly rely on prompting or supervised fine-tuning, limiting…

Reinforcement Learning

Latent Q-Barrier Shielding for Safe In-Context Reinforcement Learning

2026-05-24 · Minjae Kwon, Amir Moeini, Shangtong Zhang, Lu Feng arxiv

Safe in-context reinforcement learning (ICRL) adapts online from interaction history without test-time parameter updates while controlling episode cost under a safety budget. Under out-of-distribution (OOD) deployment sh…

Reinforcement Learning