Publish the verified TinyStories and Pythia comparisons with the hybrid controls
Browse filesFiles changed (22)
- README.md+34-2
- logs/readme-comparison-release.log+20-34
- logs/readme-comparison-render.log+1
- logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl
- logs/study-20261125T151603Z-hybrid-confirmation.log
- publication.json+72-67
- research/README.md+34-2
- research/docs/figures/curves.png
- research/docs/figures/hybrid_width.png
- research/docs/hub/archive.md+34-2
- research/docs/study.json
- research/reports/experiments/experiments.md+1-1
- research/reports/experiments/learnings.md+1-1
- research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md+2-2
- research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md+1-1
- research/reports/hybrid/results.md+1
- research/reports/paper.pdf
- research/reports/progress.md+1-1
- research/results/stories-hybrid-s22-replay-r01/events.jsonl
- research/results/stories-hybrid-s22-replay-r01/width-3072.jsonAdded+191
- research/src/thirdloss/readme_comparisons.py+14-1
- research/tests/test_readme_comparisons.py+13
14 unmodified lines151617181920218 unmodified lines3031323233343536373839404142434445464748495039 unmodified lines909192789394959697989910010110210310 unmodified lines11411511611711811912012112212312412512612712812914 unmodified lines
| Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW || --- | --- | --- | --- | --- || TinyStories pretraining · dev | one development pilot seed | 0.000045 lower | 0.000338 lower | 65.7% slower || Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
**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.8 unmodified lines
### TinyStories pretraining
Awaiting matched checkpoints for AdamW, Hessian trace and third order.**Full development split · one development pilot seed · 2,097,152 training targets per run.** Method columns show medians over the same seeds. The two right columns give the median paired change for third order against each baseline. The pilot also selected the derivative strengths. [Strength selection](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/selection/stories.json) · [Experiment ledger](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
| Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace || --- | --- | --- | --- | --- | --- || Development NLL ↓ | 3.876976 | 3.877269 | **3.876931** | 0.000045 lower | 0.000338 lower || Dev top-1 accuracy ↑ | **32.337%** | 32.329% | 32.326% | 0.011 pp lower | 0.003 pp lower || Equal-time probe NLL ↓ | **3.82905** | 4.04765 | 4.95277 | 1.12372 higher | 0.90512 higher || Training speed ↑ (targets/s) | **123,871** | 73,185 | 42,481 | 65.7% slower | 42.0% slower || Peak GPU allocation ↓ (MiB) | 608.2 | 608.2 | 608.2 | Tie | Tie |
These early TinyStories pilots share the initialization seed and identical first-update token count, loss, accuracy and gradient norm. Initial weight digests were first recorded in later runs. [First-update records](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
The common training-time cutoff had a median of 16.9 seconds. The furthest checkpoint used for this row was 2.3 seconds before its cutoff.
Awaiting paired test results (0 of 8 full-horizon training triplets).
### Pythia-410M adapters
39 unmodified lines
<details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
**TinyStories pretraining** · Secondary pilot comparisons are pending.**TinyStories pretraining** · Pilot seed, 2,097,152 training targets.
| Metric | Third order | Squared Hessian | Scrambled signs | Trace + third || --- | --- | --- | --- | --- || Development NLL ↓ | **3.876931** | 3.878680 | 3.877253 | 3.877172 || Dev top-1 accuracy ↑ | 32.326% | 32.299% | **32.331%** | 32.317% || Training speed ↑ (targets/s) | 42,481 | **83,790** | 50,914 | 41,030 || Peak GPU allocation ↓ (MiB) | **608.2** | **608.2** | 608.6 | 619.3 |
**Pythia-410M adapters** · Secondary pilot comparisons are pending.
10 unmodified lines
Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
<details><summary>TinyStories pretraining · same prompt, seed 0</summary>
**Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
| [AdamW](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-trace-r01/samples.jsonl) | [Third order](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-third-r01/samples.jsonl) || --- | --- | --- || <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> |
</details>
<details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
**Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>4 unmodified lines567889101112111213141515161718181920212122232424252627272829303031323333343536363738394040414242434445464748495051484950512 unmodified lines5455566061625758593 unmodified lines6364657273747576776667688069707172737475878889767778799480818283848586101878889905 unmodified lines969798113991001151011021031044 unmodified linesNew Data Upload : | | 0.00B / 0.00B [A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
Processing Files (0 / 1) : 32%|###1 | 131kB / 411kB, ???B/s
: 61%|###### | 180kB / 296kB [A[A
Processing Files (0 / 1) : 44%|####3 | 180kB / 411kB, ???B/s
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 44%|####4 | 131kB / 296kB [A[A
: 61%|###### | 180kB / 296kB [A[A
: 100%|##########| 296kB / 296kB [A[A
Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 39.1kB/s
Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 38.8kB/s
New Data Upload : 100%|##########| 280kB / 280kB, 27.2kB/s [A
New Data Upload : 100%|##########| 232kB / 232kB, 22.5kB/s [A
: 100%|##########| 296kB / 296kB [A[A
: 100%|##########| 296kB / 296kB [A[A
: 100%|##########| 296kB / 296kB [A[A
: 100%|##########| 116kB / 116kB [A[A
: 100%|##########| 296kB / 296kB [A[A2 unmodified lines : 100%|##########| 116kB / 116kB [A[A
: 100%|##########| 296kB / 296kB [A[A
: 100%|##########| 116kB / 116kB [A[A
3 unmodified lines : 100%|##########| 296kB / 296kB [A[A
Validating : | 0% [A[A[A
Validating : | 0% [A[A[A
: 100%|##########| 296kB / 296kB [A[A
: 100%|##########| 116kB / 116kB [A[A
: 100%|##########| 296kB / 296kB [A[A
Validating : | 0% [A[A[A
: 100%|##########| 116kB / 116kB [A[A
Validating : | 0% [A[A[A
: 100%|##########| 116kB / 116kB [A[A
: 100%|##########| 296kB / 296kB [A[A
Validating : ##########| 100% [A[A[A
: 100%|##########| 116kB / 116kB [A[A
: 100%|##########| 296kB / 296kB [A[A
5 unmodified lines
Validating : ##########| 100% [A[A[A
Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 34.2kB/s
Processing Files (1 / 1) : 100%|##########| 411kB / 411kB, 34.5kB/s
New Data Upload : 100%|##########| 280kB / 280kB, 23.8kB/s
New Data Upload : 100%|##########| 232kB / 232kB, 20.0kB/s
Validating : ##########| 100%
123findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.
findfont: Failed to find font weight semibold for DejaVu Sans, now using 700.123345664 unmodified lines71727374757674757677787980817980818283846 unmodified lines919293949596949596979899991001011021071 unmodified lines117411751176117711781179117711781179118011811182191 unmodified lines1374137513761377137813791377137813791380138113821383138413821383138413851386138766 unmodified lines145414551456145714581459145714581459146014611462106 unmodified lines15691570157115721573157415721573157415751576157766 unmodified lines16441645164616471648164916471648164916501651165216 unmodified lines1669167016711672167316741672167316741675167616771678167916771678167916801681168216 unmodified lines16991700170117021703170417021703170417051706170716 unmodified lines172417251726172717281729172717281729173017311732121 unmodified lines18541855185618571858185718581859186018611862186318621863186418651866117 unmodified lines19841985198619871988198719881989199019911992199319921993199419951996122 unmodified lines2119212021212122212321242122212321242125212621271 unmodified line21292130213121322133213421322133213421352136213711 unmodified lines2149215021512152215321522153215421552156832 unmodified lines2989299029912992299329942992299329942995299629975 unmodified lines30033004300530063007300830093010301130123013435 unmodified lines34493450345134473448344934523453345434553456345776 unmodified lines35343535353635323533353435373538353935403541354260 unmodified lines360336043605360136063607{ "collection": "BurnyCoder/third-derivatives-in-language-model-training-6b067fb7d5ae3eca49ebb378", "git_revision": "1f89b278691e7081c5382d0a0435dc9a27c58dd9", "git_revision": "c2da38e27cf2173fc4437ea424319ddb5efdc3d3", "repositories": { "BurnyCoder/thirdloss-arxiv-abstracts-2024": { "files": {64 unmodified lines "size": 63324 }, "figures/curves.png": { "git_blob": "7b2f739d89383360f98039a2e14e73453836f4ba", "sha256": "d81484bfad0fbc008a5a7bb1c5b07054bc544ebd821e5f8d20aae48501868244", "size": 295597 "git_blob": "c1b48134212078389b032500e679bb53f1c58c1e", "sha256": "4d7df904fc8bdbc34b04f79dd84d41713cf87f1abcfeaa30fad7e75563f57c0c", "size": 295663 }, "figures/hybrid_width.png": { "git_blob": "8367a30cffb9b0db4b20be01458660fbc9b2353d", "sha256": "7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7", "size": 115786 "git_blob": "416b3e3418dcdbfd4f466379b60e62836ddb4e21", "sha256": "a0a6b2fa0c1b3ed1b245efb215e4dc60a5ba192f2c5cac2e94bf36f18cc85cf7", "size": 115661 }, "figures/penalty-directions.png": { "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",6 unmodified lines "size": 9426 }, "study.json": { "git_blob": "0354d2d1d696f25fee647da466757c9e353648a7", "sha256": "6a7b4a55be236cc25fceb6ebf6cd4ab8e9a53c5c95637e699a897ef4d150cad4", "size": 1774171 "git_blob": "d9701f46ebcd219a6ee3fd09af2589015a4c1d4e", "sha256": "c0a0996f7ca45c8324719284ee0a55294e1d5c321d110ebdfe0791f058e19708", "size": 1816120 } }, "revision": "0365d925d9df08baf7d03ebc8bc532b10c0aa52d", "revision": "43c024c506723980950fd9f6e9fe4cffcf4c9d58", "type": "space" }, "BurnyCoder/thirdloss-pythia-410m-adapters": {1071 unmodified lines "BurnyCoder/thirdloss-study": { "files": { "README.md": { "git_blob": "32f1b025073513a751905ee70333e3081baeb85e", "sha256": "685bb22eed9c16877dd795082d3e0553d18418dd8c182939ea8cefda91f8db3d", "size": 10222 "git_blob": "61825543464100ae8280a9fd114f1fd69565b591", "sha256": "e7439ddcf02edd87a85aab16628429c28626ee87e5a80f68e70b71013b177f3f", "size": 13022 }, "logs/abstracts-control-s00-initial-r00-20261125T083205378751Z.jsonl": { "git_blob": "7afe7d20a699dfd5a611daca6298f2fa091c694c",191 unmodified lines "size": 3895 }, "logs/readme-comparison-release.log": { "git_blob": "369b5541996ec47eade4583e981e6451db680bdf", "sha256": "8edbd255ac348152c56f2ce60634714295ec2cfe1110b8dd6fd79005c0dc9d64", "size": 3514 "git_blob": "87d69bc263068ddc4aa7e500a93327979234b1c5", "sha256": "9ee5a9ab73649d5985f8065c03d5278c87cc0a9f2ce35e5139e6a6be743bf66d", "size": 3184 }, "logs/readme-comparison-render.log": { "git_blob": "c360da520a8ffebbe372331805c80d745e0db312", "sha256": "9c3cb1684aacf324ef620a44c6181591f8eea89d58e66de7a2ddd69e57496731", "size": 158 "git_blob": "70e3857ddf7864165e224327f5b04e72ea4521df", "sha256": "48dcbca8ba1a5e39de40640cf1a30459abefca18fb4075f512c6fefc0ef71b41", "size": 237 }, "logs/stories-branch-s21-trunk-r01-20261125T103522576232Z.jsonl": { "git_blob": "1fa0317bc627e9cafc2ac47ee1257c5b660642e8",66 unmodified lines "size": 315447 }, "logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl": { "git_blob": "cc1804a8c799e9e8d7f5ae2cf704201711828632", "sha256": "fbd17cdce1fd7731016f9a8624afc7f61f5b55390a8ba2b1e2c86a4b5f54c52c", "size": 111438 "git_blob": "47c3943a0b8adc8877535054010645aafc6ac48a", "sha256": "8dad89832e4ffb56a865ef9a8e9c7cb26e508fc5a51214ead8384192d2c2fa09", "size": 260125 }, "logs/stories-hybrid-s22-strong-r01-20261125T153820400099Z.jsonl": { "git_blob": "4a4c5e6c1fea3b28c8437d31982325056292c25e",106 unmodified lines "size": 1152414 }, "logs/study-20261125T151603Z-hybrid-confirmation.log": { "git_blob": "2136d611ded8c59ea1283d14e2306135eeef6c2f", "sha256": "d0536611391bc97d50a744dbc8719e060c563b52d7460a0d4403b0ec1c7e1973", "size": 2223272 "git_blob": "acbb5604183e62d297f690d575edf1ca8f578f55", "sha256": "c47c5fde143d5e2b14cef81aa46e4e0e5d363d200fca0f7161344cc994c7318f", "size": 2372018 }, "logs/study-20261125T151603Z-hybrid-stderr.log": { "git_blob": "4c8c0f01dd5ac2320715fffa46872b66393e497f",66 unmodified lines "size": 786 }, "research/README.md": { "git_blob": "ff5c4fdd53eee50eb4aebe7b6d368b48f8764143", "sha256": "df8b40c385986270d0652b42fb47d758ad8320d8d027c5916a8975041bd6fd09", "size": 24336 "git_blob": "2d6034d5f5e38f614ba6553f84d8000e19859e7a", "sha256": "bc0d16e778d5bdff206093ff552d0b210f60e6cb0da397215b505dd43d844f47", "size": 26722 }, "research/docs/data.md": { "git_blob": "1d0a74102cee4ed06b783085ca2ce823c6bf3a42",16 unmodified lines "size": 63324 }, "research/docs/figures/curves.png": { "git_blob": "7b2f739d89383360f98039a2e14e73453836f4ba", "sha256": "d81484bfad0fbc008a5a7bb1c5b07054bc544ebd821e5f8d20aae48501868244", "size": 295597 "git_blob": "c1b48134212078389b032500e679bb53f1c58c1e", "sha256": "4d7df904fc8bdbc34b04f79dd84d41713cf87f1abcfeaa30fad7e75563f57c0c", "size": 295663 }, "research/docs/figures/hybrid_width.png": { "git_blob": "8367a30cffb9b0db4b20be01458660fbc9b2353d", "sha256": "7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7", "size": 115786 "git_blob": "416b3e3418dcdbfd4f466379b60e62836ddb4e21", "sha256": "a0a6b2fa0c1b3ed1b245efb215e4dc60a5ba192f2c5cac2e94bf36f18cc85cf7", "size": 115661 }, "research/docs/figures/penalty-directions.png": { "git_blob": "74b76888f6466d197afbe991559d06c92af67eb1",16 unmodified lines "size": 1583 }, "research/docs/hub/archive.md": { "git_blob": "32f1b025073513a751905ee70333e3081baeb85e", "sha256": "685bb22eed9c16877dd795082d3e0553d18418dd8c182939ea8cefda91f8db3d", "size": 10222 "git_blob": "61825543464100ae8280a9fd114f1fd69565b591", "sha256": "e7439ddcf02edd87a85aab16628429c28626ee87e5a80f68e70b71013b177f3f", "size": 13022 }, "research/docs/hub/space.md": { "git_blob": "156f128287f1772dc3f22b423fbfb268f53b0136",16 unmodified lines "size": 8150 }, "research/docs/study.json": { "git_blob": "0354d2d1d696f25fee647da466757c9e353648a7", "sha256": "6a7b4a55be236cc25fceb6ebf6cd4ab8e9a53c5c95637e699a897ef4d150cad4", "size": 1774171 "git_blob": "d9701f46ebcd219a6ee3fd09af2589015a4c1d4e", "sha256": "c0a0996f7ca45c8324719284ee0a55294e1d5c321d110ebdfe0791f058e19708", "size": 1816120 }, "research/docs/third-derivative-penalty.md": { "git_blob": "ef2f9eaf958073e25771c60e97a4ce10b2a1b687",121 unmodified lines "size": 231 }, "research/reports/experiments/experiments.md": { "git_blob": "ffcb563a9d7ff863668018b691fbae17320adb62", "sha256": "e8dfd2d6a9cd73db4a94d3cc301450b133af15e2de49c796b46f9cd24c6d193f", "git_blob": "3ee8555e32adec7c4a7b3746e2c055b5c879ba92", "sha256": "8343877ae2c204566bb5fe0c7c383c68d62bb16b9f676c4a4f17994ea3aff1f0", "size": 7201 }, "research/reports/experiments/learnings.md": { "git_blob": "cab98c2c7e9f07bb4af6572f4343339da0f53f5d", "sha256": "0a7073cffae45f7aa42e35dbfbf59efce84d30ee6d16ef6c69f99e4695bc1be7", "git_blob": "a62e8fd76acb3e926364da8a8eb6926bbbaa6bce", "sha256": "49d4f79c0b2464935f60a5237c09a3e210893b69958cca649ab7f9048ce2a618", "size": 9685 }, "research/reports/experiments/stories-branch-s21-trunk-r01/experiment.md": {117 unmodified lines "size": 239 }, "research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md": { "git_blob": "d3a67f58db270c9f2a5466feaf0b604ec7e6c251", "sha256": "ac18aeda564e40215d4ec6d358c541c0ae18f0bd3db725cb087dd60bab268f78", "git_blob": "59c4c21c05467e64f472c1dda77621cdc95e93b4", "sha256": "9907dd748dc43dc2193be4206826f6109e41bed21ac27741fb4a2830ad744cec", "size": 735 }, "research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md": { "git_blob": "ae63e9d99b91227ef2c6b494660e5b89308ef6d9", "sha256": "ce9301e549dc7d49f8103e7fcfeec9b6c22fa76da6c361909451610a76aca85d", "git_blob": "38797a59b7e05211b661db16f05bdaca21ed93c7", "sha256": "896ac86361eb914388565d59d0b1d9178d566197dc79859c4d43c34ddb3cbf07", "size": 239 }, "research/reports/experiments/stories-hybrid-s22-strong-r01/experiment.md": {122 unmodified lines "size": 7658 }, "research/reports/hybrid/results.md": { "git_blob": "b79eac20dc691c37377ed317ea9db1ea72009f0c", "sha256": "be1d7a2a93e552c5b347603683ccc2136f0803cb850d1fc8e086eacb1f231986", "size": 9770 "git_blob": "a02640bebf847981ea757c6f52445fe7f6d07a68", "sha256": "51818443718443a00e87c49536df36478faa2278def4035304a6b7d613a71755", "size": 9921 }, "research/reports/literature-review.md": { "git_blob": "60cb61940a961b869b09e18931fb885668994e62",1 unmodified line "size": 7290 }, "research/reports/paper.pdf": { "git_blob": "8b112dc8164915318416bed3007c9477f6bc0c9d", "sha256": "48d5bbb46d4d7e7f8ca73bcab610e8105717ee669d2769b951b7098286b46aa1", "size": 604725 "git_blob": "ba8a0f2438b6827c90d7f0ebf24f32434c1f40f0", "sha256": "175621be16d5ede6ee34ca55f9542f7c0d8295b4e9ccbb7c0c724146bad89be6", "size": 604761 }, "research/reports/plan.md": { "git_blob": "d15ec7b2f2324e3aedb389d2fd95208a31978596",11 unmodified lines "size": 5234 }, "research/reports/progress.md": { "git_blob": "0eed3c9984fc5c36c4fea734da2f39261b25b2e1", "sha256": "1b83ac6882b0a2f7d6a917496066887cc2b42662d0c38cec98e55403ce7c9a3f", "git_blob": "c73021bd37d51aad34fd7da187f2748d18354c35", "sha256": "ed02d2a4ef90cc503626129d3cf233070265334c8bf65bbbd7c9e12e5c83d86f", "size": 2289 }, "research/reports/reviews/adapter-verification.md": {832 unmodified lines "size": 995 }, "research/results/stories-hybrid-s22-replay-r01/events.jsonl": { "git_blob": "38873237ece8a639f05bd3f4f47da586dff3f8c5", "sha256": "ebfe935c36852bdc79b84d6d27f3eb186de91371977aec0d5f34c9adc86bc107", "size": 97489 "git_blob": "2098abe829d2e48c67dbb061c6d784939c6462d2", "sha256": "01d6431144bb97b74bd4ee97f04d1eab97e481913da92b81754e4239cd9eb614", "size": 247606 }, "research/results/stories-hybrid-s22-replay-r01/state.json": { "git_blob": "f94b29d184743fb062a15ec3d89cf50a663bf10f",5 unmodified lines "sha256": "27a6110fb66dcb37fbb2beafa588547640cedbca6418f85f07a3a4078767fc0a", "size": 3727 }, "research/results/stories-hybrid-s22-replay-r01/width-3072.json": { "git_blob": "c69bf1b65f42d2199b1de3c39b530996a09c6df0", "sha256": "f55d454b805bff4b335351f12c8acd176941dc943cfea123261afe751f92b4bb", "size": 3727 }, "research/results/stories-hybrid-s22-strong-r01/config.json": { "git_blob": "6bba935c4c883d5c4dd7cf27ed3ea91065e1c033", "sha256": "aacc60e5c12efbfd745db701d92d98472f97cd1f8b468c9e5ff82789c7d20855",435 unmodified lines "size": 11879 }, "research/src/thirdloss/readme_comparisons.py": { "git_blob": "f759481925db98e2ea793c30e1dfa2321b894cdb", "sha256": "028afa951788ee861adc8f38850fed42f28f791fcb2e340174bf3377d9afd7c3", "size": 16617 "git_blob": "062abddc23f24b33e4fa4e7023c8698cc9e8f1e0", "sha256": "31354d87166d1a7246d188f7f9182da10726a45b715606c4e97452ec68e60253", "size": 17615 }, "research/src/thirdloss/records.py": { "git_blob": "a800de00d42944f13a89d8d2f91ce9b2103bbd45",76 unmodified lines "size": 9862 }, "research/tests/test_readme_comparisons.py": { "git_blob": "5bde543f409753f9533cc2e6dc40d801f11e0f71", "sha256": "b3549df4f1cc83e59ec7f362873b0218003b9c0c4d3fea49a798bbe018b714c4", "size": 4094 "git_blob": "48e9e117fe5c5056e926caa3cd0fe90c306724c8", "sha256": "5b39ec5fcedd75f37b8685f38fb39278c16a66237e2d77d7e0bb188d099f162d", "size": 4769 }, "research/tests/test_reporting.py": { "git_blob": "8d35cec22ff32950b18690c8af5142d0b44bc644",60 unmodified lines "type": "dataset" } }, "verified_at": "2026-11-25T15:56:50+00:00" "verified_at": "2026-11-25T15:59:41+00:00"}11 unmodified lines1213141516171854 unmodified lines7374757576777879808182838485868788899091929339 unmodified lines13313413512113613713813914014114214314414514610 unmodified lines15715815916016116216316416516616716816917017117211 unmodified lines
| Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW || --- | --- | --- | --- | --- || TinyStories pretraining · dev | one development pilot seed | 0.000045 lower | 0.000338 lower | 65.7% slower || Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
**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.54 unmodified lines
### TinyStories pretraining
Awaiting matched checkpoints for AdamW, Hessian trace and third order.**Full development split · one development pilot seed · 2,097,152 training targets per run.** Method columns show medians over the same seeds. The two right columns give the median paired change for third order against each baseline. The pilot also selected the derivative strengths. [Strength selection](results/selection/stories.json) · [Experiment ledger](reports/experiments/experiments.md)
| Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace || --- | --- | --- | --- | --- | --- || Development NLL ↓ | 3.876976 | 3.877269 | **3.876931** | 0.000045 lower | 0.000338 lower || Dev top-1 accuracy ↑ | **32.337%** | 32.329% | 32.326% | 0.011 pp lower | 0.003 pp lower || Equal-time probe NLL ↓ | **3.82905** | 4.04765 | 4.95277 | 1.12372 higher | 0.90512 higher || Training speed ↑ (targets/s) | **123,871** | 73,185 | 42,481 | 65.7% slower | 42.0% slower || Peak GPU allocation ↓ (MiB) | 608.2 | 608.2 | 608.2 | Tie | Tie |
These early TinyStories pilots share the initialization seed and identical first-update token count, loss, accuracy and gradient norm. Initial weight digests were first recorded in later runs. [First-update records](reports/experiments/experiments.md)
The common training-time cutoff had a median of 16.9 seconds. The furthest checkpoint used for this row was 2.3 seconds before its cutoff.
Awaiting paired test results (0 of 8 full-horizon training triplets).
### Pythia-410M adapters
39 unmodified lines
<details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
**TinyStories pretraining** · Secondary pilot comparisons are pending.**TinyStories pretraining** · Pilot seed, 2,097,152 training targets.
| Metric | Third order | Squared Hessian | Scrambled signs | Trace + third || --- | --- | --- | --- | --- || Development NLL ↓ | **3.876931** | 3.878680 | 3.877253 | 3.877172 || Dev top-1 accuracy ↑ | 32.326% | 32.299% | **32.331%** | 32.317% || Training speed ↑ (targets/s) | 42,481 | **83,790** | 50,914 | 41,030 || Peak GPU allocation ↓ (MiB) | **608.2** | **608.2** | 608.6 | 619.3 |
**Pythia-410M adapters** · Secondary pilot comparisons are pending.
10 unmodified lines
Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
<details><summary>TinyStories pretraining · same prompt, seed 0</summary>
**Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
| [AdamW](results/stories-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](results/stories-pilot-s00-trace-r01/samples.jsonl) | [Third order](results/stories-pilot-s00-third-r01/samples.jsonl) || --- | --- | --- || <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> |
</details>
<details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
**Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>14 unmodified lines151617181920218 unmodified lines3031323233343536373839404142434445464748495039 unmodified lines909192789394959697989910010110210310 unmodified lines11411511611711811912012112212312412512612712812914 unmodified lines
| Model and split | Matched evidence | Third-order NLL vs AdamW | Third-order NLL vs trace | Speed vs AdamW || --- | --- | --- | --- | --- || TinyStories pretraining · dev | one development pilot seed | 0.000045 lower | 0.000338 lower | 65.7% slower || Pythia-410M adapters · dev | one development pilot seed | 0.000300 higher | 0.000273 higher | 88.6% slower |
**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.8 unmodified lines
### TinyStories pretraining
Awaiting matched checkpoints for AdamW, Hessian trace and third order.**Full development split · one development pilot seed · 2,097,152 training targets per run.** Method columns show medians over the same seeds. The two right columns give the median paired change for third order against each baseline. The pilot also selected the derivative strengths. [Strength selection](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/selection/stories.json) · [Experiment ledger](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
| Metric | AdamW | Hessian trace | Third order | vs AdamW | vs Hessian trace || --- | --- | --- | --- | --- | --- || Development NLL ↓ | 3.876976 | 3.877269 | **3.876931** | 0.000045 lower | 0.000338 lower || Dev top-1 accuracy ↑ | **32.337%** | 32.329% | 32.326% | 0.011 pp lower | 0.003 pp lower || Equal-time probe NLL ↓ | **3.82905** | 4.04765 | 4.95277 | 1.12372 higher | 0.90512 higher || Training speed ↑ (targets/s) | **123,871** | 73,185 | 42,481 | 65.7% slower | 42.0% slower || Peak GPU allocation ↓ (MiB) | 608.2 | 608.2 | 608.2 | Tie | Tie |
These early TinyStories pilots share the initialization seed and identical first-update token count, loss, accuracy and gradient norm. Initial weight digests were first recorded in later runs. [First-update records](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/experiments/experiments.md)
The common training-time cutoff had a median of 16.9 seconds. The furthest checkpoint used for this row was 2.3 seconds before its cutoff.
Awaiting paired test results (0 of 8 full-horizon training triplets).
### Pythia-410M adapters
39 unmodified lines
<details><summary>Squared-Hessian, scrambled-gradient, combined and untrained controls</summary>
**TinyStories pretraining** · Secondary pilot comparisons are pending.**TinyStories pretraining** · Pilot seed, 2,097,152 training targets.
| Metric | Third order | Squared Hessian | Scrambled signs | Trace + third || --- | --- | --- | --- | --- || Development NLL ↓ | **3.876931** | 3.878680 | 3.877253 | 3.877172 || Dev top-1 accuracy ↑ | 32.326% | 32.299% | **32.331%** | 32.317% || Training speed ↑ (targets/s) | 42,481 | **83,790** | 50,914 | 41,030 || Peak GPU allocation ↓ (MiB) | **608.2** | **608.2** | 608.6 | 619.3 |
**Pythia-410M adapters** · Secondary pilot comparisons are pending.
10 unmodified lines
Each panel shows the first saved prompt and full continuations from the lowest matched seed. The method names link to the raw generations.
<details><summary>TinyStories pretraining · same prompt, seed 0</summary>
**Prompt** <samp>Once upon a time, there was a clever little dog named Max. Max loved</samp>
| [AdamW](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-ce-r00/samples.jsonl) | [Hessian trace](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-trace-r01/samples.jsonl) | [Third order](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/results/stories-pilot-s00-third-r01/samples.jsonl) || --- | --- | --- || <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> | <samp> to play on the cat.</samp> |
</details>
<details><summary>Pythia-410M adapters · same prompt, seed 0</summary>
**Prompt** <samp>One of the central objectives of contemporary neuroimaging research is to<br>create predictive models</samp>28 unmodified lines293031323233343528 unmodified lines| [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 || [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 || [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 || [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 || [stories-hybrid-s22-replay-r01](./stories-hybrid-s22-replay-r01/experiment.md) | TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 14,745,600 | 2.5709 | — | — | training || [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 || [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 || [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 |51 unmodified lines525354555556575851 unmodified lines
- [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.
- [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.- [stories-hybrid-s22-replay-r01](./stories-hybrid-s22-replay-r01/experiment.md) — Development NLL changed by -0.1623 nats per target token from 8,912,896 to 14,680,064 training targets. Attribution to the regularizer uses matched comparisons across seeds.
- [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.
3 unmodified lines4567789910113 unmodified lines
| Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status || --- | --- | --- | --- | --- | --- | --- | --- | --- | --- || TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 10,977,280 | 2.6751 | — | — | training || TinyStories | Cross-seed replay | hybrid | 22 | 0.010 | 14,745,600 | 2.5709 | — | — | training |
Training time is 228.5 seconds. Peak allocated GPU memory is — MiB. Development token accuracy is 0.4475. Test token accuracy is —.Training time is 385.0 seconds. Peak allocated GPU memory is — MiB. Development token accuracy is 0.4608. Test token accuracy is —.
[Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/stories-hybrid-s22-replay-r01/config.json)123345# Run learnings
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.Development NLL changed by -0.1623 nats per target token from 8,912,896 to 14,680,064 training targets. Attribution to the regularizer uses matched comparisons across seeds.
[Experiment and source records](experiment.md)36 unmodified lines3738394041424336 unmodified lines| 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 || 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 || 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 || 22 | Cross-seed replay | [3072](../../results/stories-hybrid-s22-replay-r01/width-3072.json) | 13.95166 | 13.95068 | 13.95264 | 0 | 2.65427 | 7.07 || 22 | Stronger trace | [2048](../../results/stories-hybrid-s22-strong-r01/width-2048.json) | 15.40259 | 15.40137 | 15.40381 | 0 | 2.81658 | 5.80 || 22 | Stronger trace | [3072](../../results/stories-hybrid-s22-strong-r01/width-3072.json) | 13.96240 | 13.96143 | 13.96338 | 0 | 2.65431 | 6.13 || 22 | Stronger trace | [4096](../../results/stories-hybrid-s22-strong-r01/width-4096.json) | 13.23291 | 13.23193 | 13.23389 | 0 | 2.60456 | 6.56 |1233456# Study progress
Updated 2026-11-25T15:56:34+00:00.Updated 2026-11-25T15:59:25+00:00.
21 training/control records and 0 final evaluations are complete. This is 17.5% of 120 planned model milestones.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191{ "step": 3072, "tokens": 12582912, "baseline_nll": 2.654270648956299, "delta_nll": 0.1, "directions": [ { "direction": 0, "positive": { "lower": 6.7705078125, "upper": 6.771484375 }, "negative": { "lower": 7.4677734375, "upper": 7.46875 } }, { "direction": 1, "positive": { "lower": 6.763671875, "upper": 6.7646484375 }, "negative": { "lower": 7.552734375, "upper": 7.5537109375 } }, { "direction": 2, "positive": { "lower": 7.1630859375, "upper": 7.1640625 }, "negative": { "lower": 6.65234375, "upper": 6.6533203125 } }, { "direction": 3, "positive": { "lower": 7.8056640625, "upper": 7.806640625 }, "negative": { "lower": 6.9140625, "upper": 6.9150390625 } }, { "direction": 4, "positive": { "lower": 7.267578125, "upper": 7.2685546875 }, "negative": { "lower": 6.7001953125, "upper": 6.701171875 } }, { "direction": 5, "positive": { "lower": 7.6640625, "upper": 7.6650390625 }, "negative": { "lower": 6.26953125, "upper": 6.2705078125 } }, { "direction": 6, "positive": { "lower": 7.9677734375, "upper": 7.96875 }, "negative": { "lower": 6.3212890625, "upper": 6.322265625 } }, { "direction": 7, "positive": { "lower": 7.091796875, "upper": 7.0927734375 }, "negative": { "lower": 6.609375, "upper": 6.6103515625 } }, { "direction": 8, "positive": { "lower": 7.4375, "upper": 7.4384765625 }, "negative": { "lower": 6.9912109375, "upper": 6.9921875 } }, { "direction": 9, "positive": { "lower": 6.9990234375, "upper": 7.0 }, "negative": { "lower": 7.1416015625, "upper": 7.142578125 } }, { "direction": 10, "positive": { "lower": 6.4736328125, "upper": 6.474609375 }, "negative": { "lower": 6.939453125, "upper": 6.9404296875 } }, { "direction": 11, "positive": { "lower": 6.1396484375, "upper": 6.140625 }, "negative": { "lower": 7.544921875, "upper": 7.5458984375 } }, { "direction": 12, "positive": { "lower": 6.8173828125, "upper": 6.818359375 }, "negative": { "lower": 7.4365234375, "upper": 7.4375 } }, { "direction": 13, "positive": { "lower": 6.8125, "upper": 6.8134765625 }, "negative": { "lower": 6.9833984375, "upper": 6.984375 } }, { "direction": 14, "positive": { "lower": 7.0068359375, "upper": 7.0078125 }, "negative": { "lower": 6.2353515625, "upper": 6.236328125 } }, { "direction": 15, "positive": { "lower": 6.9921875, "upper": 6.9931640625 }, "negative": { "lower": 6.876953125, "upper": 6.8779296875 } } ], "width_lower": 13.95068359375, "width_upper": 13.95263671875, "width": 13.95166015625, "censored_rays": 0, "weights_sha256": "a8d6aa35e2d4a18777c15af543e42235c9715bc0d763a8d7731e71ff1b175b3b", "weights_restored": true, "seconds": 7.073468700000376}96 unmodified lines97989910010010110210310410510610710810911011111211311411581 unmodified lines19719819920020120220320420520696 unmodified lines if any(len(groups.get((seed,m),[]))!=1 for m in methods): continue pair={m:dict(groups[seed,m][0]) for m in methods} provenance=("initial_trainable_sha256","data_manifest_sha256","dev_tokens") provenance=("data_manifest_sha256","dev_tokens") if any(not all(r.get(key) for r in pair.values()) or len({r[key] for r in pair.values()})!=1 for key in provenance): continue hashes={r.get("initial_trainable_sha256") for r in pair.values()} if hashes=={None} and (stage,phase)==("stories","pilot"): # Early scratch pilots recorded the seed and first ordinary update before weight digests existed. first=[next((e for e in r.get("events",[]) if e.get("step")==1),{}) for r in pair.values()] fields=("tokens","loss","accuracy","gradient_norm") if any(not all(finite(e.get(k)) for e in first) or len({e[k] for e in first})!=1 for k in fields): continue elif len(hashes)!=1 or not all(hashes): continue if methods==PRIMARY: timed=_time_match(seed,{(seed,m):r for m,r in pair.items()}) if timed:81 unmodified lines +f"[Strength selection](results/selection/{stage}.json) · [Experiment ledger](reports/experiments/experiments.md)") metrics=((TEST,TEST_ACC) if final else ())+ (NLL,ACCURACY,EQUAL_TIME,SPEED,MEMORY) detail.append(_score_table(pairs,PRIMARY,metrics,(("third","ce"),("third","trace")))) if not pairs[0]["ce"].get("initial_trainable_sha256"): detail.append("These early TinyStories pilots share the initialization seed and identical " "first-update token count, loss, accuracy and gradient norm. Initial weight digests " "were first recorded in later runs. [First-update records](reports/experiments/experiments.md)") samples.append(_sample_panel(pairs,PRIMARY,name)) timed=[p for p in pairs if "equal_time_cutoff" in p["ce"]] if timed:69 unmodified lines7071727374757677787980818283848569 unmodified lines assert "same prompt, seed 0" in detail and "<bird> \\| sang" in detail study["runs"][1]["samples"][0]["prompt"]="A different bird" assert "same prompt, seed 0" not in comparison_sections(study)[1]
def test_legacy_stories_pilots_require_matching_first_update_when_initial_hash_is_absent(tmp_path): study=study_snapshot(tmp_path) for method in ("ce","trace","third"): row=pilot(method,3.,100,0. if method=="ce" else .03) del row["initial_trainable_sha256"] row["events"]=[{"step":1,"tokens":4096,"loss":8.35,"accuracy":.003,"gradient_norm":1.88}] study["runs"].append(row) top,detail=comparison_sections(study) assert "TinyStories pretraining · dev" in top and "first-update" in detail study["runs"][1]["events"][0]["gradient_norm"]+=.01 assert "TinyStories pretraining · dev" not in comparison_sections(study)[0]README.md+34-2
logs/readme-comparison-release.log+20-34
logs/readme-comparison-render.log+1
logs/stories-hybrid-s22-replay-r01-20261125T155452510352Z.jsonl
logs/study-20261125T151603Z-hybrid-confirmation.log
publication.json+72-67
research/README.md+34-2
research/docs/figures/curves.png

Large File Pointer Details
- SHA256: d81484bfad0fbc008a5a7bb1c5b07054bc544ebd821e5f8d20aae48501868244
- Pointer size: 131 Bytes
- Size of remote file: 296 kB

Large File Pointer Details
- SHA256: 4d7df904fc8bdbc34b04f79dd84d41713cf87f1abcfeaa30fad7e75563f57c0c
- Pointer size: 131 Bytes
- Size of remote file: 296 kB
research/docs/figures/hybrid_width.png

Large File Pointer Details
- SHA256: 7078b505a641fce0476e782f4f4e9432a0bd4ab0c4b7f3a4952cb23bc08a59e7
- Pointer size: 131 Bytes
- Size of remote file: 116 kB

Large File Pointer Details
- SHA256: a0a6b2fa0c1b3ed1b245efb215e4dc60a5ba192f2c5cac2e94bf36f18cc85cf7
- Pointer size: 131 Bytes
- Size of remote file: 116 kB
research/docs/hub/archive.md+34-2
research/docs/study.json
research/reports/experiments/experiments.md+1-1
research/reports/experiments/learnings.md+1-1
research/reports/experiments/stories-hybrid-s22-replay-r01/experiment.md+2-2
research/reports/experiments/stories-hybrid-s22-replay-r01/learnings.md+1-1
research/reports/hybrid/results.md+1
research/reports/paper.pdf
research/reports/progress.md+1-1
research/results/stories-hybrid-s22-replay-r01/events.jsonl
research/results/stories-hybrid-s22-replay-r01/width-3072.jsonAdded+191
research/src/thirdloss/readme_comparisons.py+14-1
research/tests/test_readme_comparisons.py+13