Research report · R-242 · November 27, 2026 · final verdict on November 28 at 4:12 p.m.

Why this network? How many layers, how many parameters

N0.1's brain is a neural network of 2 layers of 256 neurons. We had chosen it without a study. Yoan asked us to justify it, as a researcher would: here is what we tested, what we found, and our verdict.

The verdict, November 28: to learn from scratch with today's reward, 4 layers of 256: they learn to walk in a third less compute time than our network, without losing anything on the bench (section 11). To resume our earlier lineages, our 2 × 256 is enough (section 10).

about 21 min

In brief

  1. Our network had never been put to the test. It dates from November 13, when we wrote the training code by hand. The field mostly uses 3 layers (512, 256, 128), about twice as many parameters, without having studied it either.
  2. Started from scratch, the networks learn to stand, not to walk, even in 200 million steps. The field's network and a 4-layer network learn to stand twice as fast as ours.
  3. A bigger network cannot take over our settings as they are. Grown without changing anything it computes, it walks like ours; but at the first training update, it collapses. The cause is the learning rate, tuned for 2 × 256.
  4. With a start ten times gentler, the big networks hold, and go a little faster: 1,024 × 2 +2.2 cm/s, 4 layers +1.9, over six pairs. At 6 and 10 layers, everything still collapses. On twelve new seeds, that gain vanishes: it was the noise of six pairs.
  5. What really holds the speed back is the reward: it mostly pays for posture, speed counts for only 8 to 10%, and a fall is expensive. Standing still, a robot already collects almost everything.
  6. Paid for progress rather than for staying up (Yoan's idea), walking emerges from scratch in five minutes, on every seed: 25 to 28 cm/s with 28 requested, every robot standing.
  7. Our test bench is not perfectly repeatable: the same robot, judged ten times, keeps 19 to 26 robots standing out of 30. A gap on a single seed proves nothing.
  8. The verdict: 4 × 256. With today's reward, started from scratch, 4 layers of 256 learn to walk in a third less compute time than our network, without losing anything on the bench. To resume the earlier lineages, our 2 × 256 is enough.

The network, in plain words

Fifty times a second, the network reads 90 measurements of N0.1's body (its tilt, its speed, the joint angles, the speed command) and decides the position of its 17 servos, plus the tempo of its internal clock: 18 outputs. Each neuron takes a weighted sum of what it receives, then bends it (a curve called ELU). A layer lines up several of them; the layers are chained. A parameter is one of the weights in those sums: learning means tuning those numbers. Ours has 93,714. During training, a second network of the same shape, the critic, estimates whether a situation is good; it is not used afterwards.

N0.1's network, drawn reduced: 90 inputs come in, two layers of 256 neurons, 18 outputs (17 servos and the tempo of its clock); 93,714 parameters90 inputs256 neurons256 neurons17 servos+ the tempotwo hidden layersEach line: one parameter. In all: 93,714.
Reduced drawing: a few circles per layer. The 90 measurements: the tilt, speeds and height of the torso, the angles and speeds of the 17 joints, the current targets, the previous decision, the heading, the speed command, the internal clock and the phase of the reference gait. The 18 outputs: the target position of each servo, and the tempo of the clock that paces the stride.

More layers allow more composed computations; more neurons per layer, more nuance at each stage. But a bigger network is also slower to tune, and it can go off the rails faster. The question: where is the right balance for teaching a small humanoid to walk?

Corrected on November 27 at 10:26 p.m.: the first version of this report said 91 measurements, 17 outputs and 93,713 parameters, counted by hand. Recounted from the code and checked against the real networks: 90 measurements, 18 outputs, 93,714 parameters. The other shapes were right.

Where our choice comes from, and what the field does

WhoThe networkStudied?
Navitek, N0.1November 13, 2026 (R-139)2 × 256no
legged_gymETH Zurich512-256-128no
Isaac LabANYmal, G1; flat terrain: 128 × 3512-256-128no
Humanoid-Gymthe critic: 768-256-128512-256-128no
mjlabG1512-256-128no
The large PPO studyAndrychowicz et al., 2021: 5 lab tasks, not a robot64 × 2in part

Our literature review (R-232, November 23): nobody has published why these shapes. That is what we are looking for here.

The hypotheses, written before the trials

Each prediction is written before the trial, with the confidence we give it (the credence, from 0 to 1), then judged afterwards.

The range tested

From 2 to 10 layers, from 93,714 to 1,161,234 parameters in the action network (twelve times more), changing one thing at a time: depth at fixed width, width at fixed depth, and the field's shape.

The parameters of the eight network shapes tried, from 93,714 (ours) to 1,161,2342 × 25693,714 (ours)3 × 256159,506512-256-128213,138 (the field's)4 × 256225,298512 × 2318,4826 × 256356,88210 × 256620,0501,024 × 21,161,234
The parameters of each shape tried, on the same scale: ours in orange, the field's in blue.
ShapeLayersParameters
2 × 256ours (R-139, November 13)293,714
512-256-128the field's3213,138
3 × 256deeper3159,506
4 × 256deeper4225,298
6 × 256deeper6356,882
10 × 256much deeper10620,050
512 × 2wider2318,482
1,024 × 2much wider21,161,234

The results

1. From scratch, 60 million steps

Without a starting robot, with our reward: both networks learn to stay standing, then stop there. Commanded at 10, 20 or 28 cm/s, they stay in place.

Our measure of learning speed, Yoan's 80/20 rule: the number of training steps needed to stay standing 8 seconds out of 10. Everything happens in the first 20 million steps; that is where we look.

From scratch, the first 20 million steps: the field's network holds 8 seconds standing out of 10 at 4.4 million steps, ours at 9.3 million024681005101520million training stepsseconds standing, on average8 s out of 108 s out of 10 reached:512-256-128: 4.4 M2 × 256: 9.3 M
The first 20 million steps, one seed each. The field's network (blue) holds 8 seconds out of 10 twice as early as ours (orange); then, up to 60 million, both plateau around 9.3 and 9.5 seconds, without learning to walk.
Network8 s standing atBench at 10 cm/s
2 × 2569.3 million steps3 s at 5.9; 9.3 s at the end30 standing, 0.9 cm/s
512-256-1284.4 million steps3 s at 3.9; 9.5 s at the end16 standing, 0.35 cm/s

One seed each. The field's network learns balance twice as fast; it needs 20 minutes instead of 15 for the same number of steps.

2. Growing our network without changing anything

To compare sizes in our real speed trials, we grow our starting robot: in width, each neuron is duplicated and its output weights shared; in depth, we add layers that pass the signal through unchanged. Checked on 4,096 randomly drawn situations: the difference is 0.000003 in depth (the precision of the arithmetic) and 0.4% in width (a small deliberate noise, so that the copies each learn their own part). On the bench, all seven networks walk at 29.2 to 29.8 cm/s.

A discovery along the way: the same robot, judged three times in a row, keeps 19, then 23, then 21 robots standing out of 30. The graphics card does not always add in the same order, and a fall amplifies the smallest differences.

The bench's noise: our network judged three times keeps 19, 23 then 21 robots standing out of 30; its six enlarged copies, 20 to 26: the same robot gives 19 to 26the band of chance: 19 to 26152025302 × 256512 × 21,024 × 23 × 2564 × 2566 × 25610 × 256robots standing out of 30, commanded at 28 cm/s
The same robot, judged ten times: our network three times (orange) and its six enlarged copies, which compute the same thing to within 0.4% at most (grey). From 19 to 26 robots standing out of 30: that is the bench's chance, not the network.

3. The enlarged networks, trained with our settings

Collapsed seeds out of 6 per shape: 1 for ours, 4 for 512 × 2, 6 for all the others2 × 256512 × 21,024 × 23 × 2564 × 2566 × 25610 × 256filled box: one collapsed seed, out of 6 runs
Six seeds per shape, the same learning rate for all (the one tuned for 2 × 256): ours collapses once, 512 × 2 four times, all the others six times out of six.
ShapeCollapsed
(out of 6)
Standing
at 28 cm/s
2 × 256ours1106
512 × 2451
1,024 × 260
3 × 25660
4 × 25660
6 × 25660
10 × 25660

During the warm-up, where only the critic learns, the seven networks do exactly the same thing. Everything breaks at the first update of the action network: the optimizer (Adam) moves each weight by roughly the same small step, and in a wider or deeper network those steps add up. At 10 layers, the gap between two versions of the policy jumps to nearly 2,000, against 0.01 usually. That learning rate had been tuned on November 15 for 2 × 256, after a collapse of the same kind (E90).

Time standing during training, seed 150201: until the end of the freeze, the five networks do the same thing; at the first update, ours wobbles then recovers, the biggest collapse0246810051015million stepsseconds standing, on averageend of freeze2 × 256512 × 23 × 2561,024 × 210 × 256
One seed (150201), five of the seven shapes. Until the end of the freeze, the curves overlap. At the first update of the action network, all of them dive: ours recovers (7.8 seconds at the end), 512 × 2 too on this seed (it collapses on four out of six), 3 × 256 halfway; the biggest stay on the ground.

4. The gentle start: the big networks hold

We took the same six networks and ours again, with a first learning rate ten times smaller (training raises it again on its own afterwards, if it can). Up to 4 layers and 1,024 neurons wide, no seed collapses any more. At 6 and 10 layers, everything still falls: even that small step, repeated through eight chained layers, moves the policy too far.

Collapsed seeds out of 6, before and with the gentle start: with the gentle start, none up to 4 layers and 1,024 wide; 6 and 10 layers still collapseusual startgentle start2 × 256512 × 21,024 × 23 × 2564 × 2566 × 25610 × 256filled box: one collapsed seed, out of 6
Six seeds per shape, before and with the gentle start. Our network in orange.

And those that hold go a little faster than ours, with the same gentle start: 1,024 × 2 by 2.2 cm/s (5 pairs out of 6), 4 × 256 by 1.9 cm/s (4 out of 6), while keeping more robots standing. Six pairs is not many: five out of six above happens once in nine by chance. We are checking it today on 12 new seeds.

With the gentle start, each shape's speed gap to our network, seed by seed, at 28 cm/s: the median of 1,024 × 2 at +2.2 cm/s, that of 4 × 256 at +1.9-6-30+3+6512 × 2+0.11,024 × 2+2.23 × 256+0.94 × 256+1.96 and 10 layerscollapsed: nothing to comparecm/s more than our network, same seed
Each point: one seed, the speed gap to our network trained with the same seed, at 28 cm/s commanded. The line: the median. Seed 150203 is at the bottom everywhere: our network was very fast there (32.2 cm/s), not the others slow.
ShapeAgainst ours
at 28 cm/s
Compute time
(15 M steps)
2 × 256ours, gentle start29.6 cm/s3.95 min
512 × 2+0.06 cm/s3 pairs out of 64.48 min+13%
1,024 × 2+2.2 cm/s5 pairs out of 66.24 min+58%
3 × 256+0.9 cm/s4 pairs out of 64.17 min+6%
4 × 256+1.9 cm/s4 pairs out of 64.37 min+11%
6 × 256collapsed6 out of 64.71 min
10 × 256collapsed6 out of 65.44 min

5. From scratch, 200 million steps

Three shapes, three and a half times longer than the first trials: none learns to walk. All stand, and on the bench they stay in place (0.2 to 0.7 cm/s, commanded at 10, 20 or 28 cm/s). For learning balance, on the other hand, depth helps: 4 × 256 gets there first, at 3.9 million steps, against 4.4 for the field's shape and 8.8 for ours; and it costs only 8% more compute (the field's shape: 70%).

From scratch, the first 20 million steps: 4 × 256 holds 8 seconds standing out of 10 at 3.9 million steps, the field's shape at 4.4, ours at 8.8; up to 200 million, they stay motionless024681005101520million training stepsseconds standing, on average8 s out of 108 s out of 10 reached:4 × 256: 3.9 M512-256-128: 4.4 M2 × 256: 8.8 Mafter: motionless
The first 20 million steps of the three 200-million runs, one seed each. 4 × 256 (green) holds 8 seconds out of 10 first; then the three curves merge around 9.5 seconds and stay there up to 200 million: motionless.
Shape8 s standing at
(M steps)
Compute time
(200 M steps)
2 × 256ours8.850 min
512-256-128the field's4.485 min
4 × 2563.954 min

6. And the reward?

Why the stillness? We counted what the reward pays at each step (notebook R-243). It mostly pays for posture: the torso leaning forward, the centre of mass low, the imitation of the reference gait, the arms. Speed is worth at most 3, and measured, 8 to 10% of the reward. A fall, for its part, costs about 1,600: everything that was left to earn. Standing still, a robot already collects almost everything; pushing the pace only pays if a fall becomes hardly any more likely. Our robots' caution is the correct computation of this reward.

What the reward pays at each step: the torso lean up to 8, imitation 6, the low centre of mass 5; speed at most 3, measured at 1.2 to 1.4; a fall costs about 1,600torso lean8 · 3.2imitation6 · 4low centre of mass5 · 1.7torso at 20°3 · not loggedarms3 · 0.45stance knee3 · 1.1speed3 · 1.2 to 1.4being there1 · 1heading1 · 1line0.5 · 0.45pale: at most · dark: measureda fall costs about 1,600: a hundred steps of all this
What each term can pay per 20-millisecond step (pale), and what it paid at the end of a recent training run (dark). Speed in orange: measured while paying speed three times more, on the same seed.

7. Paying speed three times more is not enough

The night's robots resumed, with a single difference, the weight of speed (9 instead of 3): almost nothing changes, half a centimetre per second at 28 cm/s, nothing at 32. A walk already learned stays the same: the weight of speed is not the lever (notebook R-243).

8. Yoan's idea: pay for progress, not for staying up

On the morning of November 28, Yoan: “What matters is not preventing the fall… It is learning that gets rewarded, not standing up.” Two new rules (notebook R-245): everything that is not speed is paid in proportion to progress (standing still, a robot no longer collects anything); and a first fall costs nothing, only a repeated fall costs. From scratch, 20 million steps, five and a half minutes of graphics card, six seeds per reward.

Walking emerges, every time. The control stays still, like the 200 million steps before; paid for progress, the six robots walk, all standing on the bench: at 28 cm/s requested, 25.5 cm/s in median, and 27.6 with the first fall free (up to 30.1).

Born from scratch in 20 million steps: the control stays motionless; paid for progress, they walk at 11 to 16 cm/s commanded at 10, 17 to 24 commanded at 20, 21 to 30 commanded at 28commanded at 10 cm/scontrolfor progress+ first fall freecommanded at 20 cm/scontrolfor progress+ first fall freecommanded at 28 cm/scontrolfor progress+ first fall free08162432cm/s on the bench, 30 robots per seed
Each point: one seed, its speed on the bench (30 robots). The dotted line: the requested speed.

And staying up was not the right measure. While learning, the robots paid for progress fall far more often (half the trials) and almost never reach 8 seconds standing out of 10; on the bench, without the randomness of exploration, they all hold. The 80/20 rule moves to walking: count the steps needed to walk at 8 tenths of the requested speed.

While learning: the control holds 8 seconds out of 10 around 9 million steps, then stays motionless; paid for progress, they fall more often and almost never reach 8 seconds, but they walk024681005101520million training stepsseconds standing, on average8 s out of 10control: standing around 9 M steps, then motionlessfor progress: they fall more, and walk+ first fall free: the same, a bit faster
Time standing while learning, the median of the six seeds, the first 20 million steps.

9. What is running today

10. B3: on twelve new seeds, the gain vanishes

The same trials as B2, on twelve new seeds (36 runs, finished November 28 at 2:35 p.m.). At 28 cm/s commanded, seed by seed against our network with the gentle start:

The shapeAgainst oursStanding (median)
2 × 256ours, gentle start29.4 cm/s19.5 out of 30
1,024 × 2+0.4 cm/s7 pairs out of 1221 out of 30
4 × 256−1.0 cm/s5 pairs out of 1222.5 out of 30

Over the 18 seeds together (B2 and B3), the paired Wilcoxon test sees no gain (p = 0.14 for 1,024 × 2, 0.30 for 4 × 256). No seed collapses: the gentle start holds. The large networks keep a few more robots standing, without going faster. B2's +2.2 and +1.9 were the noise of six pairs: that is why we redo everything on new seeds.

11. N1: with today's reward, 4 layers learn a third faster

The four shapes, started from scratch with the reward paid for progress, six seeds each (24 runs, finished November 28 at 4 p.m.). The rule, written beforehand: the best network is the one that learns to walk (following the command at 8 tenths) in the least compute time, without losing more than 1 cm/s on the bench against ours.

From scratch, with the reward paid for progress: command tracking while learning, the median of the six seeds; 4 × 256 reaches 8 out of 10 first, at 7.9 million steps, our network at 11.900.20.40.60.8105101520million training stepscommand tracking8 out of 102 × 256, ours: 11.9 M steps4 × 256: 7.9 M steps512-256-128: 10.5 M steps1,024 × 2: 15.1 M steps
Command tracking while learning (the robot's speed over the requested speed), the median of the six seeds; the dotted line: 8 out of 10, Yoan's rule carried over to walking.
ShapeWalks afterBench 28
2 × 256ours11.9 M steps3.3 min27.8
4 × 2567.9 M steps2.2 min+1.0
512-256-128the field's10.5 M steps2.9 min+2.6
1,024 × 215.1 M steps4.8 min−6.3

“Walks after”: the steps, then the minutes of compute, to follow the command at 8 tenths (median of the six seeds; one seed of 1,024 × 2 never gets there). “Bench 28”: the speed in cm/s at 28 cm/s commanded, then the gap to ours, seed by seed; all 30 robots standing for every shape.

The verdict: 4 × 256. It learns to walk in a third less time than ours, and loses nothing on the bench. The field's shape goes fastest on the bench (+2.6 cm/s), but learns more slowly: we are checking it in the record's recipe tonight. And a surprise: a training step costs almost the same time for 94,000, 213,000 or 225,000 parameters. What costs is not the network, it is the hundreds of small computations of the reward (our bottleneck).

The method

The conclusions

  1. To learn from scratch with today's reward, 4 × 256. It learns to walk in a third less compute time than ours, without losing anything on the bench (N1, 24 runs).
  2. To resume an earlier lineage, our 2 × 256 is enough. Over 18 seeds, 1,024 × 2 and 4 × 256 go no faster (B2 and B3): all else equal, the smaller one.
  3. Changing the network's shape also means changing its learning rate. Without that, a bigger network collapses: our settings do not carry over from one size to another. This is known in deep learning (μP, Yang and Hu, 2021); we measured it on our robot. Beyond 4 layers, even the gentlest rate is not enough: it would take a rate that shrinks with depth.
  4. For learning balance, depth helps: 4 × 256 gets there twice as fast as ours, for 8 to 11% more compute.
  5. The first brake on speed is not the network, it is the reward. It pays for posture far more than for speed; from scratch, it leads to stillness, even in 200 million steps. And tripling the weight of speed is not enough: what it pays for has to change. Our lineage's walk came from a long training program, not from this reward alone.
  6. A single seed proves nothing: our bench varies by several robots from one judgement to the next; we always compare over several paired seeds.

Our recommendation, final: for any new training from scratch, with the reward paid for progress (Yoan's idea, the one behind the 39.1 cm/s record), switch to 4 × 256: a third less compute time to learn to walk, nothing lost on the bench. The earlier lineages, learned with the old reward, keep their 2 × 256: enlarging them brings nothing. And do not grow any further: 1,024 × 2 learns less well and goes slower. Tonight, the record's recipe in 4 × 256 and in the field's shape, which goes fastest on the bench.

Further reading