cs.LGAug 27, 2026

Arrive and Survive: Scaling Safe Goal-Conditioned Policy Learning from One-Bit Failure Signals

Authors: Guopeng Li, Yiyang Duan, Yiru Jiao, Chengcheng Xu

Organizations: Southeast University Nanjing, China · Lab, Yinwang Intel. Tech. Co. Ltd. Shanghai, China

Abstract

Contrastive reinforcement learning (CRL) scales effectively in goal-conditioned tasks by casting policy learning into a self-supervised contrastive objective. However, in a failure-terminated Markov decision process, established CRL considers pre-failure future goals only when constructing positive samples, without accounting for the probability mass removed by failure termination. Our theoretical analysis shows that this omission induces a systematic overestimation bias in goal-reaching values. Consequently, near-failure trajectories provide disproportionately strong supervision of success despite retaining little future occupancy. Unsafe actions can thereby be reinforced through catastrophic failure bootstrapping, leading to failed policy learning and unsustainable goal-reaching behaviours. To address this problem, we introduce two minimal yet strong corrections: mass-weighted InfoNCE corrects the overweighting of short surviving futures in critic learning, and a log-survival-mass score restores the missing survival mass in policy optimization. The resulting method, Safe Contrastive Reinforcement Learning (Safe-CRL), requires only the one-bit signal provided by failure termination to scale safe goal-conditioned policy learning. Across twelve failure-prone robot navigation and locomotion tasks, Safe-CRL consistently improves survival and substantially outperforms the Scaling-CRL baseline in goal-reaching performance. Additionally, deep Safe-CRL policies exhibit complex failure-avoidance behaviours. This study completes the CRL theory under failure termination and provides a scalable safe RL framework. The code is available via https://github.com/RomainLITUD/safe-crl.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Survival Reinforcement Learning: Toward Scalable Self-Supervised RL

    May 29, 2026Franki Nguimatsia-Tiofack, Fabian Schramm, Théotime Le Hellard +1Reinforcement LearningGoal-Conditioned RL

  2. Counterfactual Rollouts for Offline Contrastive Goal-Conditioned Reinforcement Learning

    Oct 10, 2026Tingrui Huang, Ai Bo, Junzhe ZhangReinforcement LearningOffline RL

  3. SVL: Goal-Conditioned Reinforcement Learning as Survival Learning

    Apr 19, 2026Franki Nguimatsia Tiofack, Fabian Schramm, Théotime Le Hellard +1Reinforcement LearningGoal-Conditioned RL