diff --git "a/pages/modular_development.html" "b/pages/modular_development.html" new file mode 100644 --- /dev/null +++ "b/pages/modular_development.html" @@ -0,0 +1,127 @@ +Modular Addition Over Training + +
+

Modular addition over training

+

Each row is one quantity at every checkpoint; the left column is the MLP (100,000 steps) and the right the one-layer transformer (40,000). Training step on a logarithmic axis, step 0 drawn at the left edge. Hover for the values at a checkpoint; the table button lists them.

+
MLP
Transformer
+
+

MLP: the step at which each quantity is half-way from its first to its last value

half-way stepquantityseriesfirstlast
13Wall distance at embed: L2 to the first change of prediction (held-out)toward other classes2.221.94
19Fisher energy along straight paths between pairs at embed (held-out)same sum0.0002040.00183
19Fisher energy along chords, a few items per class, at embed (held-out)same sum0.0001950.00402
53Inside the nearest-token cell, the prediction is that token's answerrandom directions0.02440.986
53Inside the nearest-token cell, the prediction is that token's answertoward real activations0.02510.982
64Fisher energy along straight paths between pairs at hidden (held-out)different sum0.0006560.06
93Fisher energy along straight paths between pairs at embed (held-out)different sum0.0002051.64
93Fisher energy along chords, a few items per class, at embed (held-out)different sum0.0002031.61
134Accuracytrain0.00841
26,108Decision map over the operand torus: agreement with each ruleclock rule round(a + b)0.00921
26,108Decision map over the operand torus: agreement with each rulenearest-token rule0.00940.778
31,411Accuracytest0.00671
31,411Share of the table's power on its final 8 clockssum over the 80.1580.996
31,411Share of the table's power on its final 8 clocksstrongest clock0.0210.151
31,411Wall distance at embed: L2 to the first change of prediction (held-out)nearest wall0.1971.52
49,300Rotation of the clock planes still to come, angle to the final planemedian clock35.20
49,300Rotation of the clock planes still to come, angle to the final planelargest470
49,300Wall distance at embed: L2 to the first change of prediction (held-out)random rays6.2412.4
49,300Fisher energy along straight paths between pairs at hidden (held-out)same sum0.0006312.14e-09

Transformer: the step at which each quantity is half-way from its first to its last value

half-way stepquantityseriesfirstlast
25Wall distance at stream: L2 to the first change of prediction (held-out)random rays2.854.05
39Wall distance at stream: L2 to the first change of prediction (held-out)toward other classes5.740.554
39Fisher energy along straight paths between pairs at mlp (held-out)different sum0.002460.00722
60Fisher energy along straight paths between pairs at stream (held-out)same sum3.23e-052.12
60Fisher energy along chords, a few items per class, at stream (held-out)same sum2.96e-055.6
60Fisher energy along chords, a few items per class, at stream (held-out)different sum2.91e-0514.2
94Accuracytrain0.00861
94Fisher energy along straight paths between pairs at stream (held-out)different sum3.2e-0513.8
112Inside the nearest-token cell, the prediction is that token's answerrandom directions00.949
112Inside the nearest-token cell, the prediction is that token's answertoward real activations00.851
15,020Share of the table's power on its final 6 clocksstrongest clock0.0210.241
16,700Decision map over the operand torus: agreement with each rulenearest-token rule0.00810.759
16,900Accuracytest0.00821
17,400Share of the table's power on its final 6 clockssum over the 60.1170.96
17,500Decision map over the operand torus: agreement with each ruleclock rule round(a + b)0.00810.963
19,619Rotation of the clock planes still to come, angle to the final planemedian clock62.90
19,619Wall distance at stream: L2 to the first change of prediction (held-out)nearest wall0.07350.258
19,619Fisher energy along straight paths between pairs at mlp (held-out)same sum0.002498.85e-07
29,700Rotation of the clock planes still to come, angle to the final planelargest85.60
+

Half-way steps are read on the plotted scale (logarithmic for the energies and distances), so they compare when each quantity makes the middle of its move, not how large the move is. Sources: accuracy, clock power and plane rotation from the clock-face results (27 checkpoints, the same grid as the cell properties); torus agreement from the operand-torus maps (7 and 8 checkpoints); the nearest-token-cell statistic from the token-boundary scans (111 and 130 checkpoints); wall distances, path energies and chord energies from the cell-property parts on the held-out pool, each point the median over its items or pairs.

+
+ +