BurnyCoder commited on
Commit
fa84ca1
·
verified ·
1 Parent(s): 0e0204d

Publish the verified TinyStories and Pythia comparisons with the hybrid controls

Browse files
README.md CHANGED
@@ -15,6 +15,7 @@ Lower next-token loss (NLL) means a model assigned more probability to the words
15
 
16
  | Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW |
17
  | --- | --- | --- | --- | --- |
 
18
  | Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
19
 
20
  **Adaptive vs fixed-ramp hybrid** · 2/8 paired seeds. Adaptive development NLL was 0.000174 lower. It retained 0.0554 less directional width after the switch.
@@ -29,7 +30,21 @@ Both primary test decisions are pending. Each stage requires eight paired test s
29
 
30
  ### TinyStories pretraining
31
 
32
- Awaiting matched checkpoints for AdamW, Hessian trace and third order.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  ### Pythia-410M adapters
35
 
@@ -75,7 +90,14 @@ The remaining controls are paired independently. Each row uses only seeds that f
75
 
76
  <details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
77
 
78
- **TinyStories pretraining** · Secondary pilot comparisons are pending.
 
 
 
 
 
 
 
79
 
80
  **Pythia-410M adapters** · Secondary pilot comparisons are pending.
81
 
@@ -92,6 +114,16 @@ The remaining controls are paired independently. Each row uses only seeds that f
92
 
93
  Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
94
 
 
 
 
 
 
 
 
 
 
 
95
  <details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
96
 
97
  **Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>
 
15
 
16
  | Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW |
17
  | --- | --- | --- | --- | --- |
18
+ | TinyStories pretraining · dev | one development pilot seed | 0.000045 lower | 0.000338 lower | 65.7% slower |
19
  | Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
20
 
21
  **Adaptive vs fixed-ramp hybrid** · 2/8 paired seeds. Adaptive development NLL was 0.000174 lower. It retained 0.0554 less directional width after the switch.
 
30
 
31
  ### TinyStories pretraining
32
 
33
+ **Full development split · one development pilot seed · 2,097,152 training targets per run.** Method columns show medians over the same seeds. The two right columns give the median paired change for third order against each baseline. The pilot also selected the derivative strengths. [Strength selection](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/selection/stories.json) · [Experiment ledger](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
34
+
35
+ | Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace |
36
+ | --- | --- | --- | --- | --- | --- |
37
+ | Development NLL ↓ | 3.876976 | 3.877269 | **3.876931** | 0.000045 lower | 0.000338 lower |
38
+ | Dev top-1 accuracy ↑ | **32.337%** | 32.329% | 32.326% | 0.011 pp lower | 0.003 pp lower |
39
+ | Equal-time probe NLL ↓ | **3.82905** | 4.04765 | 4.95277 | 1.12372 higher | 0.90512 higher |
40
+ | Training speed ↑ (targets/s) | **123,871** | 73,185 | 42,481 | 65.7% slower | 42.0% slower |
41
+ | Peak GPU allocation ↓ (MiB) | 608.2 | 608.2 | 608.2 | Tie | Tie |
42
+
43
+ These early TinyStories pilots share the initialization seed and identical first-update token count, loss, accuracy and gradient norm. Initial weight digests were first recorded in later runs. [First-update records](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
44
+
45
+ The common training-time cutoff had a median of 16.9 seconds. The furthest checkpoint used for this row was 2.3 seconds before its cutoff.
46
+
47
+ Awaiting paired test results (0 of 8 full-horizon training triplets).
48
 
49
  ### Pythia-410M adapters
50
 
 
90
 
91
  <details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
92
 
93
+ **TinyStories pretraining** · Pilot seed, 2,097,152 training targets.
94
+
95
+ | Metric | Third order | Squared Hessian | Scrambled signs | Trace + third |
96
+ | --- | --- | --- | --- | --- |
97
+ | Development NLL ↓ | **3.876931** | 3.878680 | 3.877253 | 3.877172 |
98
+ | Dev top-1 accuracy ↑ | 32.326% | 32.299% | **32.331%** | 32.317% |
99
+ | Training speed ↑ (targets/s) | 42,481 | **83,790** | 50,914 | 41,030 |
100
+ | Peak GPU allocation ↓ (MiB) | **608.2** | **608.2** | 608.6 | 619.3 |
101
 
102
  **Pythia-410M adapters** · Secondary pilot comparisons are pending.
103
 
 
114
 
115
  Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
116
 
117
+ <details><summary>TinyStories pretraining · same prompt, seed 0</summary>
118
+
119
+ **Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
120
+
121
+ | [AdamW](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-trace-r01/samples.jsonl) | [Third order](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-third-r01/samples.jsonl) |
122
+ | --- | --- | --- |
123
+ | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> |
124
+
125
+ </details>
126
+
127
  <details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
128
 
129
  **Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>
logs/readme-comparison-release.log CHANGED
@@ -5,50 +5,47 @@ Processing Files (0 / 0) : | | 0.00B / 0.00B
5
  New Data Upload : | | 0.00B / 0.00B 
6
 
7
 
8
- : 44%|####4 | 131kB / 296kB 
9
 
10
 
11
- : 44%|####4 | 131kB / 296kB 
12
- Processing Files (0 / 1) : 32%|###1 | 131kB / 411kB, ???B/s
13
 
14
 
15
- : 44%|####4 | 131kB / 296kB 
16
 
17
 
18
- : 44%|####4 | 131kB / 296kB 
19
 
20
 
21
- : 44%|####4 | 131kB / 296kB 
22
 
23
 
24
- : 44%|####4 | 131kB / 296kB 
25
 
26
 
27
- : 44%|####4 | 131kB / 296kB 
28
 
29
 
30
- : 44%|####4 | 131kB / 296kB 
31
 
32
 
33
- : 44%|####4 | 131kB / 296kB 
34
 
35
 
36
- : 44%|####4 | 131kB / 296kB 
37
 
38
 
39
  : 100%|##########| 296kB / 296kB 
40
- Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 39.1kB/s
41
 
42
- New Data Upload : 100%|##########| 280kB / 280kB, 27.2kB/s 
43
 
44
 
45
  : 100%|##########| 296kB / 296kB 
46
 
47
 
48
- : 100%|##########| 296kB / 296kB 
49
-
50
-
51
- : 100%|##########| 296kB / 296kB 
52
 
53
 
54
  : 100%|##########| 296kB / 296kB 
@@ -57,9 +54,6 @@ New Data Upload : 100%|##########| 280kB / 280kB, 27.2kB/s 
57
  : 100%|##########| 116kB / 116kB 
58
 
59
 
60
- : 100%|##########| 296kB / 296kB 
61
-
62
-
63
  : 100%|##########| 116kB / 116kB 
64
 
65
 
@@ -69,36 +63,28 @@ New Data Upload : 100%|##########| 280kB / 280kB, 27.2kB/s 
69
  : 100%|##########| 296kB / 296kB 
70
 
71
 
72
-
73
- Validating : | 0% 
74
-
75
-
76
-
77
- Validating : | 0% 
78
 
79
 
80
- : 100%|##########| 116kB / 116kB 
81
 
82
 
83
 
84
  Validating : | 0% 
85
 
86
 
87
- : 100%|##########| 116kB / 116kB 
88
-
89
-
90
 
91
  Validating : | 0% 
92
 
93
 
94
- : 100%|##########| 116kB / 116kB 
95
 
96
 
97
 
98
  Validating : ##########| 100% 
99
 
100
 
101
- : 100%|##########| 116kB / 116kB 
102
 
103
 
104
 
@@ -110,9 +96,9 @@ Validating : ##########| 100% 
110
 
111
 
112
  Validating : ##########| 100% 
113
- Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 34.2kB/s
114
 
115
- New Data Upload : 100%|##########| 280kB / 280kB, 23.8kB/s
116
 
117
  Validating : ##########| 100%
118
 
 
5
  New Data Upload : | | 0.00B / 0.00B 
6
 
7
 
8
+ : 61%|###### | 180kB / 296kB 
9
 
10
 
11
+ : 61%|###### | 180kB / 296kB 
12
+ Processing Files (0 / 1) : 44%|####3 | 180kB / 411kB, ???B/s
13
 
14
 
15
+ : 61%|###### | 180kB / 296kB 
16
 
17
 
18
+ : 61%|###### | 180kB / 296kB 
19
 
20
 
21
+ : 61%|###### | 180kB / 296kB 
22
 
23
 
24
+ : 61%|###### | 180kB / 296kB 
25
 
26
 
27
+ : 61%|###### | 180kB / 296kB 
28
 
29
 
30
+ : 61%|###### | 180kB / 296kB 
31
 
32
 
33
+ : 61%|###### | 180kB / 296kB 
34
 
35
 
36
+ : 61%|###### | 180kB / 296kB 
37
 
38
 
39
  : 100%|##########| 296kB / 296kB 
40
+ Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 38.8kB/s
41
 
42
+ New Data Upload : 100%|##########| 232kB / 232kB, 22.5kB/s 
43
 
44
 
45
  : 100%|##########| 296kB / 296kB 
46
 
47
 
48
+ : 100%|##########| 116kB / 116kB 
 
 
 
49
 
50
 
51
  : 100%|##########| 296kB / 296kB 
 
54
  : 100%|##########| 116kB / 116kB 
55
 
56
 
 
 
 
57
  : 100%|##########| 116kB / 116kB 
58
 
59
 
 
63
  : 100%|##########| 296kB / 296kB 
64
 
65
 
66
+ : 100%|##########| 296kB / 296kB 
 
 
 
 
 
67
 
68
 
69
+ : 100%|##########| 296kB / 296kB 
70
 
71
 
72
 
73
  Validating : | 0% 
74
 
75
 
 
 
 
76
 
77
  Validating : | 0% 
78
 
79
 
80
+ : 100%|##########| 296kB / 296kB 
81
 
82
 
83
 
84
  Validating : ##########| 100% 
85
 
86
 
87
+ : 100%|##########| 296kB / 296kB 
88
 
89
 
90
 
 
96
 
97
 
98
  Validating : ##########| 100% 
99
+ Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 34.5kB/s
100
 
101
+ New Data Upload : 100%|##########| 232kB / 232kB, 20.0kB/s
102
 
103
  Validating : ##########| 100%
104
 
logs/readme-comparison-render.log CHANGED
@@ -1,2 +1,3 @@
1
  findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
2
  findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
 
 
1
  findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
2
  findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
3
+ findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
logs/study-20261125T151603Z-hybrid-confirmation.log CHANGED
The diff for this file is too large to render. See raw diff
 
publication.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
3
- "git_revision": "1f89b278691e7081c5382d0a0435dc9a27c58dd9",
4
  "repositories": {
5
  "BurnyCoder/thirdloss-arxiv-abstracts-2024": {
6
  "files": {
@@ -71,14 +71,14 @@
71
  "size": 63324
72
  },
73
  "figures/curves.png": {
74
- "git_blob": "7b2f739d89383360f98039a2e14e73453836f4ba",
75
- "sha256": "d81484bfad0fbc008a5a7bb1c5b07054bc544ebd821e5f8d20aae48501868244",
76
- "size": 295597
77
  },
78
  "figures/hybrid_width.png": {
79
- "git_blob": "8367a30cffb9b0db4b20be01458660fbc9b2353d",
80
- "sha256": "7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7",
81
- "size": 115786
82
  },
83
  "figures/penalty-directions.png": {
84
  "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
@@ -91,12 +91,12 @@
91
  "size": 9426
92
  },
93
  "study.json": {
94
- "git_blob": "0354d2d1d696f25fee647da466757c9e353648a7",
95
- "sha256": "6a7b4a55be236cc25fceb6ebf6cd4ab8e9a53c5c95637e699a897ef4d150cad4",
96
- "size": 1774171
97
  }
98
  },
99
- "revision": "0365d925d9df08baf7d03ebc8bc532b10c0aa52d",
100
  "type": "space"
101
  },
102
  "BurnyCoder/thirdloss-pythia-410m-adapters": {
@@ -1174,9 +1174,9 @@
1174
  "BurnyCoder/thirdloss-study": {
1175
  "files": {
1176
  "README.md": {
1177
- "git_blob": "32f1b025073513a751905ee70333e3081baeb85e",
1178
- "sha256": "685bb22eed9c16877dd795082d3e0553d18418dd8c182939ea8cefda91f8db3d",
1179
- "size": 10222
1180
  },
1181
  "logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": {
1182
  "git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",
@@ -1374,14 +1374,14 @@
1374
  "size": 3895
1375
  },
1376
  "logs/readme-comparison-release.log": {
1377
- "git_blob": "369b5541996ec47eade4583e981e6451db680bdf",
1378
- "sha256": "8edbd255ac348152c56f2ce60634714295ec2cfe1110b8dd6fd79005c0dc9d64",
1379
- "size": 3514
1380
  },
1381
  "logs/readme-comparison-render.log": {
1382
- "git_blob": "c360da520a8ffebbe372331805c80d745e0db312",
1383
- "sha256": "9c3cb1684aacf324ef620a44c6181591f8eea89d58e66de7a2ddd69e57496731",
1384
- "size": 158
1385
  },
1386
  "logs/stories-branch-s21-trunk-r01-20261125T103522576232Z.jsonl": {
1387
  "git_blob": "1fa0317bc627e9cafc2ac47ee1257c5b660642e8",
@@ -1454,9 +1454,9 @@
1454
  "size": 315447
1455
  },
1456
  "logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl": {
1457
- "git_blob": "cc1804a8c799e9e8d7f5ae2cf704201711828632",
1458
- "sha256": "fbd17cdce1fd7731016f9a8624afc7f61f5b55390a8ba2b1e2c86a4b5f54c52c",
1459
- "size": 111438
1460
  },
1461
  "logs/stories-hybrid-s22-strong-r01-20261125T153820400099Z.jsonl": {
1462
  "git_blob": "4a4c5e6c1fea3b28c8437d31982325056292c25e",
@@ -1569,9 +1569,9 @@
1569
  "size": 1152414
1570
  },
1571
  "logs/study-20261125T151603Z-hybrid-confirmation.log": {
1572
- "git_blob": "2136d611ded8c59ea1283d14e2306135eeef6c2f",
1573
- "sha256": "d0536611391bc97d50a744dbc8719e060c563b52d7460a0d4403b0ec1c7e1973",
1574
- "size": 2223272
1575
  },
1576
  "logs/study-20261125T151603Z-hybrid-stderr.log": {
1577
  "git_blob": "4c8c0f01dd5ac2320715fffa46872b66393e497f",
@@ -1644,9 +1644,9 @@
1644
  "size": 786
1645
  },
1646
  "research/README.md": {
1647
- "git_blob": "ff5c4fdd53eee50eb4aebe7b6d368b48f8764143",
1648
- "sha256": "df8b40c385986270d0652b42fb47d758ad8320d8d027c5916a8975041bd6fd09",
1649
- "size": 24336
1650
  },
1651
  "research/docs/data.md": {
1652
  "git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",
@@ -1669,14 +1669,14 @@
1669
  "size": 63324
1670
  },
1671
  "research/docs/figures/curves.png": {
1672
- "git_blob": "7b2f739d89383360f98039a2e14e73453836f4ba",
1673
- "sha256": "d81484bfad0fbc008a5a7bb1c5b07054bc544ebd821e5f8d20aae48501868244",
1674
- "size": 295597
1675
  },
1676
  "research/docs/figures/hybrid_width.png": {
1677
- "git_blob": "8367a30cffb9b0db4b20be01458660fbc9b2353d",
1678
- "sha256": "7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7",
1679
- "size": 115786
1680
  },
1681
  "research/docs/figures/penalty-directions.png": {
1682
  "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
@@ -1699,9 +1699,9 @@
1699
  "size": 1583
1700
  },
1701
  "research/docs/hub/archive.md": {
1702
- "git_blob": "32f1b025073513a751905ee70333e3081baeb85e",
1703
- "sha256": "685bb22eed9c16877dd795082d3e0553d18418dd8c182939ea8cefda91f8db3d",
1704
- "size": 10222
1705
  },
1706
  "research/docs/hub/space.md": {
1707
  "git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",
@@ -1724,9 +1724,9 @@
1724
  "size": 8150
1725
  },
1726
  "research/docs/study.json": {
1727
- "git_blob": "0354d2d1d696f25fee647da466757c9e353648a7",
1728
- "sha256": "6a7b4a55be236cc25fceb6ebf6cd4ab8e9a53c5c95637e699a897ef4d150cad4",
1729
- "size": 1774171
1730
  },
1731
  "research/docs/third-derivative-penalty.md": {
1732
  "git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
@@ -1854,13 +1854,13 @@
1854
  "size": 231
1855
  },
1856
  "research/reports/experiments/experiments.md": {
1857
- "git_blob": "ffcb563a9d7ff863668018b691fbae17320adb62",
1858
- "sha256": "e8dfd2d6a9cd73db4a94d3cc301450b133af15e2de49c796b46f9cd24c6d193f",
1859
  "size": 7201
1860
  },
1861
  "research/reports/experiments/learnings.md": {
1862
- "git_blob": "cab98c2c7e9f07bb4af6572f4343339da0f53f5d",
1863
- "sha256": "0a7073cffae45f7aa42e35dbfbf59efce84d30ee6d16ef6c69f99e4695bc1be7",
1864
  "size": 9685
1865
  },
1866
  "research/reports/experiments/stories-branch-s21-trunk-r01/experiment.md": {
@@ -1984,13 +1984,13 @@
1984
  "size": 239
1985
  },
1986
  "research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md": {
1987
- "git_blob": "d3a67f58db270c9f2a5466feaf0b604ec7e6c251",
1988
- "sha256": "ac18aeda564e40215d4ec6d358c541c0ae18f0bd3db725cb087dd60bab268f78",
1989
  "size": 735
1990
  },
1991
  "research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md": {
1992
- "git_blob": "ae63e9d99b91227ef2c6b494660e5b89308ef6d9",
1993
- "sha256": "ce9301e549dc7d49f8103e7fcfeec9b6c22fa76da6c361909451610a76aca85d",
1994
  "size": 239
1995
  },
1996
  "research/reports/experiments/stories-hybrid-s22-strong-r01/experiment.md": {
@@ -2119,9 +2119,9 @@
2119
  "size": 7658
2120
  },
2121
  "research/reports/hybrid/results.md": {
2122
- "git_blob": "b79eac20dc691c37377ed317ea9db1ea72009f0c",
2123
- "sha256": "be1d7a2a93e552c5b347603683ccc2136f0803cb850d1fc8e086eacb1f231986",
2124
- "size": 9770
2125
  },
2126
  "research/reports/literature-review.md": {
2127
  "git_blob": "60cb61940a961b869b09e18931fb885668994e62",
@@ -2129,9 +2129,9 @@
2129
  "size": 7290
2130
  },
2131
  "research/reports/paper.pdf": {
2132
- "git_blob": "8b112dc8164915318416bed3007c9477f6bc0c9d",
2133
- "sha256": "48d5bbb46d4d7e7f8ca73bcab610e8105717ee669d2769b951b7098286b46aa1",
2134
- "size": 604725
2135
  },
2136
  "research/reports/plan.md": {
2137
  "git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",
@@ -2149,8 +2149,8 @@
2149
  "size": 5234
2150
  },
2151
  "research/reports/progress.md": {
2152
- "git_blob": "0eed3c9984fc5c36c4fea734da2f39261b25b2e1",
2153
- "sha256": "1b83ac6882b0a2f7d6a917496066887cc2b42662d0c38cec98e55403ce7c9a3f",
2154
  "size": 2289
2155
  },
2156
  "research/reports/reviews/adapter-verification.md": {
@@ -2989,9 +2989,9 @@
2989
  "size": 995
2990
  },
2991
  "research/results/stories-hybrid-s22-replay-r01/events.jsonl": {
2992
- "git_blob": "38873237ece8a639f05bd3f4f47da586dff3f8c5",
2993
- "sha256": "ebfe935c36852bdc79b84d6d27f3eb186de91371977aec0d5f34c9adc86bc107",
2994
- "size": 97489
2995
  },
2996
  "research/results/stories-hybrid-s22-replay-r01/state.json": {
2997
  "git_blob": "f94b29d184743fb062a15ec3d89cf50a663bf10f",
@@ -3003,6 +3003,11 @@
3003
  "sha256": "27a6110fb66dcb37fbb2beafa588547640cedbca6418f85f07a3a4078767fc0a",
3004
  "size": 3727
3005
  },
 
 
 
 
 
3006
  "research/results/stories-hybrid-s22-strong-r01/config.json": {
3007
  "git_blob": "6bba935c4c883d5c4dd7cf27ed3ea91065e1c033",
3008
  "sha256": "aacc60e5c12efbfd745db701d92d98472f97cd1f8b468c9e5ff82789c7d20855",
@@ -3444,9 +3449,9 @@
3444
  "size": 11879
3445
  },
3446
  "research/src/thirdloss/readme_comparisons.py": {
3447
- "git_blob": "f759481925db98e2ea793c30e1dfa2321b894cdb",
3448
- "sha256": "028afa951788ee861adc8f38850fed42f28f791fcb2e340174bf3377d9afd7c3",
3449
- "size": 16617
3450
  },
3451
  "research/src/thirdloss/records.py": {
3452
  "git_blob": "a800de00d42944f13a89d8d2f91ce9b2103bbd45",
@@ -3529,9 +3534,9 @@
3529
  "size": 9862
3530
  },
3531
  "research/tests/test_readme_comparisons.py": {
3532
- "git_blob": "5bde543f409753f9533cc2e6dc40d801f11e0f71",
3533
- "sha256": "b3549df4f1cc83e59ec7f362873b0218003b9c0c4d3fea49a798bbe018b714c4",
3534
- "size": 4094
3535
  },
3536
  "research/tests/test_reporting.py": {
3537
  "git_blob": "8d35cec22ff32950b18690c8af5142d0b44bc644",
@@ -3598,5 +3603,5 @@
3598
  "type": "dataset"
3599
  }
3600
  },
3601
- "verified_at": "2026-11-25T15:56:50+00:00"
3602
  }
 
1
  {
2
  "collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
3
+ "git_revision": "c2da38e27cf2173fc4437ea424319ddb5efdc3d3",
4
  "repositories": {
5
  "BurnyCoder/thirdloss-arxiv-abstracts-2024": {
6
  "files": {
 
71
  "size": 63324
72
  },
73
  "figures/curves.png": {
74
+ "git_blob": "c1b48134212078389b032500e679bb53f1c58c1e",
75
+ "sha256": "4d7df904fc8bdbc34b04f79dd84d41713cf87f1abcfeaa30fad7e75563f57c0c",
76
+ "size": 295663
77
  },
78
  "figures/hybrid_width.png": {
79
+ "git_blob": "416b3e3418dcdbfd4f466379b60e62836ddb4e21",
80
+ "sha256": "a0a6b2fa0c1b3ed1b245efb215e4dc60a5ba192f2c5cac2e94bf36f18cc85cf7",
81
+ "size": 115661
82
  },
83
  "figures/penalty-directions.png": {
84
  "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
 
91
  "size": 9426
92
  },
93
  "study.json": {
94
+ "git_blob": "d9701f46ebcd219a6ee3fd09af2589015a4c1d4e",
95
+ "sha256": "c0a0996f7ca45c8324719284ee0a55294e1d5c321d110ebdfe0791f058e19708",
96
+ "size": 1816120
97
  }
98
  },
99
+ "revision": "43c024c506723980950fd9f6e9fe4cffcf4c9d58",
100
  "type": "space"
101
  },
102
  "BurnyCoder/thirdloss-pythia-410m-adapters": {
 
1174
  "BurnyCoder/thirdloss-study": {
1175
  "files": {
1176
  "README.md": {
1177
+ "git_blob": "61825543464100ae8280a9fd114f1fd69565b591",
1178
+ "sha256": "e7439ddcf02edd87a85aab16628429c28626ee87e5a80f68e70b71013b177f3f",
1179
+ "size": 13022
1180
  },
1181
  "logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": {
1182
  "git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",
 
1374
  "size": 3895
1375
  },
1376
  "logs/readme-comparison-release.log": {
1377
+ "git_blob": "87d69bc263068ddc4aa7e500a93327979234b1c5",
1378
+ "sha256": "9ee5a9ab73649d5985f8065c03d5278c87cc0a9f2ce35e5139e6a6be743bf66d",
1379
+ "size": 3184
1380
  },
1381
  "logs/readme-comparison-render.log": {
1382
+ "git_blob": "70e3857ddf7864165e224327f5b04e72ea4521df",
1383
+ "sha256": "48dcbca8ba1a5e39de40640cf1a30459abefca18fb4075f512c6fefc0ef71b41",
1384
+ "size": 237
1385
  },
1386
  "logs/stories-branch-s21-trunk-r01-20261125T103522576232Z.jsonl": {
1387
  "git_blob": "1fa0317bc627e9cafc2ac47ee1257c5b660642e8",
 
1454
  "size": 315447
1455
  },
1456
  "logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl": {
1457
+ "git_blob": "47c3943a0b8adc8877535054010645aafc6ac48a",
1458
+ "sha256": "8dad89832e4ffb56a865ef9a8e9c7cb26e508fc5a51214ead8384192d2c2fa09",
1459
+ "size": 260125
1460
  },
1461
  "logs/stories-hybrid-s22-strong-r01-20261125T153820400099Z.jsonl": {
1462
  "git_blob": "4a4c5e6c1fea3b28c8437d31982325056292c25e",
 
1569
  "size": 1152414
1570
  },
1571
  "logs/study-20261125T151603Z-hybrid-confirmation.log": {
1572
+ "git_blob": "acbb5604183e62d297f690d575edf1ca8f578f55",
1573
+ "sha256": "c47c5fde143d5e2b14cef81aa46e4e0e5d363d200fca0f7161344cc994c7318f",
1574
+ "size": 2372018
1575
  },
1576
  "logs/study-20261125T151603Z-hybrid-stderr.log": {
1577
  "git_blob": "4c8c0f01dd5ac2320715fffa46872b66393e497f",
 
1644
  "size": 786
1645
  },
1646
  "research/README.md": {
1647
+ "git_blob": "2d6034d5f5e38f614ba6553f84d8000e19859e7a",
1648
+ "sha256": "bc0d16e778d5bdff206093ff552d0b210f60e6cb0da397215b505dd43d844f47",
1649
+ "size": 26722
1650
  },
1651
  "research/docs/data.md": {
1652
  "git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",
 
1669
  "size": 63324
1670
  },
1671
  "research/docs/figures/curves.png": {
1672
+ "git_blob": "c1b48134212078389b032500e679bb53f1c58c1e",
1673
+ "sha256": "4d7df904fc8bdbc34b04f79dd84d41713cf87f1abcfeaa30fad7e75563f57c0c",
1674
+ "size": 295663
1675
  },
1676
  "research/docs/figures/hybrid_width.png": {
1677
+ "git_blob": "416b3e3418dcdbfd4f466379b60e62836ddb4e21",
1678
+ "sha256": "a0a6b2fa0c1b3ed1b245efb215e4dc60a5ba192f2c5cac2e94bf36f18cc85cf7",
1679
+ "size": 115661
1680
  },
1681
  "research/docs/figures/penalty-directions.png": {
1682
  "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
 
1699
  "size": 1583
1700
  },
1701
  "research/docs/hub/archive.md": {
1702
+ "git_blob": "61825543464100ae8280a9fd114f1fd69565b591",
1703
+ "sha256": "e7439ddcf02edd87a85aab16628429c28626ee87e5a80f68e70b71013b177f3f",
1704
+ "size": 13022
1705
  },
1706
  "research/docs/hub/space.md": {
1707
  "git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",
 
1724
  "size": 8150
1725
  },
1726
  "research/docs/study.json": {
1727
+ "git_blob": "d9701f46ebcd219a6ee3fd09af2589015a4c1d4e",
1728
+ "sha256": "c0a0996f7ca45c8324719284ee0a55294e1d5c321d110ebdfe0791f058e19708",
1729
+ "size": 1816120
1730
  },
1731
  "research/docs/third-derivative-penalty.md": {
1732
  "git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
 
1854
  "size": 231
1855
  },
1856
  "research/reports/experiments/experiments.md": {
1857
+ "git_blob": "3ee8555e32adec7c4a7b3746e2c055b5c879ba92",
1858
+ "sha256": "8343877ae2c204566bb5fe0c7c383c68d62bb16b9f676c4a4f17994ea3aff1f0",
1859
  "size": 7201
1860
  },
1861
  "research/reports/experiments/learnings.md": {
1862
+ "git_blob": "a62e8fd76acb3e926364da8a8eb6926bbbaa6bce",
1863
+ "sha256": "49d4f79c0b2464935f60a5237c09a3e210893b69958cca649ab7f9048ce2a618",
1864
  "size": 9685
1865
  },
1866
  "research/reports/experiments/stories-branch-s21-trunk-r01/experiment.md": {
 
1984
  "size": 239
1985
  },
1986
  "research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md": {
1987
+ "git_blob": "59c4c21c05467e64f472c1dda77621cdc95e93b4",
1988
+ "sha256": "9907dd748dc43dc2193be4206826f6109e41bed21ac27741fb4a2830ad744cec",
1989
  "size": 735
1990
  },
1991
  "research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md": {
1992
+ "git_blob": "38797a59b7e05211b661db16f05bdaca21ed93c7",
1993
+ "sha256": "896ac86361eb914388565d59d0b1d9178d566197dc79859c4d43c34ddb3cbf07",
1994
  "size": 239
1995
  },
1996
  "research/reports/experiments/stories-hybrid-s22-strong-r01/experiment.md": {
 
2119
  "size": 7658
2120
  },
2121
  "research/reports/hybrid/results.md": {
2122
+ "git_blob": "a02640bebf847981ea757c6f52445fe7f6d07a68",
2123
+ "sha256": "51818443718443a00e87c49536df36478faa2278def4035304a6b7d613a71755",
2124
+ "size": 9921
2125
  },
2126
  "research/reports/literature-review.md": {
2127
  "git_blob": "60cb61940a961b869b09e18931fb885668994e62",
 
2129
  "size": 7290
2130
  },
2131
  "research/reports/paper.pdf": {
2132
+ "git_blob": "ba8a0f2438b6827c90d7f0ebf24f32434c1f40f0",
2133
+ "sha256": "175621be16d5ede6ee34ca55f9542f7c0d8295b4e9ccbb7c0c724146bad89be6",
2134
+ "size": 604761
2135
  },
2136
  "research/reports/plan.md": {
2137
  "git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",
 
2149
  "size": 5234
2150
  },
2151
  "research/reports/progress.md": {
2152
+ "git_blob": "c73021bd37d51aad34fd7da187f2748d18354c35",
2153
+ "sha256": "ed02d2a4ef90cc503626129d3cf233070265334c8bf65bbbd7c9e12e5c83d86f",
2154
  "size": 2289
2155
  },
2156
  "research/reports/reviews/adapter-verification.md": {
 
2989
  "size": 995
2990
  },
2991
  "research/results/stories-hybrid-s22-replay-r01/events.jsonl": {
2992
+ "git_blob": "2098abe829d2e48c67dbb061c6d784939c6462d2",
2993
+ "sha256": "01d6431144bb97b74bd4ee97f04d1eab97e481913da92b81754e4239cd9eb614",
2994
+ "size": 247606
2995
  },
2996
  "research/results/stories-hybrid-s22-replay-r01/state.json": {
2997
  "git_blob": "f94b29d184743fb062a15ec3d89cf50a663bf10f",
 
3003
  "sha256": "27a6110fb66dcb37fbb2beafa588547640cedbca6418f85f07a3a4078767fc0a",
3004
  "size": 3727
3005
  },
3006
+ "research/results/stories-hybrid-s22-replay-r01/width-3072.json": {
3007
+ "git_blob": "c69bf1b65f42d2199b1de3c39b530996a09c6df0",
3008
+ "sha256": "f55d454b805bff4b335351f12c8acd176941dc943cfea123261afe751f92b4bb",
3009
+ "size": 3727
3010
+ },
3011
  "research/results/stories-hybrid-s22-strong-r01/config.json": {
3012
  "git_blob": "6bba935c4c883d5c4dd7cf27ed3ea91065e1c033",
3013
  "sha256": "aacc60e5c12efbfd745db701d92d98472f97cd1f8b468c9e5ff82789c7d20855",
 
3449
  "size": 11879
3450
  },
3451
  "research/src/thirdloss/readme_comparisons.py": {
3452
+ "git_blob": "062abddc23f24b33e4fa4e7023c8698cc9e8f1e0",
3453
+ "sha256": "31354d87166d1a7246d188f7f9182da10726a45b715606c4e97452ec68e60253",
3454
+ "size": 17615
3455
  },
3456
  "research/src/thirdloss/records.py": {
3457
  "git_blob": "a800de00d42944f13a89d8d2f91ce9b2103bbd45",
 
3534
  "size": 9862
3535
  },
3536
  "research/tests/test_readme_comparisons.py": {
3537
+ "git_blob": "48e9e117fe5c5056e926caa3cd0fe90c306724c8",
3538
+ "sha256": "5b39ec5fcedd75f37b8685f38fb39278c16a66237e2d77d7e0bb188d099f162d",
3539
+ "size": 4769
3540
  },
3541
  "research/tests/test_reporting.py": {
3542
  "git_blob": "8d35cec22ff32950b18690c8af5142d0b44bc644",
 
3603
  "type": "dataset"
3604
  }
3605
  },
3606
+ "verified_at": "2026-11-25T15:59:41+00:00"
3607
  }
research/README.md CHANGED
@@ -12,6 +12,7 @@ Lower next-token loss (NLL) means a model assigned more probability to the words
12
 
13
  | Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW |
14
  | --- | --- | --- | --- | --- |
 
15
  | Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
16
 
17
  **Adaptive vs fixed-ramp hybrid** · 2/8 paired seeds. Adaptive development NLL was 0.000174 lower. It retained 0.0554 less directional width after the switch.
@@ -72,7 +73,21 @@ A same-probe check on pretrained Pythia found that single-precision arithmetic m
72
 
73
  ### TinyStories pretraining
74
 
75
- Awaiting matched checkpoints for AdamW, Hessian trace and third order.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  ### Pythia-410M adapters
78
 
@@ -118,7 +133,14 @@ The remaining controls are paired independently. Each row uses only seeds that f
118
 
119
  <details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
120
 
121
- **TinyStories pretraining** · Secondary pilot comparisons are pending.
 
 
 
 
 
 
 
122
 
123
  **Pythia-410M adapters** · Secondary pilot comparisons are pending.
124
 
@@ -135,6 +157,16 @@ The remaining controls are paired independently. Each row uses only seeds that f
135
 
136
  Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
137
 
 
 
 
 
 
 
 
 
 
 
138
  <details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
139
 
140
  **Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>
 
12
 
13
  | Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW |
14
  | --- | --- | --- | --- | --- |
15
+ | TinyStories pretraining · dev | one development pilot seed | 0.000045 lower | 0.000338 lower | 65.7% slower |
16
  | Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
17
 
18
  **Adaptive vs fixed-ramp hybrid** · 2/8 paired seeds. Adaptive development NLL was 0.000174 lower. It retained 0.0554 less directional width after the switch.
 
73
 
74
  ### TinyStories pretraining
75
 
76
+ **Full development split · one development pilot seed · 2,097,152 training targets per run.** Method columns show medians over the same seeds. The two right columns give the median paired change for third order against each baseline. The pilot also selected the derivative strengths. [Strength selection](results/selection/stories.json) · [Experiment ledger](reports/experiments/experiments.md)
77
+
78
+ | Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace |
79
+ | --- | --- | --- | --- | --- | --- |
80
+ | Development NLL ↓ | 3.876976 | 3.877269 | **3.876931** | 0.000045 lower | 0.000338 lower |
81
+ | Dev top-1 accuracy ↑ | **32.337%** | 32.329% | 32.326% | 0.011 pp lower | 0.003 pp lower |
82
+ | Equal-time probe NLL ↓ | **3.82905** | 4.04765 | 4.95277 | 1.12372 higher | 0.90512 higher |
83
+ | Training speed ↑ (targets/s) | **123,871** | 73,185 | 42,481 | 65.7% slower | 42.0% slower |
84
+ | Peak GPU allocation ↓ (MiB) | 608.2 | 608.2 | 608.2 | Tie | Tie |
85
+
86
+ These early TinyStories pilots share the initialization seed and identical first-update token count, loss, accuracy and gradient norm. Initial weight digests were first recorded in later runs. [First-update records](reports/experiments/experiments.md)
87
+
88
+ The common training-time cutoff had a median of 16.9 seconds. The furthest checkpoint used for this row was 2.3 seconds before its cutoff.
89
+
90
+ Awaiting paired test results (0 of 8 full-horizon training triplets).
91
 
92
  ### Pythia-410M adapters
93
 
 
133
 
134
  <details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
135
 
136
+ **TinyStories pretraining** · Pilot seed, 2,097,152 training targets.
137
+
138
+ | Metric | Third order | Squared Hessian | Scrambled signs | Trace + third |
139
+ | --- | --- | --- | --- | --- |
140
+ | Development NLL ↓ | **3.876931** | 3.878680 | 3.877253 | 3.877172 |
141
+ | Dev top-1 accuracy ↑ | 32.326% | 32.299% | **32.331%** | 32.317% |
142
+ | Training speed ↑ (targets/s) | 42,481 | **83,790** | 50,914 | 41,030 |
143
+ | Peak GPU allocation ↓ (MiB) | **608.2** | **608.2** | 608.6 | 619.3 |
144
 
145
  **Pythia-410M adapters** · Secondary pilot comparisons are pending.
146
 
 
157
 
158
  Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
159
 
160
+ <details><summary>TinyStories pretraining · same prompt, seed 0</summary>
161
+
162
+ **Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
163
+
164
+ | [AdamW](results/stories-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](results/stories-pilot-s00-trace-r01/samples.jsonl) | [Third order](results/stories-pilot-s00-third-r01/samples.jsonl) |
165
+ | --- | --- | --- |
166
+ | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> |
167
+
168
+ </details>
169
+
170
  <details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
171
 
172
  **Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>
research/docs/figures/curves.png CHANGED

Git LFS Details

  • SHA256: d81484bfad0fbc008a5a7bb1c5b07054bc544ebd821e5f8d20aae48501868244
  • Pointer size: 131 Bytes
  • Size of remote file: 296 kB

Git LFS Details

  • SHA256: 4d7df904fc8bdbc34b04f79dd84d41713cf87f1abcfeaa30fad7e75563f57c0c
  • Pointer size: 131 Bytes
  • Size of remote file: 296 kB
research/docs/figures/hybrid_width.png CHANGED

Git LFS Details

  • SHA256: 7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB

Git LFS Details

  • SHA256: a0a6b2fa0c1b3ed1b245efb215e4dc60a5ba192f2c5cac2e94bf36f18cc85cf7
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
research/docs/hub/archive.md CHANGED
@@ -15,6 +15,7 @@ Lower next-token loss (NLL) means a model assigned more probability to the words
15
 
16
  | Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW |
17
  | --- | --- | --- | --- | --- |
 
18
  | Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
19
 
20
  **Adaptive vs fixed-ramp hybrid** · 2/8 paired seeds. Adaptive development NLL was 0.000174 lower. It retained 0.0554 less directional width after the switch.
@@ -29,7 +30,21 @@ Both primary test decisions are pending. Each stage requires eight paired test s
29
 
30
  ### TinyStories pretraining
31
 
32
- Awaiting matched checkpoints for AdamW, Hessian trace and third order.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
  ### Pythia-410M adapters
35
 
@@ -75,7 +90,14 @@ The remaining controls are paired independently. Each row uses only seeds that f
75
 
76
  <details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
77
 
78
- **TinyStories pretraining** · Secondary pilot comparisons are pending.
 
 
 
 
 
 
 
79
 
80
  **Pythia-410M adapters** · Secondary pilot comparisons are pending.
81
 
@@ -92,6 +114,16 @@ The remaining controls are paired independently. Each row uses only seeds that f
92
 
93
  Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
94
 
 
 
 
 
 
 
 
 
 
 
95
  <details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
96
 
97
  **Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>
 
15
 
16
  | Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW |
17
  | --- | --- | --- | --- | --- |
18
+ | TinyStories pretraining · dev | one development pilot seed | 0.000045 lower | 0.000338 lower | 65.7% slower |
19
  | Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
20
 
21
  **Adaptive vs fixed-ramp hybrid** · 2/8 paired seeds. Adaptive development NLL was 0.000174 lower. It retained 0.0554 less directional width after the switch.
 
30
 
31
  ### TinyStories pretraining
32
 
33
+ **Full development split · one development pilot seed · 2,097,152 training targets per run.** Method columns show medians over the same seeds. The two right columns give the median paired change for third order against each baseline. The pilot also selected the derivative strengths. [Strength selection](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/selection/stories.json) · [Experiment ledger](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
34
+
35
+ | Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace |
36
+ | --- | --- | --- | --- | --- | --- |
37
+ | Development NLL ↓ | 3.876976 | 3.877269 | **3.876931** | 0.000045 lower | 0.000338 lower |
38
+ | Dev top-1 accuracy ↑ | **32.337%** | 32.329% | 32.326% | 0.011 pp lower | 0.003 pp lower |
39
+ | Equal-time probe NLL ↓ | **3.82905** | 4.04765 | 4.95277 | 1.12372 higher | 0.90512 higher |
40
+ | Training speed ↑ (targets/s) | **123,871** | 73,185 | 42,481 | 65.7% slower | 42.0% slower |
41
+ | Peak GPU allocation ↓ (MiB) | 608.2 | 608.2 | 608.2 | Tie | Tie |
42
+
43
+ These early TinyStories pilots share the initialization seed and identical first-update token count, loss, accuracy and gradient norm. Initial weight digests were first recorded in later runs. [First-update records](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
44
+
45
+ The common training-time cutoff had a median of 16.9 seconds. The furthest checkpoint used for this row was 2.3 seconds before its cutoff.
46
+
47
+ Awaiting paired test results (0 of 8 full-horizon training triplets).
48
 
49
  ### Pythia-410M adapters
50
 
 
90
 
91
  <details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
92
 
93
+ **TinyStories pretraining** · Pilot seed, 2,097,152 training targets.
94
+
95
+ | Metric | Third order | Squared Hessian | Scrambled signs | Trace + third |
96
+ | --- | --- | --- | --- | --- |
97
+ | Development NLL ↓ | **3.876931** | 3.878680 | 3.877253 | 3.877172 |
98
+ | Dev top-1 accuracy ↑ | 32.326% | 32.299% | **32.331%** | 32.317% |
99
+ | Training speed ↑ (targets/s) | 42,481 | **83,790** | 50,914 | 41,030 |
100
+ | Peak GPU allocation ↓ (MiB) | **608.2** | **608.2** | 608.6 | 619.3 |
101
 
102
  **Pythia-410M adapters** · Secondary pilot comparisons are pending.
103
 
 
114
 
115
  Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
116
 
117
+ <details><summary>TinyStories pretraining · same prompt, seed 0</summary>
118
+
119
+ **Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
120
+
121
+ | [AdamW](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-trace-r01/samples.jsonl) | [Third order](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-third-r01/samples.jsonl) |
122
+ | --- | --- | --- |
123
+ | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> |
124
+
125
+ </details>
126
+
127
  <details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
128
 
129
  **Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>
research/docs/study.json CHANGED
The diff for this file is too large to render. See raw diff
 
research/reports/experiments/experiments.md CHANGED
@@ -29,7 +29,7 @@ NLL is negative log-likelihood in nats per target token. A smaller value assigns
29
  | [stories-hybrid-s22-adaptive-r01](./stories-hybrid-s22-adaptive-r01/experiment.md) | TinyStories | Curvature-dependent hybrid | hybrid | 22 | 0.010 | 16,777,216 | 2.5463 | — | 37,992 | complete |
30
  | [stories-hybrid-s22-always-r01](./stories-hybrid-s22-always-r01/experiment.md) | TinyStories | Always-on hybrid | hybrid | 22 | 0.010 | 16,777,216 | 2.5460 | — | 25,017 | complete |
31
  | [stories-hybrid-s22-late-r01](./stories-hybrid-s22-late-r01/experiment.md) | TinyStories | Fixed late hybrid | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 39,514 | complete |
32
- | [stories-hybrid-s22-replay-r01](./stories-hybrid-s22-replay-r01/experiment.md) | TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 10,977,280 | 2.6751 | — | — | training |
33
  | [stories-hybrid-s22-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 60,263 | complete |
34
  | [stories-hybrid-s22-trace-r01](./stories-hybrid-s22-trace-r01/experiment.md) | TinyStories | Hessian trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5463 | — | 61,689 | complete |
35
  | [stories-pilot-s00-ce-r00](./stories-pilot-s00-ce-r00/experiment.md) | TinyStories | Ordinary AdamW | pilot | 0 | 0.000 | 2,097,152 | 3.8770 | — | 123,871 | complete |
 
29
  | [stories-hybrid-s22-adaptive-r01](./stories-hybrid-s22-adaptive-r01/experiment.md) | TinyStories | Curvature-dependent hybrid | hybrid | 22 | 0.010 | 16,777,216 | 2.5463 | — | 37,992 | complete |
30
  | [stories-hybrid-s22-always-r01](./stories-hybrid-s22-always-r01/experiment.md) | TinyStories | Always-on hybrid | hybrid | 22 | 0.010 | 16,777,216 | 2.5460 | — | 25,017 | complete |
31
  | [stories-hybrid-s22-late-r01](./stories-hybrid-s22-late-r01/experiment.md) | TinyStories | Fixed late hybrid | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 39,514 | complete |
32
+ | [stories-hybrid-s22-replay-r01](./stories-hybrid-s22-replay-r01/experiment.md) | TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 14,745,600 | 2.5709 | — | — | training |
33
  | [stories-hybrid-s22-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 60,263 | complete |
34
  | [stories-hybrid-s22-trace-r01](./stories-hybrid-s22-trace-r01/experiment.md) | TinyStories | Hessian trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5463 | — | 61,689 | complete |
35
  | [stories-pilot-s00-ce-r00](./stories-pilot-s00-ce-r00/experiment.md) | TinyStories | Ordinary AdamW | pilot | 0 | 0.000 | 2,097,152 | 3.8770 | — | 123,871 | complete |
research/reports/experiments/learnings.md CHANGED
@@ -52,7 +52,7 @@ Independent random signs include mixed weight derivatives in the expected penalt
52
 
53
  - [stories-hybrid-s22-late-r01](./stories-hybrid-s22-late-r01/experiment.md) — Development NLL changed by -0.1858 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
54
 
55
- - [stories-hybrid-s22-replay-r01](./stories-hybrid-s22-replay-r01/experiment.md) — Development NLL changed by -0.0581 nats per target token from 8,912,896 to 10,485,760 training targets. Attribution to the regularizer uses matched comparisons across seeds.
56
 
57
  - [stories-hybrid-s22-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) — Development NLL changed by -0.1859 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
58
 
 
52
 
53
  - [stories-hybrid-s22-late-r01](./stories-hybrid-s22-late-r01/experiment.md) — Development NLL changed by -0.1858 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
54
 
55
+ - [stories-hybrid-s22-replay-r01](./stories-hybrid-s22-replay-r01/experiment.md) — Development NLL changed by -0.1623 nats per target token from 8,912,896 to 14,680,064 training targets. Attribution to the regularizer uses matched comparisons across seeds.
56
 
57
  - [stories-hybrid-s22-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) — Development NLL changed by -0.1859 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
58
 
research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md CHANGED
@@ -4,8 +4,8 @@ Run `stories-hybrid-s22-replay-r01` · [raw records](../../../results/stories-hy
4
 
5
  | Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
6
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
7
- | TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 10,977,280 | 2.6751 | — | — | training |
8
 
9
- Training time is 228.5 seconds. Peak allocated GPU memory is — MiB. Development token accuracy is 0.4475. Test token accuracy is —.
10
 
11
  [Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-hybrid-s22-replay-r01/config.json)
 
4
 
5
  | Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
6
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
7
+ | TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 14,745,600 | 2.5709 | — | — | training |
8
 
9
+ Training time is 385.0 seconds. Peak allocated GPU memory is — MiB. Development token accuracy is 0.4608. Test token accuracy is —.
10
 
11
  [Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-hybrid-s22-replay-r01/config.json)
research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md CHANGED
@@ -1,5 +1,5 @@
1
  # Run learnings
2
 
3
- Development NLL changed by -0.0581 nats per target token from 8,912,896 to 10,485,760 training targets. Attribution to the regularizer uses matched comparisons across seeds.
4
 
5
  [Experiment and source records](experiment.md)
 
1
  # Run learnings
2
 
3
+ Development NLL changed by -0.1623 nats per target token from 8,912,896 to 14,680,064 training targets. Attribution to the regularizer uses matched comparisons across seeds.
4
 
5
  [Experiment and source records](experiment.md)
research/reports/hybrid/results.md CHANGED
@@ -37,6 +37,7 @@ Two-sided directional width is measured in the original Euclidean weight coordin
37
  | 22 | Fixed late hybrid | [3072](../../results/stories-hybrid-s22-late-r01/width-3072.json) | 13.98975 | 13.98877 | 13.99072 | 0 | 2.65451 | 5.89 |
38
  | 22 | Fixed late hybrid | [4096](../../results/stories-hybrid-s22-late-r01/width-4096.json) | 13.26758 | 13.26660 | 13.26855 | 0 | 2.60476 | 5.90 |
39
  | 22 | Cross-seed replay | [2048](../../results/stories-hybrid-s22-replay-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
 
40
  | 22 | Stronger trace | [2048](../../results/stories-hybrid-s22-strong-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
41
  | 22 | Stronger trace | [3072](../../results/stories-hybrid-s22-strong-r01/width-3072.json) | 13.96240 | 13.96143 | 13.96338 | 0 | 2.65431 | 6.13 |
42
  | 22 | Stronger trace | [4096](../../results/stories-hybrid-s22-strong-r01/width-4096.json) | 13.23291 | 13.23193 | 13.23389 | 0 | 2.60456 | 6.56 |
 
37
  | 22 | Fixed late hybrid | [3072](../../results/stories-hybrid-s22-late-r01/width-3072.json) | 13.98975 | 13.98877 | 13.99072 | 0 | 2.65451 | 5.89 |
38
  | 22 | Fixed late hybrid | [4096](../../results/stories-hybrid-s22-late-r01/width-4096.json) | 13.26758 | 13.26660 | 13.26855 | 0 | 2.60476 | 5.90 |
39
  | 22 | Cross-seed replay | [2048](../../results/stories-hybrid-s22-replay-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
40
+ | 22 | Cross-seed replay | [3072](../../results/stories-hybrid-s22-replay-r01/width-3072.json) | 13.95166 | 13.95068 | 13.95264 | 0 | 2.65427 | 7.07 |
41
  | 22 | Stronger trace | [2048](../../results/stories-hybrid-s22-strong-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
42
  | 22 | Stronger trace | [3072](../../results/stories-hybrid-s22-strong-r01/width-3072.json) | 13.96240 | 13.96143 | 13.96338 | 0 | 2.65431 | 6.13 |
43
  | 22 | Stronger trace | [4096](../../results/stories-hybrid-s22-strong-r01/width-4096.json) | 13.23291 | 13.23193 | 13.23389 | 0 | 2.60456 | 6.56 |
research/reports/paper.pdf CHANGED
Binary files a/research/reports/paper.pdf and b/research/reports/paper.pdf differ
 
research/reports/progress.md CHANGED
@@ -1,6 +1,6 @@
1
  # Study progress
2
 
3
- Updated 2026-11-25T15:56:34+00:00.
4
 
5
  21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
6
 
 
1
  # Study progress
2
 
3
+ Updated 2026-11-25T15:59:25+00:00.
4
 
5
  21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
6
 
research/results/stories-hybrid-s22-replay-r01/events.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
research/results/stories-hybrid-s22-replay-r01/width-3072.json ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 3072,
3
+ "tokens": 12582912,
4
+ "baseline_nll": 2.654270648956299,
5
+ "delta_nll": 0.1,
6
+ "directions": [
7
+ {
8
+ "direction": 0,
9
+ "positive": {
10
+ "lower": 6.7705078125,
11
+ "upper": 6.771484375
12
+ },
13
+ "negative": {
14
+ "lower": 7.4677734375,
15
+ "upper": 7.46875
16
+ }
17
+ },
18
+ {
19
+ "direction": 1,
20
+ "positive": {
21
+ "lower": 6.763671875,
22
+ "upper": 6.7646484375
23
+ },
24
+ "negative": {
25
+ "lower": 7.552734375,
26
+ "upper": 7.5537109375
27
+ }
28
+ },
29
+ {
30
+ "direction": 2,
31
+ "positive": {
32
+ "lower": 7.1630859375,
33
+ "upper": 7.1640625
34
+ },
35
+ "negative": {
36
+ "lower": 6.65234375,
37
+ "upper": 6.6533203125
38
+ }
39
+ },
40
+ {
41
+ "direction": 3,
42
+ "positive": {
43
+ "lower": 7.8056640625,
44
+ "upper": 7.806640625
45
+ },
46
+ "negative": {
47
+ "lower": 6.9140625,
48
+ "upper": 6.9150390625
49
+ }
50
+ },
51
+ {
52
+ "direction": 4,
53
+ "positive": {
54
+ "lower": 7.267578125,
55
+ "upper": 7.2685546875
56
+ },
57
+ "negative": {
58
+ "lower": 6.7001953125,
59
+ "upper": 6.701171875
60
+ }
61
+ },
62
+ {
63
+ "direction": 5,
64
+ "positive": {
65
+ "lower": 7.6640625,
66
+ "upper": 7.6650390625
67
+ },
68
+ "negative": {
69
+ "lower": 6.26953125,
70
+ "upper": 6.2705078125
71
+ }
72
+ },
73
+ {
74
+ "direction": 6,
75
+ "positive": {
76
+ "lower": 7.9677734375,
77
+ "upper": 7.96875
78
+ },
79
+ "negative": {
80
+ "lower": 6.3212890625,
81
+ "upper": 6.322265625
82
+ }
83
+ },
84
+ {
85
+ "direction": 7,
86
+ "positive": {
87
+ "lower": 7.091796875,
88
+ "upper": 7.0927734375
89
+ },
90
+ "negative": {
91
+ "lower": 6.609375,
92
+ "upper": 6.6103515625
93
+ }
94
+ },
95
+ {
96
+ "direction": 8,
97
+ "positive": {
98
+ "lower": 7.4375,
99
+ "upper": 7.4384765625
100
+ },
101
+ "negative": {
102
+ "lower": 6.9912109375,
103
+ "upper": 6.9921875
104
+ }
105
+ },
106
+ {
107
+ "direction": 9,
108
+ "positive": {
109
+ "lower": 6.9990234375,
110
+ "upper": 7.0
111
+ },
112
+ "negative": {
113
+ "lower": 7.1416015625,
114
+ "upper": 7.142578125
115
+ }
116
+ },
117
+ {
118
+ "direction": 10,
119
+ "positive": {
120
+ "lower": 6.4736328125,
121
+ "upper": 6.474609375
122
+ },
123
+ "negative": {
124
+ "lower": 6.939453125,
125
+ "upper": 6.9404296875
126
+ }
127
+ },
128
+ {
129
+ "direction": 11,
130
+ "positive": {
131
+ "lower": 6.1396484375,
132
+ "upper": 6.140625
133
+ },
134
+ "negative": {
135
+ "lower": 7.544921875,
136
+ "upper": 7.5458984375
137
+ }
138
+ },
139
+ {
140
+ "direction": 12,
141
+ "positive": {
142
+ "lower": 6.8173828125,
143
+ "upper": 6.818359375
144
+ },
145
+ "negative": {
146
+ "lower": 7.4365234375,
147
+ "upper": 7.4375
148
+ }
149
+ },
150
+ {
151
+ "direction": 13,
152
+ "positive": {
153
+ "lower": 6.8125,
154
+ "upper": 6.8134765625
155
+ },
156
+ "negative": {
157
+ "lower": 6.9833984375,
158
+ "upper": 6.984375
159
+ }
160
+ },
161
+ {
162
+ "direction": 14,
163
+ "positive": {
164
+ "lower": 7.0068359375,
165
+ "upper": 7.0078125
166
+ },
167
+ "negative": {
168
+ "lower": 6.2353515625,
169
+ "upper": 6.236328125
170
+ }
171
+ },
172
+ {
173
+ "direction": 15,
174
+ "positive": {
175
+ "lower": 6.9921875,
176
+ "upper": 6.9931640625
177
+ },
178
+ "negative": {
179
+ "lower": 6.876953125,
180
+ "upper": 6.8779296875
181
+ }
182
+ }
183
+ ],
184
+ "width_lower": 13.95068359375,
185
+ "width_upper": 13.95263671875,
186
+ "width": 13.95166015625,
187
+ "censored_rays": 0,
188
+ "weights_sha256": "a8d6aa35e2d4a18777c15af543e42235c9715bc0d763a8d7731e71ff1b175b3b",
189
+ "weights_restored": true,
190
+ "seconds": 7.073468700000376
191
+ }
research/src/thirdloss/readme_comparisons.py CHANGED
@@ -97,10 +97,19 @@ def _paired_runs(study,stage,phase,methods):
97
  if any(len(groups.get((seed,m),[]))!=1 for m in methods):
98
  continue
99
  pair={m:dict(groups[seed,m][0]) for m in methods}
100
- provenance=("initial_trainable_sha256","data_manifest_sha256","dev_tokens")
101
  if any(not all(r.get(key) for r in pair.values()) or len({r[key] for r in pair.values()})!=1
102
  for key in provenance):
103
  continue
 
 
 
 
 
 
 
 
 
104
  if methods==PRIMARY:
105
  timed=_time_match(seed,{(seed,m):r for m,r in pair.items()})
106
  if timed:
@@ -188,6 +197,10 @@ def comparison_sections(study):
188
  +f"[Strength selection](results/selection/{stage}.json) · [Experiment ledger](reports/experiments/experiments.md)")
189
  metrics=((TEST,TEST_ACC) if final else ())+ (NLL,ACCURACY,EQUAL_TIME,SPEED,MEMORY)
190
  detail.append(_score_table(pairs,PRIMARY,metrics,(("third","ce"),("third","trace"))))
 
 
 
 
191
  samples.append(_sample_panel(pairs,PRIMARY,name))
192
  timed=[p for p in pairs if "equal_time_cutoff" in p["ce"]]
193
  if timed:
 
97
  if any(len(groups.get((seed,m),[]))!=1 for m in methods):
98
  continue
99
  pair={m:dict(groups[seed,m][0]) for m in methods}
100
+ provenance=("data_manifest_sha256","dev_tokens")
101
  if any(not all(r.get(key) for r in pair.values()) or len({r[key] for r in pair.values()})!=1
102
  for key in provenance):
103
  continue
104
+ hashes={r.get("initial_trainable_sha256") for r in pair.values()}
105
+ if hashes=={None} and (stage,phase)==("stories","pilot"):
106
+ # Early scratch pilots recorded the seed and first ordinary update before weight digests existed.
107
+ first=[next((e for e in r.get("events",[]) if e.get("step")==1),{}) for r in pair.values()]
108
+ fields=("tokens","loss","accuracy","gradient_norm")
109
+ if any(not all(finite(e.get(k)) for e in first) or len({e[k] for e in first})!=1 for k in fields):
110
+ continue
111
+ elif len(hashes)!=1 or not all(hashes):
112
+ continue
113
  if methods==PRIMARY:
114
  timed=_time_match(seed,{(seed,m):r for m,r in pair.items()})
115
  if timed:
 
197
  +f"[Strength selection](results/selection/{stage}.json) · [Experiment ledger](reports/experiments/experiments.md)")
198
  metrics=((TEST,TEST_ACC) if final else ())+ (NLL,ACCURACY,EQUAL_TIME,SPEED,MEMORY)
199
  detail.append(_score_table(pairs,PRIMARY,metrics,(("third","ce"),("third","trace"))))
200
+ if not pairs[0]["ce"].get("initial_trainable_sha256"):
201
+ detail.append("These early TinyStories pilots share the initialization seed and identical "
202
+ "first-update token count, loss, accuracy and gradient norm. Initial weight digests "
203
+ "were first recorded in later runs. [First-update records](reports/experiments/experiments.md)")
204
  samples.append(_sample_panel(pairs,PRIMARY,name))
205
  timed=[p for p in pairs if "equal_time_cutoff" in p["ce"]]
206
  if timed:
research/tests/test_readme_comparisons.py CHANGED
@@ -70,3 +70,16 @@ def test_output_panel_requires_identical_prompts_and_escapes_generated_markup(tm
70
  assert "same prompt, seed 0" in detail and "&lt;bird&gt; \\| sang" in detail
71
  study["runs"][1]["samples"][0]["prompt"]="A different bird"
72
  assert "same prompt, seed 0" not in comparison_sections(study)[1]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  assert "same prompt, seed 0" in detail and "&lt;bird&gt; \\| sang" in detail
71
  study["runs"][1]["samples"][0]["prompt"]="A different bird"
72
  assert "same prompt, seed 0" not in comparison_sections(study)[1]
73
+
74
+
75
+ def test_legacy_stories_pilots_require_matching_first_update_when_initial_hash_is_absent(tmp_path):
76
+ study=study_snapshot(tmp_path)
77
+ for method in ("ce","trace","third"):
78
+ row=pilot(method,3.,100,0. if method=="ce" else .03)
79
+ del row["initial_trainable_sha256"]
80
+ row["events"]=[{"step":1,"tokens":4096,"loss":8.35,"accuracy":.003,"gradient_norm":1.88}]
81
+ study["runs"].append(row)
82
+ top,detail=comparison_sections(study)
83
+ assert "TinyStories pretraining · dev" in top and "first-update" in detail
84
+ study["runs"][1]["events"][0]["gradient_norm"]+=.01
85
+ assert "TinyStories pretraining · dev" not in comparison_sections(study)[0]