Enhance Exploration in Safe Reinforcement Learning with Contrastive Representation Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Doan, Duc Kien, Le, Bang Giang, Ta, Viet Cuong
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908339586203648
author Doan, Duc Kien
Le, Bang Giang
Ta, Viet Cuong
author_facet Doan, Duc Kien
Le, Bang Giang
Ta, Viet Cuong
contents In safe reinforcement learning, agent needs to balance between exploration actions and safety constraints. Following this paradigm, domain transfer approaches learn a prior Q-function from the related environments to prevent unsafe actions. However, because of the large number of false positives, some safe actions are never executed, leading to inadequate exploration in sparse-reward environments. In this work, we aim to learn an efficient state representation to balance the exploration and safety-prefer action in a sparse-reward environment. Firstly, the image input is mapped to latent representation by an auto-encoder. A further contrastive learning objective is employed to distinguish safe and unsafe states. In the learning phase, the latent distance is used to construct an additional safety check, which allows the agent to bias the exploration if it visits an unsafe state. To verify the effectiveness of our method, the experiment is carried out in three navigation-based MiniGrid environments. The result highlights that our method can explore the environment better while maintaining a good balance between safety and efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2503_10318
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhance Exploration in Safe Reinforcement Learning with Contrastive Representation Learning
Doan, Duc Kien
Le, Bang Giang
Ta, Viet Cuong
Machine Learning
Artificial Intelligence
In safe reinforcement learning, agent needs to balance between exploration actions and safety constraints. Following this paradigm, domain transfer approaches learn a prior Q-function from the related environments to prevent unsafe actions. However, because of the large number of false positives, some safe actions are never executed, leading to inadequate exploration in sparse-reward environments. In this work, we aim to learn an efficient state representation to balance the exploration and safety-prefer action in a sparse-reward environment. Firstly, the image input is mapped to latent representation by an auto-encoder. A further contrastive learning objective is employed to distinguish safe and unsafe states. In the learning phase, the latent distance is used to construct an additional safety check, which allows the agent to bias the exploration if it visits an unsafe state. To verify the effectiveness of our method, the experiment is carried out in three navigation-based MiniGrid environments. The result highlights that our method can explore the environment better while maintaining a good balance between safety and efficiency.
title Enhance Exploration in Safe Reinforcement Learning with Contrastive Representation Learning
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2503.10318