CoRL 2026

Mind the Phase

Effective Rank and Representation Health in Legged Locomotion

Felipe Tommaselli Ricardo V. Godoy Thiago H. Segreto Juliano D. Negri Marcelo Becker

Mobile Robotics Group, University of São Paulo

How a policy distributes its capacity across the gait cycle is associated with its health and motion smoothness, both in simulation and on hardware.

Abstract

Reinforcement learning has become the leading paradigm in legged locomotion, enabling complex behaviors from backflips to parkour via massively parallel simulation. Under PPO's non-stationarity, shallow networks remain the de facto architecture, supported by carefully staged environments; nevertheless, the representations learned by these policies remain poorly understood, specifically the relation to motion produced on hardware.

In this work, we empirically study locomotion policies through the effective rank of the network Jacobian and show that conditioning rank on gait phase exposes representation structures invisible from a global rank. In particular, we find that architectural choices, namely observation and layer normalization with residual connections, allocate more than one additional dimension of effective rank to swing-dominant states than to stance-dominant states, which is mostly absent in vanilla MLPs.

Building on this, we propose practical recommendations to convert these into diagnostics for healthier and smoother policies. In the Spot deployment environment, the MLP/SimBa joint-jitter ratio is 2.2× in simulation and 1.3× on hardware. More broadly, our findings show that how a policy distributes its capacity across the gait cycle is closely tied to its health and sim-to-real transfer.

Mechanistic studies for legged locomotion

Explore the studies

A practical recommendation

For researchers training locomotion policies, our recommendation is to log the effective rank of the policy Jacobian while keeping track of the robot’s support condition. At regular checkpoints, collect observations together with foot-contact information and compute the rank separately for swing-dominant and stance-dominant states. Keep both measurements alongside the global rank, so that a change in their difference can be traced to what happened in each condition. Record how often the policy visits these conditions as well, including double support.

The resulting curves should be read beside reward, command-tracking error, and measurements of joint-motion smoothness. When rank changes without a corresponding improvement in behavior, this is a reason to inspect the policy more closely. It is not, by itself, a reason to favor that checkpoint.

The released code includes Investigator, our rank-analysis and logging tool, integrated into training.

Video

Resources

Cite this work

Felipe Tommaselli, Ricardo V. Godoy, Thiago H. Segreto, Juliano D. Negri, Marcelo Becker. Mind the Phase: Effective Rank and Representation Health in Legged Locomotion. CoRL 2026. arXiv:2609.06958 ↗

Watch on YouTube