Versatile quadruped locomotion depends on a tight coupling between what the robot perceives and what its body can execute. Yet existing visual controllers typically organize depth history using fixed temporal patterns, overlooking that the same temporal span corresponds to different spatial ranges as the robot's speed, posture, and gait phase change. Consequently, the same visual history may be insufficient in one motion state but outdated or misaligned in another. To address this limitation, we propose TempoLoco, a body-aware dynamic visual perception framework that organizes visual memory according to the robot's current locomotion state. TempoLoco learns multiple complementary temporal views from a long depth buffer, encodes them within a shared feature space, and dynamically aggregates them using proprioceptive history and multi-scale terrain evidence. This enables a single policy to align visual anticipation with the robot's current motion capabilities across complex terrains, including stairs, platforms, gaps, discrete obstacles, rough ground, and slopes. From the experiment analysis, TempoLoco achieves a 78.4% success rate, compared with 58.2% for the strongest fixed-history baseline and 62.1% for uniform multi-scale fusion. In separate capability evaluations, it completes 41/45 simulated trials across nine terrain types and 23/25 real-world trials on a Unitree B2 with a fixed arm, demonstrating robust and deployable locomotion through body-aware dynamic visual perception.
Figures & tables
Fig. 1: Overview of TempoLoco. Globally learned temporal strides construct complementary depth histories, which are dynamically aggregated by a body-state-conditioned gate using proprioceptive history and multi-scale terrain evidence. The resulting visual representation drives a single leg-control policy across diverse complex terrains. The strides remain fixed after training, whereas the fusion weights adapt online at every policy step. The mounted arm is fixed and excluded from the locomotion action space.
Fig. 2: Detailed architecture of TempoLoco (actor path shown). At each 50-Hz policy step, a 37-slot depth FIFO and a five-step, 260-dimensional proprioceptive history are provided to the temporal-perception module. Four globally learned continuous strides construct complementary eight-frame histories; the displayed stride values are the initialization, and filled and hollow markers denote integer-slot and interpolated samples, respectively. A scale-shared visual encoder maps each history to a 128-dimensional feature, and a body-state-conditioned temporal gate computes online softmax fusion weights from proprioceptive history and all scale-specific visual features. The fused 128-dimensional visual representation is concatenated with proprioception to form the 388-dimensional actor input, which is processed by the four-expert locomotion MoE and the unchanged action-processing pipeline to produce 12 leg-joint targets. The actor and critic use independent temporal modules, and the critic appends 33 privileged dimensions only after temporal fusion. The lower panel shows deployment on the arm-equipped Unitree B2, with the arm fixed outside the locomotion action space.
Method
Boxes
Stairs
Mesh Boxes
Inv. high
Wave
Overall SR ↑
Completion ↑
Zero
54.67
33.78
23.11
21.56
69.33
40.49±4.16
74.04±1.33
Current
70.44
33.56
23.78
46.22
73.33
49.47±14.41
78.86±8.89
Dense
75.78
46.67
27.78
59.11
66.44
55.16±5.82
82.76±1.53
Sparse
79.33
42.89
30.89
40.00
69.78
52.58±10.31
76.78±3.29
TABLE I: Fixed-history diagnosis: 9,000 episodes. Values are percentages; overall results are training-seed mean ± SD.
Fig. 3: Learned temporal supports and actor-gate usage. (a) Final actor strides for seeds 42, 43, and 44, expressed in policy-time FIFO slots; hollow squares mark initialization and error bars show mean ± SD across seeds. (b) Descriptive mean actor temporal-gate weights for the indicated terrain–speed conditions, obtained by first averaging over policy steps within each episode and then averaging equally over 30 episodes per condition. Branch labels are the original network branch IDs and are not reordered by final learned stride values.
Method
SR ↑
Completion ↑
Worst SR ↑
Termination ↓
Dense
58.2±4.2
65.2±3.8
32.1±5.6
21.3±2.1
Uniform-Multi
62.1±3.9
69.0±3.5
38.3±5.1
18.8±1.9
Learned-Multi
68.4±3.1
74.6±2.9
46.2±4.3
14.4±1.5
Global-Static
52.3±4.8
60.1±4.1
25.8±6.2
24.6±2.4
TempoLoco
78.4±2.3
83.8±1.8
54.5±3.2
8.2±0.9
TABLE II: Main comparison: 40k PPO training iterations, three training seeds, and 100,000 episodes per trained policy. Metrics are percentages (mean ± SD).
Temporal scales
Uniform fusion
State-conditioned fusion
Fixed
62.1±3.9
71.5±3.5
Learned
68.4±3.1
78.4±2.3
TABLE III: Factorial ablation of temporal-scale learning and state-conditioned fusion. SR (%) is reported as mean ± SD over three training seeds under the full-curriculum benchmark.
Course
Geometry
Completed
Gravel
1–2 cm particles
5/5
Rocky terrain
8–30 cm rocks
5/5
Sandy slope
≈ 60 cm high
5/5
Stairs, down–up
≈ 10 cm/step
5/5
Pit, down–up
≈ 47 cm deep
3/5
Total
–
23/25
TABLE IV: Physical trials with the seed-42 policy. Dimensions are approximate.
Robert Bosch Center for Cyber-Physical Systems, Indian Institute of Science, Bengaluru. · Robert Bosch Center for Cyber-Physical Systems and the Department of Computer Science & Automation, Indian Institute of Science, Bengaluru.