Rank, architecture, and deployment

Method

We additionally consider the policy Jacobian effective rank, which measures the dimensionality of the policy's input-output sensitivity.

Measuring effective rank

In this work, we adopt several rank formulations used in the broader deep learning literature. We characterize the policy through the entropy-based effective rank of the analyzed activation matrix (Fig. 2 in the paper). For a matrix A with singular values {σi}, we discard numerically negligible modes σi ≤ ξ, normalize the remaining spectrum as

pi= σi∑jσj

and define

erank(A)= exp(−∑i pilog(pi+ξ))

where the small constant ξ also stabilizes the logarithm. This quantity can be interpreted as the entropy-equivalent number of active spectral modes. A flat spectrum over k modes gives erank(A) ≈ k, whereas a spectrum dominated by a single singular value gives erank(A) ≈ 1.

Feature rank

Feature rank is the most common rank in deep RL. The feature matrix Fθ(X) ∈ ℝN×d contains the inputs to the actor’s final action-mean layer: the last hidden activations for MLPs and the residual-stream representations after the final layer normalization for SimBa (Appendix C). We evaluate these features on a batch of N observations from the parallel environments and report erank(Fθ(X)).

For qualitative inspection, we also form the cosine-similarity Gram matrix G = F̂F̂⊤ of the L2-normalized feature rows; its singular values are the squares of those of F̂.

Weight rank

Finally, we also compute effective ranks of the actor’s linear weight matrices Wℓ ∈ ℝdout×din, termed Weight Rank. This can be interpreted as a non-representational parametric rank, which is useful for checking available capacity for downstream representations. For instance, a high representation rank ought to be uninformative if the weight rank has collapsed. Conversely, feature rank can collapse or not, even with a high weight rank.

Overview of the rank objects
Overview of the rank objects studied here, namely the actor weight matrices Wℓ, the penultimate feature representation Fθ(X), and the policy Jacobian Jθ(xi) measuring local input-output sensitivity. The artwork uses πθ; Section 3.2 defines the differentiated output as the deterministic action mean μθ(x) ∈ ℝa, as in the equation below.

Policy Jacobian rank

We additionally consider the policy Jacobian effective rank, which measures the dimensionality of the policy’s input-output sensitivity. For the deterministic action mean μθ(x) ∈ ℝa and an observation xi ∈ ℝo, the per-state Jacobian is

Jθ(xi)= ∂μθ(xi)∂xi ∈ℝa×o,

taken with respect to the network input. Averaging over a batch of B states drawn from a fixed pool sampled at the start of training gives

J¯θ=1B ∑i=1B Jθ(xi),

and we define rJac = erank(J̄θ), which is bounded by the action dimension a. A low value indicates that the policy actions depend on only a few dominant observation directions, while a higher value indicates broader sensitivity across observation dimensions and action coordinates.

Online monitoring (Appendix C). The online logger evaluates 64 states from the fixed pool every 1,000 iterations, recording the effective rank of their mean Jacobian and the mean and standard deviation of their individual ranks. These derivatives use network-input coordinates: normalized observations for SimBa and raw observations for MLPs. Online contact-conditioned logs are used only for monitoring; all reported phase comparisons use fresh offline estimates from the same checkpoint.

Shared observation coordinates (Appendix C.1). Offline Jacobians are differentiated with respect to raw observations, including the observation normalizer, and expressed in shared coordinates as Jθdiag(σref). The reference contains the per-dimension population standard deviations from final-checkpoint rollouts of the phase-analysis cohort, using rollout seed 0 and the same reset filter. Weighted moments give equal weight to configurations, runs within each configuration, and valid states within each run; standard deviations are floored at 10−6. This reference is fixed across checkpoints, the closer-capacity comparison, and the over-training analysis.

To ask how this response changes with the robot’s support condition, we apply the same construction separately to groups of states. For a group p (Section 3.3), we draw n states Ip from rollouts of a saved checkpoint and compute

J¯θ,p=1n ∑i∈Ip Jθ(xi).

For a single draw, the swing-minus-stance difference is

Δϕ= erank(J¯θ,swing)− erank(J¯θ,stance),

and the global rank applies the same estimator to all states. Every group uses the same number of states, the same policy, and the same observation coordinates, so their ranks are directly comparable (Appendix C.1). The offline estimates use the shared coordinates described above.

Offline sampling and estimation (Appendix C.1). Each policy runs deterministically for 550 control steps in its training environment with 4,096 robots, retaining the training commands and randomization. After 300 warm-up steps, observations and contacts are recorded every fifth step, yielding 204,800 states before excluding those within 50 steps of a reset.

For each contact group p, we form a random pool of at most 2,000 valid states and repeatedly sample n = 64 states without replacement. Group ranks are the medians of erank(J̄θ,p) over 1,000 draws. The reported phase difference Δϕ is the median of the 1,000 swing-minus-stance differences, where the two groups are sampled independently and paired by draw index—not the difference of the group medians. Global rank uses the same estimator over all contact states.

Sensitivity to measurement choices (Appendix C.2). Effective rank depends on observation scaling. The family separation persists in native network-input coordinates but is smaller and not statistically significant in raw observation units (Table A6).

Untrained SimBa policy Jacobian with near-random input-output structure

(a) Untrained

Trained SimBa policy Jacobian with emergent input-output structure

(b) Trained

Figure 5 — Jacobian matrices for the SimBa policy in the Spot environment. (a) Untrained policy exhibiting near-random structure. (b) Trained policy showing emergent input-output structure.

Gait phase

Unitree H1 with one foot in swing moving toward its next contact and the other foot in stance supporting the body
Figure 3 — Swing and stance phases during legged locomotion. In stance, the foot remains in contact with the ground and supports the robot, while in swing it moves toward the next contact.

Legged locomotion is naturally organized around alternating periods of stance, when a foot is in contact with the ground, and swing, when it moves toward the next contact. These phases place different demands on the controller; note that stance is associated with supporting and stabilizing the body, while swing is primarily concerned with repositioning the leg for the following step. Figure 3 illustrates this distinction for the Unitree H1.

Since a single policy controls the whole body (all legs) at once, we aggregate this information into groups. For a quadruped, states with zero or one foot down are swing-dominant, and states with three or four feet down are stance-dominant; double support is neutral and excluded from the aggregation to avoid inflating the count. These groups cover the full range of behavior the policy encounters in training, a mixture of velocity commands, including standing still (full stance). Contact criteria and sampling details are given in Appendix C.1.

Definitions follow Sections 3.2–3.3 of the paper. Section and appendix references refer to the paper.

Architecture

hn=hn−1+α [W2(n)ϕ (W1(n) LN(hn−1) +b1(n)) +b2(n)]

where ϕ is the ReLU.

α=1N

The actor and critic use the same architecture but have separate parameters and no shared trunk.

A linear embedding is followed by N pre-layer-normalization (Pre-LN) residual blocks, a final layer normalization (post-LN), and a linear output head. Each block's residual contribution is scaled by α = 1/√N to limit the growth of gradient magnitude with depth. The original SimBa formulation uses α = 1.

The embedding and the head use orthogonal initialization with zero bias. The head gain is 0.01 for the actor, which gives a near-zero initial action mean, and 1.0 for the critic. Residual-block weights use Kaiming-normal initialization (fan-in, ReLU gain) with zero biases.

SimBa policies normalize observations with running estimates of their mean and variance before the trunk. The MLP baselines use no observation normalization. The normalizer is kept during evaluation and export. Since the two families differ in several components at once, the family comparison does not isolate the effect of normalization.

FamilyLearning rate
SimBa (all depths)1.5 × 10−3
MLP (all but MLP-XXL)1 × 10−3
MLP (MLP-XXL)6 × 10−4
Performance scaling of MLP and SimBa with model capacity across tasks
Performance scaling of MLP and SimBa with model capacity across tasks, over the operating range used in the paper, and a broader capacity scaled sweep. Markers show model capacity (parameters, M) on a logarithmic scale. The broader sweep shows the same qualitative scaling as the operating range.
Bayesian optimization search for the learning rate of the SimBa architecture (SimBa-XS, ANYmal-D flat)
Bayesian optimization search for the learning rate of the SimBa architecture (SimBa-XS, ANYmal-D flat). The 20 best of the sampled points are shown.

Training

PPO / rolloutValue
Steps per environment24
Parallel environments4,096
Buffer size98,304
Clip ε0.2 (clipped value loss)
Value loss coefficient (Spot deployment)1.0
Entropy coefficient (Spot deployment)0.005
Learning-rate scheduleadaptive
Target KL0.01
Epochs K5 (10 over-trained)
Mini-batches per epoch4
Max. grad. norm1.0 (0.5 LinOp)
Initial action std1.0
Discount γ0.99
GAE λ0.95
Taskcv / cH
ANYmal-D flat1.0 / 0.005
ANYmal-D rough1.0 / 0.005
H1 flat1.0 / 0.01
H1 rough1.0 / 0.01
Spot flat0.5 / 0.0025
Spot flat (K = 10)0.5 / 0.0025
Spot deployment1.0 / 0.005

The Spot deployment environment (SD) follows Zhu et al. and models Spot with its 7-DoF arm held in the stowed configuration, while the policy controls only the 12 leg joints. Its observations additionally include the arm joint state and base-height and tilt commands. Training combines locomotion rewards with mass and friction randomization, progressively introduced disturbances, and sagittal symmetry augmentation, without manipulation rewards.

Deployment

Inference runs in ONNX Runtime on an external desktop (Intel Core i7) connected to the robot over Ethernet. Robot states are streamed from Spot, and joint commands are sent back over gRPC through the Joint Control API of the Spot SDK. The state stream publishes joint and kinematic state at about 333 Hz. A new action is computed every six state packets (about 55 Hz, with 50 Hz as a lower bound), and the joint targets are streamed back with a 5 ms extrapolation window. End-to-end latency is 2–5 ms.

Spot’s reported contact-state estimates are logged alongside joint loads. Auxiliary hardware gait diagrams also use the signed knee-load proxy cf = 1{τknee,f > 8.0 N m}. This threshold follows the sign convention of the logged loads and is not a calibrated ground-reaction-force measurement. Neither this proxy nor Spot’s reported contact states are used to compute the joint-jitter or velocity-tracking metrics shown in Fig. 7. Hardware contact estimates are not used in the simulated phase-conditioned rank analysis.

The commands were issued manually, so the number and length of segments vary between policies. Velocity commands are issued from a terminal interface in increments of 0.5 m/s. During hardware rollouts, the base roll/pitch command is held at (0,0) and the base-height command at a constant value.

Hardware uses the same metrics on forward-command segments lasting at least 2 s, with sampling frequency estimated separately for each log from its median control-step duration (approximately 55.6 Hz). Segments are identified within each log and pooled across repeated deployments using duration weights to obtain one value per policy.

Spectral metrics use the measured rate, so the 10 Hz HFR cutoff is the same as in simulation. All policies were deployed with the same PD gains and a constant base-height command. Both differ from training, and the deviation applies equally to both families.

Watch on YouTube