Skip to content
Physical AI
Chapter 10Proposed experiment · no results yet 22 min read

Research Exploration: Learning to Walk with Less Information

A proposed experiment: progressively masking privileged observations from the actor during training.

Every earlier chapter described how a walking policy is trained. This one asks how it might be trained differently. It sets out a research question, a hypothesis, a methodology and an evaluation plan for an idea with the working title Adaptive Privileged Observation Masking for Reinforcement Learning-Based Humanoid Locomotion. No experiment has been run yet, so the chapter contains no results.

This is a proposed experiment, not a validated result

Nothing on this page shows that the idea works. There are no training curves, no benchmark numbers and no hardware tests. The interactive tools visualise the design of the experiment, and the one that shows a moving performance signal uses a clearly labelled synthetic signal to illustrate the scheduler logic. Novelty is not claimed either: closely related ideas may already exist, and a proper literature review must come before any claim of originality.

The question in one paragraph

A locomotion policy that will run on a real robot may only use observations the robot can actually measure. Asimov's documented setup enforces this from the first training step: the actor sees 45 hardware-compatible observations, and only the critic sees 19 extra privileged quantities that exist in simulation alone. This chapter asks whether there is value in relaxing that rule temporarily. Could an actor that is first allowed to see the privileged quantities, and then has them taken away gradually, learn faster or end up more robust than an actor that never saw them? Before anyone could answer that, the question needs a careful experimental design. Most of this chapter is that design.

Proposed research

Hypothesis. Instead of restricting the actor to hardware-compatible observations from the beginning, initially providing privileged observations and progressively removing them may improve locomotion learning efficiency and final robustness. The final policy must still use only the 45 deployable observations. This is a hypothesis to be tested, and it may well turn out to be false.

Background: what the actor and critic see on Asimov

Chapter 9 covered the asymmetric actor-critic design in detail. The facts that matter here are short enough to restate.

Asimov's actor receives 45 observations: base angular velocity (3), projected gravity (3), the velocity command vx,vy,ωzv_x, v_y, \omega_z (3), joint positions (12), joint velocities (12) and previous actions (12). Base linear velocity is deliberately excluded. The critic receives those 45 plus 19 privileged observations: base linear velocity (3), foot height (2), foot air time (2), binary foot contact (2), foot contact forces (6), toe joint position (2) and toe joint velocity (2), for 64 in total. The actor is an MLP 45→512→256→128→1245 \to 512 \to 256 \to 128 \to 12, the critic 64→512→256→128→164 \to 512 \to 256 \to 128 \to 1, both with ELU activations, with observation normalisation enabled and an initial policy noise standard deviation of 1.0. The two toe joints are passive. Toe state is critic-only, so the actor has to infer toe behaviour from ankle motion, the IMU and the body's response.

Menlo also notes that a policy without force input does not react to contact changes as aggressively as force-rich systems do, but is stable. That observation is part of the motivation here. The privileged signals clearly carry useful information about contact. Asimov's design gives that information to the critic, which helps it judge how good a state is, but the actor itself never learns to use it.

Physics in Asimov's simulator runs at 200 Hz and the policy at 50 Hz. Neither rate changes in this proposal. Only the actor's input set changes during training.

Concepts this proposal builds on

The idea combines several well-established techniques. Each is explained briefly below, because the proposal is easiest to judge once you can see which parts are borrowed and which are, at most, a new combination.

Curriculum learning

Curriculum learning means presenting training material in a meaningful order, typically from easy to hard, instead of sampling uniformly from the full task. Bengio et al. (2009) formalised the idea for neural networks and showed that a well-chosen ordering can speed up training and sometimes improve the final solution. Legged locomotion uses curricula widely. Terrain difficulty and commanded speed are often raised as the policy improves, as in the massively parallel training setup of Rudin et al. (2021).

The usual curriculum changes the task. This proposal changes the information available to the policy while the task stays the same. Making the problem harder by withholding information is still a curriculum in Bengio's sense, because the training distribution moves from easier to harder over time.

Privileged information and privileged learning

Privileged information is information available during training but not at test time. Vapnik and Vashist (2009) introduced learning using privileged information in supervised learning: a teacher's extra descriptions of the training examples can make the learner more sample-efficient, even though the learner never sees them at test time. In robot learning, the simulator is a natural source of privileged information. It knows exact velocities, contact forces, terrain heights and friction coefficients that real sensors cannot measure, or can measure only poorly.

Asymmetric actor-critic

In an asymmetric actor-critic, the critic receives privileged state while the actor receives only deployable observations. Pinto et al. (2017) introduced the idea for image-based robot learning. The critic is discarded after training, so it can use anything the simulator offers. A better-informed critic gives lower-variance, more accurate advantage estimates, and the actor benefits indirectly. Asimov's design is an instance of this pattern (baseline 2 below).

Teacher–student policy distillation

Teacher–student distillation trains in two phases. First, a teacher policy with privileged inputs is trained with RL. Then a student policy with only deployable inputs, often including a history of past observations, is trained to imitate the teacher's actions, typically with DAgger-style data collection (Ross et al., 2011) so that the student learns in the states it actually visits. Chen et al. (2019, "Learning by Cheating") used this for autonomous driving. Lee et al. (2020) used it for quadruped locomotion over challenging terrain, and Kumar et al. (2021, RMA) used a related scheme in which a student module learns to estimate a latent encoding of privileged environment parameters from the recent history of states and actions.

The important difference from this proposal is that distillation hands off between two separate networks at a discrete point. The proposal keeps a single actor and removes information from it gradually.

Observation masking and observation dropout

Observation masking replaces some input channels with a fixed value (here zero, after normalisation) so that the network cannot use them. Observation dropout does the same at random, following dropout (Srivastava et al., 2014), which randomly zeroes hidden units during training to reduce co-adaptation and overfitting. Random input dropout makes a network robust to missing inputs. A dropout probability that rises over training, until a channel is always dropped, is essentially what this proposal calls progressive masking.

How this proposal relates to prior work

Proposed research

Novelty is not claimed. Progressive privileged-observation masking is a combination of curriculum learning, privileged learning and input dropout, and combinations like this are natural enough that related work very likely exists. For example, Kamienny et al. (2020) studied dropout applied to privileged information in RL. Estimator-based approaches such as Ji et al. (2022) train a network to predict base velocity from deployable signals instead of withholding it. Any claim that this specific schedule or adaptive controller is new would first require a systematic literature review across RL, robot learning and learning-using-privileged-information. Until then, treat this chapter as a well-specified experiment, not a contribution.

Proposed methodology

Six training stages

The proposed training run passes through six stages. The critic sees all 64 observations in every stage. Only the actor's view changes.

Proposed research
  1. Stage 1. Full information. The actor receives all 64 observations, the same set as the critic.
  2. Stage 2. Mask passive toe state. Toe joint position and velocity (4 channels) are gradually removed.
  3. Stage 3. Mask foot contact forces (6 channels).
  4. Stage 4. Mask foot height, foot air time and foot contact state (6 channels).
  5. Stage 5. Mask base linear velocity (3 channels).
  6. Stage 6. Deployable observations only. Training continues with exactly the 45 hardware-compatible observations until the training budget is used up.

The removal order is a hypothesis to be evaluated, not a design decision that has been justified.

The four masked groups add up to 4+6+6+3=194 + 6 + 6 + 3 = 19 channels, exactly the privileged set. Use the explorer below to see where each group sits in the 64-wide input, and what the actor's input looks like when a group is masked.

Loading simulation…
▸How this works · equations · source · limitationsOpen in lab

What it demonstrates

How a fixed 64-wide actor input can hold both the 45 hardware-compatible observations and the 19 simulator-only (privileged) observations, and what masking a group means for that input.

How it works

The 64 channels are laid out as the 45 deployable observations of Asimov's documented actor (base angular velocity, projected gravity, command, joint positions, joint velocities, previous actions), followed by the 19 privileged additions that Asimov's critic receives (base linear velocity, foot height, foot air time, foot contact, foot contact forces, toe joint position and velocity).

Toggling a group off sets its channels to 0 after observation normalisation. Because normalised zero equals the running mean, a masked channel carries no information and the first-layer weights for that column contribute nothing. The order of the channels is this site's choice. Menlo does not document the concatenation order.

Adjustable parameters

  • Visibility toggle for each of the 13 observation groups
  • Presets: stage 1 (all 64), stage 6 (45 only)

Known limitations

  • Visualisation only. Nothing is trained.
  • The channel ordering is illustrative. Only the group sizes are documented by Menlo.

Equations

otactor=[ otdep  ∥  otpriv ]∈R45+19o^{actor}_t = \big[\,o^{dep}_t \;\|\; o^{priv}_t\,\big] \in \mathbb{R}^{45+19}
z~t=m⊙ot−μσ,m∈{0,1}64\tilde z_t = m \odot \frac{o_t - \mu}{\sigma}, \qquad m \in \{0,1\}^{64}

Core update rule

const keep = keepVector(maskedGroups);        // 64 × {0,1}
const z = normalize(obs64, runningMean, runningStd);
const actorInput = applyMask(z, keep);           // masked channels → exactly 0

Explained in Chapter 10: Observation Masking (proposed)

Why this particular order?

The intuition behind the proposed order is to remove first what the actor can most easily infer from other signals, and last what is hardest to replace.

  • Toe state first. The toes are passive and compliant, and their motion is largely driven by ankle motion and ground contact. Asimov's documented actor already does without toe state, so it is plausibly the least critical group.
  • Contact forces next. Forces are high-bandwidth and informative, but much of their effect shows up a few milliseconds later in joint velocities and IMU readings.
  • Foot height, air time and contact state. These describe the gait phase. A policy can partly reconstruct them from joint positions and its own previous actions, but they summarise contact more directly than anything in the deployable set.
  • Base linear velocity last. It is essential for tracking a velocity command, yet it is not directly measurable on the robot. Inferring it from IMU and kinematics is a hard estimation problem, which is why Asimov deliberately excludes it from the actor.

This reasoning could easily be wrong. Removing the hardest-to-infer signal first, while the policy is still plastic, is an equally defensible hypothesis. This is why the removal order is one of the planned ablations.

What a "mask fraction" is

Each privileged group kk has a mask fraction fk(t)∈[0,1]f_k(t) \in [0, 1] at training iteration tt. The proposal interprets fkf_k as the probability that group kk is hidden for a whole episode. Each parallel environment draws its mask when it resets. At fk=0.3f_k = 0.3, roughly 30 % of environments train without that group and the rest train with it. At fk=1f_k = 1 every environment trains without it. There are reasonable alternatives: per-step dropout, or attenuating the signal by a factor (1−fk)(1 - f_k). Per-episode masking was chosen because it keeps each episode internally consistent, so the policy never sees a signal flicker on and off mid-stride. That choice should be revisited if it fails.

In the fixed schedule, each group ramps linearly from 0 to 1 over a set number of iterations, with an optional pause between groups:

fk(t)=clip⁡ ⁣(t−tkTramp, 0, 1),tk=Twarm+k (Tramp+Tgap)f_k(t) = \operatorname{clip}\!\left(\frac{t - t_k}{T_{\text{ramp}}},\,0,\,1\right), \qquad t_k = T_{\text{warm}} + k\,(T_{\text{ramp}} + T_{\text{gap}})
Loading simulation…
▸How this works · equations · source · limitationsOpen in lab

What it demonstrates

A time-based curriculum that removes privileged observation groups from the actor one after another, and the six training stages it produces.

How it works

After a warm-up (stage 1) with all 64 observations, each privileged group's mask fraction ramps linearly from 0 to 1 over a fixed number of iterations, with an optional pause before the next group. The mask fraction is the probability that the group is hidden in an episode, drawn per environment at reset.

Once every group reaches 1, training continues with only the 45 deployable observations (stage 6). Changing the order shows the masking-order ablation. All iteration counts are placeholders for a proposed experiment.

Adjustable parameters

  • Warm-up length (0–2500 iterations)
  • Ramp length per group (0–1200)
  • Pause between groups (0–800)
  • Removal order: proposed, reverse, velocity first
  • Inspection iteration

Known limitations

  • Not a training result. It shows a schedule, not how a policy responds to it.
  • A linear ramp of per-episode masking probability is one design choice among several (per-step dropout, attenuation, learned mask tokens).

Equations

fk(t)=clip⁡ ⁣(t−tkTramp, 0, 1),tk=Twarm+k (Tramp+Tgap)f_k(t) = \operatorname{clip}\!\left(\frac{t - t_k}{T_{ramp}},\,0,\,1\right), \quad t_k = T_{warm} + k\,(T_{ramp} + T_{gap})
E[visible inputs]=45+∑kdk (1−fk(t))\mathbb{E}[\text{visible inputs}] = 45 + \sum_k d_k\,\big(1 - f_k(t)\big)

Core update rule

cfg.order.forEach((id, k) => {
  const start = cfg.warmupIters + k * (cfg.rampIters + cfg.gapIters);
  fr[id] = clamp01((iter - start) / cfg.rampIters);
});
// at each env reset: group masked with probability fr[id]

Explained in Chapter 10: Observation Masking (proposed)

Keeping a fixed 64-input actor

Changing the shape of a network's input layer in the middle of training is awkward. It means reallocating weights, resetting optimiser state and possibly destabilising learning. The proposal avoids this by giving the actor a fixed 64-dimensional input for the whole of training and masking privileged channels instead of removing them. The question is then how to deploy a network that expects 64 inputs on a robot that can only provide 45.

What value does "masked" mean?

This needs care, because observation normalisation is enabled. A normaliser keeps running estimates of each channel's mean μi\mu_i and standard deviation σi\sigma_i, and feeds the network

zi=oi−μiσi.z_i = \frac{o_i - \mu_i}{\sigma_i}.

There are two places where masking could happen, and they are not equivalent:

  1. Mask before normalisation (set the raw oi=0o_i = 0). The network then receives zi=−μi/σiz_i = -\mu_i / \sigma_i, which is generally not zero. Worse, if the normaliser keeps updating on these artificial zeros, its statistics for that channel drift towards the masked value, and the meaning of the channel changes as the mask fraction changes.
  2. Mask after normalisation (set zi=0z_i = 0). Zero in normalised space equals the running mean. The masked channel always carries the same constant value, the network's first-layer weights for that channel multiply zero, and the normaliser's statistics remain those of the real signal.
Proposed research

The proposal masks after normalisation, to a normalised value of exactly zero, and does so identically in training, evaluation and deployment. The actor and critic must not share one masked normaliser input: the critic must keep receiving the real normalised privileged values. In practice this means either separate normalisers for actor and critic, or one normaliser whose output is masked only on the actor's copy.

Why zero-padding is exactly equivalent to a smaller network

Write the actor's first layer as h=W1z~+b1h = W_1 \tilde z + b_1 with W1∈R512×64W_1 \in \mathbb{R}^{512 \times 64}. Split the input and the weight columns into deployable (D, 45 channels) and privileged (P, 19 channels) parts:

W1z~=W1DzD+W1Pz~P.W_1 \tilde z = W_1^{D} z^{D} + W_1^{P} \tilde z^{P}.

Once every privileged group is fully masked, z~P=0\tilde z^{P} = 0, so

h=W1DzD+W1P⋅0+b1=W1DzD+b1.h = W_1^{D} z^{D} + W_1^{P} \cdot 0 + b_1 = W_1^{D} z^{D} + b_1 .

The 64-input network on zero-padded input therefore produces exactly the same first-layer pre-activations as a 45-input network whose weight matrix is the slice W1D=W1[:,D]∈R512×45W_1^{D} = W_1[:, D] \in \mathbb{R}^{512 \times 45} with the same bias. Every later layer is unchanged, so the whole network's output is identical, and not merely approximately so. Two deployment options follow:

  • Zero-padding adapter. Keep the trained 64-input network and insert a fixed adapter that places the 45 normalised deployable values into their slots and writes 0 into the 19 privileged slots.
  • Reduced-input network. Export a 45→512→256→128→1245 \to 512 \to 256 \to 128 \to 12 network by slicing W1W_1 and copying everything else. Its shape is the same as Asimov's documented actor.

The equivalence depends on two conditions. The masked value must be the same constant used in training (normalised zero here), and the normaliser used at deployment must be the training normaliser restricted to the 45 deployable channels: μD=μ[D]\mu^{D} = \mu[D] and σD=σ[D]\sigma^{D} = \sigma[D]. If the normaliser lives inside the exported model and expects raw values, the adapter must fill privileged slots with the frozen running mean μP\mu^{P}, not raw zero, so that they normalise to exactly zero. Any other constant cc would still work if folded into the bias (b1′=b1+W1Pcb_1' = b_1 + W_1^{P} c). However, the network was trained on zero, so the cleanest choice is to keep zero everywhere.

Normaliser statistics for masked channels

Because masking happens after normalisation, the actor's normaliser could keep updating its privileged-channel statistics from the true simulator values, even while those channels are masked for the actor. That is harmless but pointless. The proposal is simpler: freeze the actor normaliser's statistics for a group once its mask fraction reaches 1. They no longer influence the actor's output, and freezing makes the exported model independent of when training stopped. The deployable channels' statistics continue to update normally until the end of training and are frozen at export, as in any normalised policy.

Code

A PyTorch sketch of the masked actor and the exact export. It uses only standard torch.nn APIs.

masked_actor.py
import copy
import torch
import torch.nn as nn
 
DEPLOY_IDX = torch.arange(45)        # channels 0..44: deployable observations
PRIV_IDX = torch.arange(45, 64)      # channels 45..63: privileged observations
 
 
class MaskedActor(nn.Module):
    """Actor with a fixed 64-dim input; privileged channels can be masked."""
 
    def __init__(self, obs_dim: int = 64, act_dim: int = 12, hidden=(512, 256, 128)):
        super().__init__()
        layers, d = [], obs_dim
        for h in hidden:
            layers += [nn.Linear(d, h), nn.ELU()]
            d = h
        layers.append(nn.Linear(d, act_dim))
        self.net = nn.Sequential(*layers)
 
    def forward(self, z: torch.Tensor, keep: torch.Tensor) -> torch.Tensor:
        # z: already-normalised observations (B, 64); keep: (B, 64) in {0, 1}
        return self.net(z * keep)    # masked channels become exactly 0
 
 
def export_reduced(actor: MaskedActor) -> nn.Sequential:
    """45-input network that is exactly equivalent on fully masked input."""
    first: nn.Linear = actor.net[0]
    reduced = nn.Linear(len(DEPLOY_IDX), first.out_features)
    with torch.no_grad():
        reduced.weight.copy_(first.weight[:, DEPLOY_IDX])
        reduced.bias.copy_(first.bias)
    return nn.Sequential(reduced, *copy.deepcopy(list(actor.net)[1:]))
 
 
if __name__ == "__main__":
    actor = MaskedActor()
    small = export_reduced(actor)
    z45 = torch.randn(8, 45)
    z64 = torch.zeros(8, 64)
    z64[:, DEPLOY_IDX] = z45
    keep = torch.zeros(8, 64)
    keep[:, DEPLOY_IDX] = 1.0
    assert torch.allclose(actor(z64, keep), small(z45), atol=1e-6)
    print("zero-padding adapter == sliced 45-input network")
python

The site's unit tests check the same identity in TypeScript. They apply a random 64→51264 \to 512 layer to a zero-padded input and compare it with the sliced 45→51245 \to 512 layer applied to the 45 observations. A second test confirms that the identity breaks if a masked channel is non-zero after normalisation, which is the failure mode of masking before normalisation.

Adaptive masking

A fixed schedule is easy to reproduce, but it ignores how the policy is coping. If masking contact forces at iteration 2,000 causes the robot to start falling, a fixed schedule masks the next group anyway. The adaptive variant makes the masking pace depend on measured performance.

Performance criteria

Proposed research

The scheduler monitors five criteria over a sliding evaluation window:

  • Episode reward, normalised against the reference level measured before the current group started being masked.
  • Fall rate, the fraction of episodes ending in early termination because the robot fell.
  • Velocity-tracking error, for example the RMS difference between commanded and achieved vxv_x, vyv_y and ωz\omega_z.
  • Walking stability, for example the variance of base roll and pitch, or of projected gravity, during steady walking.
  • Recovery performance, the fraction of scripted pushes from which the robot recovers without falling.

These are combined into one composite score s∈[0,1]s \in [0, 1] with fixed weights. A composite is convenient but hides trade-offs, so each criterion should also be logged separately.

To avoid the masking itself biasing the measurement, performance should be measured on dedicated evaluation episodes with a fixed, known mask (the current target mask), deterministic actions and fixed scripted pushes. It should not be measured on the stochastic training rollouts.

Scheduler rules

The proposed scheduler is a small, deliberately transparent rule system. It is not a learned meta-controller. At each decision (say, every 25 training iterations):

  1. Smooth the composite score with an exponential moving average, sˉn=sˉn−1+α (sn−sˉn−1)\bar s_n = \bar s_{n-1} + \alpha\,(s_n - \bar s_{n-1}).
  2. Compute the relative drop against the reference, δn=(sref−sˉn)/∣sref∣\delta_n = (s_{\text{ref}} - \bar s_n) / |s_{\text{ref}}|. The reference is the smoothed score at the moment the current group started being masked.
  3. If δn\delta_n exceeds a hold threshold, stop increasing the mask fraction.
  4. If δn\delta_n exceeds a higher restore threshold, partially give the information back by lowering the current group's mask fraction by a fixed step.
  5. Otherwise, increase the current group's mask fraction by a small step.
  6. When a group has been fully masked and performance has been healthy for several consecutive decisions, record a new reference and move on to the next group.

Safeguards against never letting go

A performance-driven scheduler has an obvious failure mode. If the policy degrades every time information is removed, the scheduler may restore it again and again and never converge to a hardware-compatible policy. That would defeat the purpose of the method. The proposal therefore includes several independent safeguards:

Proposed research
  • Hysteresis. A hold is entered when the drop exceeds τhold\tau_{\text{hold}} but released only when it falls below a lower τrecover\tau_{\text{recover}}. This prevents rapid toggling around a single threshold.
  • Cooldown. After a restoration, no further restoration is allowed for a fixed number of decisions, so the policy has time to respond.
  • Maximum restorations per group and a global restoration budget across the whole run. When either limit is reached, the scheduler can only hold, never restore.
  • Monotone mask floor. From a chosen iteration onwards, a floor ϕ(t)\phi(t) rises linearly to 1, and no mask fraction may fall below it: fk≥ϕ(t)f_k \ge \phi(t). Performance can slow the schedule but cannot reverse it beyond the floor.
  • Hard deadline. At tdeadlinet_{\text{deadline}} the floor reaches 1 and all 19 privileged channels are masked unconditionally. Stage 6 always follows, with enough remaining budget for the policy to adapt.

The unit tests check the properties that matter: progress under stable performance, holds and restorations under degradation, the restoration limits, the floor, and that every run ends with all 19 privileged channels masked by the deadline, even under a random or adversarial signal.

fk←{max⁡ ⁣(ϕ(t), fk−Δrestore)δn>τrestore and limits allowfkholdingmin⁡(1, fk+Δ)otherwiseϕ(t)=clip⁡ ⁣(t−tfloortdeadline−tfloor, 0, 1)f_k \leftarrow \begin{cases} \max\!\big(\phi(t),\, f_k - \Delta_{\text{restore}}\big) & \delta_n > \tau_{\text{restore}} \text{ and limits allow} \\ f_k & \text{holding} \\ \min(1,\, f_k + \Delta) & \text{otherwise} \end{cases} \qquad \phi(t) = \operatorname{clip}\!\left(\frac{t - t_{\text{floor}}}{t_{\text{deadline}} - t_{\text{floor}}},\,0,\,1\right)

The playground below runs the actual scheduler code from the unit tests. Because no training has been done, it is driven by a synthetic performance signal: a made-up curve that rises over time, dips when a group is masked and recovers with exposure. You can make it more sensitive or inject a degradation of your choice. Its only purpose is to show how the rules react. Its shape says nothing about how a real policy would respond to masking.

Loading simulation…
▸How this works · equations · source · limitationsOpen in lab

What it demonstrates

A transparent, rule-based scheduler that paces observation masking by measured performance, holds or partially restores information on degradation, and is still guaranteed to finish with a hardware-compatible actor.

How it works

Every evaluation window, the scheduler smooths a composite performance score with an exponential moving average and compares it to a reference taken before the current group started being masked. A drop above the hold threshold pauses progress, and the hold is only released when the drop falls below a lower recovery threshold (hysteresis). A drop above the restore threshold lowers the mask fraction, subject to a cooldown, a per-group limit and a global budget.

A monotone floor rises from a start iteration to a hard deadline. No mask fraction may fall below it, so at the deadline all 19 privileged channels are masked regardless of performance.

The performance signal here is SYNTHETIC: a made-up curve that dips when a group is masked and recovers with exposure, plus a degradation you can inject. It illustrates the scheduler logic and is not a training result.

Adjustable parameters

  • Hold threshold (relative drop, 0.01–0.2)
  • Restore threshold (0.02–0.4)
  • Mask step per decision (0.01–0.2)
  • Max restorations per group (0–6)
  • Hard deadline (3000–8000 iterations)
  • Synthetic sensitivity, injected degradation size and time
  • Noise seed

Known limitations

  • The performance signal is synthetic. It says nothing about how a real policy would respond to masking.
  • Thresholds and the composite score weights are untuned proposals.
  • A real implementation must evaluate on separate deterministic episodes so that the masking itself does not bias the score.

Equations

sˉn=sˉn−1+α (sn−sˉn−1),δn=sref−sˉn∣sref∣\bar s_n = \bar s_{n-1} + \alpha\,(s_n - \bar s_{n-1}), \qquad \delta_n = \frac{s_{ref} - \bar s_n}{|s_{ref}|}
fk←{fk−Δrestoreδn>τrestore, limits allowfkholdingmin⁡(1,fk+Δ)otherwisef_k \leftarrow \begin{cases} f_k - \Delta_{restore} & \delta_n > \tau_{restore},\ \text{limits allow} \\ f_k & \text{holding} \\ \min(1, f_k + \Delta) & \text{otherwise} \end{cases}
fk≥ϕ(t)=clip⁡ ⁣(t−tfloortdeadline−tfloor,0,1)f_k \ge \phi(t) = \operatorname{clip}\!\left(\frac{t - t_{floor}}{t_{deadline} - t_{floor}},0,1\right)

Core update rule

const drop = (reference - ema) / Math.abs(reference);
if (holding && drop <= cfg.recoverTol) holding = false;       // hysteresis
else if (!holding && drop > cfg.degradeTol) holding = true;
if (drop > cfg.restoreTol && cooldown === 0 && f[g] > floor
    && restorations[g] < cfg.maxRestorations && total < cfg.restoreBudget) {
  f[g] = Math.max(floor, f[g] - cfg.restoreStep);              // give info back
} else if (!holding) f[g] = Math.min(1, f[g] + cfg.step);      // keep masking
for (const k of groups) f[k] = Math.max(f[k], floorAt(iter)); // safeguard

Explained in Chapter 10: Observation Masking (proposed)

Try setting the maximum restorations to 0, or moving the deadline earlier. The scheduler then cannot protect performance, but it still finishes with a deployable actor. That trade-off is intentional: deployability is a hard constraint, and performance is only something to optimise.

Proposed training architecture

The diagram summarises the training-time data flow and the deployment path. Dashed boxes are privileged, simulation-only signals.

Progressive privileged observation masking (proposed)

Training: actor path

  1. Simulator200 Hz physics, Asimov model
  2. 45 deployable obsIMU, command, joints, actions
  3. 19 privileged obslin. vel, feet, forces, toes
  4. Normaliserunning mean / std
  5. Mask m ⊙ zprivileged groups → 0
  6. Actor 64 → 512 → 256 → 128 → 12joint targets at 50 Hz

Training: critic and scheduler

  1. All 64 obs (never masked)
  2. Critic 64 → 512 → 256 → 128 → 1value estimate
  3. Policy updatee.g. PPO
  4. Evaluation episodesreward, falls, tracking, stability, recovery
  5. Adaptive schedulerhold · restore · advance, floor + deadline

Loops back: Adaptive scheduler → All 64 obs (never masked)

Deployment

  1. Robot sensors45 deployable obs only
  2. Normalise (frozen μ, σ of the 45)
  3. Zero-pad adapter 45 → 64or slice W₁ to 45 columns
  4. Trained actoridentical output
  5. Joint targets

The critic always receives the full 64 observations. The actor's 64-wide input is masked after normalisation according to the scheduler; at deployment only the 45 deployable observations exist, and a zero-padding adapter (or the equivalent sliced first layer) feeds the same trained weights.

The scheduler loop in the second row is the only new component compared with Asimov's documented pipeline. Everything else is a standard asymmetric actor-critic with an extra masking step on the actor's input.

Baselines

A method is only as convincing as the comparisons it survives. The proposal compares five training schemes. All of them deploy an actor with the same 45 inputs.

Proposed research
  1. Standard symmetric actor-critic. Actor and critic both see only the 45 deployable observations. This measures how much privileged information helps at all.
  2. Asimov-style asymmetric actor-critic. Actor 45, critic 64, as documented. This is the main reference point.
  3. Teacher–student policy distillation. A 64-input teacher is trained with RL, then a 45-input student imitates it. This is the established way of transferring privileged knowledge into a deployable policy.
  4. Fixed progressive observation masking. The proposal with a time-based schedule. This isolates the effect of the curriculum itself.
  5. Adaptive progressive observation masking. The proposal with the performance-driven scheduler. This tests whether adaptivity adds anything over the fixed schedule.
Loading simulation…
▸How this works · equations · source · limitationsOpen in lab

What it demonstrates

What the actor, critic and (where present) teacher observe in each of the five proposed baselines, and that every baseline deploys an actor with the same 45 inputs.

How it works

Each baseline is described as a list of training-time networks with their input sets and dimensions, plus the deployed network. The Asimov-style asymmetric actor-critic uses the documented sizes (actor 45 → 512 → 256 → 128 → 12, critic 64 → 512 → 256 → 128 → 1, ELU). The other four are standard methods or proposed variants and are labelled accordingly.

Adjustable parameters

  • Baseline selector (5 options)

Known limitations

  • Teacher–student variants differ widely in practice (history encoders, latent targets, DAgger-style data collection). One representative form is shown.

Equations

πθ(at∣otdep) at deployment for all baselines,Vϕ(otdep,otpriv) in training (except baseline 1)\pi_\theta(a_t \mid o^{dep}_t) \text{ at deployment for all baselines}, \qquad V_\phi(o^{dep}_t, o^{priv}_t) \text{ in training (except baseline 1)}

Pseudocode

1 symmetric        actor 45   critic 45
2 asymmetric       actor 45   critic 64            (Asimov, documented)
3 teacher-student  teacher 64 → student 45, critic 64
4 fixed masking    actor 64 (masked on a timetable), critic 64
5 adaptive masking actor 64 (masked by performance), critic 64
deploy: always a 45-input actor

Explained in Chapter 10: Observation Masking (proposed)

Two comparisons carry most of the weight. Baseline 5 against baseline 2 asks whether the extra machinery is worth anything relative to the documented design. Baseline 5 against baseline 3 asks whether a gradual, single-network transition offers anything that well-tuned distillation does not. A result where masking beats only the symmetric baseline would be uninteresting, because asymmetric critics are already known to help.

The teacher–student baseline needs a fair compute accounting. Its teacher and student phases together must use the same total environment-step budget as the other methods. Otherwise it either gets an unfair advantage or is unfairly handicapped.

Evaluation methodology

Controlled conditions

Proposed research

All five methods use identical robot models, reward functions, domain-randomisation settings, network sizes and RL hyper-parameters. The only differences are the actor's input during training and, for baseline 3, the distillation phase. Every method gets a comparable compute budget: the same number of environment steps and comparable wall-clock time on the same hardware. Every method is run with at least 5 random seeds, and preferably 10, because seed-to-seed variance in deep RL is large (Henderson et al., 2018). All final policies are evaluated without privileged actor observations, using the 45 deployable inputs and the deployment adapter.

Metrics

CategoryMetricHow it would be measured
EfficiencyTotal environment stepsSteps until a fixed reward or tracking threshold is first reached and held
EfficiencyWall-clock timeHours on fixed hardware, including the scheduler's evaluation episodes
EfficiencyConvergence speedArea under the evaluation-reward curve, normalised by budget
PerformanceEpisode rewardMean over 1,000 deterministic evaluation episodes per seed
PerformanceFall rateFraction of evaluation episodes ending in early termination
PerformanceVelocity-tracking accuracyRMSE between commanded and achieved vxv_x, vyv_y, ωz\omega_z
PerformanceEnergy consumptionMechanical power ∑j∣τjq˙j∣\sum_j \lvert\tau_j \dot q_j\rvert per metre travelled (cost of transport)
PerformanceGait stabilityVariance of base roll and pitch, foot-slip distance, step-timing regularity
RobustnessDisturbance recoveryRecovery rate under scripted pushes of increasing magnitude and direction
RobustnessSensor noisePerformance as IMU and encoder noise is scaled beyond the training range
RobustnessActuator delayPerformance as added actuation delay and CAN-timing jitter grow
GeneralisationUnseen simulation conditionsHeld-out friction, mass, terrain and command ranges not used in training
TransferReal-world behaviourOnly if, and when, hardware experiments are actually performed

Real-world transfer appears in the table for completeness. No statement about hardware performance should be made from simulation results alone. Asimov's documentation stresses that transfer depends on matching the observation and actuation interface, and every method here uses the same interface at deployment. Whether simulation-only differences between methods survive on hardware is a separate empirical question.

Statistics

With a handful of seeds, a mean and a standard deviation can be badly misleading. Following Agarwal et al. (2021), the proposal reports for each metric the interquartile mean (IQM) across seeds and evaluation episodes, with 95 % stratified bootstrap confidence intervals. It adds performance profiles that show the fraction of runs exceeding each score threshold, and the probability of improvement of one method over another. Per-seed curves are published alongside the aggregates. A difference is described as an improvement only if its confidence interval excludes zero, and the analysis plan, including the primary metric, is fixed before the runs start.

Ablations

If the adaptive method shows any benefit over the reference, the following ablations would try to explain it:

  • Masking order. The proposed order, its reverse, base velocity first, and a random order per seed.
  • Masking rate. Ramp lengths at 0.5×, 1× and 2× the default for the fixed schedule, and the step size for the adaptive one.
  • Adaptive thresholds. Hold and restore thresholds, the maximum restorations, and the deadline. This includes a variant with restorations disabled, which isolates the effect of holding from the effect of restoring.
  • Mask value. Normalised zero against a learned "missing" embedding or noise, to test whether the choice of constant matters.
  • Warm-up length. How long stage 1 must last for privileged information to be useful.

Configuration and results

The tool below turns these choices into a concrete configuration file, which makes the protocol easy to review and reproduce. The result tables underneath are placeholders, and they will stay empty until real experiments exist.

Loading simulation…
▸How this works · equations · source · limitationsOpen in lab

What it demonstrates

How the proposed protocol translates into a concrete, reviewable configuration, and what the result tables will contain once real experiments exist.

How it works

The form edits a typed configuration object, which is turned into a document and serialised to YAML or JSON. Robot-interface numbers follow Menlo's Asimov documentation. All other values are proposed defaults. The evaluation section always sets privileged actor observations to false.

The result tables are placeholders labelled 'Pending experiment — no data'. They contain no numbers.

Adjustable parameters

  • Run name
  • Baseline
  • Seeds (3–20)
  • Env steps per run
  • Removal order
  • Schedule parameters
  • Normaliser freezing
  • Stress tests

Known limitations

  • The schema is illustrative and not tied to any specific RL library.
  • No experiments have been run. No results exist.

Equations

IQM=mean⁡{x(i):⌈0.25N⌉<i≤⌊0.75N⌋}\text{IQM} = \operatorname{mean}\{x_{(i)} : \lceil 0.25N \rceil < i \le \lfloor 0.75N \rfloor\}

Core update rule

const doc = buildConfigDoc(config);  // typed → plain object
const yaml = toYaml(doc);            // minimal block-style emitter
// doc.evaluation.privileged_actor_observations === false for every baseline

Explained in Chapter 10: Observation Masking (proposed)

Risks and threats to validity

Several things could make this experiment fail, or make a positive-looking result misleading.

  • Dependence on privileged inputs. An actor that learns to rely heavily on base linear velocity or contact forces may form internal representations that collapse when those inputs disappear. Progressive removal is meant to soften this, but it might only postpone the collapse to stage 5 or 6.
  • Wasted early learning. Behaviour learned with privileged information might not carry over at all. In that case the method simply spends part of its budget on a different problem, and it would be expected to underperform the asymmetric baseline at equal compute.
  • Confounded curriculum effects. Any benefit could come from a side effect, for example the policy's exploration noise evolving differently, rather than from the information itself. Ablations with a "sham" schedule that masks nothing but follows the same timing would help rule this out.
  • Evaluation leakage. If the scheduler's evaluation episodes are used to choose hyper-parameters and also to report results, the reported numbers will be optimistic. Final evaluation must use separate seeds and held-out conditions.
  • Unequal tuning effort. A new method often receives more tuning than its baselines. All five methods need comparable hyper-parameter search budgets, and that budget should be reported.
  • Scheduler instability. A noisy composite score can make the adaptive scheduler react to noise instead of to real degradation. The EMA, hysteresis and evaluation-episode count need to be checked for this.
  • Simulator exploitation. Privileged signals are exact in simulation. A policy that briefly relies on perfect contact forces may learn behaviours that only work with perfect information. The final evaluation without privileged inputs is the safeguard, together with the robustness tests.
  • Generality. A result on one robot, one reward and one simulator does not establish a general method. Claims should be scoped to the setup tested.
  • Prior work. As stated above, the idea may already exist in some form. The review must be done before writing any results up as new.

What would count as evidence

Specifying in advance what would support the hypothesis, and what would refute it, guards against reading meaning into noise.

Proposed research
  • Support: the adaptive or fixed masking method reaches the reference reward threshold in fewer environment steps than the asymmetric baseline, or achieves better robustness metrics at equal budget, with 95 % confidence intervals that exclude zero difference, across at least 5 seeds, without being clearly worse on any primary metric.
  • Refutation: no significant difference from the asymmetric baseline, or a significant deficit, at equal compute.
  • Inconclusive: overlapping intervals with high seed variance. The honest response is then more seeds, not a more favourable metric.

Any of these outcomes would be worth reporting. A clean negative result would still be useful, because it would show that privileged information belongs in the critic and nowhere else.

Limitations and common misconceptions

“The adaptive scheduler plot shows the method works.”

It does not. The scheduler playground is driven by a synthetic signal written to illustrate the rules. No policy was trained to produce it, and it contains no information about real masking performance.

“Masking a channel means removing it from the network.”

During training, masked channels are still part of the 64-wide input. They carry a constant normalised zero, and their weights stop influencing the output. Only at export can they be removed, and removing them gives exactly the same output provided that the mask value and normaliser are handled consistently.

“Setting the raw sensor value to zero masks it.”

With observation normalisation, a raw zero becomes −μ/σ-\mu/\sigma, which is generally a perfectly ordinary-looking value. That leaks a fake signal into the network and breaks the exact equivalence with the reduced network. Mask after normalisation.

Scope

The proposal changes only what the actor sees during training. It does not change the reward, the simulator, the actuation interface or the deployed network's input. Those remain as described in Chapter 6 through Chapter 9.

Key takeaways

Key takeaways

  • This chapter is a proposed experiment. There are no results, and novelty is not claimed.
  • Hypothesis: giving the actor all 64 observations at first, then progressively masking the 19 privileged ones, may improve learning efficiency or robustness. The final actor still uses only the 45 deployable observations.
  • The critic keeps all 64 observations throughout. Only the actor's input is curriculum-controlled.
  • A fixed 64-wide actor with channels masked to zero after normalisation is exactly equivalent to a 45-input network with a sliced first layer, provided that masking, normalisation and deployment are consistent.
  • An adaptive scheduler can pace the masking by measured performance, but it needs hysteresis, restoration limits, a monotone floor and a hard deadline so that it always ends with a deployable policy.
  • A fair test needs five baselines, identical setups, equal compute, at least 5 seeds, IQM with bootstrap confidence intervals, and evaluation without privileged actor inputs.

References and further reading

  • Menlo, Reinforcement Learning for Locomotion. Source of the Asimov observation sets, network sizes and normalisation settings restated here.
  • L. Pinto, M. Andrychowicz, P. Welinder, W. Zaremba and P. Abbeel, "Asymmetric Actor Critic for Image-Based Robot Learning," arXiv:1710.06542, 2017 (RSS 2018).
  • J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun and M. Hutter, "Learning quadrupedal locomotion over challenging terrain," Science Robotics, 2020.
  • A. Kumar, Z. Fu, D. Pathak and J. Malik, "RMA: Rapid Motor Adaptation for Legged Robots," RSS 2021.
  • D. Chen, B. Zhou, V. Koltun and P. Krähenbühl, "Learning by Cheating," CoRL 2019.
  • Y. Bengio, J. Louradour, R. Collobert and J. Weston, "Curriculum Learning," ICML 2009.
  • N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever and R. Salakhutdinov, "Dropout: A Simple Way to Prevent Neural Networks from Overfitting," JMLR, 2014.
  • V. Vapnik and A. Vashist, "A new learning paradigm: Learning using privileged information," Neural Networks, 2009.
  • S. Ross, G. Gordon and D. Bagnell, "A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning" (DAgger), AISTATS 2011.
  • P.-A. Kamienny, K. Arulkumaran, F. Behbahani, W. Boehmer and S. Whiteson, "Privileged Information Dropout in Reinforcement Learning," ICLR 2020 Workshop on Beyond Tabula Rasa in RL. arXiv:2005.09220.
  • G. Ji, J. Mun, H. Kim and J. Hwangbo, "Concurrent Training of a Control Policy and a State Estimator for Dynamic and Robust Legged Locomotion," IEEE Robotics and Automation Letters 7(2), 2022. arXiv:2202.05481.
  • N. Rudin, D. Hoeller, P. Reist and M. Hutter, "Learning to Walk in Minutes Using Massively Parallel Deep Reinforcement Learning," CoRL 2021.
  • R. Agarwal, M. Schwarzer, P. S. Castro, A. Courville and M. G. Bellemare, "Deep Reinforcement Learning at the Edge of the Statistical Precipice," NeurIPS 2021.
  • P. Henderson, R. Islam, P. Bachman, J. Pineau, D. Precup and D. Meger, "Deep Reinforcement Learning that Matters," AAAI 2018.
  • J. Schulman, F. Wolski, P. Dhariwal, A. Radford and O. Klimov, "Proximal Policy Optimization Algorithms," arXiv:1707.06347, 2017. PPO is shown above only as an example. Menlo does not name the algorithm used for Asimov.