Safe-CRL Scales Goal-Conditioned Policy Learning with Failure Signals.

Guopeng Li, Yiyang Duan, Yiru Jiao, Chengcheng Xu· August 28, 2026 View original

Key takeaways

  • Standard CRL overestimates goal-reaching values in failure-terminated environments.
  • Safe-CRL corrects this bias with mass-weighted InfoNCE and log-survival-mass score.
  • It scales safe policy learning using only one-bit failure signals.
  • Safe-CRL significantly improves survival and goal-reaching in robot tasks.

Who benefits

RoboticsAutonomous VehiclesLogisticsManufacturingAerospace

Summary

Safe Contrastive Reinforcement Learning (Safe-CRL) addresses overestimation bias in goal-conditioned tasks with failure termination by introducing mass-weighted InfoNCE and a log-survival-mass score. This method uses only one-bit failure signals to scale safe policy learning, significantly improving survival and goal-reaching in robot tasks.

Contrastive reinforcement learning (CRL) has proven effective for goal-conditioned tasks, but its application in environments with failure termination presents a significant challenge. Existing CRL methods tend to overestimate goal-reaching values by not fully accounting for the probability mass removed by failures, leading to a bias that can reinforce unsafe actions. This "catastrophic failure bootstrapping" can result in policies that fail to learn or exhibit unsustainable behaviors. To counter this, the researchers introduce Safe Contrastive Reinforcement Learning (Safe-CRL). This framework incorporates two key corrections: "mass-weighted InfoNCE" to adjust for the overemphasis on short, surviving trajectories in critic learning, and a "log-survival-mass score" to restore the missing survival probability in policy optimization. Safe-CRL requires only a simple one-bit signal indicating failure, making it highly scalable. Experiments across various robot navigation and locomotion tasks demonstrate that Safe-CRL consistently improves survival rates and goal-reaching performance, even enabling complex failure-avoidance behaviors.

Why it matters

For professionals developing autonomous systems, robotics, or any AI agent operating in environments where failures have significant consequences, Safe-CRL offers a scalable and robust method to learn safe and effective policies, reducing risks and improving system reliability.

How to implement this in your domain

  1. 1Evaluate Safe-CRL for developing robust policies in safety-critical robotic or autonomous systems.
  2. 2Integrate the mass-weighted InfoNCE and log-survival-mass score into existing CRL frameworks.
  3. 3Design experiments to test Safe-CRL's performance in environments with varying failure rates and costs.
  4. 4Collaborate with research teams to adapt Safe-CRL for specific hardware and operational constraints.
  5. 5Utilize the provided code repository to accelerate implementation and testing.

Original post by Guopeng Li, Yiyang Duan, Yiru Jiao, Chengcheng Xu

"arXiv:2608.26571v1 Announce Type: new 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…"

View on X

Originally posted by Guopeng Li, Yiyang Duan, Yiru Jiao, Chengcheng Xu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Engineering & DevTools