# Mind the Phase: Effective Rank and Representation Health in Legged Locomotion

Robotics.world

> Legged-locomotion policies are trained with PPO and shallow MLPs, but nobody has a clear picture of what representations these networks actually learn, or how those representations relate to the…

**arXiv**: 2609.06958 · accepted · CORL

**Published**: 2026-09-07 · revised · 2026-10-15

**Authors**: Felipe Tommaselli, Ricardo V. Godoy, Thiago H. Segreto, Juliano D. Negri, Marcelo Becker

## In plain words

Legged-locomotion policies are trained with PPO and shallow MLPs, but nobody has a clear picture of what representations these networks actually learn, or how those representations relate to the motion the robot produces on hardware.

## AI summary

## Overview

**Research area:** Deep reinforcement learning for legged locomotion, with a focus on representation analysis and sim-to-real transfer.

**Technical level:** Intermediate. The paper assumes familiarity with PPO, policy networks, Jacobians, and singular-value-based rank measures, though the core idea can be followed with a general ML background.

**Scope:** An empirical study showing that the effective rank of a locomotion policy's Jacobian, measured separately for swing-dominant and stance-dominant gait phases, reveals architectural differences that a single global rank hides, and that this phase-conditioned rank covaries with joint-motion smoothness in simulation and on a physical Boston Dynamics Spot.

## What This Paper Is About

Legged-locomotion policies are trained with PPO and shallow MLPs, but nobody has a clear picture of what representations these networks actually learn, or how those representations relate to the motion the robot produces on hardware. The authors use effective rank, especially the effective rank of the policy Jacobian, as a diagnostic and show that the useful signal only appears when the measurement is split by gait phase. Policies with comparable task returns can differ substantially in how they distribute representational capacity across the gait cycle, and that distribution tracks motion smoothness.

## Key Contributions

1. **A phase-conditioned rank diagnostic.** Conditioning effective Jacobian rank on swing-dominant versus stance-dominant states exposes differences between Spot locomotion policies that a global rank measurement cannot see.
2. **An empirical study of architecture and training effects.** The paper characterizes how rank structure differs between vanilla MLPs and a SimBa-style architecture (observation normalization plus Pre-LN residual blocks), and how it changes when PPO epochs per update are doubled, showing that rank magnitude alone is insufficient to assess representation health.
3. **A connection to deployment quality.** The paper examines the association between rank and joint-motion smoothness across three simulated embodiments (Spot, ANYmal-D, H1) and on a physical Spot, motivating joint use of these measures in policy evaluation.
4. **Practical recommendations.** Concrete guidance to log phase-conditioned Jacobian rank alongside foot-contact information, visit frequency per condition, reward, tracking error, and smoothness metrics at regular checkpoints.

## Main Findings

- **Global rank hides phase structure.** Global Jacobian ranks for the two families are nearly identical (SimBa 9.77 versus MLP 9.85), yet the phase split separates them cleanly.
- **SimBa allocates more rank to swing.** SimBa policies consistently give more effective Jacobian rank to swing-dominant states than to stance-dominant states, with a mean phase delta of 1.36 versus 0.11 for MLPs; every SimBa policy in the comparison lies above every MLP, with Mann-Whitney p < 10⁻⁵. The paper describes this as more than one additional dimension of effective rank in swing-dominant states.
- **The split is learned, not innate.** Both families start near zero phase delta before training, and the delta separates them consistently during training as well.
- **Feature rank differs across embodiments.** On flat-terrain tasks, SimBa learns higher-rank feature representations than MLPs by approximately 22, 17, and 24 dimensions on Spot, ANYmal-D, and H1 respectively; Figure 6 summarizes this as a Δ ≈ 20 gap.
- **Higher Jacobian rank tracks smoother motion.** Across the architecture zoo in the Spot deployment environment, Jacobian rank and high-frequency joint jitter are negatively correlated (Spearman ρ = −0.65, n = 10), and the higher-rank SimBa family shows roughly 2× lower jitter than the MLP family while matching or improving velocity tracking. The absolute jitter and tracking-error values are shown as family means in Figure 7 rather than stated numerically in the text.
- **The effect carries to hardware.** On the physical Spot, across ten deployed policies, SimBa policies show lower jitter and lower tracking error, in the same direction as simulation. The same smoothness advantage was observed on the 19-DoF H1 biped and on ANYmal-D in simulation.
- **Higher rank is not automatically better.** Under over-training (10 PPO epochs per update instead of 5, compared after 1,000 iterations with five seeds per configuration), feature rank inflates in every configuration, roughly 25% for SimBa, while global Jacobian rank does not change much and gait reward does not improve at matched iterations. The phase split also shifts: MLPs develop a swing-dominant split while SimBa's is preserved.
- **Structure is visible in the Gram matrix.** Healthy training produces well-defined geometric structure in the cosine-similarity Gram matrix, whereas collapsed training yields smooth, non-linear patterns indicating loss of structure.
- **Limited causal claim.** The authors state explicitly that no artifact directly links rank and smoothness; they report a persistent co-occurrence and read rank as a diagnostic that covaries with deployment quality.

## Methodology in Plain English

The team trained PPO locomotion policies with RSL_RL inside IsaacLab and compared two families: standard MLPs of several depths and widths, and a custom SimBa variant adapted for PPO, which adds observation normalization and residual blocks with layer normalization and a residual scaling factor of 1/√N. They evaluated both families at five depths in the operating region, ran five independent seeds per configuration, and tuned learning rates with Bayesian optimization so comparisons happen near each configuration's best observed performance.

To measure representation health they computed effective rank, an entropy-based measure that counts how many singular-value directions of a matrix are effectively active (a flat spectrum over k modes gives roughly k, a spectrum dominated by one mode gives roughly 1, with a cutoff ξ = 10⁻¹⁰). They applied it in three places: the actor's penultimate feature matrix, the actor's weight matrices, and the policy Jacobian, meaning the derivative of the deterministic action mean with respect to the observation. The Jacobian is averaged over a batch of states drawn from a fixed pool and is bounded by the action dimension.

The key step is grouping. For a quadruped, states with zero or one foot on the ground are labeled swing-dominant, states with three or four feet down are stance-dominant, and double support is excluded as neutral. The same rank estimator is applied separately to each group with the same number of states, the same policy, and the same observation coordinates, so the ranks are directly comparable. The phase delta is the difference between swing and stance rank.

Smoothness is measured as jitter: the fraction of joint-position signal energy above 10 Hz, adapted from prior work on penalizing the action Jacobian. The authors compared these metrics in simulation across Spot, ANYmal-D, and H1, and deployed policies to a physical Spot using a sim-to-real setup built on prior Spot locomotion work, with the 7-DoF arm stowed and only the 12 leg joints controlled.

## Why This Matters

**Impact on research.** The locomotion field has converged on shallow MLPs trained with heavily engineered rewards, and evaluation is usually reduced to return and tracking error. This paper argues that representation-level diagnostics, conditioned on the physical state of the robot, can distinguish policies that aggregate metrics treat as equivalent. It also cautions against treating higher effective rank as a training objective in itself, since over-training inflates feature rank without improving behavior.

**Real-world applications:**

- Hardware deployment screening: checking a checkpoint's phase-conditioned rank before committing to a physical trial.
- Actuator wear and vibration reduction: lower high-frequency joint jitter on real quadrupeds and bipeds.
- Curriculum and architecture selection for sim-to-real pipelines in industrial inspection and logistics.
- Failure-mode detection during long training runs, where reward plateaus but representation structure is still shifting.

**Industry relevance.** Companies deploying legged robots commercially care about smooth, quiet, hardware-safe motion more than about benchmark returns, and a cheap offline diagnostic computed from saved checkpoints fits naturally into existing training dashboards. The paper's recommendation to log rank alongside contact state, reward, tracking error, and jitter is directly actionable for any team running IsaacLab-style pipelines.

## Future Directions

- **Broaden the architecture space.** The authors explicitly did not test RNNs, Transformers, other normalization schemes, or asymmetric decoupled actor-critic designs, which are common in teacher-student and whole-body control pipelines.
- **Establish causality between rank and smoothness.** The paper reports co-occurrence only; controlled interventions on architecture and training could determine which aspects of the learned response actually cause the smoothness difference.
- **Extend the phase analysis beyond flat blind locomotion.** More varied terrain, perceptive locomotion, and additional robots would show which findings are specific to the current testbed.
- **Expand real-world coverage.** Hardware experiments were limited to the Spot, so the sim-to-real claims on ANYmal-D and H1 rest on simulation only.

## Target Audience

Reinforcement learning researchers working on legged locomotion and sim-to-real transfer will get the most from this paper, particularly those who train PPO policies in IsaacLab or similar massively parallel simulators and want diagnostics beyond reward curves. It is also relevant to roboticists interested in mechanistic interpretability of control policies, and to engineers selecting network architectures for hardware deployment where motion smoothness affects actuator life and safety. Readers without a background in policy gradients or linear algebra will find the methodology section demanding, but the central message about phase-conditioned measurement is accessible.

## Authors’ 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…

[The full abstract on arXiv](https://arxiv.org/abs/2609.06958)

[Read the original paper](https://arxiv.org/abs/2609.06958)

## Related papers

- [VLN on the Fly: An Onboard Vision-Language Navigation Stack for Aerial Robots](https://robotics.world/paper/vln-on-the-fly-an-onboard-vision-language-navigation-stack-for-aerial-2609.20191) 2026-08-07 · cs.RO · Also by Felipe Tommaselli, Marcelo Becker +1
- [Towards Capability-Aware Traversability Navigation for Unstructured Environments](https://robotics.world/paper/towards-capability-aware-traversability-navigation-for-unstructured-2607.20679) 2026-07-22 · cs.RO · Also by Felipe Tommaselli, Marcelo Becker +1
- [DR-MPC: Fast and Feasible Dynamics-Relaxed Model-Predictive Control for Legged Locomotion](https://robotics.world/paper/dr-mpc-fast-and-feasible-dynamics-relaxed-model-predictive-control-for-2609.20035) 2026-09-17 · cs.RO · Key terms of the title in common
- [SABER: Learning Attention-based Semantic Affordance for Legged Locomotion](https://robotics.world/paper/saber-learning-attention-based-semantic-affordance-for-legged-locomotion-2609.21572) 2026-09-18 · cs.RO · Key terms of the title in common
- [Tac4Loco: Learning Spatiotemporal Plantar Pressure Representations for Humanoid Locomotion](https://robotics.world/paper/tac4loco-learning-spatiotemporal-plantar-pressure-representations-for-2608.15766) 2026-08-16 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/mind-the-phase-effective-rank-and-representation-health-in-legged-2609.06958
