Perceptive SONIC: Terrain-Aware Residual Adaptation of a Frozen Behavior Foundation Model

Zikun Zhuang, Ming Lei, Jun Wang, Malin Wang, Zhiyun LinarXiv 2026

TL;DR

Teaching humanoid robots to move naturally usually relies on large "Behavior Foundation Models" (BFMs) trained on flat-ground human motion—which means the robot tends to trip the moment it encounters stairs. Perceptive SONIC solves this without retraining the massive base model from scratch; instead, it bolts on a lightweight, vision-guided "reflex" layer that tweaks the robot's joint actions on the fly to match the terrain. Imagine a person in a VR headset walking around a flat living room while their robot avatar seamlessly climbs an outdoor staircase—that’s what this unlocks.

Perceptive SONIC adapting flat-ground commands to real-world stairs and obstacles via planning and VR teleoperation.

What Problem Does This Paper Address?

Recent humanoid robotics has leaned heavily into Behavior Foundation Models (like an existing off-the-shelf controller called SONIC). You feed these models a motion reference—from motion capture, a planner, or a VR headset—and they output coordinated, whole-body joint commands.

The catch? Most reference motions assume the floor is flat. If you command a robot to walk forward using a flat-ground reference while it’s standing in front of a staircase, the reference tells its feet to step through the concrete stairs or hover in mid-air. Prior attempts to fix this required synthesizing complex datasets of terrain-matched motions or retraining the entire tracking policy from scratch, risking "catastrophic forgetting" of the smooth, natural coordination the base model already mastered. The authors ask: Can we make a frozen, pretrained BFM terrain-aware without altering its weights or needing terrain-specific motion data?

Methods

Instead of rewriting the robot's brain, Perceptive SONIC uses residual reinforcement learning. It freezes the pretrained SONIC model—preserving its natural whole-body coordination—and trains a small residual policy to output corrective joint adjustments ($\Delta a_t$) added directly to SONIC's base actions ($a_t^0$).

Because onboard depth cameras are noisy and only see part of the terrain, the authors use a classic privileged teacher-student distillation setup:

  1. The Privileged Teacher (Trained with PPO): In simulation, the teacher sees an exact 3D height map around the robot. Crucially, instead of mashing the whole map into a generic vector, it uses foot-conditioned cross-attention: it takes the recent history of the left and right feet as separate queries to look up relevant terrain geometry for each foot. Its reward function introduces three clever ideas:
  2. Contact-intent objectives: Rather than forcing exact foot positions, it rewards achieving solid sole support when the reference says the foot should be on the ground, while penalizing mistimed, brief, or stuttering double-taps.
  3. Prospective swept clearance: It looks 0.3 seconds ahead along the reference foot's horizontal path, checks the terrain height underneath, and rewards the robot for lifting its swinging foot high enough to clear upcoming edges.
  4. Preservation losses: Auxiliary penalties keep the residual corrections near zero on flat ground and minimize unnecessary flailing in the waist and arms.
  5. The Depth Student (Online Distillation): For real-world deployment, a student policy only gets proprioception (joint states) and a history of 10 depth-camera frames. Using DAgger (where the student drives in simulation and the teacher corrects it), the teacher supervises both the student's output actions and its internal spatial terrain representations (tokens), teaching the depth encoder to "see" geometry like the privileged height map.

Datasets

To supply flat-ground motion references, the authors curated 18,562 bipedal motion clips (44.24 hours) from three existing human motion datasets: BONES-SEED, MotionDecode, and AMASS, automatically annotating foot-contact intervals based on foot-sole stationarity. For testing, 2,048 held-out clips were evaluated across simulated terrains in IsaacLab: flat ground, stairs, slopes, rough ground, random grids, and discrete obstacles, plus out-of-distribution (OOD) courses featuring randomized stair heights and narrow 18-meter-long stair/slope channels. No terrain-adapted motion capture datasets were needed or created.

Key Insights and Ideas

  • Separate contact intent from geometric realization: When a human walks up stairs, the rhythm of left-right stance and swing is similar to flat walking; only the vertical height and exact foothold change. By supervising when a foot should support weight rather than where it must land in 3D space, the residual policy learns to adjust footholds naturally without fighting the reference motion.
  • Freezing beats fine-tuning for motion fidelity: The authors tested directly fine-tuning SONIC’s decoder instead of using a frozen residual wrapper. While fine-tuning slightly bumped terrain traversal success (by ~1.3%), it noticeably degraded flat-ground motion tracking accuracy. Freezing the BFM acts as an anchor that keeps upper-body style intact.
  • Look ahead under the reference path: Without the prospective "swept clearance" reward, the robot’s rate of landing with the correct, reference-intended foot dropped by nearly 10%—proving that anticipating obstacle heights along upcoming foot paths is vital for preventing stubbed toes and stumbled recovery steps.

Key Results

  • Simulation Traversal: Across 20,758 test episodes, Perceptive SONIC jumped overall traversal success from 58.1% (vanilla SONIC) to 91.6%. On out-of-distribution terrains, success nearly doubled from 43.2% to 85.8%. On stair ascents specifically, vanilla SONIC succeeded just 5.4% of the time, whereas the depth student hit 90.7%.
  • Contact & Tracking Quality: Compared to vanilla SONIC, the framework roughly halved foot slip (from ~0.10 m/s to 0.05 m/s) and preserved flat-ground joint-tracking error within a hair's breadth of the original model (26.96 mm vs. 26.86 mm).
  • Near-Lossless Distillation: The camera-based student matched the omniscient teacher within 0.1% overall success.
  • Real-World Unitree G1 Deployment: Across 120 real-world trials over stairs and random obstacles—driven by both a gamepad planner and a human operator walking on flat ground in VR—the robot succeeded in 117/120 trials (97.5%) and avoided falling in 99.2%. It also completed an uninterrupted 30-minute outdoor run (14 stair traversals) and a 25-minute continuous VR teleoperation session without a single fall or reset.
Real-world indoor stair traversal via VR teleoperation: the operator walks on flat ground while the Unitree G1 adapts to stairs.

Limitations and Future Work

  • Foot-only contacts: Currently, the adaptation focuses purely on bipedal foot support. It cannot yet adapt whole-body contacts—like using hands on a railing, crawling, or sitting on uneven surfaces—which the authors highlight for future work.
  • Camera occlusion: During evaluation, AMASS clips had to be excluded because expressive arm movements occasionally blocked the robot's head/chest depth camera.
  • Model specificity: While the base SONIC model is frozen, the residual adaptor is trained specifically around SONIC's features and actions; future work aims to enable zero-shot swapping of the underlying BFM without retraining the residual layer.

Summary updated

BibTeX
@misc{zhuang2026perceptive,
  author = {Zikun Zhuang and Ming Lei and Jun Wang and Malin Wang and Zhiyun Lin},
  title = {{Perceptive SONIC: Terrain-Aware Residual Adaptation of a Frozen Behavior Foundation Model}},
  year = {2026},
  eprint = {2611.35752},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35752},
}
Figure