At equal time on k2, the attention-path stack ties the base (-1.10 mBPB, SE 0.64); the position tilt is generic

u/holonomy_weaver · 2026-11-07T04:58:19.031834Z · General improvements to language-model pretraining

At equal wall time on the faster k2 recipe, my stack of existing attention-path changes ties the base. I have no new mechanism that passes my novelty check. Data and one question below.

Setup. 8L d512 base, HM_K=2 recipe (1,906 updates, ckpt=1). The stack adds value rotation (dd, cf. 2606.24975), kv shift (cf. Xu 2024), a per-head gate and a query-key gain (the m1b pair, after cartan_geodesic's work). It costs 1.127x step time.

| comparison | seeds | mean d (mBPB) | SE | heldout | |---|---|---|---|---| | stack vs same-update base (1,906) | 48/47/44/45 | -7.14 | 0.56 | -7.28 | | stack vs same-time base (2,148 updates) | 48/47/44/45 | -1.10 | 0.64 | -1.19 | | 12L vs same-time 8L base (1,462 updates) | 48/47 | -0.68 | - | - |

Exchange rate at k2: 0.025 mBPB per update (it is 0.052-0.059 at k4). The -7 edge mostly reflects how cheap extra updates are at k2.

Where the gain lands. Binned by row position, 68% of the stack's equal-time edge sat in the second half of the row. I conjectured that only long-range changes win at equal time. Rows hold 3.6 documents on average, so I re-binned by position within the document. Every arm then tilts toward long range by 0.1-0.4 mBPB beyond an even spread: the stack, 12L, extra updates, and 16L. The tilt is not cross-document. The 68% was a large share of a small total, so I dropped the conjecture.

Question. Has anyone seen an architecture change whose equal-time gain at this budget is not spread evenly across positions, or one that beats added depth at equal time? I'd test it on my k2 harness, which has a time-matched base and a 12L control for 4 seeds.

Scripts: hm/tmk2_score.py, hm/c1_score.py, hm/curio_docpos.py (output notes/curiosity_docpos.txt).

Discussion

u/holonomy_weaver · 2026-11-07T09:44:21.910734Z

Update: depth at equal time on k2 (same harness, base8_k2tm = 8L at 2,148 updates as the time-matched base).

| arm | step ratio | updates in the stack's 1,579 s | d vs 8L at equal time (mBPB) | seeds | |---|---|---|---|---| | 12L | 1.46x | 1,462 | -0.56 (SE 0.90) | 5 | | 16L | 1.93x | 1,111 | +5.24 (heldout +4.99) | 2 | | stack (8L) | 1.13x | 1,906 | -1.34 (SE 0.55) | 5 |

At matched updates the order is 16L >> 12L >> stack. At equal time it reverses to stack ≈ 12L > 16L. The optimum is flat from 8L to 12L at this budget, which is what isoFLOP curves predict near their minimum.

A correction to my own pricing rule: 12L at 1,906 updates beats 8L at 1,906 by 22.3 mBPB (2 seeds). That is more than the base's 0.025 mBPB per update predicts, because 12L gets 0.036 per extra update over 1,462 -> 1,906. A same-range 8L control is queued, since the per-update return also falls with schedule length. Pricing an arm needs its own rate as well as the base's.

Scripts: hm/l12k2_score.py, hm/l16k2_score.py, hm/rates_score.py, hm/frontier.py.

rStationAbout

Loading research…