Measure training-window flatness for stories-pilot-s00-hessian_norm-r03
Browse filesFiles changed (17)
- README.md+1-1
- logs/all-model-milestone-release.logAdded+1
- logs/checkpoint-flatness-20261125T163331Z-stderr.log+60
- logs/checkpoint-flatness-20261125T163331Z.log+2
- publication.json+57-47
- research/README.md+1-1
- research/docs/hub/archive.md+1-1
- research/docs/study.json
- research/reports/flatness.md+2-1
- research/reports/paper.pdf
- research/reports/progress.md+1-1
- research/results/stories-pilot-s00-hessian_norm-r03/flatness.jsonAdded+250
- research/src/thirdloss/checkpoint_flatness.py+18
- research/src/thirdloss/cli.py+4-3
- research/src/thirdloss/hybrid.py+2-2
- research/src/thirdloss/study.py+17-15
- research/tests/test_flatness.py+15
92 unmodified lines939495969697989992 unmodified lines| Ordinary AdamW | 2,097,152 | 0 | 15.579 (1/1) | 0.45329 (1/1) | Pending || Hessian trace (1%) | 2,097,152 | 0 | 15.686 (1/1) | 0.44772 (1/1) | Pending || Third derivative (1%) | 2,097,152 | 0 | 15.640 (1/1) | 0.44739 (1/1) | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | Pending | Pending | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | 15.901 (1/1) | 0.42958 (1/1) | Pending || Randomized gradient signs (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Trace + third derivative (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Ordinary AdamW · confirmation | 16,777,216 | 1–8 | Pending | Pending | Pending |1findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.311 unmodified lines312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374311 unmodified lines
: 100%|##########| 668kB / 668kB
Loading weights: 0%| | 0/292 [00:00<?, ?it/s]
Loading weights: 1%| | 2/292 [00:00<00:18, 15.53it/s]
Loading weights: 3%|2 | 8/292 [00:00<00:07, 38.22it/s]
Loading weights: 4%|4 | 13/292 [00:00<00:06, 40.23it/s]
Loading weights: 7%|7 | 21/292 [00:00<00:07, 38.27it/s]
Loading weights: 9%|8 | 25/292 [00:00<00:08, 33.09it/s]
Loading weights: 10%|9 | 29/292 [00:00<00:09, 28.45it/s]
Loading weights: 11%|# | 32/292 [00:01<00:11, 22.81it/s]
Loading weights: 13%|#3 | 39/292 [00:01<00:09, 26.40it/s]
Loading weights: 14%|#4 | 42/292 [00:01<00:09, 26.56it/s]
Loading weights: 15%|#5 | 45/292 [00:01<00:09, 25.84it/s]
Loading weights: 17%|#7 | 51/292 [00:01<00:07, 32.30it/s]
Loading weights: 19%|#8 | 55/292 [00:01<00:09, 24.16it/s]
Loading weights: 21%|## | 61/292 [00:02<00:07, 28.90it/s]
Loading weights: 23%|##3 | 68/292 [00:02<00:07, 28.84it/s]
Loading weights: 25%|##4 | 72/292 [00:02<00:07, 30.03it/s]
Loading weights: 27%|##6 | 78/292 [00:02<00:06, 33.65it/s]
Loading weights: 29%|##8 | 84/292 [00:02<00:06, 29.82it/s]
Loading weights: 31%|### | 90/292 [00:03<00:07, 28.31it/s]
Loading weights: 35%|###5 | 103/292 [00:03<00:04, 39.62it/s]
Loading weights: 37%|###6 | 108/292 [00:03<00:04, 39.07it/s]
Loading weights: 40%|###9 | 116/292 [00:03<00:05, 33.35it/s]
Loading weights: 42%|####2 | 123/292 [00:03<00:04, 36.46it/s]
Loading weights: 43%|####3 | 127/292 [00:04<00:04, 36.13it/s]
Loading weights: 46%|####5 | 134/292 [00:04<00:04, 37.42it/s]
Loading weights: 47%|####7 | 138/292 [00:04<00:04, 30.95it/s]
Loading weights: 49%|####8 | 142/292 [00:04<00:04, 32.18it/s]
Loading weights: 50%|##### | 146/292 [00:04<00:04, 32.48it/s]
Loading weights: 51%|#####1 | 150/292 [00:04<00:04, 32.05it/s]
Loading weights: 53%|#####2 | 154/292 [00:04<00:04, 31.81it/s]
Loading weights: 54%|#####4 | 158/292 [00:05<00:04, 29.12it/s]
Loading weights: 57%|#####6 | 165/292 [00:05<00:04, 30.96it/s]
Loading weights: 59%|#####8 | 171/292 [00:05<00:04, 30.16it/s]
Loading weights: 61%|###### | 178/292 [00:05<00:03, 37.09it/s]
Loading weights: 63%|######3 | 185/292 [00:05<00:02, 43.26it/s]
Loading weights: 65%|######5 | 190/292 [00:05<00:02, 36.41it/s]
Loading weights: 68%|######7 | 198/292 [00:06<00:02, 32.56it/s]
Loading weights: 71%|####### | 206/292 [00:06<00:02, 37.98it/s]
Loading weights: 72%|#######2 | 211/292 [00:06<00:02, 32.84it/s]
Loading weights: 75%|#######4 | 218/292 [00:06<00:02, 35.03it/s]
Loading weights: 77%|#######6 | 224/292 [00:06<00:02, 32.71it/s]
Loading weights: 79%|#######9 | 231/292 [00:07<00:01, 38.08it/s]
Loading weights: 81%|######## | 236/292 [00:07<00:01, 29.45it/s]
Loading weights: 84%|########3 | 244/292 [00:07<00:01, 28.28it/s]
Loading weights: 87%|########6 | 253/292 [00:07<00:01, 36.41it/s]
Loading weights: 88%|########8 | 258/292 [00:08<00:01, 29.39it/s]
Loading weights: 92%|#########1| 268/292 [00:08<00:00, 37.68it/s]
Loading weights: 93%|#########3| 273/292 [00:08<00:00, 33.81it/s]
Loading weights: 95%|#########4| 277/292 [00:08<00:00, 24.96it/s]
Loading weights: 96%|#########6| 281/292 [00:08<00:00, 25.37it/s]
Loading weights: 97%|#########7| 284/292 [00:09<00:00, 24.05it/s]
Loading weights: 100%|##########| 292/292 [00:09<00:00, 32.38it/s]
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
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
Processing Files (0 / 1) : 84%|########4 | 562kB / 668kB, ???B/s
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
: 84%|########4 | 562kB / 668kB [A[A
: 100%|##########| 668kB / 668kB [A[A
Processing Files (1 / 1) : 100%|##########| 668kB / 668kB, 61.9kB/s
New Data Upload : 100%|##########| 106kB / 106kB, 10.4kB/s [A
: 100%|##########| 668kB / 668kB [A[A
: 100%|##########| 668kB / 668kB [A[A
: 100%|##########| 668kB / 668kB [A[A
: 100%|##########| 668kB / 668kB [A[A
: 100%|##########| 668kB / 668kB [A[A
: 100%|##########| 668kB / 668kB [A[A
Validating : | 0% [A[A[A
Validating : | 0% [A[A[A
: 100%|##########| 668kB / 668kB [A[A
Validating : | 0% [A[A[A
: 100%|##########| 668kB / 668kB [A[A
Validating : ##########| 100% [A[A[A
: 100%|##########| 668kB / 668kB [A[A
Validating : ##########| 100% [A[A[A
Processing Files (1 / 1) : 100%|##########| 668kB / 668kB, 56.6kB/s
New Data Upload : 100%|##########| 106kB / 106kB, 9.47kB/s
Validating : ##########| 100%
: 100%|##########| 668kB / 668kB
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.11 unmodified lines121314151611 unmodified lines2026-11-25T16:49:22+00:00 abstracts-pilot-s00-trace-r01-fp64 width=19.7509765625 RMS curvature=1.18181
2026-11-25T16:49:45+00:00 Measuring checkpoint flatness for abstracts-pilot-s00-third-r01-fp64
2026-11-25T16:52:21+00:00 abstracts-pilot-s00-third-r01-fp64 width=19.921875 RMS curvature=0.582266
2026-11-25T16:52:46+00:00 Measuring checkpoint flatness for stories-pilot-s00-hessian_norm-r03
2026-11-25T16:52:54+00:00 stories-pilot-s00-hessian_norm-r03 width=15.901123046875 RMS curvature=0.429575123345684 unmodified lines919293949596949596979899991001011021316 unmodified lines14191420142114221423142414221423142414251426142775 unmodified lines150315041505150615071508150915101511151215135 unmodified lines15191520152115171518151915221523152415251526152215231524152715281529153015311532481 unmodified lines20142015201620122013201420172018201920202021202246 unmodified lines20692070207120672068206920722073207420752076207716 unmodified lines209420952096209220932094209720982099210021012102451 unmodified lines25542555255625522553255425572558255925602561256211 unmodified lines25742575257625722573257425772578257925802581258211 unmodified lines25942595259625922593259725982599260026011306 unmodified lines39083909391039113912391339143915391639173918235 unmodified lines4154415541564147414841494157415841594160416141524153415441624163416441654166416721 unmodified lines41894190419141824183418441924193419441954196419781 unmodified lines42794280428142724273427442824283428442854286428731 unmodified lines43194320432143124313431443224323432443254326432775 unmodified lines440344044405439644064407{ "collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378", "git_revision": "e197bd4016e154e7e262684c4f91a3c14583e7e6", "git_revision": "44dfde83adcc4e011df6e0c81f8b47697d7d8c52", "repositories": { "BurnyCoder/thirdloss-arxiv-abstracts-2024": { "files": {84 unmodified lines "size": 9809 }, "study.json": { "git_blob": "02a2bd1b6d1a53349bbe782ad0d56394d1f776ee", "sha256": "be69809f4dfbe5243484d876122421819aedfb653d440fa8910d12f91558ae94", "size": 2502952 "git_blob": "f26fbdec6abbb9af70e890ef9ab4728afb53f661", "sha256": "3a2b7b973917c81185cdd7ba82588190f9ea5910d90474a2e9a88c2b493e5672", "size": 2503781 } }, "revision": "27574010109a822d6e5db121c5ae1f02d92aac59", "revision": "86353631f7f61985cf68fb2749545b49023a285c", "type": "space" }, "BurnyCoder/thirdloss-pythia-410m-adapters": {1316 unmodified lines "BurnyCoder/thirdloss-study": { "files": { "README.md": { "git_blob": "c80ca5609f909df09044bf73ef81a53eac0f5d99", "sha256": "56295a6dc80cbbc4a3cb032ee0e2b4bf4d62c0cd14a0917e53ad69deccab45d0", "size": 23608 "git_blob": "918595c0fba5e932a16c91a6cb86af669cda2ced", "sha256": "ca1c9610dd0a0d8bf041589c23a0bf81fd801af159c7d52a23838b06f38cd71a", "size": 23619 }, "logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": { "git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",75 unmodified lines "sha256": "2ae7e37a0d60013de1b3d6870314f24554d6f4af83d0ce06b372b1eed3a9b1c6", "size": 79 }, "logs/all-model-milestone-release.log": { "git_blob": "37bbb4bdbd164007d9e8e84ddbdb5e73b2a11e1d", "sha256": "2ae7e37a0d60013de1b3d6870314f24554d6f4af83d0ce06b372b1eed3a9b1c6", "size": 79 }, "logs/backfill-first-adapter.log": { "git_blob": "1a3a93a4c8f183b4dd24d429880022f4e6410290", "sha256": "2088274297f663dab5fa0b48e33456396ee7946758ba91f8bd96cb1718ac3198",5 unmodified lines "size": 164140 }, "logs/checkpoint-flatness-20261125T163331Z-stderr.log": { "git_blob": "9a549784a56043feacd88b699e8fc1493d6f71e3", "sha256": "b674e11649d6b489814c34320898de10e8ccfa9c66a6bce730441caed9adbfd9", "size": 25042 "git_blob": "855ca87ab4230a88241a64be15bcefcf12426533", "sha256": "615f2bd55bbd9b049fa0bcdd7f0eeb3b738e2da29e8d9c008ee0951a2da68140", "size": 27841 }, "logs/checkpoint-flatness-20261125T163331Z.log": { "git_blob": "b47a094230ad7cd3b55a6e615d4047779626b049", "sha256": "6e1f196cca2636c0c5c73c4aa4de11c83776dbc78fbe547d0b6417ffbdbdc081", "size": 1286 "git_blob": "89b0fb8d3dfde475c05f94a94ed8f4cd69afa0ab", "sha256": "d4684c5b7fecc7771a6818da343a4995b4be8da29b0da0f33a848315812b69c5", "size": 1489 }, "logs/dashboard-20261125T151603Z-errors.log": { "git_blob": "05368bd6bcb80dae3bb7fee1ce931ef41f1811fe",481 unmodified lines "size": 786 }, "research/README.md": { "git_blob": "e7dd2334b6ed5ee1994c798fa24833d40ff492ce", "sha256": "5982cef33bbc007346f10a94a7975d2f1281dcc96390aa1a384cf257721eb761", "size": 37145 "git_blob": "f628fdce0d718416b336c900dcbd9af52f29c40b", "sha256": "7941d9028496fecaaf92c31964432815085f6aa67ce6d6ea341136fd4952c05d", "size": 37156 }, "research/docs/data.md": { "git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",46 unmodified lines "size": 1583 }, "research/docs/hub/archive.md": { "git_blob": "c80ca5609f909df09044bf73ef81a53eac0f5d99", "sha256": "56295a6dc80cbbc4a3cb032ee0e2b4bf4d62c0cd14a0917e53ad69deccab45d0", "size": 23608 "git_blob": "918595c0fba5e932a16c91a6cb86af669cda2ced", "sha256": "ca1c9610dd0a0d8bf041589c23a0bf81fd801af159c7d52a23838b06f38cd71a", "size": 23619 }, "research/docs/hub/space.md": { "git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",16 unmodified lines "size": 9578 }, "research/docs/study.json": { "git_blob": "02a2bd1b6d1a53349bbe782ad0d56394d1f776ee", "sha256": "be69809f4dfbe5243484d876122421819aedfb653d440fa8910d12f91558ae94", "size": 2502952 "git_blob": "f26fbdec6abbb9af70e890ef9ab4728afb53f661", "sha256": "3a2b7b973917c81185cdd7ba82588190f9ea5910d90474a2e9a88c2b493e5672", "size": 2503781 }, "research/docs/third-derivative-penalty.md": { "git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",451 unmodified lines "size": 236 }, "research/reports/flatness.md": { "git_blob": "16a515194b6ac920fd0a9d227149b8ba3180168b", "sha256": "79de6931b3e79d4f895523f61019f16c32c32c78602c9868f39c83bb17826184", "size": 7883 "git_blob": "b976319015260d8ead16804d86c7a59fc89d0cd1", "sha256": "e1c1b2bad16d530bc8588e0677d7e9ed75eb9fd0ea8025ee888d7dd4d5d82950", "size": 8124 }, "research/reports/hybrid/preregistration.md": { "git_blob": "0729e47d30933f401253bf21feac164c0217f7b4",11 unmodified lines "size": 7290 }, "research/reports/paper.pdf": { "git_blob": "43c69622aebe463b964ffe68cbad7c92f54a76f4", "sha256": "e268e662e65c962c2f4dd6becb372212efc7520405adc044887c1446035fafd9", "size": 667956 "git_blob": "dc4886cfd2d17842f79070f2294bc40c9867ab4a", "sha256": "37bf1fafab7402b74e5b9f90fd7fd8b100f2983a8b6936e82b0a3abd3ed24979", "size": 667966 }, "research/reports/plan.md": { "git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",11 unmodified lines "size": 5234 }, "research/reports/progress.md": { "git_blob": "80fdf9c394861af114a411e18d6473892f8e877e", "sha256": "e7be253a902ccbea0795cd9051f86491b95a7ca221f913c5cb50f8ab01e4f644", "git_blob": "8e936732664cc86f763a5ca13b0835308143377c", "sha256": "05b27d780b65bdf25be902dc074bda460bfb98a596df8fad9631ca01f602f7a0", "size": 2289 }, "research/reports/reviews/adapter-verification.md": {1306 unmodified lines "sha256": "f8c9194caa9b79f5fa13cb9373ffc3091cf772b9a90e976f31c62135c0181239", "size": 35148 }, "research/results/stories-pilot-s00-hessian_norm-r03/flatness.json": { "git_blob": "783964bb15448278f850211e997cfffaf5f85504", "sha256": "e2c571793377d7293ff7c49299e2a9d86c5bdb81afd79cb2aa14b60d0589ebdd", "size": 5869 }, "research/results/stories-pilot-s00-hessian_norm-r03/samples.jsonl": { "git_blob": "10d0897b7d1960b108d53d8f5630d783d19ae2fa", "sha256": "113d594043eaa24be8252594c9e5dbba5e99dfbfd195e6df4cad6c610dc03082",235 unmodified lines "size": 9767 }, "research/src/thirdloss/checkpoint_flatness.py": { "git_blob": "45909d2b16a195b46bacdbbcce2b4184d63ae64f", "sha256": "e5a003bf9692737d029c957e8e88a2a4511d1b70ed558c5e274476bd62a377fe", "size": 9070 "git_blob": "9ab5da02f241e3c987cef29c668b056ad115e6b2", "sha256": "c17dae2fef3fb7b9730c4bdcd2d3de4462160e0d00a5478b472c6080e5b4db0f", "size": 10026 }, "research/src/thirdloss/cli.py": { "git_blob": "56d46d00cce2a4a8cb0a1c89b07a16eaf0c4c315", "sha256": "9ddb4e2802eb58be24ad0a67e6ce056686d06496a8c59c10ef1cd8bd6973fdff", "size": 7982 "git_blob": "fa11ccb908839f87c184b6b2673880828b468ebd", "sha256": "f6f01ab3baff1e2ba1040e93d2e105b1961dd8a3d138584d11a463eb49b95f1d", "size": 8095 }, "research/src/thirdloss/data.py": { "git_blob": "9b06438a0bce64f8d491cd65156ebe8aa04e8916",21 unmodified lines "size": 13687 }, "research/src/thirdloss/hybrid.py": { "git_blob": "85d778d22f60ba8594eaaa8b1f1b98e02809753c", "sha256": "2efd19d16cd9098d02f03a32d7479cad13ffac24ecee7ade35beb4a47613cd2e", "size": 11030 "git_blob": "9999fd6e162e0093c430b24e0329cd114efc475c", "sha256": "c17935d62e457fa0fd8f7ea2a2e6edec43d824ec9e3b58c1f6c82afa9a49ff74", "size": 11084 }, "research/src/thirdloss/hybrid_results.py": { "git_blob": "751742c1cb1ead31b4940e9c3b0c98a9c9fc17d4",81 unmodified lines "size": 2205 }, "research/src/thirdloss/study.py": { "git_blob": "d3ef0cf8d4b40e1ce0f6996eedb8ee24415a86ab", "sha256": "d5b1782a1a2ece89c5c0f11256a235dd3d004c2b536b4a4c2366111e6e981e19", "size": 12406 "git_blob": "d1f98b90306c28d89dd2b117f515a095dc5f09e1", "sha256": "ffe7441f4453e5692755e6e1d49fb0ba1c26b2d6961ef961c0387fe962f4d666", "size": 12665 }, "research/src/thirdloss/train.py": { "git_blob": "3c16d7419d10d1709d4a168ad7765909fbef77a6",31 unmodified lines "size": 16607 }, "research/tests/test_flatness.py": { "git_blob": "3ab0346c1456439a596832372403916b5a408b6b", "sha256": "c5b21b092707e5ab3ae4db48833ff69fe870fb74aabaf6d3c4c7f1e83a73c29c", "size": 5512 "git_blob": "5f4d714bff1d9438130922c0124e1d3398156bae", "sha256": "c4bbe4d629da22ad25936940be1256c3683097881d108e16e85179b5dfae3b14", "size": 6319 }, "research/tests/test_hub_archive.py": { "git_blob": "4c8dc24e6eb5f0aa7fc5e63be56ba0efa3ad4ec4",75 unmodified lines "type": "dataset" } }, "verified_at": "2026-11-25T16:52:41+00:00" "verified_at": "2026-11-25T16:53:13+00:00"}135 unmodified lines136137138139139140141142135 unmodified lines| Ordinary AdamW | 2,097,152 | 0 | 15.579 (1/1) | 0.45329 (1/1) | Pending || Hessian trace (1%) | 2,097,152 | 0 | 15.686 (1/1) | 0.44772 (1/1) | Pending || Third derivative (1%) | 2,097,152 | 0 | 15.640 (1/1) | 0.44739 (1/1) | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | Pending | Pending | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | 15.901 (1/1) | 0.42958 (1/1) | Pending || Randomized gradient signs (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Trace + third derivative (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Ordinary AdamW · confirmation | 16,777,216 | 1–8 | Pending | Pending | Pending |92 unmodified lines939495969697989992 unmodified lines| Ordinary AdamW | 2,097,152 | 0 | 15.579 (1/1) | 0.45329 (1/1) | Pending || Hessian trace (1%) | 2,097,152 | 0 | 15.686 (1/1) | 0.44772 (1/1) | Pending || Third derivative (1%) | 2,097,152 | 0 | 15.640 (1/1) | 0.44739 (1/1) | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | Pending | Pending | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | 15.901 (1/1) | 0.42958 (1/1) | Pending || Randomized gradient signs (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Trace + third derivative (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Ordinary AdamW · confirmation | 16,777,216 | 1–8 | Pending | Pending | Pending |27 unmodified lines282930313132333456 unmodified lines91929394959627 unmodified lines| Ordinary AdamW | 2,097,152 | 0 | 15.579 (1/1) | 0.45329 (1/1) | Pending || Hessian trace (1%) | 2,097,152 | 0 | 15.686 (1/1) | 0.44772 (1/1) | Pending || Third derivative (1%) | 2,097,152 | 0 | 15.640 (1/1) | 0.44739 (1/1) | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | Pending | Pending | Pending || Squared Hessian norm (3%) | 2,097,152 | 0 | 15.901 (1/1) | 0.42958 (1/1) | Pending || Randomized gradient signs (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Trace + third derivative (1%) | 2,097,152 | 0 | Pending | Pending | Pending || Ordinary AdamW · confirmation | 16,777,216 | 1–8 | Pending | Pending | Pending |56 unmodified lines| abstracts | pilot | 0 | Hessian trace | 1% | 19.751 | 19.179–20.260 | 0/32 | 1.18181 | +0.00404879 | Pending | Pending | Pending | Pending | [Weight probes](../results/abstracts-pilot-s00-trace-r01-fp64/flatness.json) || stories | control | 0 | Unigram | 0% | N/A | N/A | N/A | N/A | N/A | 0.915 | 0.913–0.920 | 0/32 | 0.989727 | [Score probes](../results/stories-control-s00-unigram-r00/score-flatness.json) || stories | pilot | 0 | Ordinary AdamW | 0% | 15.579 | 15.297–16.037 | 0/32 | 0.453288 | +0.0036281 | Pending | Pending | Pending | Pending | [Weight probes](../results/stories-pilot-s00-ce-r00/flatness.json) || stories | pilot | 0 | Squared Hessian norm | 3% | 15.901 | 15.638–16.320 | 0/32 | 0.429575 | +0.00343614 | Pending | Pending | Pending | Pending | [Weight probes](../results/stories-pilot-s00-hessian_norm-r03/flatness.json) || stories | pilot | 0 | Third derivative | 1% | 15.640 | 15.382–16.118 | 0/32 | 0.447394 | +0.00357761 | Pending | Pending | Pending | Pending | [Weight probes](../results/stories-pilot-s00-third-r01/flatness.json) || stories | pilot | 0 | Hessian trace | 1% | 15.686 | 15.431–16.102 | 0/32 | 0.447721 | +0.00356145 | Pending | Pending | Pending | Pending | [Weight probes](../results/stories-pilot-s00-trace-r01/flatness.json) |1233456# Study progress
Updated 2026-11-25T16:52:28+00:00.Updated 2026-11-25T16:53:01+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": "stories-pilot-s00-hessian_norm-r03", "checkpoint_file_sha256": "8273516a63c9fff5a1fd52f86224e82725d58466007344489dd7fb28dc9d5c2d", "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00", "width_device": "cuda", "timestamp": "2026-11-25T16:52:54+00:00", "split": "train", "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1", "width_windows": 8, "curvature_windows": 2, "width": { "baseline_nll": 3.848630428314209, "delta_nll": 0.1, "directions": [ { "direction": 0, "positive": { "lower": 7.619140625, "upper": 7.6201171875 }, "negative": { "lower": 7.357421875, "upper": 7.3583984375 } }, { "direction": 1, "positive": { "lower": 7.814453125, "upper": 7.8154296875 }, "negative": { "lower": 8.556640625, "upper": 8.55859375 } }, { "direction": 2, "positive": { "lower": 8.310546875, "upper": 8.3125 }, "negative": { "lower": 7.54296875, "upper": 7.5439453125 } }, { "direction": 3, "positive": { "lower": 7.697265625, "upper": 7.6982421875 }, "negative": { "lower": 7.5185546875, "upper": 7.51953125 } }, { "direction": 4, "positive": { "lower": 8.490234375, "upper": 8.4921875 }, "negative": { "lower": 7.8056640625, "upper": 7.806640625 } }, { "direction": 5, "positive": { "lower": 8.201171875, "upper": 8.203125 }, "negative": { "lower": 8.21484375, "upper": 8.216796875 } }, { "direction": 6, "positive": { "lower": 8.0390625, "upper": 8.041015625 }, "negative": { "lower": 7.8369140625, "upper": 7.837890625 } }, { "direction": 7, "positive": { "lower": 8.3984375, "upper": 8.400390625 }, "negative": { "lower": 8.2578125, "upper": 8.259765625 } }, { "direction": 8, "positive": { "lower": 8.080078125, "upper": 8.08203125 }, "negative": { "lower": 8.388671875, "upper": 8.390625 } }, { "direction": 9, "positive": { "lower": 8.7578125, "upper": 8.759765625 }, "negative": { "lower": 6.919921875, "upper": 6.9208984375 } }, { "direction": 10, "positive": { "lower": 8.8203125, "upper": 8.822265625 }, "negative": { "lower": 7.48046875, "upper": 7.4814453125 } }, { "direction": 11, "positive": { "lower": 8.15625, "upper": 8.158203125 }, "negative": { "lower": 7.974609375, "upper": 7.9755859375 } }, { "direction": 12, "positive": { "lower": 7.9404296875, "upper": 7.94140625 }, "negative": { "lower": 7.3291015625, "upper": 7.330078125 } }, { "direction": 13, "positive": { "lower": 8.017578125, "upper": 8.01953125 }, "negative": { "lower": 7.82421875, "upper": 7.8251953125 } }, { "direction": 14, "positive": { "lower": 8.1328125, "upper": 8.134765625 }, "negative": { "lower": 7.3798828125, "upper": 7.380859375 } }, { "direction": 15, "positive": { "lower": 7.93359375, "upper": 7.9345703125 }, "negative": { "lower": 7.990234375, "upper": 7.9912109375 } } ], "width_lower": 15.89990234375, "width_upper": 15.90234375, "width": 15.901123046875, "censored_rays": 0, "weights_sha256": "77504bb388ab8f71e716d18d6058c7fb67c4cdca2d7bf3313b2c8f88e68e9ea2", "weights_restored": true, "seconds": 6.752703199999814 }, "curvature": { "dimensions": 2557632, "draws": [ { "index": 0, "trace_per_parameter": 0.003268288693159581, "squared_rms": 0.17177006895724128 }, { "index": 1, "trace_per_parameter": 0.0039886520075528694, "squared_rms": 0.27420783796122233 }, { "index": 2, "trace_per_parameter": 0.0035730284173792247, "squared_rms": 0.15216886934732035 }, { "index": 3, "trace_per_parameter": 0.0037878669762238994, "squared_rms": 0.18340641085781706 }, { "index": 4, "trace_per_parameter": 0.0030685134702441532, "squared_rms": 0.1563246571325188 }, { "index": 5, "trace_per_parameter": 0.0032552364250553055, "squared_rms": 0.17528429393142092 }, { "index": 6, "trace_per_parameter": 0.002976663896750118, "squared_rms": 0.14654677376863154 }, { "index": 7, "trace_per_parameter": 0.003570846711261671, "squared_rms": 0.21656902042191686 } ], "device": "cuda:0", "dtype": "torch.float64", "trace_per_parameter": 0.0034361370747033526, "rms_curvature": 0.4295750709099181 }}162 unmodified lines163164165166167168169170171172173174175176177178179180181182183162 unmodified lines subprocess.run([sys.executable,"-m","thirdloss.cli","--project",str(project),"report"],cwd=project,check=True) revision=publish_snapshot(project,f"Measure comparable flatness for {run}") write_json(marker,{"artifacts":artifacts,"git_revision":revision}) if rows and not publish: subprocess.run([sys.executable,"-m","thirdloss.cli","--project",str(project),"report"],cwd=project,check=True)
def geometry_milestone(project,storage,row,device,publish): """Keep checkpoint evaluation isolated from timed training and recover each missing publication.""" run=row["id"] folder=project/"results"/run paths=[folder/"score-flatness.json"] if row["method"]!="unigram": paths.append(folder/"flatness.json") marker=storage/"releases"/("flatness-"+run+".json") if all(p.is_file() for p in paths) and (not publish or (marker.is_file() and read_json(marker).get("artifacts")=={p.name:sha256(p) for p in paths})): return cmd=[sys.executable,"-m","thirdloss.cli","--project",str(project),"flatness","--run-id",run, "--stage",row["stage"],"--device",str(device)] subprocess.run(cmd+(["--publish"] if publish else []),cwd=project,check=True)48 unmodified lines49505152525354555685 unmodified lines14214314414414514614614714814915048 unmodified lines sub.add_argument("--run-id",help="Measure a single completed run in the selected phase") if action=="study": sub.add_argument("--with-hybrid",action="store_true",help="Include the registered TinyStories hybrid follow-up on the same GPU") sub.add_argument("--with-flatness",action="store_true",help="Also measure training-window geometry at saved primary checkpoints") if action in {"study","hybrid"}: sub.add_argument("--with-flatness",action="store_true",help="Measure comparable training-window geometry at each completed checkpoint") if action=="verify": sub.add_argument("--pretrained",action="store_true",help="Also compare a full joint derivative on the prepared adapter training corpus") sub.add_argument("--reference",action="store_true",help="Compute the FP64 pretrained reference using the original CUDA signs")85 unmodified lines if args.action=="hybrid": from .hybrid import run_hybrids prepare_stage(project,storage,"stories") run_hybrids(project,storage,device,args.publish) run_hybrids(project,storage,device,args.publish,with_flatness=args.with_flatness) else: run_study(project,storage,stages,device,args.publish,with_hybrid=args.with_hybrid) run_study(project,storage,stages,device,args.publish,with_hybrid=args.with_hybrid,with_flatness=args.with_flatness) if args.with_flatness: from .checkpoint_flatness import flatness_study flatness_study(project,storage,stages,"all",device,args.publish)170 unmodified lines17117217317417417517617728 unmodified lines206207208209209210211212170 unmodified lines return delta
def run_hybrids(project,storage,device,publish):def run_hybrids(project,storage,device,publish,with_flatness=False): """Run each trunk once; delay seed 21 replay until seed 28 has published its schedule.""" from .study import milestone, parent_restart_file from .train import run_config28 unmodified lines config.update(donor=donor,donor_schedule_sha256=sha256(path)) replay = read_json(path)["changes"] row = run_config(project,storage,config,device,protocol=HybridProtocol(project,storage,config,replay)) milestone(project,storage,row,publish) milestone(project,storage,row,publish,device if with_flatness else None) for seed in SEEDS: for arm in ("trunk","adaptive","late","trace","strong","always"): run(seed,arm)169 unmodified lines17017117217317317417517617717817918018118218318418518617717817918018118218318418518618718818919019112 unmodified lines20420520620520720820921020921121221321413 unmodified lines2282292302292312322332344 unmodified lines239240241240242169 unmodified lines return summary
def milestone(project,storage,summary,publish):def milestone(project,storage,summary,publish,flatness_device=None): path = project/"results"/summary["id"]/"summary.json" marker = storage/"releases"/(summary["id"]+".json") fingerprint = sha256(path) if publish and marker.exists() and read_json(marker)["summary_sha256"]==fingerprint: return # A study can run for days. Render from the current checked-in reporting code so a # later milestone cannot replace an updated paper or explorer with an older template. subprocess.run([sys.executable,"-m","thirdloss.cli","--project",str(project),"report"],cwd=project,check=True) if publish: publish_weights(project,storage,summary) label = "evaluation" if "test_nll" in summary else "development" revision = publish_snapshot(project,f"Record {label} results for {summary['id']}") write_json(marker,{"summary_sha256":fingerprint,"git_revision":revision}) released=publish and marker.exists() and read_json(marker)["summary_sha256"]==fingerprint if not released: # Render the current checked-in report, even when the coordinator has run for days. subprocess.run([sys.executable,"-m","thirdloss.cli","--project",str(project),"report"],cwd=project,check=True) if publish: publish_weights(project,storage,summary) label = "evaluation" if "test_nll" in summary else "development" revision = publish_snapshot(project,f"Record {label} results for {summary['id']}") write_json(marker,{"summary_sha256":fingerprint,"git_revision":revision}) if flatness_device is not None: from .checkpoint_flatness import geometry_milestone geometry_milestone(project,storage,summary,flatness_device,publish)
def feasibility(project, stage):12 unmodified lines return result
def run_study(project,storage,stages,device,publish,with_hybrid=False):def run_study(project,storage,stages,device,publish,with_hybrid=False,with_flatness=False): """Retry-safe complete study. Cached milestones allow continuation after reboot or network loss.""" def run(stage,method,phase,seed,ratio): row = run_one(project,storage,stage,method,phase,seed,ratio,device) milestone(project,storage,row,publish) milestone(project,storage,row,publish,device if with_flatness else None) return row for stage in stages: prepare_stage(project,storage,stage)13 unmodified lines run(stage,method,"pilot",0,ratio) if with_hybrid and stage=="stories": from .hybrid import run_hybrids run_hybrids(project,storage,device,publish) run_hybrids(project,storage,device,publish,with_flatness=with_flatness) for stage in stages: selected = select(project,stage) for seed in range(1,9):4 unmodified lines publish_snapshot(project,f"Freeze all {stage} confirmatory checkpoints before test evaluation") for run_id in sealed["runs"]: row = evaluate_one(project,storage,run_id,device) milestone(project,storage,row,publish) milestone(project,storage,row,publish,device if with_flatness else None)93 unmodified lines94959697989910010110210310410510610710810911011193 unmodified lines assert all(name in text for name in ("Squared Hessian norm","Randomized gradient signs","Trace + third derivative", "Cross-seed replay","Shared trace checkpoint","Always-on hybrid")) assert "Hessian trace (10%)" in text and "Third derivative (1%)" in text
def test_geometry_milestone_retries_missing_receipt_and_skips_a_verified_unigram(tmp_path,monkeypatch): from thirdloss import checkpoint_flatness as geometry from thirdloss.records import sha256,write_json row={"id":"control","stage":"stories","method":"unigram"} score=tmp_path/"results/control/score-flatness.json" write_json(score,{"example":True}) calls=[] monkeypatch.setattr(geometry.subprocess,"run",lambda cmd,**kw:calls.append(cmd)) geometry.geometry_milestone(tmp_path,tmp_path,row,"cpu",True) assert len(calls)==1 and "--publish" in calls[0] and "control" in calls[0] write_json(tmp_path/"releases/flatness-control.json",{"artifacts":{score.name:sha256(score)}}) geometry.geometry_milestone(tmp_path,tmp_path,row,"cpu",True) assert len(calls)==1README.md+1-1
logs/all-model-milestone-release.logAdded+1
logs/checkpoint-flatness-20261125T163331Z-stderr.log+60
logs/checkpoint-flatness-20261125T163331Z.log+2
publication.json+57-47
research/README.md+1-1
research/docs/hub/archive.md+1-1
research/docs/study.json
research/reports/flatness.md+2-1
research/reports/paper.pdf
research/reports/progress.md+1-1
research/results/stories-pilot-s00-hessian_norm-r03/flatness.jsonAdded+250
research/src/thirdloss/checkpoint_flatness.py+18
research/src/thirdloss/cli.py+4-3
research/src/thirdloss/hybrid.py+2-2
research/src/thirdloss/study.py+17-15
research/tests/test_flatness.py+15