SafeMind: A Risk-Aware Differentiable Control Framework for Adaptive and Safe Quadruped Locomotion
About
Learning-based quadruped controllers achieve impressive agility but typically lack formal safety guarantees under model uncertainty, perception noise, and unstructured contact conditions. We introduce SafeMind, a differentiable stochastic safety-control framework that unifies probabilistic Control Barrier Functions with semantic context understanding and meta-adaptive risk calibration. SafeMind explicitly models epistemic and aleatoric uncertainty through a variance-aware barrier constraint embedded in a differentiable quadratic program, thereby preserving gradient flow for end-to-end training. A semantics-to-constraint encoder modulates safety margins using perceptual or language cues, while a meta-adaptive learner continuously adjusts risk sensitivity across environments. We provide theoretical conditions for probabilistic forward invariance, feasibility, and stability under stochastic dynamics. SafeMind is deployed on Unitree A1 and ANYmal C at 200~Hz and validated across 12 terrain types, dynamic obstacles, morphology perturbations, and semantically defined tasks. Experiments show that SafeMind reduces safety violations by 3--10x and energy consumption by 10--15% relative to state-of-the-art CBF, MPC, and hybrid RL baselines, while maintaining real-time control performance.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Legged Locomotion | 12 terrain families T1-T12 (2400 episodes) | Success Rate (SVR) (%)0.58 | 6 | |
| Quadruped Locomotion | Morphology Variation and Structural Disturbance | SVR (%)1.12 | 6 | |
| Quadruped Locomotion | Mixed-Adversarial Terrain Transitions T2, T5, T4 (test) | Success Rate (%)0.77 | 5 | |
| Robot Locomotion | Low–Friction Indoor Environment | SVR (%)0.88 | 5 | |
| Narrow Corridor Navigation | Narrow Corridor | Wall Contact Rate0.36 | 4 | |
| Robot Stair Climbing Safety | Industrial Stairs | Clearance Violation Rate0.47 | 4 | |
| Safety Distance Maintenance | Human-Robot Interaction | Proximity Events (< 1.5m) Count0.00e+0 | 4 | |
| Safety Violation Probability | Long-horizon episodes with periodic disturbances 150s horizon | Accumulated Violation Probability0.41 | 4 | |
| Safety Violation Probability | Long-horizon episodes with periodic disturbances 300s horizon | Accumulated Violation Probability0.58 | 4 | |
| Safety Violation Probability | Long-horizon episodes with periodic disturbances (450s horizon) | Accumulated Violation Probability0.65 | 4 |