Constraint-Adaptive Policy Switching for Offline Safe Reinforcement Learning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chemingui, Yassine, Deshwal, Aryan, Wei, Honghao, Fern, Alan, Doppa, Janardhan Rao
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916762416578560
author Chemingui, Yassine
Deshwal, Aryan
Wei, Honghao
Fern, Alan
Doppa, Janardhan Rao
author_facet Chemingui, Yassine
Deshwal, Aryan
Wei, Honghao
Fern, Alan
Doppa, Janardhan Rao
contents Offline safe reinforcement learning (OSRL) involves learning a decision-making policy to maximize rewards from a fixed batch of training data to satisfy pre-defined safety constraints. However, adapting to varying safety constraints during deployment without retraining remains an under-explored challenge. To address this challenge, we introduce constraint-adaptive policy switching (CAPS), a wrapper framework around existing offline RL algorithms. During training, CAPS uses offline data to learn multiple policies with a shared representation that optimize different reward and cost trade-offs. During testing, CAPS switches between those policies by selecting at each state the policy that maximizes future rewards among those that satisfy the current cost constraint. Our experiments on 38 tasks from the DSRL benchmark demonstrate that CAPS consistently outperforms existing methods, establishing a strong wrapper-based baseline for OSRL. The code is publicly available at https://github.com/yassineCh/CAPS.
format Preprint
id arxiv_https___arxiv_org_abs_2412_18946
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Constraint-Adaptive Policy Switching for Offline Safe Reinforcement Learning
Chemingui, Yassine
Deshwal, Aryan
Wei, Honghao
Fern, Alan
Doppa, Janardhan Rao
Machine Learning
Artificial Intelligence
Offline safe reinforcement learning (OSRL) involves learning a decision-making policy to maximize rewards from a fixed batch of training data to satisfy pre-defined safety constraints. However, adapting to varying safety constraints during deployment without retraining remains an under-explored challenge. To address this challenge, we introduce constraint-adaptive policy switching (CAPS), a wrapper framework around existing offline RL algorithms. During training, CAPS uses offline data to learn multiple policies with a shared representation that optimize different reward and cost trade-offs. During testing, CAPS switches between those policies by selecting at each state the policy that maximizes future rewards among those that satisfy the current cost constraint. Our experiments on 38 tasks from the DSRL benchmark demonstrate that CAPS consistently outperforms existing methods, establishing a strong wrapper-based baseline for OSRL. The code is publicly available at https://github.com/yassineCh/CAPS.
title Constraint-Adaptive Policy Switching for Offline Safe Reinforcement Learning
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2412.18946