Measure training-window flatness for abstracts-pilot-s00-ce-r00
Browse filesFiles changed (9)
- logs/checkpoint-flatness-20261125T163331Z-stderr.log+70
- logs/checkpoint-flatness-20261125T163331Z.log+2
- publication.json+32-22
- research/docs/study.json
- research/reports/amendments/all-model-flatness.mdAdded+11
- research/reports/flatness.md+1
- research/reports/paper.pdf
- research/reports/progress.md+1-1
- research/results/abstracts-pilot-s00-ce-r00/flatness.jsonAdded+250
114 unmodified lines115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187114 unmodified lines
Validating : ##########| 100%
: 100%|##########| 661kB / 661kB
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
Processing Files (0 / 0) : | | 0.00B / 0.00B
New Data Upload : | | 0.00B / 0.00B [A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
Processing Files (0 / 1) : 95%|#########4| 627kB / 662kB, ???B/s
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 95%|#########4| 627kB / 662kB [A[A
: 100%|##########| 662kB / 662kB [A[A
Processing Files (1 / 1) : 100%|##########| 662kB / 662kB, 59.6kB/s
New Data Upload : 100%|##########| 34.8kB / 34.8kB, 3.37kB/s [A
: 100%|##########| 662kB / 662kB [A[A
: 100%|##########| 662kB / 662kB [A[A
: 100%|##########| 662kB / 662kB [A[A
: 100%|##########| 662kB / 662kB [A[A
: 100%|##########| 662kB / 662kB [A[A
: 100%|##########| 662kB / 662kB [A[A
Validating : | 0% [A[A[A
Validating : | 0% [A[A[A
: 100%|##########| 662kB / 662kB [A[A
Validating : | 0% [A[A[A
: 100%|##########| 662kB / 662kB [A[A
Validating : | 0% [A[A[A
: 100%|##########| 662kB / 662kB [A[A
Validating : ##########| 100% [A[A[A
: 100%|##########| 662kB / 662kB [A[A
Validating : ##########| 100% [A[A[A
Processing Files (1 / 1) : 100%|##########| 662kB / 662kB, 53.9kB/s
New Data Upload : 100%|##########| 34.8kB / 34.8kB, 3.05kB/s
Validating : ##########| 100%
: 100%|##########| 662kB / 662kB
Loading weights: 0%| | 0/292 [00:00<?, ?it/s]
Loading weights: 5%|4 | 14/292 [00:00<00:02, 118.50it/s]
Loading weights: 9%|8 | 26/292 [00:00<00:05, 48.25it/s]
Loading weights: 11%|#1 | 33/292 [00:00<00:07, 36.10it/s]
Loading weights: 13%|#3 | 38/292 [00:01<00:09, 26.95it/s]
Loading weights: 14%|#4 | 42/292 [00:01<00:08, 27.78it/s]
Loading weights: 18%|#7 | 52/292 [00:01<00:06, 38.13it/s]
Loading weights: 20%|#9 | 57/292 [00:01<00:07, 30.83it/s]
Loading weights: 21%|## | 61/292 [00:01<00:07, 30.87it/s]
Loading weights: 24%|##3 | 69/292 [00:02<00:07, 31.54it/s]
Loading weights: 26%|##6 | 76/292 [00:02<00:05, 36.64it/s]
Loading weights: 28%|##7 | 81/292 [00:02<00:06, 32.39it/s]
Loading weights: 30%|### | 88/292 [00:02<00:05, 35.56it/s]
Loading weights: 32%|###1 | 92/292 [00:02<00:05, 35.28it/s]
Loading weights: 33%|###2 | 96/292 [00:02<00:05, 34.09it/s]
Loading weights: 36%|###5 | 104/292 [00:03<00:05, 32.17it/s]
Loading weights: 38%|###8 | 111/292 [00:03<00:05, 36.13it/s]
Loading weights: 40%|###9 | 116/292 [00:03<00:05, 31.38it/s]
Loading weights: 42%|####2 | 124/292 [00:03<00:04, 39.80it/s]
Loading weights: 44%|####4 | 129/292 [00:03<00:05, 32.54it/s]
Loading weights: 46%|####6 | 135/292 [00:03<00:04, 32.52it/s]
Loading weights: 48%|####7 | 139/292 [00:04<00:04, 32.87it/s]
Loading weights: 49%|####8 | 143/292 [00:04<00:04, 33.82it/s]
Loading weights: 51%|#####1 | 150/292 [00:04<00:03, 40.18it/s]
Loading weights: 53%|#####3 | 155/292 [00:04<00:04, 27.53it/s]
Loading weights: 55%|#####5 | 162/292 [00:04<00:04, 30.33it/s]
Loading weights: 57%|#####6 | 166/292 [00:04<00:04, 30.78it/s]
Loading weights: 60%|#####9 | 174/292 [00:05<00:03, 35.42it/s]
Loading weights: 61%|###### | 178/292 [00:05<00:03, 33.95it/s]
Loading weights: 63%|######2 | 183/292 [00:05<00:02, 36.38it/s]
Loading weights: 64%|######4 | 188/292 [00:05<00:03, 31.51it/s]
Loading weights: 67%|######7 | 197/292 [00:05<00:02, 42.01it/s]
Loading weights: 69%|######9 | 202/292 [00:05<00:02, 37.91it/s]
Loading weights: 71%|####### | 207/292 [00:05<00:02, 37.67it/s]
Loading weights: 73%|#######2 | 212/292 [00:06<00:02, 28.53it/s]
Loading weights: 74%|#######3 | 216/292 [00:06<00:02, 29.91it/s]
Loading weights: 77%|#######7 | 225/292 [00:06<00:01, 42.03it/s]
Loading weights: 79%|#######9 | 231/292 [00:06<00:01, 35.40it/s]
Loading weights: 81%|######## | 236/292 [00:06<00:02, 27.93it/s]
Loading weights: 83%|########2 | 241/292 [00:07<00:01, 27.76it/s]
Loading weights: 84%|########3 | 245/292 [00:07<00:01, 29.52it/s]
Loading weights: 86%|########6 | 252/292 [00:07<00:01, 23.84it/s]
Loading weights: 91%|#########1| 266/292 [00:07<00:00, 41.45it/s]
Loading weights: 93%|#########3| 273/292 [00:08<00:00, 36.49it/s]
Loading weights: 96%|#########5| 279/292 [00:08<00:00, 37.04it/s]
Loading weights: 97%|#########7| 284/292 [00:08<00:00, 37.23it/s]
Loading weights: 99%|#########8| 289/292 [00:08<00:00, 36.66it/s]
Loading weights: 100%|##########| 292/292 [00:08<00:00, 34.52it/s]
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.5 unmodified lines6789105 unmodified lines2026-11-25T16:40:25+00:00 stories-pilot-s00-trace-r01 width=15.685791015625 RMS curvature=0.447721
2026-11-25T16:40:49+00:00 Measuring checkpoint flatness for stories-pilot-s00-third-r01
2026-11-25T16:40:55+00:00 stories-pilot-s00-third-r01 width=15.64013671875 RMS curvature=0.447394
2026-11-25T16:41:21+00:00 Measuring checkpoint flatness for abstracts-pilot-s00-ce-r00
2026-11-25T16:44:05+00:00 abstracts-pilot-s00-ce-r00 width=19.7841796875 RMS curvature=1.28684123345684 unmodified lines919293949596949596979899991001011021401 unmodified lines15041505150615071508150915071508150915101511151215131514151215131514151515161517551 unmodified lines20692070207120722073207420722073207420752076207710 unmodified lines20882089209020912092209320942095209620972098430 unmodified lines25292530253125272528252925322533253425352536253711 unmodified lines254925502551254725482552255325542555255612 unmodified lines256925702571256725682572257325742575257676 unmodified lines265326542655265626572658265926602661266226631684 unmodified lines434843494350434143514352{ "collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378", "git_revision": "a522a23aba821b533019510c06597f279c797dbe", "git_revision": "57c80c5b04695c1c670338b51d9b4c2319cc0b68", "repositories": { "BurnyCoder/thirdloss-arxiv-abstracts-2024": { "files": {84 unmodified lines "size": 9629 }, "study.json": { "git_blob": "310f42a4cd082bbb913e6707c518686bc1d7b607", "sha256": "5df1b2ff26bcbafaa4dc5ebb09c17b70180678014de0d3c8f347c732ab14d369", "size": 2499069 "git_blob": "10e4fa3c2524673c3922b6bc051afd3270d4ff41", "sha256": "9939629a88eb848fc4e131cd4d53854f3b137d956a2c99a51d50425ca353c1ec", "size": 2499883 } }, "revision": "6e487a7bc5b53918b8486e39a573604b617f5811", "revision": "8437465e5e8f7b01ab7b5d0bc7433263ef98b142", "type": "space" }, "BurnyCoder/thirdloss-pythia-410m-adapters": {1401 unmodified lines "size": 164140 }, "logs/checkpoint-flatness-20261125T163331Z-stderr.log": { "git_blob": "d2e8e978bafbdb7758c834eb3a1775623b162027", "sha256": "dc955f5bc1f28b12f09223be3b65892a821a33b1e002df4618d090b0cb0f59cf", "size": 5503 "git_blob": "a8f28e6bf5f02395b1f5e8cf0c4ef87fc1be9bfb", "sha256": "19c63faf741ca479d697d660e0f0fd2a03e520bc1e7124ccc48c13a941d78064", "size": 11835 }, "logs/checkpoint-flatness-20261125T163331Z.log": { "git_blob": "317b2443a6f88fbd3f7e4db283e650eb860cceba", "sha256": "22ea05e8ef8928afbdedd50b127d5116de8ef8e079a821222023bf2b5cbbc13a", "size": 705 "git_blob": "4a680bd8e9b0d6d7350fece547a455e9bde2cda6", "sha256": "510b33937ff83f55779f50d71e28236d8efe710255dc094cfd8442bd28d843d4", "size": 889 }, "logs/dashboard-20261125T151603Z-errors.log": { "git_blob": "05368bd6bcb80dae3bb7fee1ce931ef41f1811fe",551 unmodified lines "size": 9147 }, "research/docs/study.json": { "git_blob": "310f42a4cd082bbb913e6707c518686bc1d7b607", "sha256": "5df1b2ff26bcbafaa4dc5ebb09c17b70180678014de0d3c8f347c732ab14d369", "size": 2499069 "git_blob": "10e4fa3c2524673c3922b6bc051afd3270d4ff41", "sha256": "9939629a88eb848fc4e131cd4d53854f3b137d956a2c99a51d50425ca353c1ec", "size": 2499883 }, "research/docs/third-derivative-penalty.md": { "git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",10 unmodified lines "sha256": "44bc8eae06d540591077bb2f885d894439d89920adb6040e2fade636c50da6f3", "size": 4370 }, "research/reports/amendments/all-model-flatness.md": { "git_blob": "aeda15aad9ee7cb8e26440bff871a40755c5e947", "sha256": "ed87e1233d1325863d4e0cd281b20fe39a02260f27cacd4ab003b18377bcd7e5", "size": 3090 }, "research/reports/amendments/checkpoint-flatness.md": { "git_blob": "8876506e055464d8eb379621975546d9d77aae44", "sha256": "041d54f3d730b54a64893923c668e71701282347a1bdfcdbd093bf93211d22e8",430 unmodified lines "size": 236 }, "research/reports/flatness.md": { "git_blob": "3a4107009fbd959dfab0ec253cd64f0839400fe4", "sha256": "8793ffd7e51add4d25ff3fbbd40c6d2f7cc37ac23f432d6d7ec3ab5155f560a4", "size": 2129 "git_blob": "e4cbeeab7feec16802158305367d48fad20d3ab9", "sha256": "417ef45aaff4ba6457768338baa5bc8f083fdf37bd6fd7f3ceaa6de37fd923a5", "size": 2298 }, "research/reports/hybrid/preregistration.md": { "git_blob": "0729e47d30933f401253bf21feac164c0217f7b4",11 unmodified lines "size": 7290 }, "research/reports/paper.pdf": { "git_blob": "e1ba9bf591da97d1c82c8add1f99f9a142d9db20", "sha256": "34f84036f5f72362646c5b18e8077c6ca98b968ee6a8769aa6672c376e93b85c", "git_blob": "246f5152a98637ca1ef5dddb95839bd509666aa9", "sha256": "eeb9efd9d4d539ba00abb4df93f075f1fbdbb92cc3637d0ac0b55fbd148e9005", "size": 661739 }, "research/reports/plan.md": {12 unmodified lines "size": 5234 }, "research/reports/progress.md": { "git_blob": "ef92b8e3b8b895d63599e059219d26c85f63afd9", "sha256": "f07c572f81798d587a79ad1c0467ada2bd612d8a7ff8777bc366a3e99c710cea", "git_blob": "6f3d8ebce072e9cd1cd723d838c5f2b55f1f8642", "sha256": "a4edb498c8024715ab144ef315ae6b64a472dcd02eb48e4f96b737e0939619b2", "size": 2289 }, "research/reports/reviews/adapter-verification.md": {76 unmodified lines "sha256": "eb48ea560859483ce0fd245de86d8fb6e6a9869ee4db9924e585f0c7baa722a2", "size": 6672 }, "research/results/abstracts-pilot-s00-ce-r00/flatness.json": { "git_blob": "7a88042a15f2f41bb1d5001e57f084495e9e8ae5", "sha256": "4f3fb1da44b2589b5ca118af2c1dc8a00ec8121133cbb238706b9681e65e0260", "size": 5838 }, "research/results/abstracts-pilot-s00-ce-r00/samples.jsonl": { "git_blob": "03cd21e5649dee0e32f0780286291668d47d8e17", "sha256": "5737c6a54933326a926ac80fc859fa09c79676a126fdcf372ab080b2573f5641",1684 unmodified lines "type": "dataset" } }, "verified_at": "2026-11-25T16:41:14+00:00" "verified_at": "2026-11-25T16:44:27+00:00"}1234567891011# Comparable flatness measurements for every study arm
The initial checkpoint-flatness protocol covered selected fitted primary checkpoints. This extension adds every pilot strength, all trained controls, every hybrid branch and trunk, the initial predictors and the empirical unigram references. It was specified after early hybrid outcomes and the first TinyStories pilot geometry measurement. Preserve the original analyses and label the excluded Pythia numerical diagnostic separately. [Checkpoint-flatness protocol](checkpoint-flatness.md) · [Registered run matrix](../planned-runs.md)
**Weight-space geometry.** Apply the same eight-window, 16-direction level-set width and two-window, eight-probe float64 Hessian measurements within each trainable parameterization. For a hybrid reuse its existing final width after checking the exact weight digest. Reconstruct the zero-update neural predictor from the registered seed and pinned architecture. Use a stored initialization digest when available and verify the early TinyStories initialization against its logged first ordinary training batch. The unigram predictor is a fixed, add-one-smoothed table of training-token frequencies. It has zero trainable Transformer or adapter coordinates. [Width procedure](../../src/thirdloss/width.py) · [Unigram estimator](../../src/thirdloss/evaluation.py)
**Common output-score geometry.** On the same eight training windows, add a shared vocabulary bias to the logits for every position. Give each token a sign of +1 or −1, with equal counts for the two study vocabularies. Use 16 predetermined balanced sign vectors generated on the CPU with seed 88731, stream 991 and indices 0 through 15. Each model in a stage receives the same token-level perturbations. At radius r the root-mean-square change per vocabulary logit is r. Use the same outward grid, bisection and 0.1-nat rise to measure two-sided width. For the unigram predictor take the logarithms of its smoothed probabilities as its logits.
For a given direction, let a be the unperturbed probability mass on tokens with positive sign, and let s be the sign of the observed next token. At each position the exact NLL change is log(a exp(r) + (1 − a) exp(−r)) − r s. Average these changes across target positions. Its second derivative at zero is 4a(1 − a). Save all directional curvatures and crossing brackets, the median two-sided width, the distribution of directional widths, the checkpoint or reference fingerprint and the training-window fingerprint. The formula follows by factoring the softmax partition function. [Log-softmax definition](https://docs.pytorch.org/docs/stable/generated/torch.nn.LogSoftmax.html)
Larger output-score width means greater tolerance to shared changes in token scores. This complements weight-space flatness. Lower held-out NLL remains the prediction criterion. Show comparisons within a corpus at the same token horizon, identify each seed cohort and keep the diagnostic precision run separate. No decision about training strength or significance uses these supplementary outcomes.18 unmodified lines1920212223242518 unmodified lines
| Stage | Horizon | Seed | Arm | Width ↑ | Middle 50% of directions | Rays at limit / tested | RMS curvature ↓ | Signed trace / parameter | Evidence || --- | --- | --- | --- | --- | --- | --- | --- | --- | --- || abstracts | pilot | 0 | Ordinary AdamW | 19.784 | 19.185–20.320 | 0/32 | 1.28684 | +0.00312322 | [All probes](../results/abstracts-pilot-s00-ce-r00/flatness.json) || stories | pilot | 0 | Ordinary AdamW | 15.579 | 15.297–16.037 | 0/32 | 0.453288 | +0.0036281 | [All probes](../results/stories-pilot-s00-ce-r00/flatness.json) || stories | pilot | 0 | Third derivative | 15.640 | 15.382–16.118 | 0/32 | 0.447394 | +0.00357761 | [All probes](../results/stories-pilot-s00-third-r01/flatness.json) || stories | pilot | 0 | Hessian trace | 15.686 | 15.431–16.102 | 0/32 | 0.447721 | +0.00356145 | [All probes](../results/stories-pilot-s00-trace-r01/flatness.json) |1233456# Study progress
Updated 2026-11-25T16:41:02+00:00.Updated 2026-11-25T16:44:12+00:00.
21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250{ "protocol": "checkpoint-flatness-v1", "run": "abstracts-pilot-s00-ce-r00", "checkpoint_file_sha256": "828359e0b0205cd005f637cc7be0085bd34b4871bf7a0fc384324d85ff095acb", "data_manifest_sha256": "0638bd23a7d1dc3ecb9138074ecd922211df2637f60736ddfab7e9aec0b3ccb9", "width_device": "cuda", "timestamp": "2026-11-25T16:44:05+00:00", "split": "train", "probe_windows_sha256": "33355b4898d409b23633a21a839773f463c5771aaa3a8e2df9840aa647b37e4f", "width_windows": 8, "curvature_windows": 2, "width": { "baseline_nll": 2.910348415374756, "delta_nll": 0.1, "directions": [ { "direction": 0, "positive": { "lower": 10.783203125, "upper": 10.78515625 }, "negative": { "lower": 10.23046875, "upper": 10.232421875 } }, { "direction": 1, "positive": { "lower": 8.4609375, "upper": 8.462890625 }, "negative": { "lower": 10.244140625, "upper": 10.24609375 } }, { "direction": 2, "positive": { "lower": 10.451171875, "upper": 10.453125 }, "negative": { "lower": 9.34375, "upper": 9.345703125 } }, { "direction": 3, "positive": { "lower": 9.787109375, "upper": 9.7890625 }, "negative": { "lower": 9.15234375, "upper": 9.154296875 } }, { "direction": 4, "positive": { "lower": 10.36328125, "upper": 10.365234375 }, "negative": { "lower": 10.283203125, "upper": 10.28515625 } }, { "direction": 5, "positive": { "lower": 9.51171875, "upper": 9.513671875 }, "negative": { "lower": 9.99609375, "upper": 9.998046875 } }, { "direction": 6, "positive": { "lower": 9.4765625, "upper": 9.478515625 }, "negative": { "lower": 9.55859375, "upper": 9.560546875 } }, { "direction": 7, "positive": { "lower": 9.19140625, "upper": 9.193359375 }, "negative": { "lower": 10.041015625, "upper": 10.04296875 } }, { "direction": 8, "positive": { "lower": 9.306640625, "upper": 9.30859375 }, "negative": { "lower": 9.568359375, "upper": 9.5703125 } }, { "direction": 9, "positive": { "lower": 9.822265625, "upper": 9.82421875 }, "negative": { "lower": 9.947265625, "upper": 9.94921875 } }, { "direction": 10, "positive": { "lower": 10.873046875, "upper": 10.875 }, "negative": { "lower": 9.3359375, "upper": 9.337890625 } }, { "direction": 11, "positive": { "lower": 10.0625, "upper": 10.064453125 }, "negative": { "lower": 10.783203125, "upper": 10.78515625 } }, { "direction": 12, "positive": { "lower": 12.90625, "upper": 12.908203125 }, "negative": { "lower": 9.91796875, "upper": 9.919921875 } }, { "direction": 13, "positive": { "lower": 10.154296875, "upper": 10.15625 }, "negative": { "lower": 9.78515625, "upper": 9.787109375 } }, { "direction": 14, "positive": { "lower": 10.099609375, "upper": 10.1015625 }, "negative": { "lower": 9.994140625, "upper": 9.99609375 } }, { "direction": 15, "positive": { "lower": 9.693359375, "upper": 9.6953125 }, "negative": { "lower": 9.845703125, "upper": 9.84765625 } } ], "width_lower": 19.7822265625, "width_upper": 19.7861328125, "width": 19.7841796875, "censored_rays": 0, "weights_sha256": "da8a92e98045613545ee3a827cd055de9536d8c5a9220fb644bed73e28d963a6", "weights_restored": true, "seconds": 95.82658739999897 }, "curvature": { "dimensions": 786432, "draws": [ { "index": 0, "trace_per_parameter": 0.0015671262011649814, "squared_rms": 0.3156002194072924 }, { "index": 1, "trace_per_parameter": 0.011389481647966463, "squared_rms": 6.804515485937518 }, { "index": 2, "trace_per_parameter": 0.0012212115915169871, "squared_rms": 0.5828245655715208 }, { "index": 3, "trace_per_parameter": 0.005095587891483328, "squared_rms": 2.4133865437596875 }, { "index": 4, "trace_per_parameter": 0.0003246616052370651, "squared_rms": 0.4725403139543347 }, { "index": 5, "trace_per_parameter": 0.002311400630143768, "squared_rms": 0.33925001460561927 }, { "index": 6, "trace_per_parameter": 3.3125174600278556e-05, "squared_rms": 0.6744782743978811 }, { "index": 7, "trace_per_parameter": 0.0030431732092988575, "squared_rms": 1.6449823947658144 } ], "device": "cpu", "dtype": "torch.float64", "trace_per_parameter": 0.003123220993926466, "rms_curvature": 1.2868361304183056 }}logs/checkpoint-flatness-20261125T163331Z-stderr.log+70
logs/checkpoint-flatness-20261125T163331Z.log+2
publication.json+32-22
research/docs/study.json
research/reports/amendments/all-model-flatness.mdAdded+11
research/reports/flatness.md+1
research/reports/paper.pdf
research/reports/progress.md+1-1
research/results/abstracts-pilot-s00-ce-r00/flatness.jsonAdded+250