MEKAWIRE
ExpertarXiv

PROOF: Perceptive Robustness via Out-of-Distribution Fallback for Legged Locomotion

Siyuan Wang, Dongjie Zhu, Jinxuan Lu, Wenjun Xu, Jiankun Wang
From the abstract

Vision-based perceptive locomotion has enabled legged robots to achieve agile and terrain-aware locomotion across complex environments. However, the reliability of such systems heavily depends on visual observations, which are inherently susceptible to occlusion, reflective surfaces, and illumination variations, often resulting in catastrophic locomotion failures under degraded perception conditions.

From the abstract. Our summary is in progress.

Full paper

PROOF: Perceptive Robustness via Out-of-Distribution Fallback for Legged Locomotion

Siyuan Wang, Dongjie Zhu, Jinxuan Lu, Wenjun Xu, Jiankun Wang

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.18305 (PDF).

Abstract

Vision-based perceptive locomotion has enabled legged robots to achieve agile and terrain-aware locomotion across complex environments. However, the reliability of such systems heavily depends on visual observations, which are inherently susceptible to occlusion, reflective surfaces, and illumination variations, often resulting in catastrophic locomotion failures under degraded perception conditions. In this paper, we present PROOF (Perceptive Robustness via Out-of-Distribution Fallback for Legged Locomotion), a perceptive locomotion framework that enables robust locomotion under severe visual disturbances. Our method adopts a two-stage teacher–student learning paradigm that explicitly models perception reliability: the teacher learns both perception-driven and proprioceptive fallback behaviors, while the student predicts exteroceptive features with uncertainty and suppresses them under out-of-distribution inputs. We evaluate our method on a Unitree Go2 quadruped equipped with a RealSense D435 depth camera in real-world settings. Under normal visual conditions, our method enables the robot to successfully perform high-dynamic parkour maneuvers, including traversing large gaps, elevated platforms, and narrow beam terrains. Under severe visual degradation, such as heavy occlusion and strong illumination changes, the robot continues to maintain stable and robust locomotion performance.

Figure 1: PROOF enables agile perceptive robot parkour under challenging real-world conditions. The robot traverses large platforms and discontinuous obstacles while remaining reliable under severe visual degradation. When exteroceptive observations become unreliable, PROOF suppresses corrupted visual features and falls back to proprioceptive locomotion behaviours.

Keywords: Reinforcement Learning, Perceptive Locomotion

1 Introduction

Perceptive locomotion has significantly advanced the mobility of legged robots in complex environments [29, 17, 1]. By incorporating exteroceptive sensors such as depth cameras and LiDAR, legged robots can proactively perceive surrounding terrain geometry, enabling highly dynamic and agile behaviors including stair climbing, gap traversal, and parkour maneuvers [5, 33, 8, 21, 12, 27, 34]. Compared to traditional proprioceptive locomotion policies, perceptive locomotion provides substantially improved terrain awareness and maneuverability. However, the performance of such systems heavily depends on the reliability and accuracy of exteroceptive observations, making perception both the key enabler of agile locomotion and a major source of system vulnerability.

In real-world environments, visual perception is highly susceptible to severe environmental disturbances like sensor occlusion, illumination overexposure, reflective surfaces, motion blur and so on. Such disturbances introduce substantial out-of-distribution (OOD) shifts in visual inputs. For perceptive end-to-end locomotion policies that fully rely on exteroceptive information, corrupted visual observation directly misleads the policy’s action , ultimately resulting in unstable locomotion, collisions, or catastrophic failures.

Existing works have attempted to improve the robustness of perceptive locomotion through domain randomization, sensor dropout, adversarial perturbation training, and privileged learning mechanisms[17, 3, 24]. While these approaches improve robustness against perceptual noise and mild distribution shifts, they largely assume that exteroceptive observations remain at least partially informative. Under severe perception degradation, however, visual inputs may become fundamentally unreliable, and continuously relying on corrupted exteroceptive features can further amplify system failure. Therefore, the core challenge is not merely improving robustness to noisy perception, but enabling graceful degradation under catastrophic perception failures.

To address this challenge, we propose PROOF (Perceptive Robustness via Out-Of-distribution Fallback), a novel two-stage perceptive locomotion framework that efficiently learns agile parkour skills while maintaining resilience against severe visual perception disturbances. To improve robustness against unreliable visual observations, we introduce a two-stage teacher–student framework with uncertainty-aware exteroceptive gating. The privileged teacher is trained with terrain elevation map under random exteroceptive masking, enabling it to learn both perception-driven agile behaviors and proprioception-based fallback locomotion. The resulting behavior is distilled into a depth-vision student, where a recurrent estimator predicts latent exteroceptive features and their uncertainty. This uncertainty serves as an input of an adaptive gate that suppresses corrupted visual inputs and falls back to proprioceptive control under OOD perception. Finally, we validate our method on a real-world Unitree Go2 equipped with a single front-facing RealSense D435 camera, demonstrating agile parkour maneuvers under clean vision and stable locomotion under severe visual degradation.

The contributions of this work are summarized as follows:

  • We present PROOF, a perceptive locomotion framework that learns agile quadruped parkour under reliable vision and falls back to proprioception when depth becomes unreliable.
  • We introduce a dual-guard fallback mechanism that detects OOD visual disturbances via latent uncertainty estimation and switches to proprioceptive control when vision becomes unreliable.
  • We validate PROOF on a real-world Unitree Go2 hardware with a single RealSense D435, showing robust obstacle traversal and failure avoidance under extreme visual corruptions.

2 Related Work

2.1 Learning-Based Legged Locomotion

Deep reinforcement learning has emerged as the leading paradigm for legged locomotion, allowing quadruped robots to learn motor skills in simulation and then deploy the trained policies onto physical robotic hardware [25, 9, 22]. Compared to traditional model-based control pipelines, reinforcement learning demonstrates remarkable flexibility and robustness across diverse locomotion scenarios, enabling legged system works across various scenarios like agile locomotion, navigation, force adaptive interaction, motion tracking, etc.[11, 6, 4, 16, 7, 14, 28, 30, 34, 27].

2.2 Perceptive Legged Locomotion

To enable legged robots to traverse unknown and dynamic environments, a large body of work focuses on proprioceptive locomotion, where policies infer terrain properties and robot dynamics from onboard available proprioception without explicit perception input [13, 11, 10, 2, 6, 26]. These methods achieve impressive robustness on most uneven terrains, but they only react after terrain changes are reflected in contact or body motion, which limits their ability to prepare for obstacles that require anticipatory foothold or body adjustment.

Perceptive locomotion addresses this limitation by incorporating exteroceptive observations such as depth images, reconstructed elevation map and so on. [17] learns an attention-based recurrent controller that fuses proprioception and exteroception for robust outdoor locomotion. Subsequent works improve visual policy learning through end-to-end cross-modal architectures [29, 1, 32, 5, 33, 15, 12, 8, 21]. These methods demonstrate that visual perception can substantially expand traversability with lightweight hardware integration, but typically rely on the quality of alignment for visual features between sim and real. This visual sim-to-real gap may be caused by differences in scene richness and imaging mechanisms and unmodeled environmental noise. As a result, corrupted or OOD visual observations directly influence robot’s action. Hence, our work focuses on making perceptive locomotion more robust to visual perception, especially for visual degeneration which leads to catastrophic system failure, which is crucial for a safe working robot system.

3 Method

Figure 2: Our framework consists of two parts: a teacher policy, trained using elevation maps in simulation; and a student policy, trained using depth vision and teacher-student distillation.

As shown in Fig. 2, the overall pipeline consists of an elevation-map teacher policy, which is subsequently distilled into a deployable depth-vision student policy. Importantly, we make the teacher and distillation procedure aware of out-of-distribution situations and therefore use a gating mechanism to let the student fallback to safe perception.

3.1 Parkour as Velocity Tracking

We formulate agile parkour locomotion as a velocity-tracking problem, where the robot follows commanded planar velocities while interacting with diverse terrain structures. This formulation provides a unified objective across locomotion behaviors, while allowing terrain geometry to implicitly induce complex skills such as gap traversal, beam walking, and platform climbing.

Reward Design

The teacher is trained with a set of velocity-tracking locomotion rewards consisting of (i) velocity tracking terms, (ii) regularization terms on motion smoothness and energy, and (iii) additional parkour-specific terms. More details are provided in Table 3 of the Appendix.

Conventional velocity-tracking task reward requires the robot to follow the exactly commanded speed and penalizes deviations from it. During parkour tasks, however, the robot may briefly accelerate beyond the command to build momentum for takeoff, which conflicts with this strict tracking objective. To enable dynamic maneuvers such as jumping over obstacles, we relax the linear velocity tracking objective along the forward (x) direction on parkour terrains, and allow the robot to temporarily exceed the target speed to build sufficient momentum for takeoff. The relaxed velocity tracking reward is defined as:

r_{v}=\exp\!\left(-\frac{(v_{x}^{\mathrm{cmd}}-\bar{v}_{x})^{2}+(v_{y}^{\mathrm{cmd}}-v_{y})^{2}}{\sigma^{2}}\right),\quad\bar{v}_{x}=\begin{cases}\min(v_{x},v_{x}^{\mathrm{cmd}}+\delta),&\text{parkour terrains},\\
v_{x},&\text{otherwise}.\end{cases}
(1)

This modification encourages aggressive yet controlled acceleration before takeoff, while retaining standard tracking behavior on normal terrains.

3.2 Teacher Policy with Elevation Map-based Perception

Figure 3: Training terrain library used in our experiments. From left to right and top to bottom, the subterrains correspond to: (a) beams, (b) gap, (c) gap with narrow stages, (d) high platform, (e) uphill slope, (f) downhill slope, (g) rough plane, (h) ascending stairs, and (i) descending stairs.
Teacher Training Design

The teacher policy uses elevation maps as exteroceptive observations, which provide accurate local terrain description while remaining low-cost to simulate. We adopt an asymmetric actor-critic framework [19] to train the teacher policy. The actor operates at 50 Hz and adopts a two-branch architecture. The proprioceptive branch encodes a 10-frame history o_{t}^{p} into z_{t}^{p}=E_{p}(o_{t}^{p}), where o_{t}^{p} consists of base angular velocity, projected gravity, velocity command, joint positions and velocities, and previous actions. The exteroceptive branch encodes the current local elevation map h_{t} into z_{t}^{e}=E_{e}(h_{t}). The resulting latent features are used by the policy to generate locomotion actions. While the critic is provided with task-related privileged observations, including base linear and angular velocities, projected gravity, velocity command, joint positions, velocities, efforts, and accelerations, previous actions, foot contact flags, foot heights, and the elevation map. The actions are treated as target joint angles, which are then converted into torque signals by a high-frequency low-level PD controller. In simulation, we adopt a delayed implicit actuator model in Isaac Lab.

Since base linear velocity is critical for velocity tracking but unavailable on the real robot, the first three dimensions of z_{t}^{p} are supervised to estimate it [10]. The action is a_{t}^{T}=\pi_{T}(z_{t}^{p},m_{t}z_{t}^{e}), where m_{t} masks the exteroceptive latent. The teacher policy is updated by Proximal Policy Optimization (PPO) [23]:

\mathcal{L}_{T}=\mathcal{L}_{\mathrm{PPO}}+\lambda_{v}\mathrm{MSE}(\hat{v},v)
(2)
Figure 4: Virtual edge penalty illustration. Red cylinders denote auto-generated virtual obstacles, and green points attached to each foot tip denote virtual monitoring points.

To discourage unstable foot-ground interactions near terrain edges, we detect sharp edges on gap and beam terrains and instantiate virtual cylindrical obstacles around them, similar to the virtual-obstacle design in [31]. Four monitoring points are attached to each foot (Fig. 4). For each point i\in\mathcal{P}, let \mathbf{d}_{i} be its penetration offset into an edge obstacle and \mathbf{v}_{i} be its linear velocity in the world frame. Following [32], we define the edge penalty as

r_{\mathrm{edge}}=-\sum_{i\in\mathcal{P}}\|\mathbf{d}_{i}\|\ \cdot\|\mathbf{v}_{i}\|,
(3)

This term assigns larger penalties to high-speed impacts and scraping motions near obstacle edges, encouraging the policy to select safer footholds.

3.3 Student Policy with Depth Camera and Uncertainty Fallback

Student Training with Out-of-Distribution Awareness

We distill the elevation-map teacher into a deployable depth-vision student using online DAgger-style supervision [20], as shown in Fig. 2. The student keeps the teacher’s frozen proprioceptive encoder and learns to replace the teacher’s elevation-map latent with a depth-based estimate. Concretely, a CNN encodes two delayed 10 Hz depth frames into z_{t}^{v}, and a GRU predicts the exteroceptive latent mean \hat{z}_{t}^{e} from [z_{t}^{p},z_{t}^{v}].

Uncertainty as OOD signal. To assess the reliability of the predicted exteroceptive features, the student models the latent z_{t}^{e} as a Gaussian distribution with mean \hat{z}_{t}^{e} and diagonal log-variance \ell_{t}. A separate head predicts log-variance \ell_{t} from \operatorname{sg}([\hat{z}_{t}^{e},z_{t}^{v},z_{t}^{p}]), where \operatorname{sg}[\cdot] denotes stop-gradient. The model is trained with a negative log-likelihood (NLL) objective:

\mathcal{L}_{\mathrm{NLL}}=\frac{1}{2D}\sum_{i=1}^{D}\left((z_{t,i}^{e,T}-\hat{z}_{t,i}^{e})^{2}\exp(-\ell_{t,i})+\ell_{t,i}\right).
(4)

This objective encourages input-dependent uncertainty: when the depth observation is informative and consistent with the teacher latent, the model minimizes error with small variance; when the observation is ambiguous or corrupted (e.g., under OOD visual disturbances), the model can reduce penalty by increasing \ell_{t}. As a result, the predicted log-variance serves as a learned proxy for epistemic unreliability of exteroception, capturing both explicit corruption and intrinsic perceptual ambiguity.

The student is trained jointly with action imitation and latent regression:

\mathcal{L}_{S}=\lambda_{a}\mathrm{MSE}(a_{t}^{S},a_{t}^{T})+\lambda_{n}\mathcal{L}_{\mathrm{NLL}}(\hat{z}_{t}^{e},\ell_{t},z_{t}^{e,T})+\lambda_{g}\operatorname{BCE}(\tilde{g}_{t},m_{t}),
(5)

where the gate term \tilde{g_{t}} will be introduced in the next paragraph.

Fallback Mechanism

Our framework constructs a robust fallback behavior through two complementary supervision pathways:

(1) Teacher-induced action-level fallback. During training, we inject corrupted depth bursts and align them with an exteroceptive mask m_{t}. When m_{t}=0, the teacher is queried with its exteroceptive latent masked, producing a proprioceptive-only action. This provides the student with explicit supervision of how to act without vision, ensuring that a valid fallback policy is learned at the action level. Simultaneously, the corresponding teacher latent z_{t}^{e,T} is set to zero, encouraging the student’s vision branch to represent the absence of reliable exteroception.

(2) Uncertainty-aware gating for fallback activation. Fitting the exteroceptive latent to zero is not by itself a clean fallback signal: non-zero residual values of \hat{z}_{t}^{e} may still affect the policy. We therefore introduce an extra gate that explicitly suppresses exteroception. A gate head maps \operatorname{sg}([z_{t}^{p},\ell_{t},\hat{z}_{t}^{e}]) to a raw score \tilde{g}_{t}\in(0,1), trained by binary cross-entropy \operatorname{BCE}(\tilde{g}_{t},m_{t}) so that the target is 1 on clean observations and 0 under labeled corruption. Simply smoothing this score and multiplying it onto the latent would expose the actor to intermediate latent values. During teacher training, the exteroceptive latent is either fully present or exactly zero, the actor never sees values in between. While, a hard mask in \{0,1\} stays consistent, but the binary gate value might flip between the two states and disturb the policy. Appendix Table 12 therefore tests the gate as a binary classifier at a threshold of 0.5, and finds that the gate behaviour is acceptably stable. Hence we adopt the hard mask with a hysteresis: a closed gate opens only when \tilde{g}_{t}\geq 0.8, and an open gate closes when \tilde{g}_{t}<0.5. The resulting binary mask g_{t}\in\{0,1\} enters the policy as

a_{t}^{S}=\pi_{S}([z_{t}^{p},g_{t}\hat{z}_{t}^{e}]).
(6)

3.4 Additional Design Details

Terrain Settings

As shown in Fig. 3, the training terrains include normal uneven terrains, high platforms, gaps, beams, and other parkour obstacles. We organize each terrain type into 10 difficulty levels and apply a game-inspired terrain curriculum [22]. The key terrain ranges are: climb height 0.20–0.70 m, gap width 0.05–0.80 m, stair height 0.02–0.22 m, and slope magnitude 0.00–0.45. At the end of each episode, the robot is moved to a harder level if it traverses the current terrain, moved to an easier level if it fails to make sufficient progress, and randomly reassigned after solving the highest level. We found that if we spawn robots on both challenging parkour and non-parkour terrains, the policy will struggle to learn proper trot gait. Hence we ”warm up” the policy learning on non-parkour terrains first for 1500 iterations, then learns on all terrains.

Depth Image Processing

The student observes the terrain through a forward-facing RealSense D435 depth camera, simulated in Isaac Lab with NVIDIA Warp ray casting and a pinhole camera model. As shown in Fig. 5, depth images are clipped to [0.1,2.0] m and preprocessed before being fed to the policy. To reduce the sim-to-real gap, we randomize camera extrinsics, perturb ray origins and directions, and inject minimum- or maximum-depth artifact patches that approximate blind spots and reflective failures. To simulate the depth stream latency, we apply 0.05 s depth frame latency considering the communication cost on real robot hardware. Additional simulation details are provided in the Appendix.

Figure 5: Depth preprocessing used to align simulated ray-caster depth with RealSense observations.

4 Experiments

In this section, we evaluate the effectiveness of the proposed framework under corrupted visual observations and real-world parkour agility. Both the teacher and student policies are trained utilizing NVIDIA Isaac Lab [18] for high physical fidelity. The teacher and student training take approximately 4.5 hours on a single NVIDIA RTX 4090 GPU to guarantee a robust deployable depth-vision-based policy (teacher for 8000 iterations and student for 4000 iterations). Specifically, we aim to answer the following questions: 1) Does the predicted log-variance reflect visual uncertainty? 2) Is PROOF robust to OOD visual disturbances? 3) Does PROOF achieve strong real-world parkour performance?

4.1 Behaviour of the learned uncertainty

Fig. 6 separates reconstruction uncertainty from the fallback decision. In the gap example, the depth stream is not externally corrupted, yet log-variance rises during the flight phase because the relevant edge geometry rapidly leaves the camera’s view and the exteroceptive latent becomes harder to infer. In the stair example, severe image degradation causes the gate to close, preventing the corrupted visual features from entering the policy. These results indicate that the uncertainty head is not merely an auxiliary loss, but provides a reliability signal that can modulate the student policy.

Figure 6: Visualization of the learned uncertainty signal. (a) On gap terrains, the predicted mean log-variance remains low before takeoff, rises sharply while the robot is airborne over the gap, and decreases again after landing. (b) On stair terrain (as an example of non-parkour terrain), the gate remains open for reliable depth observations and quickly closes when the input is corrupted by strong random noise, large depth artifacts, or full-frame masking.

4.2 Robustness against OOD visual disturbances

We compare PROOF with two baselines under randomized visual disturbances injected during evaluation. Baseline 1 removes exteroceptive masking in teacher training, so the teacher does not learn a proprioceptive fallback behavior. Baseline 2 keeps the same teacher masking and corruption schedule, but removes the variance head, the NLL term, and the gate. It regresses the exteroceptive latent with MSE and feeds that latent directly to the actor. Since severe visual disturbances make terrain geometry required for anticipatory parkour unrecoverable, this evaluation measures locomotion on the non-parkour terrains in Fig. 3. All policies are evaluated at terrain level 5, i.e., the middle difficulty level of the curriculum. During rollouts, the injected corruptions are stronger forms of the three identified patterns in training: full-frame depth blocking, large rectangular artifacts, and global random noise (Fig. 6(b)).

Table 1: Simulation robustness under randomized strong visual corruption on non-parkour terrains. Each terrain cell reports R_{v_{x}}/S, where R_{v_{x}} is the mean x-direction velocity tracking reward and S is the traversal success rate. A trial is counted as successful if the robot traverses the current terrain segment, following the same terrain evaluation logic as the training curriculum. For each method and terrain type, evaluation uses 100 parallel environments and 100 test episodes.
  • Baseline 1: w/o teacher mask
    Rough Flat
    0.28 / 0
    Uphill
    0.11 / 0
    Downhill
    0.35 / 0
    Upstairs
    0.15 / 0
    Downstairs
    0.22 / 0
  • Baseline 2: MSE latent distillation
    Rough Flat
    0.83 / 96
    Uphill
    0.76 / 79
    Downhill
    0.75 / 84
    Upstairs
    0.69 / 73
    Downstairs
    0.71 / 91
  • PROOF
    Rough Flat
    0.86 / 100
    Uphill
    0.79 / 99
    Downhill
    0.78 / 100
    Upstairs
    0.72 / 95
    Downstairs
    0.93 / 100

Without teacher masking, the student has no reliable fallback target when depth observation becomes out-of-distribution, so Baseline 1 fails under strong visual corruption. Baseline 2 already inherits the masked teacher’s fallback behaviour and therefore remains close to PROOF.

Beyond the three corruption patterns seen in training, we further test the gate behaviour on two held-out patterns: randomly oriented stripe masks and reflection-like elliptical artifacts (Appendix 12). The gate rejects these seen and unseen corruptions while remaining open on clean vision during parkour.

Additionally, the fallback robustness test on hardware under controlled visual corruptions is performed. The designed visual corruptions are physical occlusion, flashlight overexposure, reflection from a waving mirror, coded EMA motion blur, depth dropout, and depth noise, applied on flat ground and on stairs at commanded forward speeds of 0.0, 0.5, and 1.0\,\mathrm{m/s} (Appendix Table 13). Each velocity-terrain pair is tested for five trials. PROOF maintains normal locomotion in nearly all of these conditions without any failure. The remaining failures are strong coded EMA motion blur on stairs at 0.5 and 1.0\,\mathrm{m/s} (success 0.6 and 0.4).

4.3 Real-world parkour evaluation

Finally, we deploy the policy on a Unitree Go2 with RealSense D435 camera. The ONNX-exported policy runs onboard on an NVIDIA Jetson Nano. We evaluate two representative parkour skills in the real world: gap traversal and high-platform climbing. Although the Go2 reports a maximum joint torque of 45 Nm, using this value in simulation led to a large sim-to-real gap during aggressive motions; reducing the simulated torque limit to 30 Nm substantially improved transfer. Since prior parkour systems use lighter platforms such as Unitree A1, Unitree Go1, and Deep Robotics Lite3 (around 12 kg, while go2 weighs 15 kg) [5, 32, 15], we do not make direct numerical comparisons with their hardware results.

Figure 7: Real-world parkour deployment on a Unitree Go2. We report success rates for two representative high-dynamic skills: leaping increasingly width gaps and climbing increasingly height platforms.

As shown in Fig. 7, all methods perform reliably at low difficulty, but differs as difficulty increases. PROOF remains competitive on moderate gaps, achieves the highest success rate on the largest tested gap, and maintains strong platform-climbing performance in the mid-to-high difficulty range. These results validate the complete perception-control pipeline under real camera artifacts, latency, calibration errors, and unmodeled contact dynamics.

5 Conclusion

We presented PROOF, a two-stage perceptive locomotion framework that enables agile quadruped parkour maneuvers and remains robust towards severe visual degradation. The central idea is to treat severe perception failure not as ordinary observation noise, but as a condition under which the controller should stop using exteroception. By training a teacher policy with randomized exteroceptive masking, PROOF learns both perception-guided parkour skills and proprioceptive fallback behaviors.The distilled depth-vision student further models the predicted exteroceptive latent as a Gaussian distribution, allowing the learned log-variance to serve as an interpretable reliability signal for uncertainty-aware gating. Experiments show expressive real-world parkour under clean observations, and stable locomotion when depth perception becomes corrupted or OOD.These results suggest that explicit perception reliability estimation, coupled with a learned fallback policy, is a practical route toward safer deployment of perceptive legged locomotion systems in visually unreliable environments.

6 Limitations

PROOF is designed to improve robustness under representative severe depth degradation, including occlusion, artifact patches, and strong visual corruption. While these disturbances cover common real-world failure modes, they cannot exhaustively model all possible sensor and environmental conditions. In addition, the predicted log-variance is a relative reconstruction-uncertainty feature for fallback activation, rather than a calibrated measure of terrain-estimation error or a corruption probability. Future work should reduce the dependence on hand-designed OOD injection and develop more principled uncertainty evaluation protocols.

Acknowledgments

We thank our co-authors for their valuable contributions. Special thanks go to Botian Xu for his fruitful and constructive discussions, which substantially benefited this work. We also acknowledge Hao Cheng for the camera mount design.

This work was supported in part by the National Natural Science Foundation of China (Grant No. 62506183), the Guangdong S&T Program (Grant Nos. 2025A0505020002 and 2024B0101010003), the Guangdong Basic and Applied Basic Research Foundation (Grant No. 2025A1515012998), the Guangdong Province Talent Program, the PCL Major Key Project (PCL2025A17-2), the Shenzhen Key Laboratory of Robotics Perception and Intelligence (ZDSYS20200810171800001), and the High-Level Special Funds (G03034K003) from Southern University of Science and Technology, Shenzhen, China.

References

  1. [1] A. Agarwal, A. Kumar, J. Malik, and D. Pathak (2023) Legged locomotion in challenging terrains using egocentric vision. In Proceedings of the 6th Conference on Robot Learning, K. Liu, D. Kulic, and J. Ichnowski (Eds.), Proceedings of Machine Learning Research, Vol. 205, pp. 403–415. External Links: Link, 2211.07638
  2. [2] I. M. Aswin Nahrendra, B. Yu, and H. Myung (2023) DreamWaQ: learning robust quadrupedal locomotion with implicit terrain imagination via deep reinforcement learning. In 2023 IEEE International Conference on Robotics and Automation (ICRA), Vol. , pp. 5078–5084. External Links: Document
  3. [3] Q. Ben, B. Xu, K. Li, F. Jia, W. Zhang, J. Wang, J. Wang, D. Lin, and J. Pang (2025) Gallant: voxel grid-based humanoid locomotion and local-navigation across 3d constrained terrains. External Links: 2511.14625, Link
  4. [4] E. Chane-Sane, J. Amigo, T. Flayols, L. Righetti, and N. Mansard (2024) SoloParkour: constrained reinforcement learning for visual locomotion from privileged experience. In Conference on Robot Learning (CoRL),
  5. [5] X. Cheng, K. Shi, A. Agarwal, and D. Pathak (2024) Extreme parkour with legged robots. In Proceedings of the IEEE International Conference on Robotics and Automation, pp. 11443–11450. External Links: Document, Link, 2309.14341
  6. [6] S. Choi, G. Ji, J. Park, H. Kim, J. Mun, J. H. Lee, and J. Hwangbo (2023) Learning quadrupedal locomotion on deformable terrain. Science Robotics 8 (74), pp. eade2256. External Links: Document, Link
  7. [7] T. He, C. Zhang, W. Xiao, G. He, C. Liu, and G. Shi (2024) Agile But Safe: Learning Collision-Free High-Speed Legged Locomotion. In Proceedings of Robotics: Science and Systems, Delft, Netherlands. External Links: Document
  8. [8] D. Hoeller, N. Rudin, D. V. Sako, and M. Hutter (2024) ANYmal parkour: learning agile navigation for quadrupedal robots. Science Robotics 9 (88), pp. eadi7566. External Links: Document, Link, 2306.14874
  9. [9] J. Hwangbo, J. Lee, A. Dosovitskiy, D. Bellicoso, V. Tsounis, V. Koltun, and M. Hutter (2019) Learning agile and dynamic motor skills for legged robots. Science Robotics 4 (26), pp. eaau5872 (en). External Links: ISSN 2470-9476, Link, Document
  10. [10] G. Ji, J. Mun, H. Kim, and J. Hwangbo (2022) Concurrent Training of a Control Policy and a State Estimator for Dynamic and Robust Legged Locomotion. IEEE Robotics and Automation Letters 7 (2), pp. 4630–4637 (en-US). Note: Conference Name: IEEE Robotics and Automation Letters External Links: ISSN 2377-3766, Link, Document
  11. [11] A. Kumar, Z. Fu, D. Pathak, and J. Malik (2021) RMA: Rapid Motor Adaptation for Legged Robots. In Proceedings of Robotics: Science and Systems, Virtual. External Links: Document
  12. [12] H. Lai, J. Cao, J. Xu, H. Wu, Y. Lin, T. Kong, Y. Yu, and W. Zhang (2025) World model-based perception for visual legged locomotion. In 2025 IEEE International Conference on Robotics and Automation (ICRA), Vol. , pp. 11531–11537. External Links: Document
  13. [13] J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun, and M. Hutter (2020) Learning Quadrupedal Locomotion over Challenging Terrain. Science Robotics 5 (47), pp. eabc5986 (en). Note: arXiv:2010.11251 [cs] External Links: ISSN 2470-9476, Link, Document
  14. [14] Q. Liao, T. E. Truong, X. Huang, Y. Gao, G. Tevet, K. Sreenath, and C. K. Liu (2025) BeyondMimic: from motion tracking to versatile humanoid control via guided diffusion. External Links: 2508.08241, Link
  15. [15] S. Luo, S. Li, R. Yu, Z. Wang, J. Wu, and Q. Zhu (2024) PIE: parkour with implicit-explicit learning framework for legged robots. IEEE Robotics and Automation Letters 9 (11), pp. 9986–9993. External Links: Document
  16. [16] G. B. Margolis, G. Yang, K. Paigwar, T. Chen, and P. Agrawal (2024) Rapid locomotion via reinforcement learning. The International Journal of Robotics Research 43 (4), pp. 572–587.
  17. [17] T. Miki, J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun, and M. Hutter (2022) Learning robust perceptive locomotion for quadrupedal robots in the wild. Science Robotics 7 (62), pp. eabk2822 (en). Note: arXiv:2201.08117 [cs] External Links: ISSN 2470-9476, Link, Document
  18. [18] NVIDIA, :, M. Mittal, P. Roth, J. Tigue, A. Richard, O. Zhang, P. Du, A. Serrano-Muñoz, X. Yao, R. Zurbrügg, N. Rudin, L. Wawrzyniak, M. Rakhsha, A. Denzler, E. Heiden, A. Borovicka, O. Ahmed, I. Akinola, A. Anwar, M. T. Carlson, J. Y. Feng, A. Garg, R. Gasoto, L. Gulich, Y. Guo, M. Gussert, A. Hansen, M. Kulkarni, C. Li, W. Liu, V. Makoviychuk, G. Malczyk, H. Mazhar, M. Moghani, A. Murali, M. Noseworthy, A. Poddubny, N. Ratliff, W. Rehberg, C. Schwarke, R. Singh, J. L. Smith, B. Tang, R. Thaker, M. Trepte, K. V. Wyk, F. Yu, A. Millane, V. Ramasamy, R. Steiner, S. Subramanian, C. Volk, C. Chen, N. Jawale, A. V. Kuruttukulam, M. A. Lin, A. Mandlekar, K. Patzwaldt, J. Welsh, H. Zhao, F. Anes, J. Lafleche, N. Moënne-Loccoz, S. Park, R. Stepinski, D. V. Gelder, C. Amevor, J. Carius, J. Chang, A. H. Chen, P. de Heras Ciechomski, G. Daviet, M. Mohajerani, J. von Muralt, V. Reutskyy, M. Sauter, S. Schirm, E. L. Shi, P. Terdiman, K. Vilella, T. Widmer, G. Yeoman, T. Chen, S. Grizan, C. Li, L. Li, C. Smith, R. Wiltz, K. Alexis, Y. Chang, D. Chu, L. ”. Fan, F. Farshidian, A. Handa, S. Huang, M. Hutter, Y. Narang, S. Pouya, S. Sheng, Y. Zhu, M. Macklin, A. Moravanszky, P. Reist, Y. Guo, D. Hoeller, and G. State (2025) Isaac lab: a gpu-accelerated simulation framework for multi-modal robot learning. External Links: 2511.04831, Link
  19. [19] L. Pinto, M. Andrychowicz, P. Welinder, W. Zaremba, and P. Abbeel (2018) Asymmetric actor critic for image-based robot learning. Robotics: Science and Systems XIV.
  20. [20] S. Ross, G. Gordon, and D. Bagnell (2011) A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, G. Gordon, D. Dunson, and M. Dudík (Eds.), Proceedings of Machine Learning Research, Vol. 15, Fort Lauderdale, FL, USA, pp. 627–635. External Links: Link
  21. [21] N. Rudin, J. He, J. Aurand, and M. Hutter (2025) Parkour in the Wild: Learning a General and Extensible Agile Locomotion Policy Using Multi-expert Distillation and RL Fine-tuning. arXiv (en-US). Note: arXiv:2505.11164 [cs] version: 1 External Links: Link, Document
  22. [22] N. Rudin, D. Hoeller, P. Reist, and M. Hutter (2022) Learning to walk in minutes using massively parallel deep reinforcement learning. In Proceedings of the 5th Conference on Robot Learning, A. Faust, D. Hsu, and G. Neumann (Eds.), Proceedings of Machine Learning Research, Vol. 164, pp. 91–100. External Links: Link
  23. [23] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov (2017) Proximal policy optimization algorithms. External Links: 1707.06347, Link
  24. [24] W. Sun, B. Cao, L. Chen, Y. Su, Y. Liu, Z. Xie, and H. Liu (2025) Learning perceptive humanoid locomotion over challenging terrain. In 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 6571–6578.
  25. [25] J. Tan, T. Zhang, E. Coumans, A. Iscen, Y. Bai, D. Hafner, S. Bohez, and V. Vanhoucke (2018) Sim-to-real: learning agile locomotion for quadruped robots. In Proceedings of Robotics: Science and Systems, Pittsburgh, Pennsylvania. External Links: Document
  26. [26] H. Wang, H. Luo, W. Zhang, and H. Chen (2024) CTS: concurrent teacher-student reinforcement learning for legged locomotion. IEEE Robotics and Automation Letters 9 (11), pp. 9191–9198. External Links: Document
  27. [27] Z. Wu, X. Huang, L. Yang, Y. Zhang, X. Chen, P. Abbeel, R. Duan, A. Kanazawa, C. Sferrazza, G. Shi, and C. K. Liu (2026) Perceptive humanoid parkour: chaining dynamic human skills via motion matching. External Links: 2602.15827, Link
  28. [28] B. Xu, H. Weng, Q. Lu, Y. Gao, and H. Xu (2025) FACET: force-adaptive control via impedance reference tracking for legged robots. In Proceedings of The 9th Conference on Robot Learning, J. Lim, S. Song, and H. Park (Eds.), Proceedings of Machine Learning Research, Vol. 305, pp. 705–720. External Links: Link
  29. [29] R. Yang, M. Zhang, N. Hansen, H. Xu, and X. Wang (2022) Learning vision-guided quadrupedal locomotion end-to-end with cross-modal transformers. In International Conference on Learning Representations, External Links: Link
  30. [30] P. Zhi, P. Li, J. Yin, B. Jia, and S. Huang (2025) Learning a unified policy for position and force control in legged loco-manipulation. In Proceedings of The 9th Conference on Robot Learning, J. Lim, S. Song, and H. Park (Eds.), Proceedings of Machine Learning Research, Vol. 305, pp. 652–669. External Links: Link
  31. [31] S. Zhu, Z. Zhuang, M. Zhao, K. Lee, and H. Zhao (2026) Hiking in the wild: a scalable perceptive parkour framework for humanoids. External Links: 2601.07718, Link
  32. [32] Z. Zhuang, Z. Fu, J. Wang, C. G. Atkeson, S. Schwertfeger, C. Finn, and H. Zhao (2023) Robot parkour learning. In Proceedings of The 7th Conference on Robot Learning, J. Tan, M. Toussaint, and K. Darvish (Eds.), Proceedings of Machine Learning Research, Vol. 229, pp. 73–92. External Links: Link
  33. [33] Z. Zhuang, S. Yao, and H. Zhao (2025) Humanoid parkour learning. In Proceedings of The 8th Conference on Robot Learning, P. Agrawal, O. Kroemer, and W. Burgard (Eds.), Proceedings of Machine Learning Research, Vol. 270, pp. 1975–1991. External Links: Link
  34. [34] Z. Zhuang, S. Zhu, M. Zhao, and H. Zhao (2026) Deep Whole-body Parkour. arXiv (en-US). Note: arXiv:2601.07701 [cs] External Links: Link, Document

Appendix A Simulation Setup and MDP Details

This section specifies the simulation interfaces and perturbations used by the two-stage training pipeline. Both teacher training and student distillation use 4096 parallel Isaac Lab environments, 200\,\mathrm{Hz} physics, and a 50\,\mathrm{Hz} policy step.

A.1 Observation Space Specification

We use separate observation groups for the teacher actor, teacher critic, and deployable student. The teacher actor receives proprioception, a local elevation map, and an exteroceptive latent mask. The critic additionally receives privileged simulation states. During distillation, the student replaces the elevation map with depth images, while the elevation map and mask remain teacher-side supervision.

Table 2: Observation groups used in teacher training and student distillation.
  • Proprioception
    Dim. / Shape
    10\times 45
    Used by
    Teacher actor, student
    Contents
    Base angular velocity, projected gravity, velocity command, joint positions, joint velocities, and previous actions.
  • Elevation map
    Dim. / Shape
    162
    Used by
    Teacher actor/critic
    Contents
    Yaw-aligned terrain scan over 1.7\,\mathrm{m}\times 0.8\,\mathrm{m} with 0.1\,\mathrm{m} spacing; ray origin is shifted 0.6\,\mathrm{m} forward and heights use a 0.25\,\mathrm{m} vertical offset.
  • Depth image†
    Dim. / Shape
    2\times 23\times 44
    Used by
    Student
    Contents
    Two delayed forward-camera depth frames after ray clipping, crop, artifact noise, blur, and normalization.
  • Exteroceptive mask
    Dim. / Shape
    1
    Used by
    Teacher actor, distillation loss
    Contents
    Binary gate target; 0 masks the teacher’s exteroceptive latent.
  • Privileged state
    Dim. / Shape
    80
    Used by
    Teacher critic
    Contents
    Base linear/angular velocity, gravity, command, joint positions, velocities, efforts, and accelerations, actions, foot contact flags, and foot heights.

† The raw depth sensor casts pinhole rays with width 48, height 27, FOV 87^{\circ}\times 58^{\circ}, and update period 0.05\,\mathrm{s}. It is mounted on the base at a position of (0.335,0.015,0.088)\,\mathrm{m} with 30 degree downwar in pitch. The sensor returns distance-to-image-plane depth, clips invalid or far rays to the maximum range, crops two pixels from each image border to obtain 44\times 23 (since depth infomations around the frame edges are unreliable for realsense camera), applies random artifacts (at a low probability, this is to simulate the imperfact inpaint on real depth camera) and 3\times 3 Gaussian blur, then clips depth to [0.1,2.0]\,\mathrm{m} and normalizes it to [0,1]. The observation stacks two frames sampled from the depth history with a 0–0.05\,\mathrm{s} random delay.

The teacher actor encodes the proprioceptive history and the elevation map into two 64-dimensional latents. The first three dimensions of the proprioceptive latent are supervised to estimate base linear velocity. The student keeps the same proprioceptive interface and predicts the 64-dimensional exteroceptive latent from depth through a CNN–GRU estimator. Noise is applied only to deployable sensing channels: proprioception uses uniform sensor noise, the actor elevation map uses small uniform height noise, and depth images use the vision randomization described below. The privileged state and binary masks are not corrupted.

A.2 Action Space Specification

The policy outputs a 12-D target joint-position offset from the default Go2 posture. Hip joints use scale 0.125; thigh and calf joints use scale 0.25.

Targets are executed by a delayed implicit PD actuator solved inside PhysX. We use stiffness 25.0, damping 0.5, effort limit 30\,\mathrm{Nm}, and velocity limit 30\,\mathrm{rad/s}. At each reset, actuator delay is sampled from 0 to 3 physics steps, i.e., 0–15\,\mathrm{ms}.

A.3 Reward Specification

The teacher is trained with a weighted sum of velocity-tracking, regularization, and terrain-safety terms:

r_{t}=\sum_{i}w_{i}r_{i}.
(7)

The main tracking terms use exponential kernels,

r_{v_{xy}}=\exp\left(-\|e_{v_{xy}}\|_{2}^{2}/0.25\right),\qquad r_{\omega_{z}}=\exp\left(-e_{\omega_{z}}^{2}/0.25\right),
(8)

where e_{v_{xy}} and e_{\omega_{z}} are command-tracking errors in the base frame. On parkour terrains, forward overspeed is tolerated by evaluating the tracking error with \bar{v}_{x}=\min(v_{x},v_{x}^{\mathrm{cmd}}+0.1); otherwise \bar{v}_{x}=v_{x}.

Table 3: Reward terms used for teacher training.
  • Task rewards
  • Linear velocity xy tracking
    Weight
    1.5
    Function
    \exp(-((v_{x}^{\mathrm{cmd}}-\bar{v}_{x})^{2}+(v_{y}^{\mathrm{cmd}}-v_{y})^{2})/0.25), where \bar{v}_{x}=\min(v_{x},v_{x}^{\mathrm{cmd}}+0.1) on parkour terrains and \bar{v}_{x}=v_{x} otherwise.
  • Angular velocity z tracking
    Weight
    1.0
    Function
    \exp(-(\omega_{z}^{\mathrm{cmd}}-\omega_{z})^{2}/0.25).
  • Regularization rewards
  • Vertical velocity
    Weight
    -1.0
    Function
    v_{z}^{2}.
  • Roll/pitch angular velocity
    Weight
    -0.05
    Function
    \|\omega_{xy}\|_{2}^{2}.
  • Hip-joint deviation
    Weight
    -0.2
    Function
    \|q_{\mathrm{hip}}-q_{\mathrm{hip}}^{0}\|_{2}^{2}, where q_{\mathrm{hip}}^{0} is nomimal joint position.
  • Joint deviation
    Weight
    -2.5{\times}10^{-3}
    Function
    \|q-q^{0}\|_{2}^{2}, where q^{0}\|_{2}^{2} is nominal joint position.
  • Joint acceleration
    Weight
    -2.5{\times}10^{-7}
    Function
    \|\ddot{q}\|_{2}^{2}.
  • Joint torque
    Weight
    -1.0{\times}10^{-4}
    Function
    \|\tau\|_{2}^{2}.
  • Joint velocity
    Weight
    -2.0{\times}10^{-4}
    Function
    \|\dot{q}\|_{2}^{2}.
  • Joint power
    Weight
    -2.0{\times}10^{-5}
    Function
    \|\tau\odot\dot{q}\|_{1}.
  • Joint-power variance
    Weight
    -2.0{\times}10^{-6}
    Function
    \operatorname{Var}(\tau\odot\dot{q}), this is to discourage overusing certain joint motors.
  • Action rate
    Weight
    -0.01
    Function
    \|a_{t}-a_{t-1}\|_{2}^{2}.
  • Foot air-time
    Weight
    0.5
    Function
    \sum_{f}(t_{f}^{\mathrm{air}}-0.5)\mathbf{1}_{f,\mathrm{first}} under nonzero commands.
  • Safety and feasibility rewards
  • Alive bonus
    Weight
    1.0
    Function
    1 if the episode is not terminated.
  • Joint power limit
    Weight
    -10.0
    Function
    \mathbf{1}\{\max_{j}|\tau_{j}\dot{q}_{j}|>300\,\mathrm{W}\}.
  • Joint position limit
    Weight
    -10.0
    Function
    Soft joint-limit violation distance.
  • Foot stumble
    Weight
    -0.5
    Function
    \mathbf{1}\{\|F_{xy}^{f}\|>4|F_{z}^{f}|\} for any foot, which is to prevent foot tips from hitting vertical surfaces.
  • Undesired contacts
    Weight
    -1.0
    Function
    Count of non-foot bodies with contact force above 1\,\mathrm{N}.
  • Stuck penalty
    Weight
    -1.0
    Function
    \mathbf{1}\{|v_{x}|<0.1,|v_{x}^{\mathrm{cmd}}|>0.1\} plus backward motion under forward command.
  • Terrain Edge penalty
    Weight
    -1.0
    Function
    \sum_{i\in\mathcal{P}}\|\mathbf{d}_{i}\|\|\mathbf{v}_{i}\| for foot monitoring-point penetration into virtual edge obstacles.

A.4 Episode Termination Specification

Episodes are reset either by time truncation or by failure termination:

d_{t}=d_{t}^{\mathrm{timeout}}\lor d_{t}^{\mathrm{ori}}\lor d_{t}^{\mathrm{contact}}.
(9)

The timeout term is treated as truncation; the other two terms mark failed unfinished rollouts.

Table 4: Episode termination terms.
  • Episode length limit
    Type
    Truncation
    Condition
    Episode length reaches 20\,\mathrm{s}, i.e., 1000 policy steps at 50\,\mathrm{Hz}.
  • Bad base orientation
    Type
    Failure
    Condition
    \arccos(-g_{b,z})>1.5\,\mathrm{rad}, where g_{b,z} is the vertical component of projected gravity in the base frame.
  • Base contact
    Type
    Failure
    Condition
    The net contact force on robot base link exceeds 5\,\mathrm{N}.

A.5 Velocity Command Sampling

Velocity commands are resampled every 4–8\,\mathrm{s}. The nominal ranges are

v_{x}\in[0,1.2]\,\mathrm{m/s},\quad v_{y}\in[-0.5,0.5]\,\mathrm{m/s},\quad\omega_{z}\in[-1.5,1.5]\,\mathrm{rad/s}.

Small planar commands below 0.2\,\mathrm{m/s} are zeroed. For parkour terrains, lateral velocity and heading targets are forced to zero so that the robot approaches obstacles head-on. For beam, crawl, tilt, and stair terrains, the forward command is additionally overridden by v_{x}\in[0.8,1.2]\,\mathrm{m/s}. Other non-parkour terrains use the nominal ranges.

A.6 Domain Randomization

Regular Randomization.

We randomize dynamics properties at startup and inject external perturbations during rollouts. Details are in Table 5.

Table 5: Regular domain randomization.
  • Foot friction
    Range / setting
    Static and dynamic friction in [0.2,1.5]; restitution in [0,0.5].
  • Base mass
    Range / setting
    Additive mass offset in [-0.5,1.0]\,\mathrm{kg}.
  • Other body masses
    Range / setting
    Scale by [0.8,1.2].
  • Base center of mass
    Range / setting
    Offset each axis by [-0.05,0.05]\,\mathrm{m}.
  • Actuator gains
    Range / setting
    Scale stiffness and damping by [0.8,1.2].
  • Joint friction
    Range / setting
    Additive friction in [0,0.1].
  • Reset state
    Range / setting
    Joint positions scaled by [0.75,1.25]; base x reset in [-0.5,0.5]\,\mathrm{m}.
  • External push
    Range / setting
    Every 10\,\mathrm{s}, set base planar velocity in [-0.5,0.5]\,\mathrm{m/s} per axis.
Depth Vision Randomization.

The student depth branch is trained with randomized camera geometry, image corruption, and image frame delay. Details are in Table 6.

Table 6: Depth-vision randomization.
  • Camera translation
    Range / setting
    Uniform perturbation in [-0.01,0.01]\,\mathrm{m} per axis.
  • Camera rotation
    Range / setting
    Roll/yaw in [-2^{\circ},2^{\circ}]; pitch in [-8^{\circ},8^{\circ}].
  • Ray start point offsets
    Range / setting
    Positional in [-0.005,0.005]\,\mathrm{m}; Rotational in [-1^{\circ},1^{\circ}] per ray.
  • Sparse artifacts
    Range / setting
    Random 0/1 depth artifacts with a probability of 0.0002.
  • Frame delay
    Range / setting
    20\,\mathrm{Hz} sampling in simulation with 0–1 frame delay, i.e., 0–0.05\,\mathrm{s}.

A.7 Teacher Exteroception Masking

For teacher training, the exteroceptive latent is randomly masked only on non-parkour terrains: flat rough, slope, inverse slope, and 30^{\circ} stairs in both directions. At reset, eligible environments sample a binary mask with probability 0.4 of closing the exteroceptive branch. The actor therefore sees \pi_{T}(z^{p},mz^{e}) and must learn both perceptive and proprioceptive fallback behaviors.

A.8 Student Vision Disturbance

For student distillation, depth disturbances are enabled on non-parkour terrain envs. A disturbance burst starts with probability 0.01 per 20\,\mathrm{Hz} depth update and lasts 2–100 frames, i.e., 0.1–5\,\mathrm{s}. Each active burst samples one of three modes: (1). full-frame blocking with probability 0.6 using value 0 or 1; (2). Gaussian noise with probability 0.2 and standard deviation in [0.15,0.45]; (3). large rectangular artifacts with probability 0.2, at most three blocks, 8{\pm}4 pixels per side, and value 0 or 1.

When a depth burst is active, the aligned teacher mask is set to zero, so that student is supervised by both teacher’s proprioceptive fallback action and closing visual gate target.

Appendix B Training Pipeline and Implementation Details

This section summarizes the execution order of the teacher and student stages. The teacher is first trained with privileged elevation-map perception and randomized exteroceptive masking. The student then distills the frozen teacher into a depth-based recurrent policy with uncertainty-aware gating.

B.1 Algorithm Overview

The detailed teacher and student training procedures are summarized in Table 7 and Table 8, respectively.

Table 7: Teacher policy training pipeline.
  • Obs proprioception o_{t}^{p}, elevation map h_{t}, privileged state o_{t}^{\mathrm{priv}}, mask m_{t}
  • /* Rollout collection */
  • 1. for each rollout step t do
  • 2. Sample terrain, command, and domain-randomized dynamics;
  • 3. if terrain is non-parkour then sample the exteroceptive mask; else keep perception unmasked;
  • 4. Compute z_{t}^{p}\leftarrow E_{p}(o_{t}^{p}), z_{t}^{e}\leftarrow E_{e}(h_{t}), and a_{t}^{T}\leftarrow\pi_{T}(z_{t}^{p},m_{t}z_{t}^{e});
  • 5. Feed the action into the simulator for physics step;
  • 6. Compute rewards;
  • 7. Store rollout data;
  • /* Return and advantage estimation */
  • 8. Compute GAE returns and advantages;
  • 9. Normalize advantages over the rollout batch;
  • /* PPO update */
  • 10. for each epoch and mini-batch do
  • 11. Compute PPO surrogate loss \mathcal{L}_{\mathrm{clip}}, value loss \mathcal{L}_{V}, and entropy \mathcal{H};
  • 12. Compute velocity-estimation supervision \mathcal{L}_{v}\leftarrow\operatorname{MSE}(\hat{v}_{t},v_{t});
  • 13. \mathcal{L}_{T}\leftarrow\mathcal{L}_{\mathrm{clip}}+\lambda_{V}\mathcal{L}_{V}-\lambda_{H}\mathcal{H}+\lambda_{v}\mathcal{L}_{v};
  • 14. Update teacher actor, critic, and encoders with AdamW optimizer;
Table 8: Student distillation pipeline.
  • Obs proprioception o_{t}^{p}, depth d_{t}, elevation map h_{t}, mask m_{t}; frozen teacher \pi_{T}
  • /* Initialization */
  • 1. Copy the teacher proprioceptive encoder and actor network;
  • 2. Freeze the student proprioceptive encoder;
  • /* Rollout and online teacher supervision */
  • 3. for each rollout step t do
  • 4. Apply depth randomization and burst disturbance; set the teacher’s mask per env;
  • 5. Compute \hat{z}_{t}^{e},\ell_{t},g_{t} from (o_{t}^{p},d_{t}) then student action a_{t}^{S}\leftarrow\pi_{S}(z_{t}^{p},g_{t}\hat{z}_{t}^{e});
  • 6. Compute the teacher target z_{t}^{e,T}\leftarrow E_{e}^{T}(h_{t}) and a_{t}^{T}\leftarrow\pi_{T}(z_{t}^{p},m_{t}z_{t}^{e,T});
  • 7. Feed the student action into the simulator for physics step;
  • 8. Store student outputs, teacher targets, uncertainty, and gate labels;
  • /* Distillation update */
  • 9. for each epoch over rollout sequences do
  • 10. Recompute student predictions over rollout sequences with recurrent state reset at episode boundaries;
  • 11. Compute action-imitation loss \mathcal{L}_{a}, latent MSE \mathcal{L}_{z}, variance NLL \mathcal{L}_{\mathrm{NLL}} on a detached mean, and gate BCE \mathcal{L}_{g};
  • 12. \mathcal{L}_{S}\leftarrow\lambda_{a}\mathcal{L}_{a}+\lambda_{z}\mathcal{L}_{z}+\lambda_{n}\mathcal{L}_{\mathrm{NLL}}+\lambda_{g}\mathcal{L}_{g};
  • 13. Update \pi_{S} with AdamW optimizer and gradient clipping;

B.2 Network Architecture and Hyperparameters

The teacher and student network architectures are summarized in Table 9 and Table 10, respectively. The teacher actor uses separate proprioceptive and elevation-map encoders, while the teacher critic is a pure MLP that takes privileged state and elevation-map observations. Unless otherwise specified, MLP layers use ELU activations; the depth CNN in the student uses LayerNorm followed by ReLU. Optimization settings are listed in Table 11. Both stages use 4096 parallel Isaac Lab environments with AdamW optimization. The full two-stage training takes approximately 4.5 hours on a single NVIDIA RTX 4090 GPU, with the teacher trained for 8000 iterations (first 1500 iters are all on non-parkour-terrains) and the student for 4000 iterations.

Table 9: Teacher network architecture.
  • Proprioceptive encoder
    Specification
    MLP [256,128]\rightarrow 64; outputs z_{t}^{p} from o_{t}^{p}. The first three latent dimensions are supervised to estimate base linear velocity.
  • Elevation-map encoder
    Specification
    MLP [128]\rightarrow 64; outputs exteroceptive latent z_{t}^{e} from elevation map h_{t}.
  • Mask interface
    Specification
    Actor input is (z_{t}^{p},m_{t}z_{t}^{e}); m_{t}=0 removes elevation-map information and m_{t}=1 keeps it.
  • Actor Network
    Specification
    MLP [512,256,128]\rightarrow 12; Gaussian policy with initial std. 1.5.
  • Critic
    Specification
    Pure MLP [512,256,128]\rightarrow 1; uses privileged state and elevation map.
Table 10: Student network architecture.
  • Proprioceptive branch
    Specification
    Copied from the teacher and frozen during distillation; outputs z_{t}^{p}.
  • Depth encoder
    Specification
    CNN channels [4,1], 3{\times}3 kernels, stride 1, LayerNorm, ReLU; projection MLP [128]\rightarrow 64 gives visual feature z_{t}^{v}.
  • GRU estimator
    Specification
    One-layer GRU with hidden size 64 predicts \hat{z}_{t}^{e} from (z_{t}^{p},z_{t}^{v}).
  • Uncertainty head
    Specification
    MLP [64] predicts log-variance \ell_{t} for the latent NLL loss.
  • Gate head
    Specification
    MLP [64,64]\rightarrow 1 predicts a sigmoid score \tilde{g}_{t}. The actor receives a binary hysteresis mask: a closed gate opens at 0.8 and an open gate closes below 0.5.
  • Actor network
    Specification
    Initialized from the teacher; input is (z_{t}^{p},g_{t}\hat{z}_{t}^{e}) and output is a 12-D Gaussian action.
Table 11: Training hyperparameters.
  • Rollout
  • Parallel envs
    Teacher PPO
    4096
    Student distillation
    4096
  • Horizon
    Teacher PPO
    24 steps/env
    Student distillation
    24 steps/env
  • Optimization
  • Optimizer
    Teacher PPO
    AdamW
    Student distillation
    AdamW
  • Learning rate
    Teacher PPO
    10^{-3} with adaptive KL schedule
    Student distillation
    10^{-4}
  • Update epochs
    Teacher PPO
    5 epochs, 4 mini-batches
    Student distillation
    5 epochs, sequence length 24
  • Gradient clipping
    Teacher PPO
    Max norm 1.0
    Student distillation
    Max norm 1.0
  • Loss and initialization
  • PPO constants
    Teacher PPO
    \gamma=0.99, \lambda=0.95, clip 0.2, desired KL 0.01
    Student distillation
    –
  • Loss weights
    Teacher PPO
    \lambda_{V}=1.0, \lambda_{H}=0.005, \lambda_{v}=1.0
    Student distillation
    action \lambda_{a}=2.0, latent MSE \lambda_{z}=2.0, NLL \lambda_{n}=1.0, gate \lambda_{g}=1.0
  • Initialization
    Teacher PPO
    PyTorch Default Init
    Student distillation
    Copy teacher proprioceptive encoder and actor network

Appendix C Evaluation Details

Simulation Evaluation

In simulation, each policy is evaluated independently on each terrain type with 100 parallel environments. We collect 100 completed episodes for every policy–terrain pair. Robots are initialized on the easiest terrain level, and the terrain-level update follows the same curriculum logic as training. Velocity-command sampling and domain randomization are also kept consistent with the training setup. We report the traversal success rate and the mean velocity-tracking reward over the collected episodes.

Real-World Parkour Evaluation

Real-world parkour evaluations are conducted indoors on the Unitree Go2 with the RealSense D435. Visual corruptions are not injected during these trials. For each policy and terrain setting, we conduct 10 trials. After each trial, the robot is reset before the next rollout. A trial is successful only if the robot completes the obstacle without falling, triggering an emergency stop, or requiring human intervention.

C.1 Gate Reliability

A hard binary gate may switch at high frequency and disturb the policy’s action. A continuous gate value in (0,1) is also a unreasonable interface to the actor: the teacher latent is only ever fully present or exactly zero, so intermediate values would have to be absorbed by finetuning the actor during distillation. If the binary gate is reliable, the hard mask is therefore preferred. To verify this, we train with a hard gate and evaluate it as a binary classifier on parkour and non-parkour terrain under seen and unseen corruptions, with gate closure (g=0) as the positive class. AUROC and AUPR use the continuous score. Precision, recall, false-positive rate, and false-negative rate binarize that score at 0.5. Each condition collects 10{,}000 policy steps on 100 parallel environments and is repeated over five random seeds.

On non-parkour terrain, a corruption begins with probability 0.02 at each camera refresh and lasts 2–100 frames. Seen patterns are those used in training: full-frame masking, global random depth noise, and rectangular depth artifacts. Unseen patterns are randomly oriented stripe masks and reflection-like elliptical artifacts. Clean parkour rollouts report only the false-positive rate, since severe vision corruption leads to inability to parkour. Table 12 shows near-perfect ranking on seen corruptions and strong ranking on held-out patterns. Therefore, it is reasonable to use a final binary gate as a hard mask for fallback behaviour activation.

Table 12: Gate reliability under seen/unseen non-parkour corruptions and clean parkour vision (mean \pm std)
  • Seen, non-parkour
    AUROC \uparrow
    0.999
    AUPR \uparrow
    0.999
    Prec. \uparrow
    0.996
    Rec. \uparrow
    0.969
    FPR \downarrow
    0.004
    FNR \downarrow
    0.031
  • Unseen, non-parkour
    AUROC \uparrow
    0.995
    AUPR \uparrow
    0.995
    Prec. \uparrow
    0.997
    Rec. \uparrow
    0.760
    FPR \downarrow
    0.003
    FNR \downarrow
    0.240
  • Clean parkour
    AUROC \uparrow
    –
    AUPR \uparrow
    –
    Prec. \uparrow
    –
    Rec. \uparrow
    –
    FPR \downarrow
    0.004
    FNR \downarrow
    –

C.2 Hardware Visual Corruption Tests

Table 13 reports locomotion stablity under controlled visual corruption types. Each corruption is tested for five trials at commanded forward speeds of 0.0, 0.5, and 1.0\,\mathrm{m/s}, on flat ground and on stairs with 30\,\mathrm{cm} treads and 15\,\mathrm{cm} risers. A trial succeeds if the robot maintains a normal locomotion without failure for the commanded motion. Physical occlusion, flashlight overexposure, and a waving mirror are applied by the operator in the scene. Motion blur is a coded temporal EMA smooth of the depth stream with mixing weight 0.8. Depth dropout replaces the image by zeros, and depth noise adds Gaussian noise. Depth latency and large calibration shifts are not included: the policy already consumes 10\,\mathrm{Hz} depth, which is already tolerant, and small camera-pose error is covered by mild domain randomization.

Table 13: Hardware success rate under controlled visual corruptions.
  • Physical occlusion
    Flat 0.0
    1.0
    Flat 0.5
    1.0
    Flat 1.0
    1.0
    Stairs 0.0
    1.0
    Stairs 0.5
    1.0
    Stairs 1.0
    1.0
  • Overexposure (flashlight)
    Flat 0.0
    1.0
    Flat 0.5
    1.0
    Flat 1.0
    1.0
    Stairs 0.0
    1.0
    Stairs 0.5
    1.0
    Stairs 1.0
    0.8
  • Reflection (waving mirror)
    Flat 0.0
    1.0
    Flat 0.5
    1.0
    Flat 1.0
    1.0
    Stairs 0.0
    1.0
    Stairs 0.5
    0.8
    Stairs 1.0
    1.0
  • Motion blur
    Flat 0.0
    1.0
    Flat 0.5
    1.0
    Flat 1.0
    1.0
    Stairs 0.0
    1.0
    Stairs 0.5
    0.6
    Stairs 1.0
    0.4
  • Depth dropout
    Flat 0.0
    1.0
    Flat 0.5
    1.0
    Flat 1.0
    1.0
    Stairs 0.0
    1.0
    Stairs 0.5
    1.0
    Stairs 1.0
    1.0
  • Depth noise
    Flat 0.0
    1.0
    Flat 0.5
    1.0
    Flat 1.0
    1.0
    Stairs 0.0
    1.0
    Stairs 0.5
    1.0
    Stairs 1.0
    1.0