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).
In brief
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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
| Who | The network | Studied? |
|---|---|---|
| Navitek, N0.1November 13, 2026 (R-139) | 2 × 256 | no |
| legged_gymETH Zurich | 512-256-128 | no |
| Isaac LabANYmal, G1; flat terrain: 128 × 3 | 512-256-128 | no |
| Humanoid-Gymthe critic: 768-256-128 | 512-256-128 | no |
| mjlabG1 | 512-256-128 | no |
| The large PPO studyAndrychowicz et al., 2021: 5 lab tasks, not a robot | 64 × 2 | in 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.
-
H1241 credence 0.5 confirmed
Started from scratch, the 2 × 256 shape learns to stand in 60 million steps.
9.3 seconds standing at the end.
-
H1242 credence 0.3 refuted
It also learns to walk slowly (10 cm/s).
Standing in place: 0.9 cm/s.
-
H1243 credence 0.35 refuted
The field's shape learns faster (at least 10% better over the whole run).
+5% only, but it stands twice as early.
-
H1244 credence 0.8 refuted
Growing the network without changing what it computes does not change the walk (within 1 robot).
The bench itself varies by 4 robots: the walk is the same, within that noise.
-
H1245 credence 0.6 refuted
Wider does not help speed, without hurting it.
The wider networks collapsed (the learning rate).
-
H1246 credence 0.55 refuted
Deeper (3, 4, 6 layers) does not help, without hurting.
Collapsed too, for the same reason.
-
H1247 credence 0.35 confirmed
Too deep (10 layers) costs.
But through the learning rate, not through depth itself.
-
H1248 credence 0.25 refuted
A bigger shape goes faster than ours.
None does.
-
H1249 credence 0.35 refuted
Started from scratch over 200 million steps, a shape learns to walk (10 cm/s).
None: motionless, 0.2 to 0.7 cm/s.
-
H1250 credence 0.6 confirmed
The field's shape stands earlier than ours.
At 4.4 million steps versus 8.8; and 4 × 256 at 3.9.
-
H1257 credence 0.55 refuted
With a gentle start, no enlarged shape collapses.
None up to 4 layers and 1,024 wide; at 6 and 10 layers, all six seeds.
-
H1258 credence 0.6 partial
The gentle start costs our network nothing.
No seed collapsed (one before); speed, −0.9 cm/s in the median of the pairs: within the bench’s noise.
-
H1259 credence 0.5 refuted
Capacity still does not help speed (within 1 cm/s).
1,024 × 2: +2.2 cm/s; 4 × 256: +1.9.
-
H1260 credence 0.2 confirmed
A bigger shape goes faster than ours (at least +1 cm/s, 5 pairs out of 6).
1,024 × 2: +2.2 cm/s, 5 pairs out of 6. To be confirmed on more seeds.
-
H1271 to H1274 refuted
On 12 new seeds, 1,024 × 2 and 4 × 256 go faster than our network, without collapsing.
B3, 36 runs (Nov. 28, 2:35 p.m.): +0.4 cm/s for 1,024 × 2, −1.0 for 4 × 256; over the 18 seeds, the Wilcoxon test sees nothing (p = 0.14 and 0.30). None collapses (H1273, confirmed). B2’s gain was the noise of six pairs.
-
H1289 credence 0.5 confirmed
With the new reward, 4 × 256 learns to walk faster than ours (at least 20% fewer steps).
7.9 million steps versus 11.9: a third fewer.
-
H1290 credence 0.55 confirmed
4 × 256 loses nothing on the bench.
+1.0 cm/s at 28 cm/s.
-
H1291 credence 0.4 refuted
The field's shape also learns faster, but costs at least 50% more compute.
Only 12% fewer steps, and +1% compute: the network is not what costs.
-
H1292 credence 0.35 refuted
1,024 × 2 goes faster on the bench (at least +1 cm/s).
−6.3 cm/s: the worst of the four.
-
H1293 credence 0.45 confirmed
By our decision rule, the best network for training is 4 × 256.
The least compute time to learn to walk, with no loss on the bench.
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.
| Shape | Layers | Parameters |
|---|---|---|
| 2 × 256ours (R-139, November 13) | 2 | 93,714 |
| 512-256-128the field's | 3 | 213,138 |
| 3 × 256deeper | 3 | 159,506 |
| 4 × 256deeper | 4 | 225,298 |
| 6 × 256deeper | 6 | 356,882 |
| 10 × 256much deeper | 10 | 620,050 |
| 512 × 2wider | 2 | 318,482 |
| 1,024 × 2much wider | 2 | 1,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.
| Network | 8 s standing at | Bench at 10 cm/s |
|---|---|---|
| 2 × 256 | 9.3 million steps3 s at 5.9; 9.3 s at the end | 30 standing, 0.9 cm/s |
| 512-256-128 | 4.4 million steps3 s at 3.9; 9.5 s at the end | 16 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.
3. The enlarged networks, trained with our settings
| Shape | Collapsed (out of 6) | Standing at 28 cm/s |
|---|---|---|
| 2 × 256ours | 1 | 106 |
| 512 × 2 | 4 | 51 |
| 1,024 × 2 | 6 | 0 |
| 3 × 256 | 6 | 0 |
| 4 × 256 | 6 | 0 |
| 6 × 256 | 6 | 0 |
| 10 × 256 | 6 | 0 |
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).
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.
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.
| Shape | Against ours at 28 cm/s | Compute time (15 M steps) |
|---|---|---|
| 2 × 256ours, gentle start | 29.6 cm/s | 3.95 min |
| 512 × 2 | +0.06 cm/s3 pairs out of 6 | 4.48 min+13% |
| 1,024 × 2 | +2.2 cm/s5 pairs out of 6 | 6.24 min+58% |
| 3 × 256 | +0.9 cm/s4 pairs out of 6 | 4.17 min+6% |
| 4 × 256 | +1.9 cm/s4 pairs out of 6 | 4.37 min+11% |
| 6 × 256 | collapsed6 out of 6 | 4.71 min |
| 10 × 256 | collapsed6 out of 6 | 5.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%).
| Shape | 8 s standing at (M steps) | Compute time (200 M steps) |
|---|---|---|
| 2 × 256ours | 8.8 | 50 min |
| 512-256-128the field's | 4.4 | 85 min |
| 4 × 256 | 3.9 | 54 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.
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).
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.
9. What is running today
- Asking them for more, done: the runners born from scratch, paid for progress, with a command rising from 30 to 60 cm/s as they follow it (60 million steps): N0.1's record, 39.1 cm/s, all 30 robots standing. Six more seeds are running, to know whether it is the recipe or one seed's luck.
- Tonight, Yoan's run: a jog at 42 cm/s, from scratch, with a reference run at 42, 50 and 60 cm/s.
- N1, the last trial, finished: the four shapes from scratch, with the reward paid for progress (24 runs, on the graphics card lent by a friend, our second machine). The verdict, in section 11.
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 shape | Against ours | Standing (median) |
|---|---|---|
| 2 × 256ours, gentle start | 29.4 cm/s | 19.5 out of 30 |
| 1,024 × 2 | +0.4 cm/s7 pairs out of 12 | 21 out of 30 |
| 4 × 256 | −1.0 cm/s5 pairs out of 12 | 22.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.
| Shape | Walks after | Bench 28 |
|---|---|---|
| 2 × 256ours | 11.9 M steps3.3 min | 27.8 |
| 4 × 256 | 7.9 M steps2.2 min | +1.0 |
| 512-256-128the field's | 10.5 M steps2.9 min | +2.6 |
| 1,024 × 2 | 15.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
- One thing at a time. Each shape differs from the control only by its network: the same recipe, the same robot, the same training time (15 million steps, about 4 minutes on our graphics card).
- The same seeds. Each shape is compared to the control seed by seed (the same starting randomness), and we read the median of the gaps.
- Two ways to compare. From scratch, which measures learning itself (slow); or by growing our starting robot, which measures capacity in our real trials (fast).
- The bench. 30 robots per commanded speed (28, 32, 36 cm/s), 10 seconds, in a finer physics than the one used for training; a robot counts if it stays standing (torso under 40°).
- Predictions first. Written beforehand, with their credence, then judged without retouching them; even those that turn out right for another reason are said to be so.
The conclusions
- 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).
- 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.
- 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.
- For learning balance, depth helps: 4 × 256 gets there twice as fast as ours, for 8 to 11% more compute.
- 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.
- 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
- Notebook R-242 (in French), its hypotheses and its verdicts, with all our notebooks.
- Notebook R-243 (in French): the reference gait at 60 cm/s, the command that follows the robot, and the count of what the reward pays.
- The journal: every notebook, from the most recent to the first.
- Research: the thesis, the notebooks, the data and the state of the art.