BurnyCoder commited on
Commit
26b9902
·
verified ·
1 Parent(s): 108b53a

Publish side-by-side comparisons of matched scores, speed, memory and width

Browse files
README.md CHANGED
@@ -7,6 +7,115 @@ tags: [scientific-research, causal-language-modeling]
7
 
8
  Does penalizing changes in loss curvature improve next-token prediction? The study compares ordinary AdamW, Hessian-trace regularization and the squared Frobenius norm of the third derivative with respect to trainable weights. Every trial, including the excluded numerical diagnostic, has a public record. [Paper](research/reports/paper.pdf) · [Current results](research/reports/summary.md) · [Interactive explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378)
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  | Material | Hugging Face location |
11
  |---|---|
12
  | Complete Git tree, locked environment, tests and instructions | [Research tree](https://huggingface.co/BurnyCoder/thirdloss-study/tree/main/research) · [README](research/README.md) |
 
7
 
8
  Does penalizing changes in loss curvature improve next-token prediction? The study compares ordinary AdamW, Hessian-trace regularization and the squared Frobenius norm of the third derivative with respect to trainable weights. Every trial, including the excluded numerical diagnostic, has a public record. [Paper](research/reports/paper.pdf) · [Current results](research/reports/summary.md) · [Interactive explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378)
9
 
10
+ <!-- COMPARISONS:START -->
11
+
12
+ ## Results at a glance
13
+
14
+ Lower next-token loss (NLL) means a model assigned more probability to the words that actually came next. Training speed counts target tokens per second.
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.
21
+
22
+ Both primary test decisions are pending. Each stage requires eight paired test seeds and superiority over both baselines under Holm correction.
23
+
24
+ [Side-by-side scores, accuracy, speed, memory and width](#side-by-side-comparisons) · [Live explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Paired tests and intervals](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/summary.md)
25
+
26
+ ## Side-by-side comparisons
27
+
28
+ ↓ means lower is preferred. ↑ means higher is preferred. Bold highlights the best observed value when methods differ at the displayed precision. A tie means the paired difference rounds to zero. NLL is negative log-likelihood in nats per target. Accuracy differences use percentage points (pp).
29
+
30
+ ### TinyStories pretraining
31
+
32
+ Awaiting matched checkpoints for AdamW, Hessian trace and third order.
33
+
34
+ ### Pythia-410M adapters
35
+
36
+ **Full development split · one development pilot seed · 65,536 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/abstracts.json) · [Experiment ledger](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
37
+
38
+ | Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace |
39
+ | --- | --- | --- | --- | --- | --- |
40
+ | Development NLL ↓ | **3.113948** | 3.113974 | 3.114247 | 0.000300 higher | 0.000273 higher |
41
+ | Dev top-1 accuracy ↑ | **41.321%** | **41.321%** | 41.315% | 0.006 pp lower | 0.006 pp lower |
42
+ | Training speed ↑ (targets/s) | **1,659** | 435 | 189 | 88.6% slower | 56.5% slower |
43
+ | Peak GPU allocation ↓ (MiB) | 2,346.3 | 2,346.3 | 2,346.3 | Tie | Tie |
44
+
45
+ An equal-time NLL comparison is pending because at least one arm lacks a recorded development checkpoint at or before the shared cutoff.
46
+
47
+ Observed host-process memory high-water marks were AdamW 3.78 GiB, Hessian trace 10.28 GiB, Third order 13.09 GiB. This measure includes earlier work in each interpreter.
48
+
49
+ Awaiting paired test results (0 of 8 full-horizon training triplets).
50
+
51
+ The equal-time row uses the last available fixed-window development score at or before the fastest run’s finish time in each seed. Full-split NLL uses every development target. Training speed includes regularizer probes. Adapter derivatives use CPU float64 with one GPU reserved. [Timing definitions and checkpoint lags](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/summary.md)
52
+
53
+ ### TinyStories hybrid schedules
54
+
55
+ **Adaptive vs fixed ramp · 2/8 paired seeds · 16,777,216 targets per run.** Both arms resume the same trace-trained checkpoint. Width change is final width minus width at the switch. A larger change means more width retained at the fixed loss tolerance.
56
+
57
+ | Metric | Adaptive | Fixed ramp | vs Fixed ramp |
58
+ | --- | --- | --- | --- |
59
+ | Development NLL ↓ | **2.546107** | 2.546281 | 0.000174 lower |
60
+ | Dev top-1 accuracy ↑ | 46.205% | **46.208%** | 0.002 pp lower |
61
+ | Width change after switch ↑ | -2.0865 | **-2.0311** | 0.0554 less retained |
62
+ | Training speed ↑ (targets/s) | **40,983** | 40,328 | 1.5% faster |
63
+ | Peak GPU allocation ↓ (MiB) | 617.3 | 617.3 | Tie |
64
+
65
+ The remaining controls are paired independently. Each row uses only seeds that finished both arms. The always-on arm has its own measured width at the switch.
66
+
67
+ | Adaptive versus | Paired seeds | Adaptive NLL | Adaptive width change | Adaptive speed |
68
+ | --- | --- | --- | --- | --- |
69
+ | Cross-seed replay | 0/8 | Pending | — | — |
70
+ | Hessian trace | 2/8 | 0.000002 higher | 0.0015 more retained | 35.0% slower |
71
+ | Stronger trace | 2/8 | 0.000092 lower | 0.0178 less retained | 35.5% slower |
72
+ | Always-on hybrid | 2/8 | 0.000161 higher | 0.0111 less retained | 48.0% faster |
73
+
74
+ **Registered width decision** · Awaiting eight paired width measurements. Width probes use fixed training windows. [Every width, training-fit flag, replay and paired difference](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/hybrid/results.md)
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
+
82
+ **Untrained references · zero training targets**
83
+
84
+ | Stage | Initial NLL ↓ | Unigram NLL ↓ | Initial accuracy ↑ | Unigram accuracy ↑ |
85
+ | --- | --- | --- | --- | --- |
86
+ | TinyStories pretraining | 8.343680 | 6.003555 | 0.312% | 7.151% |
87
+ | Pythia-410M adapters | 3.251674 | 7.330611 | 39.911% | 6.023% |
88
+
89
+ </details>
90
+
91
+ ### Same-prompt continuations
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>
98
+
99
+ | [AdamW](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/abstracts-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/abstracts-pilot-s00-trace-r01-fp64/samples.jsonl) | [Third order](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/abstracts-pilot-s00-third-r01-fp64/samples.jsonl) |
100
+ | --- | --- | --- |
101
+ | <samp> that will accurately predict the behavior of<br>patient-specific neurological disorders such as epilepsy. In this paper, we<br>present a novel dataset of EEG data recorded from children with focal<br>subcortical epilepsy</samp> | <samp> that will be used to assess the cognitive<br>performance of neurological disorders. We will focus on three major areas:<br>(1) the nervous system as a whole, (2) the brain regions that</samp> | <samp> that will accurately predict the behavior of<br>patient-specific neurological disorders such as epilepsy. In this paper, we<br>present a novel dataset of EEG data recorded from children with focal<br>subcortical epilepsy</samp> |
102
+
103
+ </details>
104
+
105
+ <details><summary>TinyStories hybrid schedules · same prompt, seed 21</summary>
106
+
107
+ **Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
108
+
109
+ | [Adaptive](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-hybrid-s21-adaptive-r01/samples.jsonl) | [Fixed ramp](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-hybrid-s21-late-r01/samples.jsonl) |
110
+ | --- | --- |
111
+ | <samp> to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.<br><br>One day, Max found a big hole in his house</samp> | <samp> to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.<br><br>One day, Max found a big hole in his mail</samp> |
112
+
113
+ </details>
114
+
115
+ <!-- COMPARISONS:END -->
116
+
117
+ ## Research materials
118
+
119
  | Material | Hugging Face location |
120
  |---|---|
121
  | Complete Git tree, locked environment, tests and instructions | [Research tree](https://huggingface.co/BurnyCoder/thirdloss-study/tree/main/research) · [README](research/README.md) |
logs/readme-comparison-release.log ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
2
+
3
+ Processing Files (0 / 0) : | | 0.00B / 0.00B
4
+
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 
55
+
56
+
57
+ : 100%|##########| 116kB / 116kB 
58
+
59
+
60
+ : 100%|##########| 296kB / 296kB 
61
+
62
+
63
+ : 100%|##########| 116kB / 116kB 
64
+
65
+
66
+ : 100%|##########| 116kB / 116kB 
67
+
68
+
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
+
105
+ Validating : ##########| 100% 
106
+
107
+
108
+ : 100%|##########| 296kB / 296kB 
109
+
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
+
119
+ : 100%|##########| 296kB / 296kB
logs/readme-comparison-render.log CHANGED
@@ -1 +1,2 @@
1
  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.
logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl ADDED
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
 
logs/study-20261125T151603Z-hybrid-stderr.log CHANGED
@@ -3171,3 +3171,70 @@ findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
3171
 
3172
 
3173
 
3174
  : 100%|##########| 114kB / 114kB
 
 
 
 
3175
  : 14%|#4 | 86.4kB / 600kB 
 
 
3176
  : 14%|#4 | 86.4kB / 600kB 
 
 
3177
  : 100%|##########| 114kB / 114kB 
 
 
3178
  : 100%|##########| 293kB / 293kB 
 
 
3179
  : 100%|##########| 114kB / 114kB 
 
 
3180
  : 100%|##########| 293kB / 293kB 
 
 
3181
  : 100%|##########| 114kB / 114kB 
 
 
3182
  : 14%|#4 | 86.4kB / 600kB 
 
 
3183
  : 100%|##########| 114kB / 114kB 
 
 
3184
  : 14%|#4 | 86.4kB / 600kB 
 
 
3185
  : 100%|##########| 114kB / 114kB 
 
 
 
3186
  : 100%|##########| 293kB / 293kB 
 
 
3187
  : 100%|##########| 600kB / 600kB 
 
 
3188
  : 100%|##########| 293kB / 293kB 
 
 
3189
  : 100%|##########| 114kB / 114kB 
 
 
3190
  : 100%|##########| 114kB / 114kB 
 
 
3191
  : 100%|##########| 293kB / 293kB 
 
 
3192
  : 100%|##########| 114kB / 114kB 
 
 
3193
  : 100%|##########| 114kB / 114kB 
 
 
3194
  : 100%|##########| 293kB / 293kB 
 
 
 
 
 
 
 
 
3195
  : 100%|##########| 293kB / 293kB 
 
 
 
 
 
3196
  : 100%|##########| 600kB / 600kB 
 
 
 
 
 
3197
  : 100%|##########| 114kB / 114kB 
 
 
 
 
 
 
3198
  : 100%|##########| 114kB / 114kB
 
3171
 
3172
 
3173
 
3174
  : 100%|##########| 114kB / 114kB
3175
+
3176
+
3177
+
3178
+
3179
  : 14%|#4 | 86.4kB / 600kB 
3180
+
3181
+
3182
  : 14%|#4 | 86.4kB / 600kB 
3183
+
3184
+
3185
  : 100%|##########| 114kB / 114kB 
3186
+
3187
+
3188
  : 100%|##########| 293kB / 293kB 
3189
+
3190
+
3191
  : 100%|##########| 114kB / 114kB 
3192
+
3193
+
3194
  : 100%|##########| 293kB / 293kB 
3195
+
3196
+
3197
  : 100%|##########| 114kB / 114kB 
3198
+
3199
+
3200
  : 14%|#4 | 86.4kB / 600kB 
3201
+
3202
+
3203
  : 100%|##########| 114kB / 114kB 
3204
+
3205
+
3206
  : 14%|#4 | 86.4kB / 600kB 
3207
+
3208
+
3209
  : 100%|##########| 114kB / 114kB 
3210
+
3211
+
3212
+
3213
  : 100%|##########| 293kB / 293kB 
3214
+
3215
+
3216
  : 100%|##########| 600kB / 600kB 
3217
+
3218
+
3219
  : 100%|##########| 293kB / 293kB 
3220
+
3221
+
3222
  : 100%|##########| 114kB / 114kB 
3223
+
3224
+
3225
  : 100%|##########| 114kB / 114kB 
3226
+
3227
+
3228
  : 100%|##########| 293kB / 293kB 
3229
+
3230
+
3231
  : 100%|##########| 114kB / 114kB 
3232
+
3233
+
3234
  : 100%|##########| 114kB / 114kB 
3235
+
3236
+
3237
  : 100%|##########| 293kB / 293kB 
3238
+
3239
+
3240
+
3241
+
3242
+
3243
+
3244
+
3245
+
3246
  : 100%|##########| 293kB / 293kB 
3247
+
3248
+
3249
+
3250
+
3251
+
3252
  : 100%|##########| 600kB / 600kB 
3253
+
3254
+
3255
+
3256
+
3257
+
3258
  : 100%|##########| 114kB / 114kB 
3259
+
3260
+
3261
+
3262
+
3263
+
3264
+
3265
  : 100%|##########| 114kB / 114kB
publication.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378",
3
- "git_revision": "2f29a5d7136295b6707bb6255cee09de9e045742",
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": "ad13fa030cc4f29f0e001007fd82da8331b621a8",
75
- "sha256": "5e073f267790e416f5cf42de8202d3c8e4caa4713c21062d1b7a1f3f00721417",
76
- "size": 293325
77
  },
78
  "figures/hybrid_width.png": {
79
- "git_blob": "8eb6b3e1c45d41b87821aaea53974adce5d4c650",
80
- "sha256": "9cd67084cf04c5449b7fdca88983188203ae7b1697b42e13c5e75f945d71b143",
81
- "size": 113824
82
  },
83
  "figures/penalty-directions.png": {
84
  "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
@@ -91,12 +91,12 @@
91
  "size": 9426
92
  },
93
  "study.json": {
94
- "git_blob": "899c43156645bde2093ca443d27c83487a91d6a3",
95
- "sha256": "6dc84dbd18bed6088958f438e6f2a8ad7adb85f586fb5f18c872deb51d2690a1",
96
- "size": 1707973
97
  }
98
  },
99
- "revision": "0ec1088c3b8f2560e9389684773c0e5988d063a7",
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": "ee772cf8d4ff5167cac4e1fb909b635048151f6c",
1178
- "sha256": "dd537d51bbcda1b3a7bad704c654308ddf0654574c95e884ff0757a7e671ffa4",
1179
- "size": 2388
1180
  },
1181
  "logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": {
1182
  "git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",
@@ -1373,10 +1373,15 @@
1373
  "sha256": "a9ae5ac0c1117072fdea010763d5c9007fb25f4ac5e699eedd799281ec784bbf",
1374
  "size": 3895
1375
  },
 
 
 
 
 
1376
  "logs/readme-comparison-render.log": {
1377
- "git_blob": "37bbb4bdbd164007d9e8e84ddbdb5e73b2a11e1d",
1378
- "sha256": "2ae7e37a0d60013de1b3d6870314f24554d6f4af83d0ce06b372b1eed3a9b1c6",
1379
- "size": 79
1380
  },
1381
  "logs/stories-branch-s21-trunk-r01-20261125T103522576232Z.jsonl": {
1382
  "git_blob": "1fa0317bc627e9cafc2ac47ee1257c5b660642e8",
@@ -1448,6 +1453,11 @@
1448
  "sha256": "04db4371d5fa98139e1231e107486ba9cc770f0227d14fc7e44308c5e68a5995",
1449
  "size": 315447
1450
  },
 
 
 
 
 
1451
  "logs/stories-hybrid-s22-strong-r01-20261125T153820400099Z.jsonl": {
1452
  "git_blob": "4a4c5e6c1fea3b28c8437d31982325056292c25e",
1453
  "sha256": "3749c11c548a648277e6ea50de330ab67757b09ff0e85e2ec630007d0f2a4c16",
@@ -1559,14 +1569,14 @@
1559
  "size": 1152414
1560
  },
1561
  "logs/study-20261125T151603Z-hybrid-confirmation.log": {
1562
- "git_blob": "62a589256a351d924dafb9883631673c4e1d1baf",
1563
- "sha256": "13106c553ecd697bea6899e2fabd2fc474abccade6e6d72cc897be7aff09d389",
1564
- "size": 2111834
1565
  },
1566
  "logs/study-20261125T151603Z-hybrid-stderr.log": {
1567
- "git_blob": "f1c04a489146c72baf20ba0b454f689228f11117",
1568
- "sha256": "dd53f0027ef820ac3138a1845cebe592a56722281c7c925b44052f1af00288a2",
1569
- "size": 182196
1570
  },
1571
  "logs/update-diagnostic-modelcard.log": {
1572
  "git_blob": "86afaf365d1f2181f812d84b59017f771f2e9683",
@@ -1634,9 +1644,9 @@
1634
  "size": 786
1635
  },
1636
  "research/README.md": {
1637
- "git_blob": "12d9e2f94bbdb1f8a7dc7259437dce7bf12f7bbe",
1638
- "sha256": "8f43f6712fce40bd93c881223f70104941ea2eb24812cc4f875a34df0ae1d799",
1639
- "size": 29386
1640
  },
1641
  "research/docs/data.md": {
1642
  "git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",
@@ -1659,14 +1669,14 @@
1659
  "size": 63324
1660
  },
1661
  "research/docs/figures/curves.png": {
1662
- "git_blob": "ad13fa030cc4f29f0e001007fd82da8331b621a8",
1663
- "sha256": "5e073f267790e416f5cf42de8202d3c8e4caa4713c21062d1b7a1f3f00721417",
1664
- "size": 293325
1665
  },
1666
  "research/docs/figures/hybrid_width.png": {
1667
- "git_blob": "8eb6b3e1c45d41b87821aaea53974adce5d4c650",
1668
- "sha256": "9cd67084cf04c5449b7fdca88983188203ae7b1697b42e13c5e75f945d71b143",
1669
- "size": 113824
1670
  },
1671
  "research/docs/figures/penalty-directions.png": {
1672
  "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",
@@ -1689,9 +1699,9 @@
1689
  "size": 1583
1690
  },
1691
  "research/docs/hub/archive.md": {
1692
- "git_blob": "ee772cf8d4ff5167cac4e1fb909b635048151f6c",
1693
- "sha256": "dd537d51bbcda1b3a7bad704c654308ddf0654574c95e884ff0757a7e671ffa4",
1694
- "size": 2388
1695
  },
1696
  "research/docs/hub/space.md": {
1697
  "git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",
@@ -1714,9 +1724,9 @@
1714
  "size": 8150
1715
  },
1716
  "research/docs/study.json": {
1717
- "git_blob": "899c43156645bde2093ca443d27c83487a91d6a3",
1718
- "sha256": "6dc84dbd18bed6088958f438e6f2a8ad7adb85f586fb5f18c872deb51d2690a1",
1719
- "size": 1707973
1720
  },
1721
  "research/docs/third-derivative-penalty.md": {
1722
  "git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",
@@ -1844,14 +1854,14 @@
1844
  "size": 231
1845
  },
1846
  "research/reports/experiments/experiments.md": {
1847
- "git_blob": "62adbc06733054d80267393ed462ff685b0f8372",
1848
- "sha256": "9a0045068e8135071061e2220a88696a5a608785395b619e1b0ca2f614edbe50",
1849
- "size": 7017
1850
  },
1851
  "research/reports/experiments/learnings.md": {
1852
- "git_blob": "03c93cc5b5f0f48a511925a2e4e6e006123609d4",
1853
- "sha256": "fdebb92a0cdd9963db0e43ad396b9784ba4b27a545625d37d3596f1235b7aa78",
1854
- "size": 9425
1855
  },
1856
  "research/reports/experiments/stories-branch-s21-trunk-r01/experiment.md": {
1857
  "git_blob": "89dd0c1f4c4edd8fc49122a9b2f2076d744f9d27",
@@ -1973,6 +1983,16 @@
1973
  "sha256": "faa00edd2735b8d30bb019fa89b18517394de65f33cdca798ff06401fde46585",
1974
  "size": 239
1975
  },
 
 
 
 
 
 
 
 
 
 
1976
  "research/reports/experiments/stories-hybrid-s22-strong-r01/experiment.md": {
1977
  "git_blob": "1d7967f51fd18cd634c16db14443f25e523cfd7e",
1978
  "sha256": "cc0ba8efe13b7cc7a7fb9c6957a49569052531dc02ac4d152571660d70133ec9",
@@ -2099,9 +2119,9 @@
2099
  "size": 7658
2100
  },
2101
  "research/reports/hybrid/results.md": {
2102
- "git_blob": "67810ecb8e028cfcd57382be1d25d1eaeafc374e",
2103
- "sha256": "cc9fdbbc2c322911767dbd6ad3eaedbc1ae1a4a5a4a919a8502082c9727db08c",
2104
- "size": 9619
2105
  },
2106
  "research/reports/literature-review.md": {
2107
  "git_blob": "60cb61940a961b869b09e18931fb885668994e62",
@@ -2109,9 +2129,9 @@
2109
  "size": 7290
2110
  },
2111
  "research/reports/paper.pdf": {
2112
- "git_blob": "05d1601c2ac8af212e2c88495cfac7c82411138b",
2113
- "sha256": "b87ca0ed291a358865c7661437161a3700830fd6f565976f6736a8e2413e10ed",
2114
- "size": 599553
2115
  },
2116
  "research/reports/plan.md": {
2117
  "git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",
@@ -2129,8 +2149,8 @@
2129
  "size": 5234
2130
  },
2131
  "research/reports/progress.md": {
2132
- "git_blob": "771313d0c9cdd74ec50f467e6dd691dcf9b8fceb",
2133
- "sha256": "d1250b18035f0a18e8cd476e5c5f1fd8f0f2f495d1cdf6e1ec7689b21dd4df7b",
2134
  "size": 2289
2135
  },
2136
  "research/reports/reviews/adapter-verification.md": {
@@ -2154,8 +2174,8 @@
2154
  "size": 1740
2155
  },
2156
  "research/reports/summary.md": {
2157
- "git_blob": "06ec1c4cc5d2570276a11cff96c0d6cf8e5c66f2",
2158
- "sha256": "3fe8247e38c3e976775f0c2ce4111ecd73d4c5e74d5dea6f88d7a0a7cf999db4",
2159
  "size": 4137
2160
  },
2161
  "research/results/abstracts-control-s00-initial-r00/config.json": {
@@ -2963,6 +2983,26 @@
2963
  "sha256": "b53ee2b13670d7c74d3575ee8fc139556410bf143c12ee109f9cc695aa5931d8",
2964
  "size": 3737
2965
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2966
  "research/results/stories-hybrid-s22-strong-r01/config.json": {
2967
  "git_blob": "6bba935c4c883d5c4dd7cf27ed3ea91065e1c033",
2968
  "sha256": "aacc60e5c12efbfd745db701d92d98472f97cd1f8b468c9e5ff82789c7d20855",
@@ -3403,6 +3443,11 @@
3403
  "sha256": "d5525a0a19a9a63dc845681334759f8e157c12342a75cf9eb1056e350bcbd95b",
3404
  "size": 11879
3405
  },
 
 
 
 
 
3406
  "research/src/thirdloss/records.py": {
3407
  "git_blob": "a800de00d42944f13a89d8d2f91ce9b2103bbd45",
3408
  "sha256": "2b0854f8cfc69bab9fe96d92a5c4b6bf43aee86e192cf2bf512089268d556b23",
@@ -3424,14 +3469,14 @@
3424
  "size": 33672
3425
  },
3426
  "research/src/thirdloss/report_records.py": {
3427
- "git_blob": "20ffcb5e70266131ef79e664445f97bd9f7515c2",
3428
- "sha256": "583e0982adf33850d36ad8636320828b9da1f13601c935b6721db44c9436b6fa",
3429
- "size": 13512
3430
  },
3431
  "research/src/thirdloss/reporting.py": {
3432
- "git_blob": "03093ea95b14b334e4a717b5d9922071b45145d4",
3433
- "sha256": "e27c2f5ff211b8300cdeedd7c79d10c8cb5743f56dc158d284fbf8b1502280c4",
3434
- "size": 21300
3435
  },
3436
  "research/src/thirdloss/study.py": {
3437
  "git_blob": "f614c1a8d70f4e8b5b2738d6e26633b0e9ee6f98",
@@ -3483,6 +3528,11 @@
3483
  "sha256": "2c27a0580b471a276299b3d1b110311edc277470cb74c43a066db4de8794583a",
3484
  "size": 9862
3485
  },
 
 
 
 
 
3486
  "research/tests/test_reporting.py": {
3487
  "git_blob": "8d35cec22ff32950b18690c8af5142d0b44bc644",
3488
  "sha256": "6a144d3dbae968da797bb4765c8c37b1543abc9e54d32e88f6de8ef8d9218bf5",
@@ -3548,5 +3598,5 @@
3548
  "type": "dataset"
3549
  }
3550
  },
3551
- "verified_at": "2026-11-25T15:54:45+00:00"
3552
  }
 
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
  "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
  "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
  "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",
 
1373
  "sha256": "a9ae5ac0c1117072fdea010763d5c9007fb25f4ac5e699eedd799281ec784bbf",
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",
 
1453
  "sha256": "04db4371d5fa98139e1231e107486ba9cc770f0227d14fc7e44308c5e68a5995",
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",
1463
  "sha256": "3749c11c548a648277e6ea50de330ab67757b09ff0e85e2ec630007d0f2a4c16",
 
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",
1578
+ "sha256": "f42791d65b283b3077497167ee8aa171e755b8d4d0c7d1a468864ceaa14b7f20",
1579
+ "size": 185264
1580
  },
1581
  "logs/update-diagnostic-modelcard.log": {
1582
  "git_blob": "86afaf365d1f2181f812d84b59017f771f2e9683",
 
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
  "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
  "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
  "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
  "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": {
1867
  "git_blob": "89dd0c1f4c4edd8fc49122a9b2f2076d744f9d27",
 
1983
  "sha256": "faa00edd2735b8d30bb019fa89b18517394de65f33cdca798ff06401fde46585",
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": {
1997
  "git_blob": "1d7967f51fd18cd634c16db14443f25e523cfd7e",
1998
  "sha256": "cc0ba8efe13b7cc7a7fb9c6957a49569052531dc02ac4d152571660d70133ec9",
 
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
  "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
  "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": {
 
2174
  "size": 1740
2175
  },
2176
  "research/reports/summary.md": {
2177
+ "git_blob": "1adceb9c135025db2ad9e198a434622ef4a53ce8",
2178
+ "sha256": "21fa9322d642c47f56e844adcce298ce6d6babf7f297ce98729cc1800d9f6352",
2179
  "size": 4137
2180
  },
2181
  "research/results/abstracts-control-s00-initial-r00/config.json": {
 
2983
  "sha256": "b53ee2b13670d7c74d3575ee8fc139556410bf143c12ee109f9cc695aa5931d8",
2984
  "size": 3737
2985
  },
2986
+ "research/results/stories-hybrid-s22-replay-r01/config.json": {
2987
+ "git_blob": "24324c8519cbdf3809fafbfac9e4bb47725ca807",
2988
+ "sha256": "ceff657720e0e20286a63b463e20510e3e4c84afa76b69f063980f80ae113f59",
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",
2998
+ "sha256": "2d4f4e71fd40677981dd8031df300c6c09d4e1d19a721b8872b0abd117d6e6e3",
2999
+ "size": 71
3000
+ },
3001
+ "research/results/stories-hybrid-s22-replay-r01/width-2048.json": {
3002
+ "git_blob": "09383628f27f729dfbaa26ff94717774591d4cdb",
3003
+ "sha256": "27a6110fb66dcb37fbb2beafa588547640cedbca6418f85f07a3a4078767fc0a",
3004
+ "size": 3727
3005
+ },
3006
  "research/results/stories-hybrid-s22-strong-r01/config.json": {
3007
  "git_blob": "6bba935c4c883d5c4dd7cf27ed3ea91065e1c033",
3008
  "sha256": "aacc60e5c12efbfd745db701d92d98472f97cd1f8b468c9e5ff82789c7d20855",
 
3443
  "sha256": "d5525a0a19a9a63dc845681334759f8e157c12342a75cf9eb1056e350bcbd95b",
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",
3453
  "sha256": "2b0854f8cfc69bab9fe96d92a5c4b6bf43aee86e192cf2bf512089268d556b23",
 
3469
  "size": 33672
3470
  },
3471
  "research/src/thirdloss/report_records.py": {
3472
+ "git_blob": "2d8a9c6ec55e68db2e67d03dafd77d14e2608bc7",
3473
+ "sha256": "8c7b10fe4b513fac752e8b3d581ecb034e8b8fd618a839830d968edb1294bc28",
3474
+ "size": 13925
3475
  },
3476
  "research/src/thirdloss/reporting.py": {
3477
+ "git_blob": "b1008d0f0117894548fad2ddbb5498e7e21809fa",
3478
+ "sha256": "0a356d46ca776acb3dfa4e71a9fcb7c7c08d33775e51e378da649b5d4fb58eef",
3479
+ "size": 21439
3480
  },
3481
  "research/src/thirdloss/study.py": {
3482
  "git_blob": "f614c1a8d70f4e8b5b2738d6e26633b0e9ee6f98",
 
3528
  "sha256": "2c27a0580b471a276299b3d1b110311edc277470cb74c43a066db4de8794583a",
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",
3538
  "sha256": "6a144d3dbae968da797bb4765c8c37b1543abc9e54d32e88f6de8ef8d9218bf5",
 
3598
  "type": "dataset"
3599
  }
3600
  },
3601
+ "verified_at": "2026-11-25T15:56:50+00:00"
3602
  }
research/README.md CHANGED
@@ -1,5 +1,27 @@
1
  # Third derivatives in language-model training
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Sepp Hochreiter and Jürgen Schmidhuber proposed that **among models that fit the training data equally well, those in flatter minima may generalize better to unseen data**. In a flat minimum, many nearby weight settings still fit. If some weights can be rounded more coarsely without spoiling the fit, a good predictor can take fewer bits to describe under a fixed encoding. Their minimum-description-length argument links that shorter description to a lower risk of overfitting. [Hochreiter and Schmidhuber, *Flat Minima* (1997), §1](https://people.idsia.ch/~juergen/fm/node1.html)
4
 
5
  **Why did earlier papers use the Hessian?** At a smooth minimum the gradient is zero, whether the valley is sharp or flat. The Hessian gives a quadratic approximation to how much training loss rises when the weights move. For small steps of equal size in uniformly random directions, the predicted average rise is proportional to the **Hessian trace**, the sum of second derivatives along the weight coordinates. The researchers penalized the trace to favor fits that tolerate small weight changes and tested whether those fits generalize better. [Liu, Yu and Lin, §§3.2–3.3](https://arxiv.org/pdf/2208.05924#page=3) · [Zhang, Li and Ju, equation 4](https://arxiv.org/pdf/2306.08553#page=5)
@@ -8,8 +30,6 @@ Sankar et al. observed that layerwise traces fell during image-classifier traini
8
 
9
  **Why third derivatives?** Two minima can have the same small curvature at the bottom, yet one can steepen much sooner. The third derivatives of next-token loss measure how its Hessian changes as the weights move. The training penalty estimates their sum of squares, so rapid changes of either sign carry a cost. If curvature starts small and changes slowly throughout a neighborhood, the weights can move farther while loss stays low. [Worked examples and width bound](docs/third-derivative-penalty.md#when-can-the-penalty-favor-a-wider-minimum) · [Taylor remainder, equation 22](https://link.springer.com/article/10.1007/s10288-023-00541-9)
10
 
11
- The registered study tests whether this penalty improves prediction on unseen tokens compared with ordinary AdamW and Hessian-trace regularization at equal training-token counts. It trains a TinyStories decoder from scratch and fine-tunes Pythia-410M’s low-rank attention adapters on research abstracts. [Study design](reports/planned-runs.md)
12
-
13
  **Why add the third-derivative penalty late?** Even a steep valley can have constant curvature. The registered TinyStories follow-up first trains with the Hessian-trace penalty to favor low average curvature. Its fixed-ramp arm keeps the trace active and gradually adds the third-derivative penalty after the midpoint. If curvature changes faster toward the edge of a flat region, the penalty can increase outward and oppose that movement. Delaying it also avoids early fourth-derivative computations. If the schedule preserves a wider region, its final weights should tolerate larger perturbations than the trace controls at the same allowed increase in unregularized loss. [Timing controls and width measurement](reports/hybrid/preregistration.md) · [Measured widths](reports/hybrid/results.md)
14
 
15
  **Should the penalty get stronger as curvature falls?** The TinyStories follow-up keeps the trace active and turns up the **weight on the squared third derivatives** once training loss is low and recent Hessian measurements are small. It retains the highest weight reached, up to a cap. Eight paired seeds compare this rule with a fixed late ramp, another seed’s schedule, trace alone, stronger trace and an always-on hybrid. The endpoints are directional width on fixed training windows and development next-token loss. Direct division can act in the opposite direction. For $L(w)=w^4$, the squared ratio $(L'''/L'')^2=4/w^2$ grows without bound as weights approach the flat bottom. [Derivation](docs/third-derivative-penalty.md#weighting-the-penalty-by-curvature) · [Hybrid preregistration and run matrix](reports/hybrid/preregistration.md)
@@ -45,442 +65,116 @@ The protocol and run matrix were published before model execution. The scores, c
45
  A same-probe check on pretrained Pythia found that single-precision arithmetic materially changed the third-order training gradient. The first adapter pilot is archived as a numerical diagnostic. The corrected adapter arms evaluate derivatives in double precision while ordinary training and prediction use the GPU. [Pre-test precision amendment](reports/amendments/adapter-precision.md) · [Full-model numerical checks](results/verification)
46
 
47
  <!-- RESULTS:START -->
48
- [Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss-with-derivative-of-hessian/) · [Hugging Face explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
49
-
50
- Recorded 35 runs, including 34 with a completed summary.
51
-
52
- **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
53
-
54
- **Research abstracts.** Awaiting paired test results (0 of 8 full-horizon training triplets).
55
-
56
- TinyStories hybrid follow-up: 10 of 48 full runs and 2 of 8 shared checkpoints complete. Geometric decision: awaiting eight paired width measurements. [Width measurements, scores and controls](reports/hybrid/results.md)
57
-
58
- ![Directional width by TinyStories arm and seed](docs/figures/hybrid_width.png)
59
-
60
- **TinyStories development pilot.** At 2,097,152 training targets, the third-order run recorded 0.00004 nats per target token lower against Ordinary AdamW, 0.00024 nats per target token lower against Trace + third derivative, 0.00175 nats per target token lower against Squared Hessian norm, 0.00032 nats per target token lower against Randomized gradient signs, 0.00034 nats per target token lower against Hessian trace. These are single-seed descriptions using strengths selected on development.
61
-
62
- **Research abstracts development pilot.** At 65,536 training targets, the third-order run recorded 0.00030 nats per target token higher against Ordinary AdamW, 0.00027 nats per target token higher against Hessian trace. These are single-seed descriptions using strengths selected on development.
63
-
64
- ### Measured scores
65
-
66
- | Stage | Phase | Method | Ratio | Tokens/run | Runs | Median dev NLL | Median test NLL |
67
- | --- | --- | --- | --- | --- | --- | --- | --- |
68
- | Research abstracts | control | Initial checkpoint | 0.000 | 0 | 1 | 3.2517 | — |
69
- | Research abstracts | control | Unigram | 0.000 | 0 | 1 | 7.3306 | — |
70
- | Research abstracts | pilot | Ordinary AdamW | 0.000 | 65,536 | 1 | 3.1139 | — |
71
- | Research abstracts | pilot | Third derivative | 0.010 | 65,536 | 1 | 3.1142 | — |
72
- | Research abstracts | diagnostic | Third derivative | 0.030 | 65,536 | 1 | 3.1168 | — |
73
- | Research abstracts | pilot | Third derivative | 0.030 | 65,536 | 1 | 3.1149 | — |
74
- | Research abstracts | pilot | Third derivative | 0.100 | 65,536 | 1 | 3.1163 | — |
75
- | Research abstracts | pilot | Hessian trace | 0.010 | 65,536 | 1 | 3.1140 | — |
76
- | Research abstracts | pilot | Hessian trace | 0.030 | 65,536 | 1 | 3.1141 | — |
77
- | Research abstracts | pilot | Hessian trace | 0.100 | 65,536 | 1 | 3.1143 | — |
78
- | TinyStories | branch | Shared trace checkpoint | 0.010 | 8,388,608 | 2 | 2.7575 | — |
79
- | TinyStories | control | Initial checkpoint | 0.000 | 0 | 1 | 8.3437 | — |
80
- | TinyStories | control | Unigram | 0.000 | 0 | 1 | 6.0036 | — |
81
- | TinyStories | hybrid | Curvature-dependent hybrid | 0.010 | 16,777,216 | 2 | 2.5461 | — |
82
- | TinyStories | hybrid | Always-on hybrid | 0.010 | 16,777,216 | 2 | 2.5459 | — |
83
- | TinyStories | hybrid | Fixed late hybrid | 0.010 | 16,777,216 | 2 | 2.5463 | — |
84
- | TinyStories | hybrid | Stronger trace | 0.010 | 16,777,216 | 2 | 2.5462 | — |
85
- | TinyStories | hybrid | Hessian trace | 0.010 | 16,777,216 | 2 | 2.5461 | — |
86
- | TinyStories | pilot | Ordinary AdamW | 0.000 | 2,097,152 | 1 | 3.8770 | — |
87
- | TinyStories | pilot | Trace + third derivative | 0.010 | 2,097,152 | 1 | 3.8772 | — |
88
- | TinyStories | pilot | Squared Hessian norm | 0.030 | 2,097,152 | 1 | 3.8787 | — |
89
- | TinyStories | pilot | Randomized gradient signs | 0.010 | 2,097,152 | 1 | 3.8773 | — |
90
- | TinyStories | pilot | Third derivative | 0.010 | 2,097,152 | 1 | 3.8769 | — |
91
- | TinyStories | pilot | Third derivative | 0.030 | 2,097,152 | 1 | 3.8778 | — |
92
- | TinyStories | pilot | Third derivative | 0.100 | 2,097,152 | 1 | 3.8827 | — |
93
- | TinyStories | pilot | Hessian trace | 0.010 | 2,097,152 | 1 | 3.8773 | — |
94
- | TinyStories | pilot | Hessian trace | 0.030 | 2,097,152 | 1 | 3.8802 | — |
95
- | TinyStories | pilot | Hessian trace | 0.100 | 2,097,152 | 1 | 3.8979 | — |
96
-
97
- ![Parameter-space computation graph](docs/figures/architecture.png)
98
-
99
- ![Development NLL](docs/figures/curves.png)
100
-
101
- ### Recorded predictions
102
-
103
- First registered checkpoint and sample in run-ID order per stage and method. [All continuations](reports/experiments/experiments.md)
104
-
105
- <details><summary>Research abstracts · Initial checkpoint · control, seed 0</summary>
106
-
107
- [Recorded sample](results/abstracts-control-s00-initial-r00/samples.jsonl)
108
-
109
- **Prompt**
110
-
111
- One of the central objectives of contemporary neuroimaging research is to
112
- create predictive models
113
-
114
- **Reference continuation**
115
-
116
- that can disentangle the connection between patterns
117
- of functional connectivity across the entire brain and various behavioral
118
- traits. Previous studies have shown that models trained to predict behavioral
119
- features from the individual's functional
120
-
121
- **Model continuation**
122
-
123
- that will be used by neuroscience researchers to
124
- identify cases of a disease or to select appropriate therapeutic intervention.
125
-
126
- The research of Peter Seager and colleagues has demonstrated that the brain
127
- can
128
-
129
- </details>
130
-
131
- <details><summary>Research abstracts · Unigram · control, seed 0</summary>
132
-
133
- [Recorded sample](results/abstracts-control-s00-unigram-r00/samples.jsonl)
134
-
135
- **Prompt**
136
-
137
- One of the central objectives of contemporary neuroimaging research is to
138
- create predictive models
139
-
140
- **Reference continuation**
141
-
142
- that can disentangle the connection between patterns
143
- of functional connectivity across the entire brain and various behavioral
144
- traits. Previous studies have shown that models trained to predict behavioral
145
- features from the individual's functional
146
-
147
- **Model continuation**
148
-
149
- neural. is novel In used describe sacrific the theruction
150
- To their
151
- zo than chronic current the the factor an( simultaneouslyrelated
152
- exchange
153
- purpose,) was} standards
154
- of
155
- radio.
156
-
157
- </details>
158
-
159
- <details><summary>Research abstracts · Ordinary AdamW · pilot, seed 0</summary>
160
-
161
- [Recorded sample](results/abstracts-pilot-s00-ce-r00/samples.jsonl)
162
-
163
- **Prompt**
164
-
165
- One of the central objectives of contemporary neuroimaging research is to
166
- create predictive models
167
-
168
- **Reference continuation**
169
-
170
- that can disentangle the connection between patterns
171
- of functional connectivity across the entire brain and various behavioral
172
- traits. Previous studies have shown that models trained to predict behavioral
173
- features from the individual's functional
174
-
175
- **Model continuation**
176
-
177
- that will accurately predict the behavior of
178
- patient-specific neurological disorders such as epilepsy. In this paper, we
179
- present a novel dataset of EEG data recorded from children with focal
180
- subcortical epilepsy
181
-
182
- </details>
183
-
184
- <details><summary>Research abstracts · Third derivative · pilot, seed 0</summary>
185
-
186
- [Recorded sample](results/abstracts-pilot-s00-third-r01-fp64/samples.jsonl)
187
-
188
- **Prompt**
189
-
190
- One of the central objectives of contemporary neuroimaging research is to
191
- create predictive models
192
-
193
- **Reference continuation**
194
-
195
- that can disentangle the connection between patterns
196
- of functional connectivity across the entire brain and various behavioral
197
- traits. Previous studies have shown that models trained to predict behavioral
198
- features from the individual's functional
199
-
200
- **Model continuation**
201
-
202
- that will accurately predict the behavior of
203
- patient-specific neurological disorders such as epilepsy. In this paper, we
204
- present a novel dataset of EEG data recorded from children with focal
205
- subcortical epilepsy
206
-
207
- </details>
208
-
209
- <details><summary>Research abstracts · Hessian trace · pilot, seed 0</summary>
210
-
211
- [Recorded sample](results/abstracts-pilot-s00-trace-r01-fp64/samples.jsonl)
212
-
213
- **Prompt**
214
-
215
- One of the central objectives of contemporary neuroimaging research is to
216
- create predictive models
217
-
218
- **Reference continuation**
219
-
220
- that can disentangle the connection between patterns
221
- of functional connectivity across the entire brain and various behavioral
222
- traits. Previous studies have shown that models trained to predict behavioral
223
- features from the individual's functional
224
-
225
- **Model continuation**
226
-
227
- that will be used to assess the cognitive
228
- performance of neurological disorders. We will focus on three major areas:
229
- (1) the nervous system as a whole, (2) the brain regions that
230
-
231
- </details>
232
-
233
- <details><summary>TinyStories · Initial checkpoint · control, seed 0</summary>
234
 
235
- [Recorded sample](results/stories-control-s00-initial-r00/samples.jsonl)
236
 
237
- **Prompt**
238
 
239
- Once upon a time, there was a clever little dog named Max. Max loved
240
 
241
- **Reference continuation**
242
 
243
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
244
-
245
- Max went to his friend, the wise old owl,
246
 
247
- **Model continuation**
248
 
249
- break painted pleaseerp gif neat lead bro comfort rid shr search impressedosairs try ants oss note daughter woodLater rest independent stars stonesiver mixaybe Le spoon readMe fingersiew embar bached mail
 
 
 
 
 
250
 
251
- </details>
252
-
253
- <details><summary>TinyStories · Unigram · control, seed 0</summary>
254
-
255
- [Recorded sample](results/stories-control-s00-unigram-r00/samples.jsonl)
256
 
257
- **Prompt**
258
 
259
- Once upon a time, there was a clever little dog named Max. Max loved
260
 
261
- **Reference continuation**
262
 
263
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
264
-
265
- Max went to his friend, the wise old owl,
266
 
267
- **Model continuation**
268
 
269
- it said her mom girlan he said that fell flut back's hard. a them into work protectt hug?" his and little teeth "What sky some Timmy and on
270
- down As's
271
- very
272
-
273
- </details>
 
 
274
 
275
- <details><summary>TinyStories · Curvature-dependent hybrid · hybrid, seed 21</summary>
276
 
277
- [Recorded sample](results/stories-hybrid-s21-adaptive-r01/samples.jsonl)
 
 
 
 
 
278
 
279
- **Prompt**
280
 
281
- Once upon a time, there was a clever little dog named Max. Max loved
282
 
283
- **Reference continuation**
284
 
285
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
286
-
287
- Max went to his friend, the wise old owl,
288
 
289
- **Model continuation**
290
 
291
- to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.
292
-
293
- One day, Max found a big hole in his house
 
294
 
295
  </details>
296
 
297
- <details><summary>TinyStories · Always-on hybrid · hybrid, seed 21</summary>
298
 
299
- [Recorded sample](results/stories-hybrid-s21-always-r01/samples.jsonl)
300
 
301
- **Prompt**
302
 
303
- Once upon a time, there was a clever little dog named Max. Max loved
304
 
305
- **Reference continuation**
306
-
307
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
308
-
309
- Max went to his friend, the wise old owl,
310
-
311
- **Model continuation**
312
-
313
- to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.
314
-
315
- One day, Max found a big hole in his mail
316
 
317
  </details>
318
 
319
- <details><summary>TinyStories · Fixed late hybrid · hybrid, seed 21</summary>
320
-
321
- [Recorded sample](results/stories-hybrid-s21-late-r01/samples.jsonl)
322
-
323
- **Prompt**
324
 
325
- Once upon a time, there was a clever little dog named Max. Max loved
326
 
327
- **Reference continuation**
328
-
329
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
330
-
331
- Max went to his friend, the wise old owl,
332
-
333
- **Model continuation**
334
-
335
- to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.
336
-
337
- One day, Max found a big hole in his mail
338
 
339
  </details>
340
 
341
- <details><summary>TinyStories · Stronger trace · hybrid, seed 21</summary>
342
-
343
- [Recorded sample](results/stories-hybrid-s21-strong-r01/samples.jsonl)
344
-
345
- **Prompt**
346
-
347
- Once upon a time, there was a clever little dog named Max. Max loved
348
-
349
- **Reference continuation**
350
-
351
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
352
-
353
- Max went to his friend, the wise old owl,
354
-
355
- **Model continuation**
356
-
357
- to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.
358
-
359
- One day, Max found a big hole in his house
360
-
361
- </details>
362
-
363
- <details><summary>TinyStories · Hessian trace · hybrid, seed 21</summary>
364
-
365
- [Recorded sample](results/stories-hybrid-s21-trace-r01/samples.jsonl)
366
-
367
- **Prompt**
368
-
369
- Once upon a time, there was a clever little dog named Max. Max loved
370
-
371
- **Reference continuation**
372
-
373
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
374
-
375
- Max went to his friend, the wise old owl,
376
-
377
- **Model continuation**
378
-
379
- to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.
380
-
381
- One day, Max found a big hole in his house
382
-
383
- </details>
384
-
385
- <details><summary>TinyStories · Ordinary AdamW · pilot, seed 0</summary>
386
-
387
- [Recorded sample](results/stories-pilot-s00-ce-r00/samples.jsonl)
388
-
389
- **Prompt**
390
-
391
- Once upon a time, there was a clever little dog named Max. Max loved
392
-
393
- **Reference continuation**
394
-
395
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
396
-
397
- Max went to his friend, the wise old owl,
398
-
399
- **Model continuation**
400
-
401
- to play on the cat.
402
-
403
- </details>
404
-
405
- <details><summary>TinyStories · Trace + third derivative · pilot, seed 0</summary>
406
-
407
- [Recorded sample](results/stories-pilot-s00-combined-r01/samples.jsonl)
408
-
409
- **Prompt**
410
-
411
- Once upon a time, there was a clever little dog named Max. Max loved
412
-
413
- **Reference continuation**
414
-
415
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
416
-
417
- Max went to his friend, the wise old owl,
418
-
419
- **Model continuation**
420
-
421
- to play on the cat.
422
-
423
- </details>
424
-
425
- <details><summary>TinyStories · Squared Hessian norm · pilot, seed 0</summary>
426
-
427
- [Recorded sample](results/stories-pilot-s00-hessian_norm-r03/samples.jsonl)
428
-
429
- **Prompt**
430
-
431
- Once upon a time, there was a clever little dog named Max. Max loved
432
-
433
- **Reference continuation**
434
-
435
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
436
-
437
- Max went to his friend, the wise old owl,
438
-
439
- **Model continuation**
440
-
441
- to play on the cat.
442
-
443
- </details>
444
-
445
- <details><summary>TinyStories · Randomized gradient signs · pilot, seed 0</summary>
446
-
447
- [Recorded sample](results/stories-pilot-s00-sham-r01/samples.jsonl)
448
-
449
- **Prompt**
450
-
451
- Once upon a time, there was a clever little dog named Max. Max loved
452
-
453
- **Reference continuation**
454
-
455
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
456
-
457
- Max went to his friend, the wise old owl,
458
-
459
- **Model continuation**
460
 
461
- to play on the cat.
462
 
463
- </details>
464
-
465
- <details><summary>TinyStories · Third derivative · pilot, seed 0</summary>
466
 
467
- [Recorded sample](results/stories-pilot-s00-third-r01/samples.jsonl)
468
 
469
- **Prompt**
470
 
471
- Once upon a time, there was a clever little dog named Max. Max loved
472
 
473
- **Reference continuation**
474
 
475
- to run and play with his friends in the park. One day, Max was running very fast when he fell and hurt his knee.
476
-
477
- Max went to his friend, the wise old owl,
478
 
479
- **Model continuation**
480
 
481
- to play on the cat.
482
 
483
- </details>
484
  <!-- RESULTS:END -->
485
 
486
  ## Reproduce the study
 
1
  # Third derivatives in language-model training
2
 
3
+ Does a language model predict unseen tokens better when training penalizes rapid changes in loss curvature? We test this on a TinyStories decoder trained from scratch and on Pythia-410M attention adapters. A second TinyStories experiment compares a fixed late start with a schedule that increases the penalty as measured curvature falls. [Study design](reports/planned-runs.md)
4
+
5
+ The research background includes flat minima, Hessian measurements and third derivatives in language modeling and other fields. [Original flat-minima paper](https://people.idsia.ch/~juergen/fm/node1.html) · [Hessian regularization in GPT-2](https://arxiv.org/pdf/2306.08553#page=12) · [Hessians in image classification](https://arxiv.org/pdf/2012.03801) · [Third derivatives in language-model training dynamics](https://arxiv.org/pdf/2505.22042) · [Derivative penalties in splines](https://doi.org/10.1007/BFb0086566)
6
+
7
+ <!-- READOUT:START -->
8
+
9
+ ## Results at a glance
10
+
11
+ Lower next-token loss (NLL) means a model assigned more probability to the words that actually came next. Training speed counts target tokens per second.
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.
18
+
19
+ Both primary test decisions are pending. Each stage requires eight paired test seeds and superiority over both baselines under Holm correction.
20
+
21
+ [Side-by-side scores, accuracy, speed, memory and width](#side-by-side-comparisons) · [Live explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Paired tests and intervals](reports/summary.md)
22
+
23
+ <!-- READOUT:END -->
24
+
25
  Sepp Hochreiter and Jürgen Schmidhuber proposed that **among models that fit the training data equally well, those in flatter minima may generalize better to unseen data**. In a flat minimum, many nearby weight settings still fit. If some weights can be rounded more coarsely without spoiling the fit, a good predictor can take fewer bits to describe under a fixed encoding. Their minimum-description-length argument links that shorter description to a lower risk of overfitting. [Hochreiter and Schmidhuber, *Flat Minima* (1997), §1](https://people.idsia.ch/~juergen/fm/node1.html)
26
 
27
  **Why did earlier papers use the Hessian?** At a smooth minimum the gradient is zero, whether the valley is sharp or flat. The Hessian gives a quadratic approximation to how much training loss rises when the weights move. For small steps of equal size in uniformly random directions, the predicted average rise is proportional to the **Hessian trace**, the sum of second derivatives along the weight coordinates. The researchers penalized the trace to favor fits that tolerate small weight changes and tested whether those fits generalize better. [Liu, Yu and Lin, §§3.2–3.3](https://arxiv.org/pdf/2208.05924#page=3) · [Zhang, Li and Ju, equation 4](https://arxiv.org/pdf/2306.08553#page=5)
 
30
 
31
  **Why third derivatives?** Two minima can have the same small curvature at the bottom, yet one can steepen much sooner. The third derivatives of next-token loss measure how its Hessian changes as the weights move. The training penalty estimates their sum of squares, so rapid changes of either sign carry a cost. If curvature starts small and changes slowly throughout a neighborhood, the weights can move farther while loss stays low. [Worked examples and width bound](docs/third-derivative-penalty.md#when-can-the-penalty-favor-a-wider-minimum) · [Taylor remainder, equation 22](https://link.springer.com/article/10.1007/s10288-023-00541-9)
32
 
 
 
33
  **Why add the third-derivative penalty late?** Even a steep valley can have constant curvature. The registered TinyStories follow-up first trains with the Hessian-trace penalty to favor low average curvature. Its fixed-ramp arm keeps the trace active and gradually adds the third-derivative penalty after the midpoint. If curvature changes faster toward the edge of a flat region, the penalty can increase outward and oppose that movement. Delaying it also avoids early fourth-derivative computations. If the schedule preserves a wider region, its final weights should tolerate larger perturbations than the trace controls at the same allowed increase in unregularized loss. [Timing controls and width measurement](reports/hybrid/preregistration.md) · [Measured widths](reports/hybrid/results.md)
34
 
35
  **Should the penalty get stronger as curvature falls?** The TinyStories follow-up keeps the trace active and turns up the **weight on the squared third derivatives** once training loss is low and recent Hessian measurements are small. It retains the highest weight reached, up to a cap. Eight paired seeds compare this rule with a fixed late ramp, another seed’s schedule, trace alone, stronger trace and an always-on hybrid. The endpoints are directional width on fixed training windows and development next-token loss. Direct division can act in the opposite direction. For $L(w)=w^4$, the squared ratio $(L'''/L'')^2=4/w^2$ grows without bound as weights approach the flat bottom. [Derivation](docs/third-derivative-penalty.md#weighting-the-penalty-by-curvature) · [Hybrid preregistration and run matrix](reports/hybrid/preregistration.md)
 
65
  A same-probe check on pretrained Pythia found that single-precision arithmetic materially changed the third-order training gradient. The first adapter pilot is archived as a numerical diagnostic. The corrected adapter arms evaluate derivatives in double precision while ordinary training and prediction use the GPU. [Pre-test precision amendment](reports/amendments/adapter-precision.md) · [Full-model numerical checks](results/verification)
66
 
67
  <!-- RESULTS:START -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
 
69
+ ## Side-by-side comparisons
70
 
71
+ ↓ means lower is preferred. ↑ means higher is preferred. Bold highlights the best observed value when methods differ at the displayed precision. A tie means the paired difference rounds to zero. NLL is negative log-likelihood in nats per target. Accuracy differences use percentage points (pp).
72
 
73
+ ### TinyStories pretraining
74
 
75
+ Awaiting matched checkpoints for AdamW, Hessian trace and third order.
76
 
77
+ ### Pythia-410M adapters
 
 
78
 
79
+ **Full development split · one development pilot seed · 65,536 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/abstracts.json) · [Experiment ledger](reports/experiments/experiments.md)
80
 
81
+ | Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace |
82
+ | --- | --- | --- | --- | --- | --- |
83
+ | Development NLL ↓ | **3.113948** | 3.113974 | 3.114247 | 0.000300 higher | 0.000273 higher |
84
+ | Dev top-1 accuracy ↑ | **41.321%** | **41.321%** | 41.315% | 0.006 pp lower | 0.006 pp lower |
85
+ | Training speed ↑ (targets/s) | **1,659** | 435 | 189 | 88.6% slower | 56.5% slower |
86
+ | Peak GPU allocation ↓ (MiB) | 2,346.3 | 2,346.3 | 2,346.3 | Tie | Tie |
87
 
88
+ An equal-time NLL comparison is pending because at least one arm lacks a recorded development checkpoint at or before the shared cutoff.
 
 
 
 
89
 
90
+ Observed host-process memory high-water marks were AdamW 3.78 GiB, Hessian trace 10.28 GiB, Third order 13.09 GiB. This measure includes earlier work in each interpreter.
91
 
92
+ Awaiting paired test results (0 of 8 full-horizon training triplets).
93
 
94
+ The equal-time row uses the last available fixed-window development score at or before the fastest run’s finish time in each seed. Full-split NLL uses every development target. Training speed includes regularizer probes. Adapter derivatives use CPU float64 with one GPU reserved. [Timing definitions and checkpoint lags](reports/summary.md)
95
 
96
+ ### TinyStories hybrid schedules
 
 
97
 
98
+ **Adaptive vs fixed ramp · 2/8 paired seeds · 16,777,216 targets per run.** Both arms resume the same trace-trained checkpoint. Width change is final width minus width at the switch. A larger change means more width retained at the fixed loss tolerance.
99
 
100
+ | Metric | Adaptive | Fixed ramp | vs Fixed ramp |
101
+ | --- | --- | --- | --- |
102
+ | Development NLL ↓ | **2.546107** | 2.546281 | 0.000174 lower |
103
+ | Dev top-1 accuracy ↑ | 46.205% | **46.208%** | 0.002 pp lower |
104
+ | Width change after switch ↑ | -2.0865 | **-2.0311** | 0.0554 less retained |
105
+ | Training speed ↑ (targets/s) | **40,983** | 40,328 | 1.5% faster |
106
+ | Peak GPU allocation ↓ (MiB) | 617.3 | 617.3 | Tie |
107
 
108
+ The remaining controls are paired independently. Each row uses only seeds that finished both arms. The always-on arm has its own measured width at the switch.
109
 
110
+ | Adaptive versus | Paired seeds | Adaptive NLL | Adaptive width change | Adaptive speed |
111
+ | --- | --- | --- | --- | --- |
112
+ | Cross-seed replay | 0/8 | Pending | — | — |
113
+ | Hessian trace | 2/8 | 0.000002 higher | 0.0015 more retained | 35.0% slower |
114
+ | Stronger trace | 2/8 | 0.000092 lower | 0.0178 less retained | 35.5% slower |
115
+ | Always-on hybrid | 2/8 | 0.000161 higher | 0.0111 less retained | 48.0% faster |
116
 
117
+ **Registered width decision** · Awaiting eight paired width measurements. Width probes use fixed training windows. [Every width, training-fit flag, replay and paired difference](reports/hybrid/results.md)
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
 
125
+ **Untrained references · zero training targets**
126
 
127
+ | Stage | Initial NLL ↓ | Unigram NLL ↓ | Initial accuracy ↑ | Unigram accuracy ↑ |
128
+ | --- | --- | --- | --- | --- |
129
+ | TinyStories pretraining | 8.343680 | 6.003555 | 0.312% | 7.151% |
130
+ | Pythia-410M adapters | 3.251674 | 7.330611 | 39.911% | 6.023% |
131
 
132
  </details>
133
 
134
+ ### Same-prompt continuations
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>
141
 
142
+ | [AdamW](results/abstracts-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](results/abstracts-pilot-s00-trace-r01-fp64/samples.jsonl) | [Third order](results/abstracts-pilot-s00-third-r01-fp64/samples.jsonl) |
143
+ | --- | --- | --- |
144
+ | <samp> that will accurately predict the behavior of<br>patient-specific neurological disorders such as epilepsy. In this paper, we<br>present a novel dataset of EEG data recorded from children with focal<br>subcortical epilepsy</samp> | <samp> that will be used to assess the cognitive<br>performance of neurological disorders. We will focus on three major areas:<br>(1) the nervous system as a whole, (2) the brain regions that</samp> | <samp> that will accurately predict the behavior of<br>patient-specific neurological disorders such as epilepsy. In this paper, we<br>present a novel dataset of EEG data recorded from children with focal<br>subcortical epilepsy</samp> |
 
 
 
 
 
 
 
 
145
 
146
  </details>
147
 
148
+ <details><summary>TinyStories hybrid schedules · same prompt, seed 21</summary>
 
 
 
 
149
 
150
+ **Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
151
 
152
+ | [Adaptive](results/stories-hybrid-s21-adaptive-r01/samples.jsonl) | [Fixed ramp](results/stories-hybrid-s21-late-r01/samples.jsonl) |
153
+ | --- | --- |
154
+ | <samp> to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.<br><br>One day, Max found a big hole in his house</samp> | <samp> to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.<br><br>One day, Max found a big hole in his mail</samp> |
 
 
 
 
 
 
 
 
155
 
156
  </details>
157
 
158
+ [Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss-with-derivative-of-hessian/) · [Hugging Face explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
 
160
+ Recorded 36 runs, including 34 with a completed summary.
161
 
162
+ TinyStories hybrid follow-up: 10 of 48 full runs and 2 of 8 shared checkpoints complete. Geometric decision: awaiting eight paired width measurements. [Width measurements, scores and controls](reports/hybrid/results.md)
 
 
163
 
164
+ [Full score table, strength search and per-seed test differences](reports/summary.md)
165
 
166
+ ![Directional width by TinyStories arm and seed](docs/figures/hybrid_width.png)
167
 
168
+ ![Parameter-space computation graph](docs/figures/architecture.png)
169
 
170
+ ![Development NLL](docs/figures/curves.png)
171
 
172
+ ### Full generations by method
 
 
173
 
174
+ **TinyStories** · [Initial checkpoint](reports/experiments/stories-control-s00-initial-r00/experiment.md#fixed-prompt-generations) · [Unigram](reports/experiments/stories-control-s00-unigram-r00/experiment.md#fixed-prompt-generations) · [Curvature-dependent hybrid](reports/experiments/stories-hybrid-s21-adaptive-r01/experiment.md#fixed-prompt-generations) · [Always-on hybrid](reports/experiments/stories-hybrid-s21-always-r01/experiment.md#fixed-prompt-generations) · [Fixed late hybrid](reports/experiments/stories-hybrid-s21-late-r01/experiment.md#fixed-prompt-generations) · [Stronger trace](reports/experiments/stories-hybrid-s21-strong-r01/experiment.md#fixed-prompt-generations) · [Hessian trace](reports/experiments/stories-hybrid-s21-trace-r01/experiment.md#fixed-prompt-generations) · [Ordinary AdamW](reports/experiments/stories-pilot-s00-ce-r00/experiment.md#fixed-prompt-generations) · [Trace + third derivative](reports/experiments/stories-pilot-s00-combined-r01/experiment.md#fixed-prompt-generations) · [Squared Hessian norm](reports/experiments/stories-pilot-s00-hessian_norm-r03/experiment.md#fixed-prompt-generations) · [Randomized gradient signs](reports/experiments/stories-pilot-s00-sham-r01/experiment.md#fixed-prompt-generations) · [Third derivative](reports/experiments/stories-pilot-s00-third-r01/experiment.md#fixed-prompt-generations)
175
 
176
+ **Research abstracts** · [Initial checkpoint](reports/experiments/abstracts-control-s00-initial-r00/experiment.md#fixed-prompt-generations) · [Unigram](reports/experiments/abstracts-control-s00-unigram-r00/experiment.md#fixed-prompt-generations) · [Ordinary AdamW](reports/experiments/abstracts-pilot-s00-ce-r00/experiment.md#fixed-prompt-generations) · [Third derivative](reports/experiments/abstracts-pilot-s00-third-r01-fp64/experiment.md#fixed-prompt-generations) · [Hessian trace](reports/experiments/abstracts-pilot-s00-trace-r01-fp64/experiment.md#fixed-prompt-generations)
177
 
 
178
  <!-- RESULTS:END -->
179
 
180
  ## Reproduce the study
research/docs/figures/curves.png CHANGED

Git LFS Details

  • SHA256: 5e073f267790e416f5cf42de8202d3c8e4caa4713c21062d1b7a1f3f00721417
  • Pointer size: 131 Bytes
  • Size of remote file: 293 kB

Git LFS Details

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

Git LFS Details

  • SHA256: 9cd67084cf04c5449b7fdca88983188203ae7b1697b42e13c5e75f945d71b143
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB

Git LFS Details

  • SHA256: 7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
research/docs/hub/archive.md CHANGED
@@ -7,6 +7,115 @@ tags: [scientific-research, causal-language-modeling]
7
 
8
  Does penalizing changes in loss curvature improve next-token prediction? The study compares ordinary AdamW, Hessian-trace regularization and the squared Frobenius norm of the third derivative with respect to trainable weights. Every trial, including the excluded numerical diagnostic, has a public record. [Paper](research/reports/paper.pdf) · [Current results](research/reports/summary.md) · [Interactive explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378)
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  | Material | Hugging Face location |
11
  |---|---|
12
  | Complete Git tree, locked environment, tests and instructions | [Research tree](https://huggingface.co/BurnyCoder/thirdloss-study/tree/main/research) · [README](research/README.md) |
 
7
 
8
  Does penalizing changes in loss curvature improve next-token prediction? The study compares ordinary AdamW, Hessian-trace regularization and the squared Frobenius norm of the third derivative with respect to trainable weights. Every trial, including the excluded numerical diagnostic, has a public record. [Paper](research/reports/paper.pdf) · [Current results](research/reports/summary.md) · [Interactive explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378)
9
 
10
+ <!-- COMPARISONS:START -->
11
+
12
+ ## Results at a glance
13
+
14
+ Lower next-token loss (NLL) means a model assigned more probability to the words that actually came next. Training speed counts target tokens per second.
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.
21
+
22
+ Both primary test decisions are pending. Each stage requires eight paired test seeds and superiority over both baselines under Holm correction.
23
+
24
+ [Side-by-side scores, accuracy, speed, memory and width](#side-by-side-comparisons) · [Live explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · [Paired tests and intervals](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/summary.md)
25
+
26
+ ## Side-by-side comparisons
27
+
28
+ ↓ means lower is preferred. ↑ means higher is preferred. Bold highlights the best observed value when methods differ at the displayed precision. A tie means the paired difference rounds to zero. NLL is negative log-likelihood in nats per target. Accuracy differences use percentage points (pp).
29
+
30
+ ### TinyStories pretraining
31
+
32
+ Awaiting matched checkpoints for AdamW, Hessian trace and third order.
33
+
34
+ ### Pythia-410M adapters
35
+
36
+ **Full development split · one development pilot seed · 65,536 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/abstracts.json) · [Experiment ledger](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
37
+
38
+ | Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace |
39
+ | --- | --- | --- | --- | --- | --- |
40
+ | Development NLL ↓ | **3.113948** | 3.113974 | 3.114247 | 0.000300 higher | 0.000273 higher |
41
+ | Dev top-1 accuracy ↑ | **41.321%** | **41.321%** | 41.315% | 0.006 pp lower | 0.006 pp lower |
42
+ | Training speed ↑ (targets/s) | **1,659** | 435 | 189 | 88.6% slower | 56.5% slower |
43
+ | Peak GPU allocation ↓ (MiB) | 2,346.3 | 2,346.3 | 2,346.3 | Tie | Tie |
44
+
45
+ An equal-time NLL comparison is pending because at least one arm lacks a recorded development checkpoint at or before the shared cutoff.
46
+
47
+ Observed host-process memory high-water marks were AdamW 3.78 GiB, Hessian trace 10.28 GiB, Third order 13.09 GiB. This measure includes earlier work in each interpreter.
48
+
49
+ Awaiting paired test results (0 of 8 full-horizon training triplets).
50
+
51
+ The equal-time row uses the last available fixed-window development score at or before the fastest run’s finish time in each seed. Full-split NLL uses every development target. Training speed includes regularizer probes. Adapter derivatives use CPU float64 with one GPU reserved. [Timing definitions and checkpoint lags](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/summary.md)
52
+
53
+ ### TinyStories hybrid schedules
54
+
55
+ **Adaptive vs fixed ramp · 2/8 paired seeds · 16,777,216 targets per run.** Both arms resume the same trace-trained checkpoint. Width change is final width minus width at the switch. A larger change means more width retained at the fixed loss tolerance.
56
+
57
+ | Metric | Adaptive | Fixed ramp | vs Fixed ramp |
58
+ | --- | --- | --- | --- |
59
+ | Development NLL ↓ | **2.546107** | 2.546281 | 0.000174 lower |
60
+ | Dev top-1 accuracy ↑ | 46.205% | **46.208%** | 0.002 pp lower |
61
+ | Width change after switch ↑ | -2.0865 | **-2.0311** | 0.0554 less retained |
62
+ | Training speed ↑ (targets/s) | **40,983** | 40,328 | 1.5% faster |
63
+ | Peak GPU allocation ↓ (MiB) | 617.3 | 617.3 | Tie |
64
+
65
+ The remaining controls are paired independently. Each row uses only seeds that finished both arms. The always-on arm has its own measured width at the switch.
66
+
67
+ | Adaptive versus | Paired seeds | Adaptive NLL | Adaptive width change | Adaptive speed |
68
+ | --- | --- | --- | --- | --- |
69
+ | Cross-seed replay | 0/8 | Pending | — | — |
70
+ | Hessian trace | 2/8 | 0.000002 higher | 0.0015 more retained | 35.0% slower |
71
+ | Stronger trace | 2/8 | 0.000092 lower | 0.0178 less retained | 35.5% slower |
72
+ | Always-on hybrid | 2/8 | 0.000161 higher | 0.0111 less retained | 48.0% faster |
73
+
74
+ **Registered width decision** · Awaiting eight paired width measurements. Width probes use fixed training windows. [Every width, training-fit flag, replay and paired difference](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/hybrid/results.md)
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
+
82
+ **Untrained references · zero training targets**
83
+
84
+ | Stage | Initial NLL ↓ | Unigram NLL ↓ | Initial accuracy ↑ | Unigram accuracy ↑ |
85
+ | --- | --- | --- | --- | --- |
86
+ | TinyStories pretraining | 8.343680 | 6.003555 | 0.312% | 7.151% |
87
+ | Pythia-410M adapters | 3.251674 | 7.330611 | 39.911% | 6.023% |
88
+
89
+ </details>
90
+
91
+ ### Same-prompt continuations
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>
98
+
99
+ | [AdamW](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/abstracts-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/abstracts-pilot-s00-trace-r01-fp64/samples.jsonl) | [Third order](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/abstracts-pilot-s00-third-r01-fp64/samples.jsonl) |
100
+ | --- | --- | --- |
101
+ | <samp> that will accurately predict the behavior of<br>patient-specific neurological disorders such as epilepsy. In this paper, we<br>present a novel dataset of EEG data recorded from children with focal<br>subcortical epilepsy</samp> | <samp> that will be used to assess the cognitive<br>performance of neurological disorders. We will focus on three major areas:<br>(1) the nervous system as a whole, (2) the brain regions that</samp> | <samp> that will accurately predict the behavior of<br>patient-specific neurological disorders such as epilepsy. In this paper, we<br>present a novel dataset of EEG data recorded from children with focal<br>subcortical epilepsy</samp> |
102
+
103
+ </details>
104
+
105
+ <details><summary>TinyStories hybrid schedules · same prompt, seed 21</summary>
106
+
107
+ **Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
108
+
109
+ | [Adaptive](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-hybrid-s21-adaptive-r01/samples.jsonl) | [Fixed ramp](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-hybrid-s21-late-r01/samples.jsonl) |
110
+ | --- | --- |
111
+ | <samp> to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.<br><br>One day, Max found a big hole in his house</samp> | <samp> to play on the swings and slide. His owner liked to run and play outside. Lily was happy to see his dog and play.<br><br>One day, Max found a big hole in his mail</samp> |
112
+
113
+ </details>
114
+
115
+ <!-- COMPARISONS:END -->
116
+
117
+ ## Research materials
118
+
119
  | Material | Hugging Face location |
120
  |---|---|
121
  | Complete Git tree, locked environment, tests and instructions | [Research tree](https://huggingface.co/BurnyCoder/thirdloss-study/tree/main/research) · [README](research/README.md) |
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,6 +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-strong-r01](./stories-hybrid-s22-strong-r01/experiment.md) | TinyStories | Stronger trace | hybrid | 22 | 0.010 | 16,777,216 | 2.5464 | — | 60,263 | complete |
33
  | [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 |
34
  | [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 | 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 |
research/reports/experiments/learnings.md CHANGED
@@ -52,6 +52,8 @@ 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-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.
56
 
57
  - [stories-hybrid-s22-trace-r01](./stories-hybrid-s22-trace-r01/experiment.md) — Development NLL changed by -0.1860 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
 
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
 
59
  - [stories-hybrid-s22-trace-r01](./stories-hybrid-s22-trace-r01/experiment.md) — Development NLL changed by -0.1860 nats per target token from 8,912,896 to 16,777,216 training targets. Attribution to the regularizer uses matched comparisons across seeds.
research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TinyStories · Cross-seed replay
2
+
3
+ Run `stories-hybrid-s22-replay-r01` · [raw records](../../../results/stories-hybrid-s22-replay-r01/) · [registered design](../../preregistration.md)
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)
research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md ADDED
@@ -0,0 +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)
research/reports/hybrid/results.md CHANGED
@@ -36,6 +36,7 @@ Two-sided directional width is measured in the original Euclidean weight coordin
36
  | 22 | Fixed late hybrid | [2048](../../results/stories-hybrid-s22-late-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
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 | Stronger trace | [2048](../../results/stories-hybrid-s22-strong-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
40
  | 22 | Stronger trace | [3072](../../results/stories-hybrid-s22-strong-r01/width-3072.json) | 13.96240 | 13.96143 | 13.96338 | 0 | 2.65431 | 6.13 |
41
  | 22 | Stronger trace | [4096](../../results/stories-hybrid-s22-strong-r01/width-4096.json) | 13.23291 | 13.23193 | 13.23389 | 0 | 2.60456 | 6.56 |
 
36
  | 22 | Fixed late hybrid | [2048](../../results/stories-hybrid-s22-late-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 |
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 |
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:54:06+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: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
 
research/reports/summary.md CHANGED
@@ -1,6 +1,6 @@
1
  # Study summary
2
 
3
- Recorded 35 runs, including 34 with a completed summary.
4
 
5
  **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
6
 
 
1
  # Study summary
2
 
3
+ Recorded 36 runs, including 34 with a completed summary.
4
 
5
  **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
6
 
research/results/stories-hybrid-s22-replay-r01/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stage": "stories",
3
+ "phase": "hybrid",
4
+ "id": "stories-hybrid-s22-replay-r01",
5
+ "method": "replay",
6
+ "seed": 22,
7
+ "ratio": 0.01,
8
+ "token_budget": 16777216,
9
+ "batch_windows": 32,
10
+ "context": 128,
11
+ "schedule_steps": 4096,
12
+ "protocol": "hybrid-v1",
13
+ "alpha": 9.169227719425724e-08,
14
+ "cap": 3.0190450056526336e-14,
15
+ "parent": "stories-branch-s22-trunk-r01",
16
+ "parent_weights_sha256": "2c29d0875ddda9ec0821270e3e771d7e08f68c46fc10e5fdeb8a1e2ed3ed3815",
17
+ "inherited_tokens": 8388608,
18
+ "inherited_train_seconds": 135.50772570003392,
19
+ "parent_restart_sha256": "a17dc63a12bb1923f8f6823cf879bb252eab7f857249ca471927b7a4a3321e7d",
20
+ "donor": "stories-hybrid-s21-adaptive-r01",
21
+ "donor_schedule_sha256": "fdf19d278f2c711b3ed99d870ea621d4db8465d1b6bbbe62f6ea1934864e2d24",
22
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
23
+ "microbatch": 32,
24
+ "coefficients": {
25
+ "trace": 9.169227719425724e-08,
26
+ "third": 3.0190450056526336e-14
27
+ }
28
+ }
research/results/stories-hybrid-s22-replay-r01/events.jsonl ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"timestamp": "2026-11-25T15:54:53+00:00", "step": 2056, "tokens": 8421376, "train_seconds": 135.8457460000336, "loss": 2.8526439666748047, "accuracy": 0.424560546875, "lr": 0.000175290411857289, "gradient_norm": 1.4750518798828125, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 135.8457460000336, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
2
+ {"timestamp": "2026-11-25T15:54:54+00:00", "step": 2064, "tokens": 8454144, "train_seconds": 136.58271780003088, "loss": 2.533557891845703, "accuracy": 0.457763671875, "lr": 0.00017442074840064858, "gradient_norm": 1.334405779838562, "derivatives": {"trace": {"estimate": 8953.138671875, "raw_grad_norm": 161118.078125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2991473000001861}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 136.58271780003088, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.17734353495733554, "curvature_rms": 0.40458247263729025, "monitor_mean_nll": 2.7161652743816376, "reference_rms": 0.40627240028656303, "penalty": 0.006567469382881492}
3
+ {"timestamp": "2026-11-25T15:54:54+00:00", "step": 2065, "tokens": 8458240, "train_seconds": 136.86232850003034, "loss": 2.7569339275360107, "accuracy": 0.4345703125, "lr": 0.00017431201208838718, "gradient_norm": 1.4716135263442993, "derivatives": {"trace": {"estimate": 9653.951171875, "raw_grad_norm": 222519.296875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.244917500000156}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 136.86232850003034, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.007081542134971096}
4
+ {"timestamp": "2026-11-25T15:54:55+00:00", "step": 2072, "tokens": 8486912, "train_seconds": 137.14689540002837, "loss": 2.6657614707946777, "accuracy": 0.4501953125, "lr": 0.0001735506919000244, "gradient_norm": 1.4212980270385742, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 137.14689540002837, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
5
+ {"timestamp": "2026-11-25T15:54:55+00:00", "step": 2075, "tokens": 8499200, "train_seconds": 137.4903315000265, "loss": 2.6434388160705566, "accuracy": 0.445068359375, "lr": 0.0001732243267889762, "gradient_norm": 1.3720983266830444, "derivatives": {"trace": {"estimate": 5030.052734375, "raw_grad_norm": 225790.359375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.21866860000045563}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 137.4903315000265, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.0036897359169763525}
6
+ {"timestamp": "2026-11-25T15:54:55+00:00", "step": 2078, "tokens": 8511488, "train_seconds": 137.839252100026, "loss": 2.569094181060791, "accuracy": 0.457763671875, "lr": 0.00017289791342541474, "gradient_norm": 1.4350428581237793, "derivatives": {"trace": {"estimate": 5780.830078125, "raw_grad_norm": 192603.6875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2515008999998827}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 137.839252100026, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.004240459791490698}
7
+ {"timestamp": "2026-11-25T15:54:56+00:00", "step": 2080, "tokens": 8519680, "train_seconds": 138.00505940002768, "loss": 2.727964162826538, "accuracy": 0.435791015625, "lr": 0.0001726802786551304, "gradient_norm": 1.383286952972412, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 138.00505940002768, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.1604968604748455, "curvature_rms": 0.40806009668755466, "monitor_mean_nll": 2.717899441719055, "reference_rms": 0.40627240028656303}
8
+ {"timestamp": "2026-11-25T15:54:56+00:00", "step": 2084, "tokens": 8536064, "train_seconds": 138.39612420002777, "loss": 2.9224605560302734, "accuracy": 0.408935546875, "lr": 0.00017224494960135407, "gradient_norm": 1.441678524017334, "derivatives": {"trace": {"estimate": 5634.16259765625, "raw_grad_norm": 164137.796875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2295793000012054}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 138.39612420002777, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.004132873589294506}
9
+ {"timestamp": "2026-11-25T15:54:56+00:00", "step": 2088, "tokens": 8552448, "train_seconds": 138.56983730002685, "loss": 2.7021000385284424, "accuracy": 0.4443359375, "lr": 0.00017180954498056443, "gradient_norm": 1.388410210609436, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 138.56983730002685, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
10
+ {"timestamp": "2026-11-25T15:54:57+00:00", "step": 2096, "tokens": 8585216, "train_seconds": 138.99741270002596, "loss": 2.686248779296875, "accuracy": 0.441650390625, "lr": 0.000170938527204293, "gradient_norm": 1.423256278038025, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 138.99741270002596, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.2646025943138028, "curvature_rms": 0.4288260909023779, "monitor_mean_nll": 2.7149694561958313, "reference_rms": 0.40627240028656303}
11
+ {"timestamp": "2026-11-25T15:54:57+00:00", "step": 2104, "tokens": 8617984, "train_seconds": 139.31158900002993, "loss": 2.8394296169281006, "accuracy": 0.424560546875, "lr": 0.00017006726166613568, "gradient_norm": 1.4820921421051025, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 139.31158900002993, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
12
+ {"timestamp": "2026-11-25T15:54:58+00:00", "step": 2105, "tokens": 8622080, "train_seconds": 139.60599710003044, "loss": 2.72000789642334, "accuracy": 0.4345703125, "lr": 0.00016995833786341433, "gradient_norm": 1.4375675916671753, "derivatives": {"trace": {"estimate": 9626.474609375, "raw_grad_norm": 190324.375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2574768000013137}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 139.60599710003044, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.007061387026290333}
13
+ {"timestamp": "2026-11-25T15:54:58+00:00", "step": 2112, "tokens": 8650752, "train_seconds": 139.9667681000301, "loss": 2.714722156524658, "accuracy": 0.444091796875, "lr": 0.00016919578471624893, "gradient_norm": 1.4466490745544434, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 139.9667681000301, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.1423094682894177, "curvature_rms": 0.42948236431116094, "monitor_mean_nll": 2.710031270980835, "reference_rms": 0.40627240028656303}
14
+ {"timestamp": "2026-11-25T15:54:58+00:00", "step": 2113, "tokens": 8654848, "train_seconds": 140.26915160003045, "loss": 2.8289952278137207, "accuracy": 0.416748046875, "lr": 0.0001690868370433875, "gradient_norm": 1.489578366279602, "derivatives": {"trace": {"estimate": 7830.53125, "raw_grad_norm": 187827.359375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24741109999922628}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 140.26915160003045, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.005743993935626349}
15
+ {"timestamp": "2026-11-25T15:54:59+00:00", "step": 2120, "tokens": 8683520, "train_seconds": 140.79010930002732, "loss": 2.6836845874786377, "accuracy": 0.4482421875, "lr": 0.00016832413271360936, "gradient_norm": 1.4167890548706055, "derivatives": {"trace": {"estimate": 7015.529296875, "raw_grad_norm": 170710.25, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2611410999998043}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 140.79010930002732, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.0051461588556279605}
16
+ {"timestamp": "2026-11-25T15:54:59+00:00", "step": 2128, "tokens": 8716288, "train_seconds": 141.1875804000265, "loss": 2.7693190574645996, "accuracy": 0.432373046875, "lr": 0.00016745234202449727, "gradient_norm": 1.412772297859192, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 141.1875804000265, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.1801250507305195, "curvature_rms": 0.42678545078884206, "monitor_mean_nll": 2.7004706859588623, "reference_rms": 0.40627240028656303}
17
+ {"timestamp": "2026-11-25T15:55:00+00:00", "step": 2130, "tokens": 8724480, "train_seconds": 141.51040680002552, "loss": 2.803834915161133, "accuracy": 0.419189453125, "lr": 0.00016723437694470398, "gradient_norm": 1.4266005754470825, "derivatives": {"trace": {"estimate": 9024.185546875, "raw_grad_norm": 210013.625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2455205999995087}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 141.51040680002552, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.006619584980931779}
18
+ {"timestamp": "2026-11-25T15:55:00+00:00", "step": 2136, "tokens": 8749056, "train_seconds": 141.72515320002276, "loss": 2.584160804748535, "accuracy": 0.45947265625, "lr": 0.00016658044902097892, "gradient_norm": 1.3566699028015137, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 141.72515320002276, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
19
+ {"timestamp": "2026-11-25T15:55:00+00:00", "step": 2144, "tokens": 8781824, "train_seconds": 142.09917110002243, "loss": 2.7473902702331543, "accuracy": 0.42626953125, "lr": 0.00016570849007938938, "gradient_norm": 1.4037998914718628, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 142.09917110002243, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.18455180172518956, "curvature_rms": 0.426743992558504, "monitor_mean_nll": 2.7164241671562195, "reference_rms": 0.40627240028656303}
20
+ {"timestamp": "2026-11-25T15:55:01+00:00", "step": 2149, "tokens": 8802304, "train_seconds": 142.4945549000222, "loss": 2.8070969581604004, "accuracy": 0.43310546875, "lr": 0.00016516349842118555, "gradient_norm": 1.4459227323532104, "derivatives": {"trace": {"estimate": 10093.736328125, "raw_grad_norm": 234561.75, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2223033000009309}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 142.4945549000222, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.007404141354593454}
21
+ {"timestamp": "2026-11-25T15:55:01+00:00", "step": 2152, "tokens": 8814592, "train_seconds": 142.59369570001763, "loss": 2.7975053787231445, "accuracy": 0.426025390625, "lr": 0.00016483650157881444, "gradient_norm": 1.4957431554794312, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 142.59369570001763, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
22
+ {"timestamp": "2026-11-25T15:55:01+00:00", "step": 2160, "tokens": 8847360, "train_seconds": 142.94412100001682, "loss": 2.6668694019317627, "accuracy": 0.4423828125, "lr": 0.00016396451989957354, "gradient_norm": 1.37712562084198, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 142.94412100001682, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.1645014191838388, "curvature_rms": 0.42495810939252937, "monitor_mean_nll": 2.6992127299308777, "reference_rms": 0.40627240028656303}
23
+ {"timestamp": "2026-11-25T15:55:02+00:00", "step": 2165, "tokens": 8867840, "train_seconds": 143.38156550001804, "loss": 2.6549057960510254, "accuracy": 0.45263671875, "lr": 0.00016341955097902105, "gradient_norm": 1.4204156398773193, "derivatives": {"trace": {"estimate": 8057.615234375, "raw_grad_norm": 187747.46875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.250637099999949}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 143.38156550001804, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.0059105687167598595}
24
+ {"timestamp": "2026-11-25T15:55:02+00:00", "step": 2168, "tokens": 8880128, "train_seconds": 143.49386590001632, "loss": 2.75510311126709, "accuracy": 0.4345703125, "lr": 0.00016309258142170114, "gradient_norm": 1.4207968711853027, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 143.49386590001632, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0}
25
+ {"timestamp": "2026-11-25T15:55:02+00:00", "step": 2169, "tokens": 8884224, "train_seconds": 143.77195150001717, "loss": 2.887307643890381, "accuracy": 0.414794921875, "lr": 0.00016298359396139974, "gradient_norm": 1.471611499786377, "derivatives": {"trace": {"estimate": 10186.4794921875, "raw_grad_norm": 181560.84375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2367004999996425}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 143.77195150001717, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.007472172009850183}
26
+ {"timestamp": "2026-11-25T15:55:02+00:00", "step": 2170, "tokens": 8888320, "train_seconds": 144.06533920001857, "loss": 2.6136670112609863, "accuracy": 0.444580078125, "lr": 0.00016287460781558226, "gradient_norm": 1.4413173198699951, "derivatives": {"trace": {"estimate": 8265.5546875, "raw_grad_norm": 186771.03125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2533179999991262}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 144.06533920001857, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.006063100252564338}
27
+ {"timestamp": "2026-11-25T15:55:03+00:00", "step": 2175, "tokens": 8908800, "train_seconds": 144.55432220001967, "loss": 2.7876038551330566, "accuracy": 0.43017578125, "lr": 0.00016232969929038066, "gradient_norm": 1.4018980264663696, "derivatives": {"trace": {"estimate": 7841.0615234375, "raw_grad_norm": 199155.328125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2714985999991768}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 144.55432220001967, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "penalty": 0.00575171829363405}
28
+ {"timestamp": "2026-11-25T15:55:03+00:00", "step": 2176, "tokens": 8912896, "train_seconds": 144.68526750002093, "loss": 2.614448308944702, "accuracy": 0.46142578125, "lr": 0.00016222072252342952, "gradient_norm": 1.4938191175460815, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 144.68526750002093, "trace_lambda": 9.169227719425724e-08, "third_lambda": 0.0, "curvature_q": 0.1677821393969109, "curvature_rms": 0.4245163231655321, "monitor_mean_nll": 2.682565003633499, "reference_rms": 0.40627240028656303, "dev_nll": 2.7331274707685225, "dev_accuracy": 0.4383544921875}
29
+ {"timestamp": "2026-11-25T15:55:04+00:00", "step": 2184, "tokens": 8945664, "train_seconds": 145.00944150002033, "loss": 2.6539406776428223, "accuracy": 0.443115234375, "lr": 0.00016134897957967084, "gradient_norm": 1.3950599431991577, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 145.00944150002033, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.056748865902562e-16}
30
+ {"timestamp": "2026-11-25T15:55:05+00:00", "step": 2187, "tokens": 8957952, "train_seconds": 146.05627690002075, "loss": 2.6564931869506836, "accuracy": 0.44287109375, "lr": 0.0001610221132936601, "gradient_norm": 1.410874605178833, "derivatives": {"trace": {"estimate": 8860.56640625, "raw_grad_norm": 231015.34375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24387279999973543}, "third": {"estimate": 14535758848.0, "raw_grad_norm": 472033427456.0, "lambda": 1.056748865902562e-16, "probe_seconds": 0.6937378000002354}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 146.05627690002075, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.056748865902562e-16, "penalty": 0.006511852605502115}
31
+ {"timestamp": "2026-11-25T15:55:05+00:00", "step": 2192, "tokens": 8978432, "train_seconds": 146.36544200001845, "loss": 2.7927966117858887, "accuracy": 0.423583984375, "lr": 0.00016047738896049924, "gradient_norm": 1.4314513206481934, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 146.36544200001845, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.056748865902562e-16, "curvature_q": 0.15971695204783173, "curvature_rms": 0.4219132443646378, "monitor_mean_nll": 2.7149698436260223, "reference_rms": 0.40627240028656303}
32
+ {"timestamp": "2026-11-25T15:55:06+00:00", "step": 2195, "tokens": 8990720, "train_seconds": 147.44195180001952, "loss": 2.5826101303100586, "accuracy": 0.467529296875, "lr": 0.00016015058917161982, "gradient_norm": 1.5040053129196167, "derivatives": {"trace": {"estimate": 7207.9462890625, "raw_grad_norm": 163171.65625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.27208520000021963}, "third": {"estimate": 10030228480.0, "raw_grad_norm": 159167152128.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6804128999992827}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 147.44195180001952, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005341846521794204}
33
+ {"timestamp": "2026-11-25T15:55:06+00:00", "step": 2200, "tokens": 9011200, "train_seconds": 147.61741360001906, "loss": 2.599270820617676, "accuracy": 0.44287109375, "lr": 0.00015960598702963408, "gradient_norm": 1.5807416439056396, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 147.61741360001906, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
34
+ {"timestamp": "2026-11-25T15:55:07+00:00", "step": 2208, "tokens": 9043968, "train_seconds": 147.99507380001523, "loss": 2.832446575164795, "accuracy": 0.434326171875, "lr": 0.00015873481014292212, "gradient_norm": 1.4554601907730103, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 147.99507380001523, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.19449765935834396, "curvature_rms": 0.42692023333490753, "monitor_mean_nll": 2.7280301451683044, "reference_rms": 0.40627240028656303}
35
+ {"timestamp": "2026-11-25T15:55:08+00:00", "step": 2216, "tokens": 9076736, "train_seconds": 149.2956672000164, "loss": 2.714240312576294, "accuracy": 0.436767578125, "lr": 0.00015786389464682123, "gradient_norm": 1.4959640502929688, "derivatives": {"trace": {"estimate": 6787.7216796875, "raw_grad_norm": 163356.5, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2755403999999544}, "third": {"estimate": 8932582400.0, "raw_grad_norm": 146519195648.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6954380000006495}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 149.2956672000164, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005027626923099256}
36
+ {"timestamp": "2026-11-25T15:55:09+00:00", "step": 2224, "tokens": 9109504, "train_seconds": 149.71565110001757, "loss": 2.7985517978668213, "accuracy": 0.41845703125, "lr": 0.0001569932768768837, "gradient_norm": 1.4414687156677246, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 149.71565110001757, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.17269260198496109, "curvature_rms": 0.41324585489708987, "monitor_mean_nll": 2.7420680224895477, "reference_rms": 0.40627240028656303}
37
+ {"timestamp": "2026-11-25T15:55:10+00:00", "step": 2226, "tokens": 9117696, "train_seconds": 150.78208620001715, "loss": 2.8401317596435547, "accuracy": 0.421875, "lr": 0.00015677567321102377, "gradient_norm": 1.44349205493927, "derivatives": {"trace": {"estimate": 6274.14208984375, "raw_grad_norm": 187268.53125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.29649980000067444}, "third": {"estimate": 12358422528.0, "raw_grad_norm": 249125781504.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.7006895000013174}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 150.78208620001715, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.004669525724322149}
38
+ {"timestamp": "2026-11-25T15:55:11+00:00", "step": 2230, "tokens": 9134080, "train_seconds": 151.85386940001808, "loss": 2.7031967639923096, "accuracy": 0.433837890625, "lr": 0.0001563405307833683, "gradient_norm": 1.5223965644836426, "derivatives": {"trace": {"estimate": 10625.0517578125, "raw_grad_norm": 211135.546875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2613113000006706}, "third": {"estimate": 11080300544.0, "raw_grad_norm": 262889259008.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6652721999998903}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 151.85386940001808, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007854134065970018}
39
+ {"timestamp": "2026-11-25T15:55:11+00:00", "step": 2232, "tokens": 9142272, "train_seconds": 151.92543060002026, "loss": 2.680083751678467, "accuracy": 0.451171875, "lr": 0.00015612299315624027, "gradient_norm": 1.3948506116867065, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 151.92543060002026, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
40
+ {"timestamp": "2026-11-25T15:55:12+00:00", "step": 2233, "tokens": 9146368, "train_seconds": 152.8345601000201, "loss": 2.7874526977539062, "accuracy": 0.427490234375, "lr": 0.00015601423298753102, "gradient_norm": 1.4143898487091064, "derivatives": {"trace": {"estimate": 10361.951171875, "raw_grad_norm": 179842.921875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24080069999945408}, "third": {"estimate": 11935446016.0, "raw_grad_norm": 479985500160.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.633036400000492}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 152.8345601000201, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007665789847332413}
41
+ {"timestamp": "2026-11-25T15:55:12+00:00", "step": 2240, "tokens": 9175040, "train_seconds": 153.16160040001887, "loss": 2.745760202407837, "accuracy": 0.42919921875, "lr": 0.000155253079794085, "gradient_norm": 1.472128987312317, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 153.16160040001887, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.2694419339842479, "curvature_rms": 0.4320459406145143, "monitor_mean_nll": 2.745947778224945, "reference_rms": 0.40627240028656303}
42
+ {"timestamp": "2026-11-25T15:55:13+00:00", "step": 2247, "tokens": 9203712, "train_seconds": 154.34444630001963, "loss": 2.7493464946746826, "accuracy": 0.426025390625, "lr": 0.00015449223794400637, "gradient_norm": 1.4502931833267212, "derivatives": {"trace": {"estimate": 9077.7255859375, "raw_grad_norm": 195383.75, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2780832999997074}, "third": {"estimate": 13734898688.0, "raw_grad_norm": 404891631616.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6778529999992315}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 154.34444630001963, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006733546376790208}
43
+ {"timestamp": "2026-11-25T15:55:13+00:00", "step": 2248, "tokens": 9207808, "train_seconds": 154.38468990002002, "loss": 2.727226972579956, "accuracy": 0.443359375, "lr": 0.00015438357308415995, "gradient_norm": 1.4731857776641846, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 154.38468990002002, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
44
+ {"timestamp": "2026-11-25T15:55:14+00:00", "step": 2256, "tokens": 9240576, "train_seconds": 154.79845790001855, "loss": 2.653602123260498, "accuracy": 0.459716796875, "lr": 0.00015351450930324134, "gradient_norm": 1.411148190498352, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 154.79845790001855, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.2464770635494082, "curvature_rms": 0.44154014132787694, "monitor_mean_nll": 2.7314831614494324, "reference_rms": 0.40627240028656303}
45
+ {"timestamp": "2026-11-25T15:55:14+00:00", "step": 2264, "tokens": 9273344, "train_seconds": 155.11362450002161, "loss": 2.844160556793213, "accuracy": 0.427978515625, "lr": 0.0001526459247096259, "gradient_norm": 1.4469046592712402, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 155.11362450002161, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
46
+ {"timestamp": "2026-11-25T15:55:15+00:00", "step": 2266, "tokens": 9281536, "train_seconds": 156.1002798000227, "loss": 2.8025338649749756, "accuracy": 0.422607421875, "lr": 0.00015242885768137536, "gradient_norm": 1.432362675666809, "derivatives": {"trace": {"estimate": 8354.689453125, "raw_grad_norm": 189613.078125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22273409999979776}, "third": {"estimate": 14162923520.0, "raw_grad_norm": 586265526272.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6952990999998292}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 156.1002798000227, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006205499257214843}
47
+ {"timestamp": "2026-11-25T15:55:16+00:00", "step": 2267, "tokens": 9285632, "train_seconds": 157.0727485000225, "loss": 2.852663040161133, "accuracy": 0.4287109375, "lr": 0.00015232033642446143, "gradient_norm": 1.570852279663086, "derivatives": {"trace": {"estimate": 8407.666015625, "raw_grad_norm": 171360.984375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24353640000117593}, "third": {"estimate": 13103894528.0, "raw_grad_norm": 236635979776.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.690477699999974}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 157.0727485000225, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006238600794960911}
48
+ {"timestamp": "2026-11-25T15:55:16+00:00", "step": 2272, "tokens": 9306112, "train_seconds": 157.3401967000209, "loss": 2.5739941596984863, "accuracy": 0.4638671875, "lr": 0.0001517778555416181, "gradient_norm": 1.4172985553741455, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 157.3401967000209, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.15464906845472687, "curvature_rms": 0.4372869249646434, "monitor_mean_nll": 2.709808647632599, "reference_rms": 0.40627240028656303}
49
+ {"timestamp": "2026-11-25T15:55:17+00:00", "step": 2277, "tokens": 9326592, "train_seconds": 158.42343700001948, "loss": 2.78183650970459, "accuracy": 0.438232421875, "lr": 0.00015123559014454694, "gradient_norm": 1.40961492061615, "derivatives": {"trace": {"estimate": 7951.1904296875, "raw_grad_norm": 177456.015625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23328980000042066}, "third": {"estimate": 10193433600.0, "raw_grad_norm": 209537941504.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.665209099999629}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 158.42343700001948, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005887931981893088}
50
+ {"timestamp": "2026-11-25T15:55:17+00:00", "step": 2280, "tokens": 9338880, "train_seconds": 158.5451961000199, "loss": 2.885830879211426, "accuracy": 0.421875, "lr": 0.00015091033801601828, "gradient_norm": 1.483160376548767, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 158.5451961000199, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
51
+ {"timestamp": "2026-11-25T15:55:18+00:00", "step": 2281, "tokens": 9342976, "train_seconds": 159.43739990001995, "loss": 2.7024357318878174, "accuracy": 0.445556640625, "lr": 0.00015080193891555636, "gradient_norm": 1.453963041305542, "derivatives": {"trace": {"estimate": 9512.328125, "raw_grad_norm": 189286.75, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24610309999843594}, "third": {"estimate": 14833549312.0, "raw_grad_norm": 512047742976.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6150175999991916}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 159.43739990001995, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007058318198916844}
52
+ {"timestamp": "2026-11-25T15:55:19+00:00", "step": 2288, "tokens": 9371648, "train_seconds": 159.8018322000189, "loss": 2.7463836669921875, "accuracy": 0.427978515625, "lr": 0.0001500434083266117, "gradient_norm": 1.4827558994293213, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 159.8018322000189, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.26124045112823113, "curvature_rms": 0.45090157877089176, "monitor_mean_nll": 2.719747930765152, "reference_rms": 0.40627240028656303}
53
+ {"timestamp": "2026-11-25T15:55:19+00:00", "step": 2296, "tokens": 9404416, "train_seconds": 160.1040519000162, "loss": 2.824936866760254, "accuracy": 0.425537109375, "lr": 0.00014917710264265835, "gradient_norm": 1.4218528270721436, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 160.1040519000162, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
54
+ {"timestamp": "2026-11-25T15:55:20+00:00", "step": 2301, "tokens": 9424896, "train_seconds": 161.16158130001713, "loss": 2.8007969856262207, "accuracy": 0.4365234375, "lr": 0.00014863599452882097, "gradient_norm": 1.4857288599014282, "derivatives": {"trace": {"estimate": 9588.32421875, "raw_grad_norm": 187691.609375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2501553000001877}, "third": {"estimate": 9902348288.0, "raw_grad_norm": 256821755904.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.615149700000984}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 161.16158130001713, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007087249317612839}
55
+ {"timestamp": "2026-11-25T15:55:20+00:00", "step": 2304, "tokens": 9437184, "train_seconds": 161.3741380000174, "loss": 2.750746726989746, "accuracy": 0.433837890625, "lr": 0.00014831145710738418, "gradient_norm": 1.4532850980758667, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 161.3741380000174, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.2625555592047644, "curvature_rms": 0.46385225149185644, "monitor_mean_nll": 2.7367852330207825, "reference_rms": 0.40627240028656303, "dev_nll": 2.7031473200186156, "dev_accuracy": 0.445068359375}
56
+ {"timestamp": "2026-11-25T15:55:21+00:00", "step": 2312, "tokens": 9469952, "train_seconds": 161.70297350001965, "loss": 2.6625356674194336, "accuracy": 0.451171875, "lr": 0.00014744650783647288, "gradient_norm": 1.433468222618103, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 161.70297350001965, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
57
+ {"timestamp": "2026-11-25T15:55:22+00:00", "step": 2320, "tokens": 9502720, "train_seconds": 162.1159732000233, "loss": 2.699277639389038, "accuracy": 0.445068359375, "lr": 0.00014658229091655926, "gradient_norm": 1.450286626815796, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 162.1159732000233, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.1744173541189663, "curvature_rms": 0.4658287898712962, "monitor_mean_nll": 2.725095361471176, "reference_rms": 0.40627240028656303}
58
+ {"timestamp": "2026-11-25T15:55:23+00:00", "step": 2325, "tokens": 9523200, "train_seconds": 163.2756999000212, "loss": 2.660189151763916, "accuracy": 0.44189453125, "lr": 0.0001460425432609347, "gradient_norm": 1.4409747123718262, "derivatives": {"trace": {"estimate": 7448.65673828125, "raw_grad_norm": 215024.421875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2698575000013079}, "third": {"estimate": 14845188096.0, "raw_grad_norm": 399351087104.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6797700999995868}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 163.2756999000212, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005544599657749346}
59
+ {"timestamp": "2026-11-25T15:55:23+00:00", "step": 2328, "tokens": 9535488, "train_seconds": 163.39608030002273, "loss": 2.7807116508483887, "accuracy": 0.435302734375, "lr": 0.00014571884240372363, "gradient_norm": 1.4562138319015503, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 163.39608030002273, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
60
+ {"timestamp": "2026-11-25T15:55:24+00:00", "step": 2336, "tokens": 9568256, "train_seconds": 164.72462960002122, "loss": 2.566248893737793, "accuracy": 0.4462890625, "lr": 0.00014485619832198756, "gradient_norm": 1.4494245052337646, "derivatives": {"trace": {"estimate": 6366.72265625, "raw_grad_norm": 202676.09375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22319400000014866}, "third": {"estimate": 16432519168.0, "raw_grad_norm": 630308012032.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6881573999999091}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 164.72462960002122, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.23219835281228887, "curvature_rms": 0.47085990289543594, "monitor_mean_nll": 2.691820651292801, "reference_rms": 0.40627240028656303, "penalty": 0.004759591260044182}
61
+ {"timestamp": "2026-11-25T15:55:25+00:00", "step": 2343, "tokens": 9596928, "train_seconds": 165.88790070002324, "loss": 2.6529626846313477, "accuracy": 0.447021484375, "lr": 0.0001441020729294894, "gradient_norm": 1.4698753356933594, "derivatives": {"trace": {"estimate": 7735.1767578125, "raw_grad_norm": 207622.890625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24890210000012303}, "third": {"estimate": 11561789440.0, "raw_grad_norm": 184889098240.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6473454000006313}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 165.88790070002324, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005736918553303473}
62
+ {"timestamp": "2026-11-25T15:55:25+00:00", "step": 2344, "tokens": 9601024, "train_seconds": 165.9216902000244, "loss": 2.6174325942993164, "accuracy": 0.4560546875, "lr": 0.00014399439466181087, "gradient_norm": 1.3984729051589966, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 165.9216902000244, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
63
+ {"timestamp": "2026-11-25T15:55:26+00:00", "step": 2346, "tokens": 9609216, "train_seconds": 166.92456810002477, "loss": 2.7027111053466797, "accuracy": 0.43896484375, "lr": 0.00014377907927695026, "gradient_norm": 1.4378678798675537, "derivatives": {"trace": {"estimate": 7034.5029296875, "raw_grad_norm": 189931.296875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2254709000008006}, "third": {"estimate": 13719969792.0, "raw_grad_norm": 270789443584.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.7039380000005622}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 166.92456810002477, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005234683291000294}
64
+ {"timestamp": "2026-11-25T15:55:27+00:00", "step": 2347, "tokens": 9613312, "train_seconds": 167.88645730002463, "loss": 2.6680047512054443, "accuracy": 0.4443359375, "lr": 0.000143671442300131, "gradient_norm": 1.4740067720413208, "derivatives": {"trace": {"estimate": 5796.89892578125, "raw_grad_norm": 201444.3125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2807374999993044}, "third": {"estimate": 17776365568.0, "raw_grad_norm": 451946938368.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6349832999985665}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 167.88645730002463, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.004348911354111603}
65
+ {"timestamp": "2026-11-25T15:55:28+00:00", "step": 2352, "tokens": 9633792, "train_seconds": 168.1950909000243, "loss": 2.698601722717285, "accuracy": 0.429443359375, "lr": 0.00014313346737859, "gradient_norm": 1.4526429176330566, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 168.1950909000243, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.15924620410598553, "curvature_rms": 0.4690716879324816, "monitor_mean_nll": 2.679326891899109, "reference_rms": 0.40627240028656303}
66
+ {"timestamp": "2026-11-25T15:55:29+00:00", "step": 2354, "tokens": 9641984, "train_seconds": 169.1542176000239, "loss": 2.6887667179107666, "accuracy": 0.43798828125, "lr": 0.0001429183767017472, "gradient_norm": 1.4779951572418213, "derivatives": {"trace": {"estimate": 7409.615234375, "raw_grad_norm": 181804.671875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2573534000002837}, "third": {"estimate": 9935580160.0, "raw_grad_norm": 168546369536.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6158537000010256}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 169.1542176000239, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005489263721158366}
67
+ {"timestamp": "2026-11-25T15:55:30+00:00", "step": 2356, "tokens": 9650176, "train_seconds": 170.06045330002416, "loss": 2.490509033203125, "accuracy": 0.45947265625, "lr": 0.0001427033436044426, "gradient_norm": 1.3842780590057373, "derivatives": {"trace": {"estimate": 8992.34765625, "raw_grad_norm": 163103.703125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23329019999982847}, "third": {"estimate": 11628331008.0, "raw_grad_norm": 193780776960.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.598279800000455}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 170.06045330002416, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.00665946329352201}
68
+ {"timestamp": "2026-11-25T15:55:30+00:00", "step": 2360, "tokens": 9666560, "train_seconds": 170.20400070002324, "loss": 2.5716934204101562, "accuracy": 0.453857421875, "lr": 0.0001422734523911581, "gradient_norm": 1.377454161643982, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 170.20400070002324, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
69
+ {"timestamp": "2026-11-25T15:55:31+00:00", "step": 2362, "tokens": 9674752, "train_seconds": 171.18238580002435, "loss": 2.617776870727539, "accuracy": 0.447998046875, "lr": 0.00014205859539615266, "gradient_norm": 1.5129151344299316, "derivatives": {"trace": {"estimate": 10187.3544921875, "raw_grad_norm": 189626.0, "lambda": 9.169227719425724e-08, "probe_seconds": 0.25191909999921336}, "third": {"estimate": 13162760192.0, "raw_grad_norm": 292242030592.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6582906000003277}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 171.18238580002435, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007544390407991853}
70
+ {"timestamp": "2026-11-25T15:55:31+00:00", "step": 2368, "tokens": 9699328, "train_seconds": 171.48157250002623, "loss": 2.760845184326172, "accuracy": 0.4306640625, "lr": 0.00014141438558028612, "gradient_norm": 1.4335784912109375, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 171.48157250002623, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.22195960951380025, "curvature_rms": 0.4627018023101071, "monitor_mean_nll": 2.6812125146389008, "reference_rms": 0.40627240028656303}
71
+ {"timestamp": "2026-11-25T15:55:31+00:00", "step": 2376, "tokens": 9732096, "train_seconds": 171.7423556000249, "loss": 2.662153720855713, "accuracy": 0.447509765625, "lr": 0.00014055630278718623, "gradient_norm": 1.5044140815734863, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 171.7423556000249, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
72
+ {"timestamp": "2026-11-25T15:55:32+00:00", "step": 2382, "tokens": 9756672, "train_seconds": 172.82827060002273, "loss": 2.6648473739624023, "accuracy": 0.4462890625, "lr": 0.0001399134079916424, "gradient_norm": 1.5089895725250244, "derivatives": {"trace": {"estimate": 7115.162109375, "raw_grad_norm": 217257.953125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23079839999991236}, "third": {"estimate": 17011230720.0, "raw_grad_norm": 499436781568.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6287548000000243}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 172.82827060002273, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.00531174712428334}
73
+ {"timestamp": "2026-11-25T15:55:33+00:00", "step": 2383, "tokens": 9760768, "train_seconds": 173.71657450002203, "loss": 2.650493860244751, "accuracy": 0.431396484375, "lr": 0.00013980631569001828, "gradient_norm": 1.4287121295928955, "derivatives": {"trace": {"estimate": 9070.65625, "raw_grad_norm": 195531.203125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23738980000052834}, "third": {"estimate": 13144913920.0, "raw_grad_norm": 407962451968.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6172812999993766}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 173.71657450002203, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006725152525285431}
74
+ {"timestamp": "2026-11-25T15:55:33+00:00", "step": 2384, "tokens": 9764864, "train_seconds": 173.84070000002248, "loss": 2.6682379245758057, "accuracy": 0.45654296875, "lr": 0.0001396992398120163, "gradient_norm": 1.4730106592178345, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 173.84070000002248, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.2066333721974076, "curvature_rms": 0.4572881984504098, "monitor_mean_nll": 2.683041989803314, "reference_rms": 0.40627240028656303}
75
+ {"timestamp": "2026-11-25T15:55:35+00:00", "step": 2392, "tokens": 9797632, "train_seconds": 175.0706126000223, "loss": 2.737494468688965, "accuracy": 0.43603515625, "lr": 0.00013884323241238612, "gradient_norm": 1.4929975271224976, "derivatives": {"trace": {"estimate": 9702.11328125, "raw_grad_norm": 179638.765625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2709718000005523}, "third": {"estimate": 12473511936.0, "raw_grad_norm": 267324489728.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6432798000005278}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 175.0706126000223, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007184699435904917}
76
+ {"timestamp": "2026-11-25T15:55:36+00:00", "step": 2397, "tokens": 9818112, "train_seconds": 176.0769443000263, "loss": 2.771374225616455, "accuracy": 0.4306640625, "lr": 0.0001383087796927733, "gradient_norm": 1.386309266090393, "derivatives": {"trace": {"estimate": 7586.4853515625, "raw_grad_norm": 173161.640625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.21595979999983683}, "third": {"estimate": 21567930368.0, "raw_grad_norm": 2532953030656.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6150302000005468}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 176.0769443000263, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005682259189423353}
77
+ {"timestamp": "2026-11-25T15:55:36+00:00", "step": 2400, "tokens": 9830400, "train_seconds": 176.26226790002693, "loss": 2.703836679458618, "accuracy": 0.434326171875, "lr": 0.0001379883163018659, "gradient_norm": 1.594921588897705, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 176.26226790002693, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.21220292833370868, "curvature_rms": 0.46508787226382725, "monitor_mean_nll": 2.6992723047733307, "reference_rms": 0.40627240028656303}
78
+ {"timestamp": "2026-11-25T15:55:37+00:00", "step": 2402, "tokens": 9838592, "train_seconds": 177.20373870002732, "loss": 2.6727728843688965, "accuracy": 0.44775390625, "lr": 0.00013777476196902944, "gradient_norm": 1.3901699781417847, "derivatives": {"trace": {"estimate": 7601.93359375, "raw_grad_norm": 172738.09375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23860919999970065}, "third": {"estimate": 12031719424.0, "raw_grad_norm": 235457150976.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6307851000001392}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 177.20373870002732, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005641734988888343}
79
+ {"timestamp": "2026-11-25T15:55:38+00:00", "step": 2408, "tokens": 9863168, "train_seconds": 178.2692084000264, "loss": 2.525979995727539, "accuracy": 0.4716796875, "lr": 0.0001371345271484959, "gradient_norm": 1.4238567352294922, "derivatives": {"trace": {"estimate": 8911.17578125, "raw_grad_norm": 175462.390625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22846709999976156}, "third": {"estimate": 11652818944.0, "raw_grad_norm": 1192398422016.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6383779000007053}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 178.2692084000264, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.00660005378169379}
80
+ {"timestamp": "2026-11-25T15:55:39+00:00", "step": 2413, "tokens": 9883648, "train_seconds": 179.327436100024, "loss": 2.54245662689209, "accuracy": 0.473388671875, "lr": 0.0001366014970402715, "gradient_norm": 1.3728013038635254, "derivatives": {"trace": {"estimate": 8674.6376953125, "raw_grad_norm": 203126.75, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22339499999907275}, "third": {"estimate": 13033547776.0, "raw_grad_norm": 318160011264.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6593631000014284}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 179.327436100024, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006434052192941463}
81
+ {"timestamp": "2026-11-25T15:55:39+00:00", "step": 2416, "tokens": 9895936, "train_seconds": 179.55443530002594, "loss": 2.5711421966552734, "accuracy": 0.464599609375, "lr": 0.0001362819005732986, "gradient_norm": 1.4634045362472534, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 179.55443530002594, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.1975357845655669, "curvature_rms": 0.4564467609771824, "monitor_mean_nll": 2.6773671209812164, "reference_rms": 0.40627240028656303}
82
+ {"timestamp": "2026-11-25T15:55:40+00:00", "step": 2418, "tokens": 9904128, "train_seconds": 180.49365170002784, "loss": 2.621809482574463, "accuracy": 0.45654296875, "lr": 0.0001360689297520803, "gradient_norm": 1.403781771659851, "derivatives": {"trace": {"estimate": 11078.7080078125, "raw_grad_norm": 161623.90625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.25562510000054317}, "third": {"estimate": 12278397952.0, "raw_grad_norm": 458383818752.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6084737000001041}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 180.49365170002784, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.008193423285694022}
83
+ {"timestamp": "2026-11-25T15:55:41+00:00", "step": 2420, "tokens": 9912320, "train_seconds": 181.3850910000292, "loss": 2.700894832611084, "accuracy": 0.447998046875, "lr": 0.00013585603437086204, "gradient_norm": 1.5368479490280151, "derivatives": {"trace": {"estimate": 8028.13232421875, "raw_grad_norm": 199352.703125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.25483819999863044}, "third": {"estimate": 12600660992.0, "raw_grad_norm": 476935880704.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.5633794000004855}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 181.3850910000292, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005957461840517523}
84
+ {"timestamp": "2026-11-25T15:55:41+00:00", "step": 2424, "tokens": 9928704, "train_seconds": 181.5529182000264, "loss": 2.622986316680908, "accuracy": 0.456298828125, "lr": 0.0001354304721487925, "gradient_norm": 1.5643514394760132, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 181.5529182000264, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
85
+ {"timestamp": "2026-11-25T15:55:42+00:00", "step": 2429, "tokens": 9949184, "train_seconds": 182.6294673000284, "loss": 2.6399707794189453, "accuracy": 0.44970703125, "lr": 0.00013489895360543783, "gradient_norm": 1.4848719835281372, "derivatives": {"trace": {"estimate": 9657.0634765625, "raw_grad_norm": 163334.046875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24829049999971176}, "third": {"estimate": 10620595200.0, "raw_grad_norm": 185597788160.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6385073000001285}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 182.6294673000284, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007141577878497192}
86
+ {"timestamp": "2026-11-25T15:55:43+00:00", "step": 2430, "tokens": 9953280, "train_seconds": 183.51076870002726, "loss": 2.717196226119995, "accuracy": 0.43798828125, "lr": 0.00013479270848774718, "gradient_norm": 1.4951732158660889, "derivatives": {"trace": {"estimate": 8794.3388671875, "raw_grad_norm": 195749.5, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2088287999995373}, "third": {"estimate": 12472506368.0, "raw_grad_norm": 211009257472.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6386646000009932}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 183.51076870002726, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006518806742187417}
87
+ {"timestamp": "2026-11-25T15:55:43+00:00", "step": 2432, "tokens": 9961472, "train_seconds": 183.68300410002666, "loss": 2.736205816268921, "accuracy": 0.433349609375, "lr": 0.00013458027739750766, "gradient_norm": 1.446926236152649, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 183.68300410002666, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.20495838533455946, "curvature_rms": 0.448490801324604, "monitor_mean_nll": 2.6755495071411133, "reference_rms": 0.40627240028656303, "dev_nll": 2.6846249263035133, "dev_accuracy": 0.44580078125}
88
+ {"timestamp": "2026-11-25T15:55:45+00:00", "step": 2436, "tokens": 9977856, "train_seconds": 184.75609490002535, "loss": 2.781426429748535, "accuracy": 0.421630859375, "lr": 0.0001341556537360805, "gradient_norm": 1.4910715818405151, "derivatives": {"trace": {"estimate": 7576.392578125, "raw_grad_norm": 173780.390625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2448722999997699}, "third": {"estimate": 11472058368.0, "raw_grad_norm": 172970393600.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6738789999999426}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 184.75609490002535, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.0056199563488899444}
89
+ {"timestamp": "2026-11-25T15:55:45+00:00", "step": 2440, "tokens": 9994240, "train_seconds": 184.90038440002718, "loss": 2.758936882019043, "accuracy": 0.436279296875, "lr": 0.00013373135179050414, "gradient_norm": 1.5331029891967773, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 184.90038440002718, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
90
+ {"timestamp": "2026-11-25T15:55:46+00:00", "step": 2445, "tokens": 10014720, "train_seconds": 185.94132920002994, "loss": 2.742365837097168, "accuracy": 0.435302734375, "lr": 0.00013320143351324679, "gradient_norm": 1.5277173519134521, "derivatives": {"trace": {"estimate": 9842.841796875, "raw_grad_norm": 228108.65625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24064550000002782}, "third": {"estimate": 19380850688.0, "raw_grad_norm": 500061601792.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6209469999994326}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 185.94132920002994, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007325489956844082}
91
+ {"timestamp": "2026-11-25T15:55:46+00:00", "step": 2448, "tokens": 10027008, "train_seconds": 186.14722170003188, "loss": 2.619448184967041, "accuracy": 0.454833984375, "lr": 0.000132883730745892, "gradient_norm": 1.4603105783462524, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 186.14722170003188, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.17667159994088283, "curvature_rms": 0.44880483464477633, "monitor_mean_nll": 2.6655708253383636, "reference_rms": 0.40627240028656303}
92
+ {"timestamp": "2026-11-25T15:55:47+00:00", "step": 2455, "tokens": 10055680, "train_seconds": 187.33612670003095, "loss": 2.6158525943756104, "accuracy": 0.45263671875, "lr": 0.00013214316028260903, "gradient_norm": 1.4423439502716064, "derivatives": {"trace": {"estimate": 8002.56640625, "raw_grad_norm": 176801.125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.25231130000065605}, "third": {"estimate": 11391834112.0, "raw_grad_norm": 217574490112.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6622468999994453}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 187.33612670003095, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005932134895103705}
93
+ {"timestamp": "2026-11-25T15:55:47+00:00", "step": 2456, "tokens": 10059776, "train_seconds": 187.37530640003024, "loss": 2.8115644454956055, "accuracy": 0.42236328125, "lr": 0.00013203744962735328, "gradient_norm": 1.4461174011230469, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 187.37530640003024, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
94
+ {"timestamp": "2026-11-25T15:55:48+00:00", "step": 2460, "tokens": 10076160, "train_seconds": 188.35234520003178, "loss": 2.723545551300049, "accuracy": 0.435546875, "lr": 0.00013161482257626644, "gradient_norm": 1.4430783987045288, "derivatives": {"trace": {"estimate": 9275.205078125, "raw_grad_norm": 188239.46875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22670400000060908}, "third": {"estimate": 13287709696.0, "raw_grad_norm": 221639704576.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6006173000005219}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 188.35234520003178, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.0068759734039705}
95
+ {"timestamp": "2026-11-25T15:55:49+00:00", "step": 2462, "tokens": 10084352, "train_seconds": 189.34625790003338, "loss": 2.6229519844055176, "accuracy": 0.44580078125, "lr": 0.00013140363935691413, "gradient_norm": 1.43513023853302, "derivatives": {"trace": {"estimate": 8146.41650390625, "raw_grad_norm": 182111.6875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2547312000006059}, "third": {"estimate": 13955100672.0, "raw_grad_norm": 292152705024.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6526919000007183}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 189.34625790003338, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.0060515929887001085}
96
+ {"timestamp": "2026-11-25T15:55:50+00:00", "step": 2464, "tokens": 10092544, "train_seconds": 189.5197982000318, "loss": 2.550016403198242, "accuracy": 0.462158203125, "lr": 0.000131192543742667, "gradient_norm": 1.471111536026001, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 189.5197982000318, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.1742554245489578, "curvature_rms": 0.44066190392137217, "monitor_mean_nll": 2.66354176402092, "reference_rms": 0.40627240028656303}
97
+ {"timestamp": "2026-11-25T15:55:50+00:00", "step": 2472, "tokens": 10125312, "train_seconds": 189.82565510003587, "loss": 2.6796135902404785, "accuracy": 0.440673828125, "lr": 0.00013034904834223585, "gradient_norm": 1.4021211862564087, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 189.82565510003587, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
98
+ {"timestamp": "2026-11-25T15:55:51+00:00", "step": 2475, "tokens": 10137600, "train_seconds": 190.86278640003366, "loss": 2.6914258003234863, "accuracy": 0.439697265625, "lr": 0.00013003310839210607, "gradient_norm": 1.4046162366867065, "derivatives": {"trace": {"estimate": 9642.7373046875, "raw_grad_norm": 192328.75, "lambda": 9.169227719425724e-08, "probe_seconds": 0.28131219999886525}, "third": {"estimate": 23816843264.0, "raw_grad_norm": 2777721339904.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6313977999998315}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 190.86278640003366, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.00720282773670856}
99
+ {"timestamp": "2026-11-25T15:55:51+00:00", "step": 2480, "tokens": 10158080, "train_seconds": 191.13792140003534, "loss": 2.6079225540161133, "accuracy": 0.452392578125, "lr": 0.00012950699861761565, "gradient_norm": 1.4167346954345703, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 191.13792140003534, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.17315436945189927, "curvature_rms": 0.44263013254391964, "monitor_mean_nll": 2.6522068679332733, "reference_rms": 0.40627240028656303}
100
+ {"timestamp": "2026-11-25T15:55:52+00:00", "step": 2486, "tokens": 10182656, "train_seconds": 192.24646390003363, "loss": 2.8041110038757324, "accuracy": 0.432861328125, "lr": 0.0001288764311848473, "gradient_norm": 1.451167106628418, "derivatives": {"trace": {"estimate": 8639.322265625, "raw_grad_norm": 180832.9375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2565990999992209}, "third": {"estimate": 10380441600.0, "raw_grad_norm": 152241881088.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6275141000005533}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 192.24646390003363, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006393719895718557}
101
+ {"timestamp": "2026-11-25T15:55:53+00:00", "step": 2488, "tokens": 10190848, "train_seconds": 192.331571800034, "loss": 2.7715775966644287, "accuracy": 0.432861328125, "lr": 0.00012866642970004688, "gradient_norm": 1.4808499813079834, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 192.331571800034, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
102
+ {"timestamp": "2026-11-25T15:55:54+00:00", "step": 2492, "tokens": 10207232, "train_seconds": 193.36931040003765, "loss": 2.5952491760253906, "accuracy": 0.454833984375, "lr": 0.00012824671150556623, "gradient_norm": 1.459704875946045, "derivatives": {"trace": {"estimate": 10247.1796875, "raw_grad_norm": 206924.828125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.26043430000027}, "third": {"estimate": 16191338496.0, "raw_grad_norm": 847888908288.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6299947000006796}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 193.36931040003765, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007604743300046664}
103
+ {"timestamp": "2026-11-25T15:55:54+00:00", "step": 2494, "tokens": 10215424, "train_seconds": 194.31428310003685, "loss": 2.676574230194092, "accuracy": 0.447998046875, "lr": 0.00012803699589033368, "gradient_norm": 1.5974953174591064, "derivatives": {"trace": {"estimate": 11847.09375, "raw_grad_norm": 207304.265625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23888310000074853}, "third": {"estimate": 19113349120.0, "raw_grad_norm": 997935218688.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6394905999986804}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 194.31428310003685, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.008794230740114987}
104
+ {"timestamp": "2026-11-25T15:55:55+00:00", "step": 2495, "tokens": 10219520, "train_seconds": 195.2615327000367, "loss": 2.6538171768188477, "accuracy": 0.444091796875, "lr": 0.00012793217419250716, "gradient_norm": 1.4490950107574463, "derivatives": {"trace": {"estimate": 7572.8525390625, "raw_grad_norm": 199376.859375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23500749999948312}, "third": {"estimate": 16931921920.0, "raw_grad_norm": 585214525440.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6778720000002068}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 195.2615327000367, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.00564704928030385}
105
+ {"timestamp": "2026-11-25T15:55:56+00:00", "step": 2496, "tokens": 10223616, "train_seconds": 195.40810840003724, "loss": 2.6573712825775146, "accuracy": 0.448974609375, "lr": 0.00012782737665898922, "gradient_norm": 1.5003712177276611, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 195.40810840003724, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.24004127646197732, "curvature_rms": 0.44517596813436594, "monitor_mean_nll": 2.639272630214691, "reference_rms": 0.40627240028656303}
106
+ {"timestamp": "2026-11-25T15:55:57+00:00", "step": 2503, "tokens": 10252288, "train_seconds": 196.59395650003898, "loss": 2.6576132774353027, "accuracy": 0.447509765625, "lr": 0.00012709447626163054, "gradient_norm": 1.4279597997665405, "derivatives": {"trace": {"estimate": 8328.4140625, "raw_grad_norm": 216102.875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2845610999993369}, "third": {"estimate": 15155683328.0, "raw_grad_norm": 302843985920.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6392434000008507}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 196.59395650003898, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.006191623690446384}
107
+ {"timestamp": "2026-11-25T15:55:58+00:00", "step": 2504, "tokens": 10256384, "train_seconds": 197.53369360004035, "loss": 2.7363858222961426, "accuracy": 0.44140625, "lr": 0.00012698987450065826, "gradient_norm": 1.5218234062194824, "derivatives": {"trace": {"estimate": 10955.62109375, "raw_grad_norm": 272913.875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24527620000117167}, "third": {"estimate": 22356434944.0, "raw_grad_norm": 1113571590144.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.645750699999553}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 197.53369360004035, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.008157936752309284}
108
+ {"timestamp": "2026-11-25T15:55:59+00:00", "step": 2512, "tokens": 10289152, "train_seconds": 198.8709654000413, "loss": 2.7301058769226074, "accuracy": 0.439453125, "lr": 0.00012615395816656524, "gradient_norm": 1.4081281423568726, "derivatives": {"trace": {"estimate": 8423.2177734375, "raw_grad_norm": 180741.0625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2640033999996376}, "third": {"estimate": 15905550336.0, "raw_grad_norm": 360293433344.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6564352000004874}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 198.8709654000413, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.20482095352263344, "curvature_rms": 0.44492144280763, "monitor_mean_nll": 2.6470061242580414, "reference_rms": 0.40627240028656303, "penalty": 0.006265243467803401}
109
+ {"timestamp": "2026-11-25T15:56:00+00:00", "step": 2518, "tokens": 10313728, "train_seconds": 199.973970700039, "loss": 2.658515453338623, "accuracy": 0.4541015625, "lr": 0.0001255280825953821, "gradient_norm": 1.4896982908248901, "derivatives": {"trace": {"estimate": 12597.19140625, "raw_grad_norm": 226496.03125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24185059999945224}, "third": {"estimate": 20668796928.0, "raw_grad_norm": 824910217216.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6311217000002216}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 199.973970700039, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.009352914263168435}
110
+ {"timestamp": "2026-11-25T15:56:00+00:00", "step": 2520, "tokens": 10321920, "train_seconds": 200.06725760003792, "loss": 2.7621636390686035, "accuracy": 0.437744140625, "lr": 0.00012531966253205874, "gradient_norm": 1.5822194814682007, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 200.06725760003792, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
111
+ {"timestamp": "2026-11-25T15:56:01+00:00", "step": 2526, "tokens": 10346496, "train_seconds": 201.19663900003616, "loss": 2.783494234085083, "accuracy": 0.43896484375, "lr": 0.0001246950253318918, "gradient_norm": 1.4594776630401611, "derivatives": {"trace": {"estimate": 9965.0546875, "raw_grad_norm": 259641.734375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24461339999834308}, "third": {"estimate": 19797469184.0, "raw_grad_norm": 775474577408.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6453213000004325}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 201.19663900003616, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.007417403273854292}
112
+ {"timestamp": "2026-11-25T15:56:02+00:00", "step": 2528, "tokens": 10354688, "train_seconds": 201.36607700003697, "loss": 2.814427375793457, "accuracy": 0.4228515625, "lr": 0.00012448702240487033, "gradient_norm": 1.4580705165863037, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 201.36607700003697, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.18680334729546705, "curvature_rms": 0.44133903366940364, "monitor_mean_nll": 2.6608299612998962, "reference_rms": 0.40627240028656303}
113
+ {"timestamp": "2026-11-25T15:56:02+00:00", "step": 2536, "tokens": 10387456, "train_seconds": 201.69183530003465, "loss": 2.8150031566619873, "accuracy": 0.4306640625, "lr": 0.00012365607252366167, "gradient_norm": 1.4682368040084839, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 201.69183530003465, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16}
114
+ {"timestamp": "2026-11-25T15:56:03+00:00", "step": 2541, "tokens": 10407936, "train_seconds": 202.8066201000347, "loss": 2.592951536178589, "accuracy": 0.453857421875, "lr": 0.00012313760258322594, "gradient_norm": 1.4656199216842651, "derivatives": {"trace": {"estimate": 7651.017578125, "raw_grad_norm": 196354.6875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24497680000058608}, "third": {"estimate": 15357009920.0, "raw_grad_norm": 381759848448.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6719406000011077}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 202.8066201000347, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "penalty": 0.005695822255912968}
115
+ {"timestamp": "2026-11-25T15:56:04+00:00", "step": 2544, "tokens": 10420224, "train_seconds": 203.87634220003383, "loss": 2.752962589263916, "accuracy": 0.431396484375, "lr": 0.00012282684755657574, "gradient_norm": 1.4605005979537964, "derivatives": {"trace": {"estimate": 8378.861328125, "raw_grad_norm": 187906.265625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2314872999995714}, "third": {"estimate": 13265588224.0, "raw_grad_norm": 354836480000.0, "lambda": 6.797259005448904e-16, "probe_seconds": 0.6448454999990645}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 203.87634220003383, "trace_lambda": 9.169227719425724e-08, "third_lambda": 6.797259005448904e-16, "curvature_q": 0.2143232245686635, "curvature_rms": 0.44371000962411256, "monitor_mean_nll": 2.6835575103759766, "reference_rms": 0.40627240028656303, "penalty": 0.006218350714979967}
116
+ {"timestamp": "2026-11-25T15:56:04+00:00", "step": 2552, "tokens": 10452992, "train_seconds": 204.15852570003153, "loss": 2.747847080230713, "accuracy": 0.423583984375, "lr": 0.00012199938209979014, "gradient_norm": 1.4772818088531494, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 204.15852570003153, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
117
+ {"timestamp": "2026-11-25T15:56:05+00:00", "step": 2560, "tokens": 10485760, "train_seconds": 204.56950650003273, "loss": 2.654710054397583, "accuracy": 0.451171875, "lr": 0.00012117371067607364, "gradient_norm": 1.4483139514923096, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 204.56950650003273, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.19066809161755874, "curvature_rms": 0.4416925241907599, "monitor_mean_nll": 2.6733705401420593, "reference_rms": 0.40627240028656303, "dev_nll": 2.6750659969984554, "dev_accuracy": 0.447509765625}
118
+ {"timestamp": "2026-11-25T15:56:07+00:00", "step": 2567, "tokens": 10514432, "train_seconds": 205.71482540003672, "loss": 2.702206611633301, "accuracy": 0.443359375, "lr": 0.00012045274693058001, "gradient_norm": 1.4232120513916016, "derivatives": {"trace": {"estimate": 7437.95703125, "raw_grad_norm": 167719.5625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23372319999907631}, "third": {"estimate": 12402172928.0, "raw_grad_norm": 288334348288.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6344976000000315}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 205.71482540003672, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.005592981728528996}
119
+ {"timestamp": "2026-11-25T15:56:07+00:00", "step": 2568, "tokens": 10518528, "train_seconds": 205.7552462000367, "loss": 2.631136655807495, "accuracy": 0.44189453125, "lr": 0.00012034986773334619, "gradient_norm": 1.4424601793289185, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 205.7552462000367, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
120
+ {"timestamp": "2026-11-25T15:56:08+00:00", "step": 2572, "tokens": 10534912, "train_seconds": 206.7263850000345, "loss": 2.6130640506744385, "accuracy": 0.450927734375, "lr": 0.0001199386426865079, "gradient_norm": 1.5044164657592773, "derivatives": {"trace": {"estimate": 10148.328125, "raw_grad_norm": 194777.90625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22833279999940714}, "third": {"estimate": 14831697920.0, "raw_grad_norm": 257269858304.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6014094999991357}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 206.7263850000345, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.007607971516989903}
121
+ {"timestamp": "2026-11-25T15:56:09+00:00", "step": 2573, "tokens": 10539008, "train_seconds": 207.68222040003457, "loss": 2.677180290222168, "accuracy": 0.437744140625, "lr": 0.00011983590969541688, "gradient_norm": 1.481398105621338, "derivatives": {"trace": {"estimate": 7117.58740234375, "raw_grad_norm": 220233.0625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24614090000068245}, "third": {"estimate": 16184484864.0, "raw_grad_norm": 701610196992.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6747257000006357}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 207.68222040003457, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.005399746063657306}
122
+ {"timestamp": "2026-11-25T15:56:10+00:00", "step": 2574, "tokens": 10543104, "train_seconds": 208.59408740003528, "loss": 2.791144847869873, "accuracy": 0.43798828125, "lr": 0.00011973320614654405, "gradient_norm": 1.5875964164733887, "derivatives": {"trace": {"estimate": 10596.154296875, "raw_grad_norm": 203961.21875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24646750000101747}, "third": {"estimate": 16770556928.0, "raw_grad_norm": 510639767552.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6293725000014092}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 208.59408740003528, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.00795787975973488}
123
+ {"timestamp": "2026-11-25T15:56:10+00:00", "step": 2576, "tokens": 10551296, "train_seconds": 208.77078960003564, "loss": 2.6727700233459473, "accuracy": 0.448974609375, "lr": 0.00011952788764324124, "gradient_norm": 1.481425404548645, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 208.77078960003564, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.1565198418889035, "curvature_rms": 0.43883176294510357, "monitor_mean_nll": 2.6800357699394226, "reference_rms": 0.40627240028656303}
124
+ {"timestamp": "2026-11-25T15:56:11+00:00", "step": 2582, "tokens": 10575872, "train_seconds": 209.791762200035, "loss": 2.6294782161712646, "accuracy": 0.4423828125, "lr": 0.00011891264570559086, "gradient_norm": 1.4320437908172607, "derivatives": {"trace": {"estimate": 7632.3798828125, "raw_grad_norm": 199445.46875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23069610000129614}, "third": {"estimate": 14304268288.0, "raw_grad_norm": 329023094784.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5806924999997136}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 209.791762200035, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.005756602973991773}
125
+ {"timestamp": "2026-11-25T15:56:11+00:00", "step": 2584, "tokens": 10584064, "train_seconds": 209.85493720003433, "loss": 2.5632338523864746, "accuracy": 0.45068359375, "lr": 0.00011870780469967225, "gradient_norm": 1.536934733390808, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 209.85493720003433, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
126
+ {"timestamp": "2026-11-25T15:56:12+00:00", "step": 2585, "tokens": 10588160, "train_seconds": 210.8287641000352, "loss": 2.681049346923828, "accuracy": 0.437255859375, "lr": 0.00011860542942976956, "gradient_norm": 1.5429102182388306, "derivatives": {"trace": {"estimate": 9861.65234375, "raw_grad_norm": 221686.3125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.27083090000087395}, "third": {"estimate": 17204801536.0, "raw_grad_norm": 548911579136.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6663664000006975}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 210.8287641000352, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.007423889827087133}
127
+ {"timestamp": "2026-11-25T15:56:13+00:00", "step": 2587, "tokens": 10596352, "train_seconds": 211.71104140003445, "loss": 2.56684947013855, "accuracy": 0.46044921875, "lr": 0.0001184007696897666, "gradient_norm": 1.5169492959976196, "derivatives": {"trace": {"estimate": 7123.2236328125, "raw_grad_norm": 186057.015625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.20211159999962547}, "third": {"estimate": 12384273408.0, "raw_grad_norm": 221623713792.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6117797999995673}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 211.71104140003445, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.005361915089781491}
128
+ {"timestamp": "2026-11-25T15:56:14+00:00", "step": 2589, "tokens": 10604544, "train_seconds": 212.62502540003516, "loss": 2.7047460079193115, "accuracy": 0.43505859375, "lr": 0.00011819623146085572, "gradient_norm": 1.501745581626892, "derivatives": {"trace": {"estimate": 8503.8955078125, "raw_grad_norm": 180897.71875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.20348439999906986}, "third": {"estimate": 12569083904.0, "raw_grad_norm": 263871528960.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6431274999995367}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 212.62502540003516, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.006376731520271651}
129
+ {"timestamp": "2026-11-25T15:56:15+00:00", "step": 2590, "tokens": 10608640, "train_seconds": 213.55545980003626, "loss": 2.7402429580688477, "accuracy": 0.42578125, "lr": 0.00011809400807974388, "gradient_norm": 1.4949839115142822, "derivatives": {"trace": {"estimate": 9053.49609375, "raw_grad_norm": 182771.625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23964169999999285}, "third": {"estimate": 15387022336.0, "raw_grad_norm": 504647221248.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6538894999994227}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 213.55545980003626, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.0068110027736093945}
130
+ {"timestamp": "2026-11-25T15:56:16+00:00", "step": 2591, "tokens": 10612736, "train_seconds": 214.4588581000371, "loss": 2.6610090732574463, "accuracy": 0.4384765625, "lr": 0.0001179918152763862, "gradient_norm": 1.545204520225525, "derivatives": {"trace": {"estimate": 9803.6708984375, "raw_grad_norm": 180216.515625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24890119999872695}, "third": {"estimate": 15010391040.0, "raw_grad_norm": 550973014016.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6145892999993521}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 214.4588581000371, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.0073571255600394575}
131
+ {"timestamp": "2026-11-25T15:56:16+00:00", "step": 2592, "tokens": 10616832, "train_seconds": 214.5850237000359, "loss": 2.6155998706817627, "accuracy": 0.44580078125, "lr": 0.00011788965311740152, "gradient_norm": 1.5800833702087402, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 214.5850237000359, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.16821477835748067, "curvature_rms": 0.43797058736354993, "monitor_mean_nll": 2.6882337033748627, "reference_rms": 0.40627240028656303}
132
+ {"timestamp": "2026-11-25T15:56:17+00:00", "step": 2597, "tokens": 10637312, "train_seconds": 215.61276960003488, "loss": 2.590695381164551, "accuracy": 0.46142578125, "lr": 0.00011737930431833578, "gradient_norm": 1.5089794397354126, "derivatives": {"trace": {"estimate": 9969.767578125, "raw_grad_norm": 265252.78125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.26195279999956256}, "third": {"estimate": 18261135360.0, "raw_grad_norm": 1281847853056.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5728142999996635}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 215.61276960003488, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.007514861474754509}
133
+ {"timestamp": "2026-11-25T15:56:18+00:00", "step": 2599, "tokens": 10645504, "train_seconds": 216.52909840003485, "loss": 2.582928419113159, "accuracy": 0.454833984375, "lr": 0.00011717538163873815, "gradient_norm": 1.5175831317901611, "derivatives": {"trace": {"estimate": 10739.62109375, "raw_grad_norm": 178969.71875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22998179999922286}, "third": {"estimate": 14323395584.0, "raw_grad_norm": 400005693440.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6240827000001445}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 216.52909840003485, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.008036094374236885}
134
+ {"timestamp": "2026-11-25T15:56:18+00:00", "step": 2600, "tokens": 10649600, "train_seconds": 216.5641838000356, "loss": 2.6799814701080322, "accuracy": 0.43896484375, "lr": 0.00011707346703061279, "gradient_norm": 1.4879604578018188, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 216.5641838000356, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
135
+ {"timestamp": "2026-11-25T15:56:19+00:00", "step": 2607, "tokens": 10678272, "train_seconds": 217.66391260003547, "loss": 2.5419013500213623, "accuracy": 0.469482421875, "lr": 0.0001163609432967638, "gradient_norm": 1.4655869007110596, "derivatives": {"trace": {"estimate": 8316.4794921875, "raw_grad_norm": 170768.71875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2512907999989693}, "third": {"estimate": 12112392192.0, "raw_grad_norm": 255037767680.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6070202000009886}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 217.66391260003547, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.006234211508212126}
136
+ {"timestamp": "2026-11-25T15:56:19+00:00", "step": 2608, "tokens": 10682368, "train_seconds": 217.78909580003528, "loss": 2.6072466373443604, "accuracy": 0.457763671875, "lr": 0.00011625928049148724, "gradient_norm": 1.4529433250427246, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 217.78909580003528, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.22917785865988538, "curvature_rms": 0.44589367740143077, "monitor_mean_nll": 2.6881492137908936, "reference_rms": 0.40627240028656303}
137
+ {"timestamp": "2026-11-25T15:56:20+00:00", "step": 2612, "tokens": 10698752, "train_seconds": 218.7678890000352, "loss": 2.5875468254089355, "accuracy": 0.460205078125, "lr": 0.00011585294767083247, "gradient_norm": 1.4149404764175415, "derivatives": {"trace": {"estimate": 8037.720703125, "raw_grad_norm": 183138.21875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23154390000127023}, "third": {"estimate": 15843079168.0, "raw_grad_norm": 1886526636032.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6052669000000606}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 218.7678890000352, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.0060709288952340386}
138
+ {"timestamp": "2026-11-25T15:56:20+00:00", "step": 2616, "tokens": 10715136, "train_seconds": 218.91309410003487, "loss": 2.5085363388061523, "accuracy": 0.47900390625, "lr": 0.00011544712746878268, "gradient_norm": 1.4678797721862793, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 218.91309410003487, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
139
+ {"timestamp": "2026-11-25T15:56:21+00:00", "step": 2624, "tokens": 10747904, "train_seconds": 220.11661990003813, "loss": 2.551875114440918, "accuracy": 0.466796875, "lr": 0.00011463704184641637, "gradient_norm": 1.4341938495635986, "derivatives": {"trace": {"estimate": 9118.6640625, "raw_grad_norm": 202577.609375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23755640000126732}, "third": {"estimate": 15560501248.0, "raw_grad_norm": 306629279744.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5977062999991176}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 220.11661990003813, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.25156927384393063, "curvature_rms": 0.4475066158385989, "monitor_mean_nll": 2.674962192773819, "reference_rms": 0.40627240028656303, "penalty": 0.006860721679947022}
140
+ {"timestamp": "2026-11-25T15:56:22+00:00", "step": 2629, "tokens": 10768384, "train_seconds": 221.10987660003775, "loss": 2.7859346866607666, "accuracy": 0.42822265625, "lr": 0.00011413180320532363, "gradient_norm": 1.4948272705078125, "derivatives": {"trace": {"estimate": 8511.0751953125, "raw_grad_norm": 199666.671875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23545609999928274}, "third": {"estimate": 15351902208.0, "raw_grad_norm": 402502877184.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5739350999992894}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 221.10987660003775, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.006412728486458594}
141
+ {"timestamp": "2026-11-25T15:56:23+00:00", "step": 2631, "tokens": 10776576, "train_seconds": 222.05153260003863, "loss": 2.6383461952209473, "accuracy": 0.458740234375, "lr": 0.00011392993941278355, "gradient_norm": 1.5187721252441406, "derivatives": {"trace": {"estimate": 10513.76953125, "raw_grad_norm": 220957.875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2349821999996493}, "third": {"estimate": 16715897856.0, "raw_grad_norm": 630570942464.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6236961000013252}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 222.05153260003863, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.007896843790805618}
142
+ {"timestamp": "2026-11-25T15:56:24+00:00", "step": 2632, "tokens": 10780672, "train_seconds": 222.93392590003896, "loss": 2.612870931625366, "accuracy": 0.458740234375, "lr": 0.00011382905742205138, "gradient_norm": 1.4816381931304932, "derivatives": {"trace": {"estimate": 8760.2021484375, "raw_grad_norm": 185286.640625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23981149999963236}, "third": {"estimate": 13952182272.0, "raw_grad_norm": 290802204672.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6083971000007296}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 222.93392590003896, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.00658001565691394}
143
+ {"timestamp": "2026-11-25T15:56:25+00:00", "step": 2639, "tokens": 10809344, "train_seconds": 224.04229980003583, "loss": 2.732142448425293, "accuracy": 0.442626953125, "lr": 0.00011312382119243403, "gradient_norm": 1.5451449155807495, "derivatives": {"trace": {"estimate": 9662.6982421875, "raw_grad_norm": 222233.875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23311560000001919}, "third": {"estimate": 21477527552.0, "raw_grad_norm": 1494590423040.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.638192500000514}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 224.04229980003583, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.007325132686563025}
144
+ {"timestamp": "2026-11-25T15:56:26+00:00", "step": 2640, "tokens": 10813440, "train_seconds": 224.1989385000361, "loss": 2.630131721496582, "accuracy": 0.456787109375, "lr": 0.00011302320790568649, "gradient_norm": 1.4539172649383545, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 224.1989385000361, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.24311506698383506, "curvature_rms": 0.45282329379346814, "monitor_mean_nll": 2.662465423345566, "reference_rms": 0.40627240028656303}
145
+ {"timestamp": "2026-11-25T15:56:26+00:00", "step": 2648, "tokens": 10846208, "train_seconds": 224.4956959000374, "loss": 2.785072088241577, "accuracy": 0.433349609375, "lr": 0.00011221952691824979, "gradient_norm": 1.4485197067260742, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 224.4956959000374, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
146
+ {"timestamp": "2026-11-25T15:56:26+00:00", "step": 2656, "tokens": 10878976, "train_seconds": 224.90527790003762, "loss": 2.664815664291382, "accuracy": 0.4501953125, "lr": 0.00011141804799019588, "gradient_norm": 1.426663875579834, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 224.90527790003762, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.22344076473863322, "curvature_rms": 0.45785217328561556, "monitor_mean_nll": 2.6437639594078064, "reference_rms": 0.40627240028656303}
147
+ {"timestamp": "2026-11-25T15:56:27+00:00", "step": 2661, "tokens": 10899456, "train_seconds": 226.0170366000384, "loss": 2.6714608669281006, "accuracy": 0.44384765625, "lr": 0.0001109182567552756, "gradient_norm": 1.4876750707626343, "derivatives": {"trace": {"estimate": 9298.0400390625, "raw_grad_norm": 206745.03125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.26686309999968216}, "third": {"estimate": 14197259264.0, "raw_grad_norm": 245386428416.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6513529000003473}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 226.0170366000384, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.006977246665846893}
148
+ {"timestamp": "2026-11-25T15:56:27+00:00", "step": 2664, "tokens": 10911744, "train_seconds": 226.13129360003768, "loss": 2.6701793670654297, "accuracy": 0.4541015625, "lr": 0.00011061880456010713, "gradient_norm": 1.4680968523025513, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 226.13129360003768, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
149
+ {"timestamp": "2026-11-25T15:56:29+00:00", "step": 2672, "tokens": 10944512, "train_seconds": 227.3620690000389, "loss": 2.618194580078125, "accuracy": 0.453369140625, "lr": 0.00010982182997329839, "gradient_norm": 1.4511345624923706, "derivatives": {"trace": {"estimate": 13769.244140625, "raw_grad_norm": 215455.9375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.23693739999907848}, "third": {"estimate": 12590395392.0, "raw_grad_norm": 279617306624.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.627724500000113}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 227.3620690000389, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.2137508934045242, "curvature_rms": 0.4577740394417795, "monitor_mean_nll": 2.6269179582595825, "reference_rms": 0.40627240028656303, "penalty": 0.010239301311868282}
150
+ {"timestamp": "2026-11-25T15:56:30+00:00", "step": 2679, "tokens": 10973184, "train_seconds": 228.49763040004473, "loss": 2.5915074348449707, "accuracy": 0.464111328125, "lr": 0.00010912636451212765, "gradient_norm": 1.471543788909912, "derivatives": {"trace": {"estimate": 10826.955078125, "raw_grad_norm": 211834.375, "lambda": 9.169227719425724e-08, "probe_seconds": 0.22965219999969122}, "third": {"estimate": 15123109888.0, "raw_grad_norm": 441366020096.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.642358700000841}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 228.49763040004473, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.008108988356499347}
151
+ {"timestamp": "2026-11-25T15:56:30+00:00", "step": 2680, "tokens": 10977280, "train_seconds": 228.52931500004343, "loss": 2.6797542572021484, "accuracy": 0.439453125, "lr": 0.00010902715748042585, "gradient_norm": 1.4541531801223755, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 228.52931500004343, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
152
+ {"timestamp": "2026-11-25T15:56:31+00:00", "step": 2681, "tokens": 10981376, "train_seconds": 229.3354449000435, "loss": 2.7471110820770264, "accuracy": 0.442626953125, "lr": 0.00010892798693710757, "gradient_norm": 1.474120020866394, "derivatives": {"trace": {"estimate": 11471.302734375, "raw_grad_norm": 336665.78125, "lambda": 9.169227719425724e-08, "probe_seconds": 0.1937486999995599}, "third": {"estimate": 33158981632.0, "raw_grad_norm": 1193865379840.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5820851999997103}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 229.3354449000435, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.008780810359685715}
153
+ {"timestamp": "2026-11-25T15:56:31+00:00", "step": 2688, "tokens": 11010048, "train_seconds": 229.67900060004467, "loss": 2.6149635314941406, "accuracy": 0.448974609375, "lr": 0.00010823482023610006, "gradient_norm": 1.4724944829940796, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 229.67900060004467, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.1834676690196244, "curvature_rms": 0.45678990615172543, "monitor_mean_nll": 2.621949642896652, "reference_rms": 0.40627240028656303, "dev_nll": 2.6504518355359323, "dev_accuracy": 0.45166015625}
154
+ {"timestamp": "2026-11-25T15:56:33+00:00", "step": 2689, "tokens": 11014144, "train_seconds": 230.63261920004516, "loss": 2.7770960330963135, "accuracy": 0.43603515625, "lr": 0.00010813594392519614, "gradient_norm": 1.5088154077529907, "derivatives": {"trace": {"estimate": 9260.8251953125, "raw_grad_norm": 192126.515625, "lambda": 9.169227719425724e-08, "probe_seconds": 0.29170610000073793}, "third": {"estimate": 15574531072.0, "raw_grad_norm": 357025513472.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.6244358999992983}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 230.63261920004516, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.006965157233893332}
155
+ {"timestamp": "2026-11-25T15:56:33+00:00", "step": 2696, "tokens": 11042816, "train_seconds": 230.89465450004536, "loss": 2.619119644165039, "accuracy": 0.4521484375, "lr": 0.00010744485129750193, "gradient_norm": 1.4971531629562378, "derivatives": {}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 230.89465450004536, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15}
156
+ {"timestamp": "2026-11-25T15:56:34+00:00", "step": 2697, "tokens": 11046912, "train_seconds": 231.76632080004492, "loss": 2.6163601875305176, "accuracy": 0.45458984375, "lr": 0.00010734627334424101, "gradient_norm": 1.4376766681671143, "derivatives": {"trace": {"estimate": 4524.080078125, "raw_grad_norm": 207147.296875, "lambda": 9.169227719425724e-08, "probe_seconds": 0.2476466000007349}, "third": {"estimate": 15387664384.0, "raw_grad_norm": 521862348800.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5864010999994207}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 231.76632080004492, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "penalty": 0.003488510113020449}
157
+ {"timestamp": "2026-11-25T15:56:35+00:00", "step": 2704, "tokens": 11075584, "train_seconds": 232.94890450004823, "loss": 2.6687936782836914, "accuracy": 0.4482421875, "lr": 0.00010665728362300459, "gradient_norm": 1.4817718267440796, "derivatives": {"trace": {"estimate": 9793.732421875, "raw_grad_norm": 200378.75, "lambda": 9.169227719425724e-08, "probe_seconds": 0.24256160000004456}, "third": {"estimate": 15294490624.0, "raw_grad_norm": 270758363136.0, "lambda": 1.3803628039345251e-15, "probe_seconds": 0.5977290999999241}}, "host_probe_seconds": 0.0, "training_seconds_excluding_host_probes": 232.94890450004823, "trace_lambda": 9.169227719425724e-08, "third_lambda": 1.3803628039345251e-15, "curvature_q": 0.20499230342754549, "curvature_rms": 0.463374660565759, "monitor_mean_nll": 2.6214525997638702, "reference_rms": 0.40627240028656303, "penalty": 0.007352972591643534}
research/results/stories-hybrid-s22-replay-r01/state.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "status": "training",
3
+ "timestamp": "2026-11-25T15:54:52+00:00"
4
+ }
research/results/stories-hybrid-s22-replay-r01/width-2048.json ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 2048,
3
+ "tokens": 8388608,
4
+ "baseline_nll": 2.8165807723999023,
5
+ "delta_nll": 0.1,
6
+ "directions": [
7
+ {
8
+ "direction": 0,
9
+ "positive": {
10
+ "lower": 7.5458984375,
11
+ "upper": 7.546875
12
+ },
13
+ "negative": {
14
+ "lower": 7.7919921875,
15
+ "upper": 7.79296875
16
+ }
17
+ },
18
+ {
19
+ "direction": 1,
20
+ "positive": {
21
+ "lower": 7.787109375,
22
+ "upper": 7.7880859375
23
+ },
24
+ "negative": {
25
+ "lower": 8.30078125,
26
+ "upper": 8.302734375
27
+ }
28
+ },
29
+ {
30
+ "direction": 2,
31
+ "positive": {
32
+ "lower": 7.8623046875,
33
+ "upper": 7.86328125
34
+ },
35
+ "negative": {
36
+ "lower": 7.4052734375,
37
+ "upper": 7.40625
38
+ }
39
+ },
40
+ {
41
+ "direction": 3,
42
+ "positive": {
43
+ "lower": 7.875,
44
+ "upper": 7.8759765625
45
+ },
46
+ "negative": {
47
+ "lower": 7.9287109375,
48
+ "upper": 7.9296875
49
+ }
50
+ },
51
+ {
52
+ "direction": 4,
53
+ "positive": {
54
+ "lower": 7.828125,
55
+ "upper": 7.8291015625
56
+ },
57
+ "negative": {
58
+ "lower": 7.7353515625,
59
+ "upper": 7.736328125
60
+ }
61
+ },
62
+ {
63
+ "direction": 5,
64
+ "positive": {
65
+ "lower": 8.171875,
66
+ "upper": 8.173828125
67
+ },
68
+ "negative": {
69
+ "lower": 6.9140625,
70
+ "upper": 6.9150390625
71
+ }
72
+ },
73
+ {
74
+ "direction": 6,
75
+ "positive": {
76
+ "lower": 8.533203125,
77
+ "upper": 8.53515625
78
+ },
79
+ "negative": {
80
+ "lower": 7.279296875,
81
+ "upper": 7.2802734375
82
+ }
83
+ },
84
+ {
85
+ "direction": 7,
86
+ "positive": {
87
+ "lower": 7.6171875,
88
+ "upper": 7.6181640625
89
+ },
90
+ "negative": {
91
+ "lower": 7.572265625,
92
+ "upper": 7.5732421875
93
+ }
94
+ },
95
+ {
96
+ "direction": 8,
97
+ "positive": {
98
+ "lower": 7.7822265625,
99
+ "upper": 7.783203125
100
+ },
101
+ "negative": {
102
+ "lower": 7.7763671875,
103
+ "upper": 7.77734375
104
+ }
105
+ },
106
+ {
107
+ "direction": 9,
108
+ "positive": {
109
+ "lower": 7.716796875,
110
+ "upper": 7.7177734375
111
+ },
112
+ "negative": {
113
+ "lower": 7.857421875,
114
+ "upper": 7.8583984375
115
+ }
116
+ },
117
+ {
118
+ "direction": 10,
119
+ "positive": {
120
+ "lower": 7.2255859375,
121
+ "upper": 7.2265625
122
+ },
123
+ "negative": {
124
+ "lower": 7.90234375,
125
+ "upper": 7.9033203125
126
+ }
127
+ },
128
+ {
129
+ "direction": 11,
130
+ "positive": {
131
+ "lower": 6.865234375,
132
+ "upper": 6.8662109375
133
+ },
134
+ "negative": {
135
+ "lower": 8.599609375,
136
+ "upper": 8.6015625
137
+ }
138
+ },
139
+ {
140
+ "direction": 12,
141
+ "positive": {
142
+ "lower": 7.34765625,
143
+ "upper": 7.3486328125
144
+ },
145
+ "negative": {
146
+ "lower": 8.193359375,
147
+ "upper": 8.1953125
148
+ }
149
+ },
150
+ {
151
+ "direction": 13,
152
+ "positive": {
153
+ "lower": 7.697265625,
154
+ "upper": 7.6982421875
155
+ },
156
+ "negative": {
157
+ "lower": 7.2470703125,
158
+ "upper": 7.248046875
159
+ }
160
+ },
161
+ {
162
+ "direction": 14,
163
+ "positive": {
164
+ "lower": 7.2529296875,
165
+ "upper": 7.25390625
166
+ },
167
+ "negative": {
168
+ "lower": 7.203125,
169
+ "upper": 7.2041015625
170
+ }
171
+ },
172
+ {
173
+ "direction": 15,
174
+ "positive": {
175
+ "lower": 7.3271484375,
176
+ "upper": 7.328125
177
+ },
178
+ "negative": {
179
+ "lower": 7.8427734375,
180
+ "upper": 7.84375
181
+ }
182
+ }
183
+ ],
184
+ "width_lower": 15.4013671875,
185
+ "width_upper": 15.40380859375,
186
+ "width": 15.402587890625,
187
+ "censored_rays": 0,
188
+ "weights_sha256": "524b7ed548bb18e69345ea1f0e398515f6645e968f165ddd613206d40401fced",
189
+ "weights_restored": true,
190
+ "seconds": 5.801879200000258
191
+ }
research/src/thirdloss/readme_comparisons.py ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build README head-to-head tables from matched, completed runs and their raw scores."""
2
+
3
+ from dataclasses import dataclass
4
+ from html import escape
5
+ from statistics import median
6
+
7
+ from .analysis import _time_match
8
+ from .records import HORIZONS
9
+ from .report_records import METHODS, completed, finite, markdown_table, verdict_text
10
+
11
+
12
+ @dataclass(frozen=True)
13
+ class Metric:
14
+ key: str
15
+ title: str
16
+ digits: int
17
+ larger: bool = False
18
+ scale: float = 1.
19
+ suffix: str = ""
20
+
21
+
22
+ NLL = Metric("dev_nll","Development NLL ↓",6)
23
+ ACCURACY = Metric("dev_accuracy","Dev top-1 accuracy ↑",3,True,100.,"%")
24
+ SPEED = Metric("tokens_per_sec","Training speed ↑ (targets/s)",0,True)
25
+ MEMORY = Metric("peak_vram_mb","Peak GPU allocation ↓ (MiB)",1)
26
+ WIDTH = Metric("width_gain","Width change after switch ↑",4,True)
27
+ EQUAL_TIME = Metric("equal_time_nll","Equal-time probe NLL ↓",5)
28
+ TEST = Metric("test_nll","Final test NLL ↓",6)
29
+ TEST_ACC = Metric("test_accuracy","Final test accuracy ↑",3,True,100.,"%")
30
+ STAGES = {"stories":"TinyStories pretraining","abstracts":"Pythia-410M adapters"}
31
+ PRIMARY = ("ce","trace","third")
32
+ SHORT = {"ce":"AdamW","trace":"Hessian trace","third":"Third order","hessian_norm":"Squared Hessian",
33
+ "sham":"Scrambled signs","combined":"Trace + third","adaptive":"Adaptive","late":"Fixed ramp"}
34
+
35
+
36
+ def _effect(pairs,metric,method,baseline):
37
+ """Use paired changes, including within-seed speed ratios and percentage-point accuracy changes."""
38
+ changes=[]
39
+ for pair in pairs:
40
+ value=pair[method].get(metric.key)
41
+ reference=pair[baseline].get(metric.key)
42
+ if finite(value) and finite(reference):
43
+ if metric==SPEED:
44
+ if reference>0:
45
+ changes.append(100*(value/reference-1))
46
+ else:
47
+ changes.append((value-reference)*metric.scale)
48
+ if not changes:
49
+ return "—"
50
+ change=median(changes)
51
+ digits=1 if metric==SPEED else metric.digits
52
+ if round(abs(change),digits)==0:
53
+ return "Tie"
54
+ amount=f"{abs(change):,.{digits}f}"
55
+ if metric==SPEED:
56
+ return amount+("% faster" if change>0 else "% slower")
57
+ if metric==WIDTH:
58
+ return amount+(" more retained" if change>0 else " less retained")
59
+ if metric==MEMORY:
60
+ return amount+(" MiB more" if change>0 else " MiB less")
61
+ if metric.scale==100:
62
+ amount+=" pp"
63
+ return amount+(" higher" if change>0 else " lower")
64
+
65
+
66
+ def _score_table(pairs,methods,metrics,comparisons=()):
67
+ """Rank the displayed medians. A row uses the same finite observations for every method."""
68
+ rows=[]
69
+ for metric in metrics:
70
+ eligible=[p for p in pairs if all(finite(p[m].get(metric.key)) for m in methods)]
71
+ if not eligible:
72
+ continue
73
+ values=[median(p[m][metric.key] for p in eligible)*metric.scale for m in methods]
74
+ formatted=[f"{v:,.{metric.digits}f}{metric.suffix}" for v in values]
75
+ best=formatted[values.index((max if metric.larger else min)(values))]
76
+ cells=[f"**{v}**" if v==best and len(set(formatted))>1 else v for v in formatted]
77
+ label=metric.title if len(eligible)==len(pairs) else f"{metric.title} ({len(eligible)} paired)"
78
+ rows.append([label,*cells,*[_effect(eligible,metric,m,b) for m,b in comparisons]])
79
+ return markdown_table(rows,["Metric",*[SHORT.get(m,METHODS.get(m,m)) for m in methods],
80
+ *["vs "+SHORT.get(b,b) for _,b in comparisons]])
81
+
82
+
83
+ def _paired_runs(study,stage,phase,methods):
84
+ """Choose one registered run per method/seed with equal targets, initialization and corpus."""
85
+ ratios=study["context"][stage]["selection"].get("ratios",{})
86
+ strengths={"ce":0.,"trace":ratios.get("trace",.03),"third":ratios.get("third",.03),
87
+ "hessian_norm":.03,"sham":ratios.get("third",.03),"combined":ratios.get("third",.03)}
88
+ budget=HORIZONS[stage] if phase=="confirm" else HORIZONS[stage]//8
89
+ groups={}
90
+ for r in study["runs"]:
91
+ m=r.get("method")
92
+ if (r.get("stage")==stage and r.get("phase")==phase and m in methods and completed(r)
93
+ and r.get("tokens")==budget and r.get("ratio")==strengths[m] and finite(r.get("dev_nll"))):
94
+ groups.setdefault((r["seed"],m),[]).append(r)
95
+ pairs=[]
96
+ for seed in range(1,9) if phase=="confirm" else (0,):
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:
107
+ for m,r in pair.items():
108
+ r["equal_time_nll"]=timed["by_method"][m]["dev_nll"]
109
+ r["equal_time_cutoff"]=timed["cutoff_seconds"]
110
+ r["equal_time_lag"]=timed["by_method"][m]["staleness_seconds"]
111
+ pairs.append(pair)
112
+ return pairs
113
+
114
+
115
+ def _hybrid_pairs(study,baseline):
116
+ """Use the validated comparator-specific seeds and the width change from each arm's switch."""
117
+ runs={(r["seed"],r["method"]):r for r in study["runs"] if r.get("phase")=="hybrid" and completed(r)}
118
+ pairs=[]
119
+ for test in study["hybrid"]["pairs"]:
120
+ if test["comparator"]!=baseline:
121
+ continue
122
+ pair={}
123
+ for m in ("adaptive",baseline):
124
+ r=runs[test["seed"],m]
125
+ start=r["widths"]["2048"]["width"]
126
+ end=r["widths"]["4096"]["width"]
127
+ pair[m]={**r,"width_gain":end-start if finite(start) and finite(end) else None}
128
+ pairs.append(pair)
129
+ return pairs
130
+
131
+
132
+ def _controls(study,stage):
133
+ """Show every available pilot control alongside the selected third-order reference."""
134
+ available=tuple(m for m in ("third","hessian_norm","sham","combined") if _paired_runs(study,stage,"pilot",(m,)))
135
+ if "third" not in available or len(available)<2:
136
+ return f"**{STAGES[stage]}** · Secondary pilot comparisons are pending."
137
+ pairs=_paired_runs(study,stage,"pilot",available)
138
+ if not pairs:
139
+ return f"**{STAGES[stage]}** · Awaiting controls with matched provenance."
140
+ return f"**{STAGES[stage]}** · Pilot seed, {pairs[0]['third']['tokens']:,} training targets.\n\n"+_score_table(
141
+ pairs,available,(NLL,ACCURACY,SPEED,MEMORY))
142
+
143
+
144
+ def _sample_panel(pairs,methods,title):
145
+ """Compare the first recorded prompt of the lowest paired seed, independent of the generated text."""
146
+ first=pairs[0]
147
+ samples=[first[m].get("samples",[]) for m in methods]
148
+ if any(not items for items in samples):
149
+ return ""
150
+ saved=[items[0] for items in samples]
151
+ if (len({s.get("prompt") for s in saved})!=1 or not isinstance(saved[0].get("prompt"),str)
152
+ or any("continuation" not in s for s in saved)):
153
+ return ""
154
+ def literal(text):
155
+ return "<samp>"+escape(str(text)).replace("\n","<br>")+"</samp>"
156
+ headers=[f"[{SHORT[m]}](results/{first[m]['id']}/samples.jsonl)" for m in methods]
157
+ return (f"<details><summary>{title} · same prompt, seed {first[methods[0]]['seed']}</summary>\n\n"
158
+ f"**Prompt** {literal(saved[0]['prompt'])}\n\n"+
159
+ markdown_table([[literal(s["continuation"]) for s in saved]],headers)+"\n\n</details>")
160
+
161
+
162
+ def comparison_sections(study):
163
+ """Return a short opening scorecard and the detailed, regenerable comparisons for the README."""
164
+ top=[]
165
+ samples=[]
166
+ detail=["## Side-by-side comparisons","↓ means lower is preferred. ↑ means higher is preferred. "
167
+ "Bold highlights the best observed value when methods differ at the displayed precision. A tie means the paired difference rounds to zero. "
168
+ "NLL is negative log-likelihood in nats per target. Accuracy differences use percentage points (pp)."]
169
+ for stage,name in STAGES.items():
170
+ pairs=_paired_runs(study,stage,"confirm",PRIMARY)
171
+ confirm=bool(pairs)
172
+ if not confirm:
173
+ pairs=_paired_runs(study,stage,"pilot",PRIMARY)
174
+ detail.append("### "+name)
175
+ if not pairs:
176
+ detail.append("Awaiting matched checkpoints for AdamW, Hessian trace and third order.")
177
+ continue
178
+ outcome=study["stages"][stage]
179
+ final=confirm and len(pairs)==8 and outcome.get("complete",False)
180
+ metric=TEST if final else NLL
181
+ n=len(pairs)
182
+ cohort=(f"{n}/8 full-budget seeds" if confirm else "one development pilot seed")
183
+ evidence="Final test" if final else "Full development split"
184
+ detail.append(f"**{evidence} · {cohort} · {pairs[0]['ce']['tokens']:,} training targets per run.** "
185
+ "Method columns show medians over the same seeds. The two right columns give the median "
186
+ "paired change for third order against each baseline. "
187
+ +("The pilot also selected the derivative strengths. " if not confirm else "")
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:
194
+ cutoff=median(p["ce"]["equal_time_cutoff"] for p in timed)
195
+ lag=max(p[m]["equal_time_lag"] for p in timed for m in PRIMARY)
196
+ detail.append(f"The common training-time cutoff had a median of {cutoff:.1f} seconds. "
197
+ f"The furthest checkpoint used for this row was {lag:.1f} seconds before its cutoff.")
198
+ else:
199
+ detail.append("An equal-time NLL comparison is pending because at least one arm lacks a recorded "
200
+ "development checkpoint at or before the shared cutoff.")
201
+ if stage=="abstracts" and all(finite(p[m].get("process_peak_rss_mib")) for p in pairs for m in PRIMARY):
202
+ highwater=", ".join(f"{SHORT[m]} {median(p[m]['process_peak_rss_mib'] for p in pairs)/1024:.2f} GiB" for m in PRIMARY)
203
+ detail.append("Observed host-process memory high-water marks were "+highwater+
204
+ ". This measure includes earlier work in each interpreter.")
205
+ detail.append(verdict_text(outcome))
206
+ if final:
207
+ rows=[]
208
+ for m,stats in outcome["comparisons"].items():
209
+ lo,hi=stats["median_ci"]
210
+ rows.append([SHORT[m],f"{stats['median_delta']:+.6f}",f"[{lo:+.6f}, {hi:+.6f}]",
211
+ f"{stats['wins']}/{stats['ties']}/{stats['losses']}",f"{stats['p_holm']:.5f}"])
212
+ detail.append(markdown_table(rows,["Against","Paired Δtest NLL","Median interval","Wins/ties/losses","Holm p"]))
213
+ top.append([name+" · "+("test" if final else "dev"),cohort,_effect(pairs,metric,"third","ce"),
214
+ _effect(pairs,metric,"third","trace"),_effect(pairs,SPEED,"third","ce")])
215
+ quick=["## Results at a glance","Lower next-token loss (NLL) means a model assigned more probability to "
216
+ "the words that actually came next. Training speed counts target tokens per second."]
217
+ if top:
218
+ quick.append(markdown_table(top,["Model and split","Matched evidence","Third-order NLL vs AdamW",
219
+ "Third-order NLL vs trace","Speed vs AdamW"]))
220
+ detail.append("The equal-time row uses the last available fixed-window development score at or before "
221
+ "the fastest run’s finish time in each seed. Full-split NLL uses every development target. "
222
+ "Training speed includes regularizer probes. Adapter derivatives use CPU float64 with one GPU reserved. "
223
+ "[Timing definitions and checkpoint lags](reports/summary.md)")
224
+ fixed=_hybrid_pairs(study,"late")
225
+ detail.append("### TinyStories hybrid schedules")
226
+ if fixed:
227
+ n=len(fixed)
228
+ width_change=_effect(fixed,WIDTH,"adaptive","late")
229
+ if width_change=="—":
230
+ geometry="Its paired width difference is unidentifiable within the measured radii."
231
+ elif width_change=="Tie":
232
+ geometry="The two schedules retained equal width at the displayed precision."
233
+ else:
234
+ geometry=f"It retained {width_change.removesuffix(' retained')} directional width after the switch."
235
+ loss_change=_effect(fixed,NLL,"adaptive","late")
236
+ prediction=("The two schedules had equal development NLL at the displayed precision." if loss_change=="Tie"
237
+ else f"Adaptive development NLL was {loss_change}.")
238
+ quick.append(f"**Adaptive vs fixed-ramp hybrid** · {n}/8 paired seeds. {prediction} {geometry}")
239
+ detail.append(f"**Adaptive vs fixed ramp · {n}/8 paired seeds · {fixed[0]['adaptive']['tokens']:,} targets per run.** "
240
+ "Both arms resume the same trace-trained checkpoint. Width change is final width minus width at "
241
+ "the switch. A larger change means more width retained at the fixed loss tolerance.")
242
+ detail.append(_score_table(fixed,("adaptive","late"),(NLL,ACCURACY,WIDTH,SPEED,MEMORY),(("adaptive","late"),)))
243
+ samples.append(_sample_panel(fixed,("adaptive","late"),"TinyStories hybrid schedules"))
244
+ else:
245
+ detail.append("The adaptive and fixed-ramp comparison is awaiting its first matched pair.")
246
+ rows=[]
247
+ for m in ("replay","trace","strong","always"):
248
+ pairs=_hybrid_pairs(study,m)
249
+ rows.append([METHODS[m],f"{len(pairs)}/8",
250
+ *([_effect(pairs,k,"adaptive",m) for k in (NLL,WIDTH,SPEED)] if pairs else ["Pending","—","—"])])
251
+ detail.append("The remaining controls are paired independently. Each row uses only seeds that finished both arms. "
252
+ "The always-on arm has its own measured width at the switch.")
253
+ detail.append(markdown_table(rows,["Adaptive versus","Paired seeds","Adaptive NLL","Adaptive width change","Adaptive speed"]))
254
+ detail.append(f"**Registered width decision** · {study['hybrid']['status'].capitalize()}. Width probes use fixed training windows. "
255
+ "[Every width, training-fit flag, replay and paired difference](reports/hybrid/results.md)")
256
+ controls=[_controls(study,stage) for stage in STAGES]
257
+ zero=[]
258
+ for stage,name in STAGES.items():
259
+ runs={r["method"]:r for r in study["runs"] if r.get("stage")==stage and r.get("phase")=="control"
260
+ and r.get("tokens")==0 and completed(r) and finite(r.get("dev_nll"))}
261
+ if {"initial","unigram"}<=runs.keys():
262
+ zero.append([name,*[f"{runs[m]['dev_nll']:.6f}" for m in ("initial","unigram")],
263
+ *[f"{100*runs[m]['dev_accuracy']:.3f}%" for m in ("initial","unigram")]])
264
+ if zero:
265
+ controls+=["**Untrained references · zero training targets**",
266
+ markdown_table(zero,["Stage","Initial NLL ↓","Unigram NLL ↓","Initial accuracy ↑","Unigram accuracy ↑"])]
267
+ detail.append("<details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>\n\n"
268
+ +"\n\n".join(controls)+"\n\n</details>")
269
+ if any(samples):
270
+ detail.extend(["### Same-prompt continuations","Each panel shows the first saved prompt and full continuations "
271
+ "from the lowest matched seed. The method names link to the raw generations.",
272
+ *(panel for panel in samples if panel)])
273
+ quick.append("[Side-by-side scores, accuracy, speed, memory and width](#side-by-side-comparisons) · "
274
+ "[Live explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · "
275
+ "[Paired tests and intervals](reports/summary.md)")
276
+ if not any(o.get("complete") for o in study["stages"].values()):
277
+ quick.insert(-1,"Both primary test decisions are pending. Each stage requires eight paired test seeds "
278
+ "and superiority over both baselines under Holm correction.")
279
+ else:
280
+ quick.insert(-1," ".join(f"**{name}** · {verdict_text(study['stages'][stage])}"
281
+ for stage,name in STAGES.items()))
282
+ return "\n\n".join(quick),"\n\n".join(detail)
research/src/thirdloss/report_records.py CHANGED
@@ -111,6 +111,17 @@ def fmt(value, digits: int = 3) -> str:
111
  return f"{value:,.{digits}f}" if finite(value) else "—"
112
 
113
 
 
 
 
 
 
 
 
 
 
 
 
114
  def run_record(folder: Path) -> dict:
115
  """Join configuration, events and final summary with explicit completion state."""
116
  state = read_json(folder / "state.json")
 
111
  return f"{value:,.{digits}f}" if finite(value) else "—"
112
 
113
 
114
+ def markdown_cell(value):
115
+ """Keep arbitrary labels and run identifiers inside one GitHub Markdown table cell."""
116
+ return str(value).replace("|","\\|").replace("\n"," ")
117
+
118
+
119
+ def markdown_table(rows,headings):
120
+ def row(values):
121
+ return "| "+" | ".join(markdown_cell(value) for value in values)+" |"
122
+ return "\n".join([row(headings),row(["---"]*len(headings)),*(row(values) for values in rows)])
123
+
124
+
125
  def run_record(folder: Path) -> dict:
126
  """Join configuration, events and final summary with explicit completion state."""
127
  state = read_json(folder / "state.json")
research/src/thirdloss/reporting.py CHANGED
@@ -7,24 +7,14 @@ from statistics import median
7
  from urllib.parse import quote
8
 
9
  from .report_figures import build_figures
 
10
  from .report_paper import write_paper
11
  from .report_records import (
12
  METHODS, PAGES, STAGES, atomic_text, completed, describe_difference, example_runs, finite, fmt, study_snapshot,
13
- verdict_text,
14
  )
15
 
16
 
17
- def _cell(value) -> str:
18
- """Keep arbitrary run annotations and identifiers inside one Markdown table cell."""
19
- return str(value).replace("|", "\\|").replace("\n", " ")
20
-
21
-
22
- def _table(rows: list[list], headings: list[str]) -> str:
23
- def row(values):
24
- return "| " + " | ".join(_cell(v) for v in values) + " |"
25
- return "\n".join([row(headings), row(["---"] * len(headings)), *(row(v) for v in rows)])
26
-
27
-
28
  def _method(run: dict) -> str:
29
  return METHODS.get(run.get("method"), run.get("method", "Unknown"))
30
 
@@ -220,17 +210,20 @@ def _compact_table(study: dict) -> str:
220
  "Median dev NLL", "Median test NLL"]) if rows else ""
221
 
222
 
223
- def _update_readme(root: Path, body: str) -> None:
224
- """Preserve all hand-authored material, including edits made between report builds."""
225
- path = root / "README.md"
226
  if not path.exists():
227
  return
228
- before = path.read_text(encoding="utf-8-sig")
229
- pattern = r"<!-- RESULTS:START -->.*?<!-- RESULTS:END -->"
230
- if len(re.findall(pattern, before, re.DOTALL)) != 1:
231
- raise ValueError(f"{path} requires exactly one pair of results markers")
232
- replacement = "<!-- RESULTS:START -->\n" + body.strip() + "\n<!-- RESULTS:END -->"
233
- atomic_text(path, re.sub(pattern, lambda _: replacement, before, flags=re.DOTALL))
 
 
 
 
234
 
235
 
236
  def _hybrid_report(root,study):
@@ -331,25 +324,28 @@ def build_report(root: Path = Path(".")) -> dict:
331
  badge = (f"[Explore the results]({PAGES}) · [Hugging Face explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · "
332
  "[Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · "
333
  "[Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)")
334
- readme = [badge, overview, _stage_summary(study),hybrid+" [Width measurements, scores and controls](reports/hybrid/results.md)"]
 
 
335
  if "hybrid_width" in figures:
336
  readme.append("![Directional width by TinyStories arm and seed](docs/figures/hybrid_width.png)")
337
- if pilots:
338
- readme.append(pilots)
339
- if compact:
340
- readme.extend(["### Measured scores", compact])
341
  readme.append("![Parameter-space computation graph](docs/figures/architecture.png)")
342
  for key in ("paired", "curves"):
343
  if key in figures:
344
  readme.append(f"![{'Paired test differences' if key == 'paired' else 'Development NLL'}](docs/figures/{figures[key]})")
345
- panels = []
346
- for run in example_runs(study["runs"]):
347
- panels.append(f"<details><summary>{_stage(run)} · {_method(run)} · {run['phase']}, seed {run['seed']}</summary>\n\n"
348
- + f"[Recorded sample](results/{run['id']}/samples.jsonl)\n\n"
349
- + _sample(run["samples"][0]) + "\n\n</details>")
350
- if panels:
351
- readme += ["### Recorded predictions", "First registered checkpoint and sample in run-ID order per "
352
- "stage and method. [All continuations](reports/experiments/experiments.md)", *panels]
353
- _update_readme(root, "\n\n".join(readme))
 
 
 
 
 
354
  write_paper(study, root / "reports" / "paper.pdf", root / "docs" / "figures", figures)
355
  return study
 
7
  from urllib.parse import quote
8
 
9
  from .report_figures import build_figures
10
+ from .readme_comparisons import comparison_sections
11
  from .report_paper import write_paper
12
  from .report_records import (
13
  METHODS, PAGES, STAGES, atomic_text, completed, describe_difference, example_runs, finite, fmt, study_snapshot,
14
+ verdict_text,markdown_cell as _cell,markdown_table as _table,
15
  )
16
 
17
 
 
 
 
 
 
 
 
 
 
 
 
18
  def _method(run: dict) -> str:
19
  return METHODS.get(run.get("method"), run.get("method", "Unknown"))
20
 
 
210
  "Median dev NLL", "Median test NLL"]) if rows else ""
211
 
212
 
213
+ def _update_sections(path,sections):
214
+ """Replace only the named report sections, preserving the author's surrounding text."""
 
215
  if not path.exists():
216
  return
217
+ content = path.read_text(encoding="utf-8-sig")
218
+ for label,generated,required in sections:
219
+ if not required and f"<!-- {label}:" not in content:
220
+ continue
221
+ pattern=f"<!-- {label}:START -->.*?<!-- {label}:END -->"
222
+ if len(re.findall(pattern,content,re.DOTALL))!=1:
223
+ raise ValueError(f"{path} requires exactly one pair of {label} markers")
224
+ replacement=f"<!-- {label}:START -->\n\n"+generated.strip()+f"\n\n<!-- {label}:END -->"
225
+ content=re.sub(pattern,lambda _:replacement,content,flags=re.DOTALL)
226
+ atomic_text(path,content)
227
 
228
 
229
  def _hybrid_report(root,study):
 
324
  badge = (f"[Explore the results]({PAGES}) · [Hugging Face explorer](https://huggingface.co/spaces/BurnyCoder/thirdloss-explorer) · "
325
  "[Hugging Face collection](https://huggingface.co/collections/BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378) · "
326
  "[Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)")
327
+ opening,side_by_side=comparison_sections(study)
328
+ readme = [side_by_side,badge,overview,hybrid+" [Width measurements, scores and controls](reports/hybrid/results.md)",
329
+ "[Full score table, strength search and per-seed test differences](reports/summary.md)"]
330
  if "hybrid_width" in figures:
331
  readme.append("![Directional width by TinyStories arm and seed](docs/figures/hybrid_width.png)")
 
 
 
 
332
  readme.append("![Parameter-space computation graph](docs/figures/architecture.png)")
333
  for key in ("paired", "curves"):
334
  if key in figures:
335
  readme.append(f"![{'Paired test differences' if key == 'paired' else 'Development NLL'}](docs/figures/{figures[key]})")
336
+ examples=example_runs(study["runs"])
337
+ if examples:
338
+ readme.append("### Full generations by method")
339
+ for stage,name in STAGES.items():
340
+ links=[f"[{_method(r)}](reports/experiments/{r['id']}/experiment.md#fixed-prompt-generations)"
341
+ for r in examples if r["stage"]==stage]
342
+ if links:
343
+ readme.append(f"**{name}** · "+" · ".join(links))
344
+ _update_sections(root/"README.md",[("RESULTS","\n\n".join(readme),True),("READOUT",opening,False)])
345
+ # The collection's landing card shows the same tables with native Hub evidence links.
346
+ hub_base="https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/"
347
+ hub_tables=re.sub(r"\]\(((?:reports|results)/)",lambda match:"]("+hub_base+match.group(1),
348
+ opening+"\n\n"+side_by_side)
349
+ _update_sections(root/"docs"/"hub"/"archive.md",[("COMPARISONS",hub_tables,True)])
350
  write_paper(study, root / "reports" / "paper.pdf", root / "docs" / "figures", figures)
351
  return study
research/tests/test_readme_comparisons.py ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Keep visual rankings tied to the same seeds, horizon, selection and evaluation split."""
2
+
3
+ from thirdloss.readme_comparisons import comparison_sections
4
+ from thirdloss.report_records import study_snapshot
5
+
6
+
7
+ def pilot(method,loss,rate,ratio,stage="stories"):
8
+ return {"id":method+str(ratio),"stage":stage,"phase":"pilot","method":method,"seed":0,
9
+ "ratio":ratio,"tokens":2**21 if stage=="stories" else 2**16,"status":"complete",
10
+ "dev_nll":loss,"dev_accuracy":.4,"tokens_per_sec":rate,"peak_vram_mb":600.,
11
+ "initial_trainable_sha256":"same","data_manifest_sha256":"same","dev_tokens":256,"events":[]}
12
+
13
+
14
+ def test_pilot_comparison_excludes_unselected_runs_and_unsealed_scores(tmp_path):
15
+ study=study_snapshot(tmp_path)
16
+ study["context"]["stories"]["selection"]={"ratios":{"third":.01,"trace":.01}}
17
+ rows=[pilot("ce",3.,100,0.),pilot("trace",2.5,80,.01),pilot("third",2.75,50,.01),
18
+ pilot("third",.123456,5000,.1)]
19
+ rows[2]["test_nll"]=98.765432
20
+ study["runs"]=rows
21
+ top,detail=comparison_sections(study)
22
+ assert "0.250000 lower" in top and "0.250000 higher" in top and "50.0% slower" in top
23
+ assert "**2.500000**" in detail and "50.0% slower" in detail
24
+ assert "0.123456" not in detail and "98.765432" not in detail
25
+ assert "| Dev top-1 accuracy ↑ | 40.000% | 40.000% | 40.000%" in detail
26
+ rows[1]["tokens"]-=1
27
+ _,detail=comparison_sections(study)
28
+ assert "**2.500000**" not in detail
29
+
30
+
31
+ def test_hybrid_effects_use_each_comparators_own_pairs_and_width_gains(tmp_path):
32
+ study=study_snapshot(tmp_path)
33
+ for seed,method,nll,warm,final in ((21,"adaptive",2.,8.,7.),(21,"late",3.,8.,7.5),
34
+ (21,"always",4.,11.,8.),(22,"adaptive",.123456,9.,8.)):
35
+ r=pilot(method,nll,100,.01)
36
+ r.update(id=f"{seed}-{method}",phase="hybrid",seed=seed,tokens=2**24,finished_at="today",
37
+ widths={"2048":{"width":warm},"4096":{"width":final}})
38
+ study["runs"].append(r)
39
+ study["hybrid"]["pairs"]=[{"seed":21,"comparator":"late","delta":-.5,"dev_nll_delta":-1.,"comparable_fit":True},
40
+ {"seed":21,"comparator":"always","delta":2.,"dev_nll_delta":-2.,"comparable_fit":True}]
41
+ top,detail=comparison_sections(study)
42
+ assert "0.5000 less directional width" in top and "1.000000 lower" in top
43
+ assert "2.0000 more retained" in detail and "0.123456" not in detail
44
+ assert "Cross-seed replay" in detail and "Pending" in detail
45
+
46
+
47
+ def test_final_scorecard_uses_all_eight_seeds_and_shows_holm_and_median_interval(tmp_path):
48
+ from thirdloss.analysis import analyze_stage
49
+ study=study_snapshot(tmp_path)
50
+ study["context"]["stories"]["selection"]={"ratios":{"third":.01,"trace":.01}}
51
+ for seed in range(1,9):
52
+ for i,m in enumerate(("ce","trace","third")):
53
+ row=pilot(m,3.-i/10,100-i*15,.01 if i else 0.)
54
+ row.update(id=f"{seed}-{m}",phase="confirm",seed=seed,tokens=2**24,test_nll=4.-i/10,
55
+ test_accuracy=.5+i/100,freeze_id="frozen",test_manifest_sha256="split",test_tokens=128)
56
+ study["runs"].append(row)
57
+ study["stages"]["stories"]=analyze_stage(study["runs"],"stories")
58
+ top,detail=comparison_sections(study)
59
+ assert "TinyStories pretraining · test" in top and "8/8 full-budget seeds" in top
60
+ assert "| Final test NLL ↓ | 4.000000 | 3.900000 | **3.800000** |" in detail
61
+ assert "Median interval" in detail and "Holm p" in detail and "0.00781" in detail
62
+
63
+
64
+ def test_output_panel_requires_identical_prompts_and_escapes_generated_markup(tmp_path):
65
+ study=study_snapshot(tmp_path)
66
+ study["runs"]=[pilot(m,3.,100,0. if m=="ce" else .03) for m in ("ce","trace","third")]
67
+ for r in study["runs"]:
68
+ r["samples"]=[{"prompt":"A small bird","continuation":"<bird> | sang"}]
69
+ _,detail=comparison_sections(study)
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]