atlas

Research map / Reinforcement learning / Offline RL

Q-Supervised Contrastive Representation: A State Decoupling Framework for Safe Offline Reinforcement Learning

ICML 2025 · Reinforcement learning › Offline RL · approach: Offline-to-online fine-tuning

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SDQC, a safe offline RL framework that decouples states into reward- and cost-related representations learned via Q-supervised contrastive loss, and selects among three diffusion policies based on HJ-reachability safety assessment.

Problem

Safe offline RL policies violate safety constraints at test time due to out-of-distribution observations, since the combinations of reward-related and cost-related states are effectively infinite.

Approach

Learn reward- and cost-related state representations by contrastively clustering states whose optimal Q-values (across in-support actions) match, which coarsens the representation without model estimation (unlike bisimulation), and use decoupled representations with three diffusion policies chosen by HJ-based safety assessment.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Q-supervised contrastive loss to critic and representation training (ablation)SDQC · CarGoal2reward and costHelped
use an attention-based rather than MLP-based state encoder (ablation)SDQC · CarGoal2reward and costHelped
set anchor number to 16 rather than 8 (ablation)SDQC · CarGoal2 and CarPush2reward: 0.23 -> 0.22; 0.31 -> 0.28Mixed
set anchor number to 4 rather than 8 (ablation)SDQC · CarGoal2 and CarPush2reward: 0.23 -> 0.20; 0.31 -> 0.25Hurt
set anchor number to 1 rather than 8 (ablation)SDQC · CarGoal2 and CarPush2reward: 0.23 -> 0.15; 0.31 -> 0.10Hurt
remove contrastive learning by setting anchor number to 0 (ablation)SDQC · CarGoal2 and CarPush2cost: 0.00 -> 0.86; 0.04 -> 2.15Hurt
increase contrastive temperature ν to 1 (ablation)SDQC · PointGoal2 and CarPush2reward and cost: 0.31, 0.04 -> 0.22, 0.16; 0.29, 0.09 -> 0.20, 0.48Mixed
lower contrastive coefficient δ to 0.1 (ablation)SDQC · PointGoal2 and CarPush2reward and cost: 0.31, 0.04 -> 0.31, 0.17; 0.29, 0.09 -> 0.30, 0.10Mixed
increase contrastive coefficient δ to 10 (ablation)SDQC · PointGoal2 and CarPush2reward and cost: 0.31, 0.04 -> 0.23, 0.48; 0.29, 0.09 -> 0.22, 0.53Hurt
use only the reward policy πr instead of the three-policy combination (ablation)SDQC · PointGoal1 and PointGoal2cost: 0.36 -> 4.92; 0.09 -> 13.28Hurt
use only the trade-off policy πto instead of the three-policy combination (ablation)SDQC · PointGoal1 and PointGoal2reward: 0.35 -> 0.27; 0.29 -> 0.28Hurt
use only the cost policy πh instead of the three-policy combination (ablation)SDQC · PointGoal1 and PointGoal2reward: 0.35 -> 0.01; 0.29 -> -0.11Hurt

Surprising findings

Limitations

Experimental setup

Datasets: DSRL benchmark

Benchmarks: DSRL Safety-Gymnasium Bullet-Safety-Gym

Metrics: normalized reward normalized cost

Baselines: BCQ-Lag CPQ COptiDICE CDT TREBI FISOR

Builds on: FISOR implicit Q-learning bisimulation weighted regressed diffusion models Safety Bellman operator (HJ reachability)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy