BurnyCoder commited on
Commit
9fb2774
·
verified ·
1 Parent(s): ab233ec

Publish same-probe full Pythia fourth-derivative comparison

Browse files
research/README.md CHANGED
@@ -22,7 +22,7 @@ The protocol and run matrix were published before model execution. The scores, c
22
  <!-- RESULTS:START -->
23
  [Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss/) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
24
 
25
- Recorded 13 runs, including 13 with a completed summary.
26
 
27
  **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
28
 
 
22
  <!-- RESULTS:START -->
23
  [Explore the results](https://burnycoder.github.io/llm-training-with-penalizing-rapid-changes-of-curvature-of-its-loss/) · [Paper](reports/paper.pdf) · [Run ledger](reports/experiments/experiments.md)
24
 
25
+ Recorded 14 runs, including 13 with a completed summary.
26
 
27
  **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
28
 
research/docs/study.json CHANGED
The diff for this file is too large to render. See raw diff
 
research/reports/experiments/abstracts-control-s00-initial-r00/experiment.md ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Research abstracts · Initial checkpoint
2
+
3
+ Run `abstracts-control-s00-initial-r00` · [raw records](../../../results/abstracts-control-s00-initial-r00/) · [registered design](../../preregistration.md)
4
+
5
+ | Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
6
+ | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
7
+ | Research abstracts | Initial checkpoint | control | 0 | 0.000 | — | — | — | — | configured |
8
+
9
+ Training time is — seconds. Peak allocated GPU memory is — MiB. Development token accuracy is —. Test token accuracy is —.
10
+
11
+ [Design and hyperparameter rationale](../../planned-runs.md) · [Saved configuration](../../../results/abstracts-control-s00-initial-r00/config.json)
research/reports/experiments/abstracts-control-s00-initial-r00/learnings.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Run learnings
2
+
3
+ A development observation is pending.
4
+
5
+ [Experiment and source records](experiment.md)
research/reports/experiments/experiments.md CHANGED
@@ -6,6 +6,7 @@ NLL is negative log-likelihood in nats per target token. A smaller value assigns
6
 
7
  | Run | Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
8
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
 
9
  | [abstracts-pilot-s00-third-r03](./abstracts-pilot-s00-third-r03/experiment.md) | Research abstracts | Third derivative | pilot | 0 | 0.030 | 65,536 | 3.1168 | — | 907 | complete |
10
  | [stories-control-s00-initial-r00](./stories-control-s00-initial-r00/experiment.md) | TinyStories | Initial checkpoint | control | 0 | 0.000 | 0 | 8.3437 | — | 0 | complete |
11
  | [stories-control-s00-unigram-r00](./stories-control-s00-unigram-r00/experiment.md) | TinyStories | Unigram | control | 0 | 0.000 | 0 | 6.0036 | — | 0 | complete |
 
6
 
7
  | Run | Stage | Method | Phase | Seed | Ratio | Train tokens | Dev NLL | Test NLL | Tokens/s | Status |
8
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
9
+ | [abstracts-control-s00-initial-r00](./abstracts-control-s00-initial-r00/experiment.md) | Research abstracts | Initial checkpoint | control | 0 | 0.000 | — | — | — | — | configured |
10
  | [abstracts-pilot-s00-third-r03](./abstracts-pilot-s00-third-r03/experiment.md) | Research abstracts | Third derivative | pilot | 0 | 0.030 | 65,536 | 3.1168 | — | 907 | complete |
11
  | [stories-control-s00-initial-r00](./stories-control-s00-initial-r00/experiment.md) | TinyStories | Initial checkpoint | control | 0 | 0.000 | 0 | 8.3437 | — | 0 | complete |
12
  | [stories-control-s00-unigram-r00](./stories-control-s00-unigram-r00/experiment.md) | TinyStories | Unigram | control | 0 | 0.000 | 0 | 6.0036 | — | 0 | complete |
research/reports/experiments/learnings.md CHANGED
@@ -6,6 +6,8 @@
6
 
7
  Independent random signs include mixed weight derivatives in the expected penalty. The trace implementation motivating the gradient check converted its estimate to a Python number. [Derivation and references](../literature-review.md)
8
 
 
 
9
  - [abstracts-pilot-s00-third-r03](./abstracts-pilot-s00-third-r03/experiment.md) — Development NLL changed by -0.1143 nats per target token from 4,096 to 65,536 training targets. Attribution to the regularizer uses matched comparisons across seeds. The run ledger records 1 interrupted attempt(s).
10
 
11
  - [stories-control-s00-initial-r00](./stories-control-s00-initial-r00/experiment.md) — The observed development NLL is 8.3437 nats per target token.
 
6
 
7
  Independent random signs include mixed weight derivatives in the expected penalty. The trace implementation motivating the gradient check converted its estimate to a Python number. [Derivation and references](../literature-review.md)
8
 
9
+ - [abstracts-control-s00-initial-r00](./abstracts-control-s00-initial-r00/experiment.md) — A development observation is pending.
10
+
11
  - [abstracts-pilot-s00-third-r03](./abstracts-pilot-s00-third-r03/experiment.md) — Development NLL changed by -0.1143 nats per target token from 4,096 to 65,536 training targets. Attribution to the regularizer uses matched comparisons across seeds. The run ledger records 1 interrupted attempt(s).
12
 
13
  - [stories-control-s00-initial-r00](./stories-control-s00-initial-r00/experiment.md) — The observed development NLL is 8.3437 nats per target token.
research/reports/paper.pdf CHANGED
Binary files a/research/reports/paper.pdf and b/research/reports/paper.pdf differ
 
research/reports/progress.md CHANGED
@@ -1,6 +1,6 @@
1
  # Study progress
2
 
3
- Updated 2026-11-25T07:32:41+00:00.
4
 
5
  13 training/control records and 0 final evaluations are complete. This is 10.8% of 120 planned model milestones.
6
 
@@ -12,7 +12,7 @@ Pilot rates project 1.69 remaining confirmation GPU-hours, excluding validation,
12
 
13
  Statistical status: pending. Awaiting confirmatory runs.
14
 
15
- **abstracts** has 1 completed runs. The next milestone is determined by the run matrix.
16
 
17
  Statistical status: pending. Awaiting confirmatory runs.
18
 
 
1
  # Study progress
2
 
3
+ Updated 2026-11-25T07:34:55+00:00.
4
 
5
  13 training/control records and 0 final evaluations are complete. This is 10.8% of 120 planned model milestones.
6
 
 
12
 
13
  Statistical status: pending. Awaiting confirmatory runs.
14
 
15
+ **abstracts** has 1 completed runs. Current records: abstracts-control-s00-initial-r00 (configured, 0 targets).
16
 
17
  Statistical status: pending. Awaiting confirmatory runs.
18
 
research/reports/summary.md CHANGED
@@ -1,6 +1,6 @@
1
  # Study summary
2
 
3
- Recorded 13 runs, including 13 with a completed summary.
4
 
5
  **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
6
 
 
1
  # Study summary
2
 
3
+ Recorded 14 runs, including 13 with a completed summary.
4
 
5
  **TinyStories.** Awaiting paired test results (0 of 8 full-horizon training triplets).
6
 
research/results/abstracts-control-s00-initial-r00/config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "abstracts-control-s00-initial-r00",
3
+ "stage": "abstracts",
4
+ "method": "initial",
5
+ "phase": "control",
6
+ "seed": 0,
7
+ "ratio": 0.0,
8
+ "token_budget": 0,
9
+ "batch_windows": 8,
10
+ "context": 128,
11
+ "data_manifest_sha256": "0638bd23a7d1dc3ecb9138074ecd922211df2637f60736ddfab7e9aec0b3ccb9",
12
+ "microbatch": 2,
13
+ "coefficients": {}
14
+ }
research/results/verification/pythia-joint-cuda.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "2026-11-25T07:33:30+00:00",
3
+ "device": "cuda",
4
+ "seed": 0,
5
+ "calibration_seed": 6247,
6
+ "draw": 0,
7
+ "initial_trainable_sha256": "1c45ca4d5b3a6cd1b53eadaa7df8af15e21a040a8a61aa7f0e91d1b6f019320b",
8
+ "input_sha256": "e29246c0c1a347178e100d8de295d1952444ec16ce14af832e51d2d9b2592af8",
9
+ "probes_sha256": "7ab2a090e32d3e2d93af10cc9161953f4227dc6e1ff5950d9f59be0a4235da13",
10
+ "max_logit_abs_difference": 0.004558563232421875,
11
+ "two_window_cross_entropy": 3.2335195541381836,
12
+ "joint": {
13
+ "penalty": 467331297837056.0,
14
+ "gradient_norm": 3.026251756164993e+20,
15
+ "seconds": 63.493074900001375,
16
+ "finite": true,
17
+ "peak_allocated_mib": 10970.755859375
18
+ },
19
+ "sequential": {
20
+ "penalty": 265727747555328.0,
21
+ "gradient_norm": 1.748733281131415e+20,
22
+ "seconds": 6.666006799998286,
23
+ "finite": true,
24
+ "peak_allocated_mib": 6358.021484375
25
+ },
26
+ "relative_gradient_difference": 0.4871510026596066,
27
+ "gradient_cosine": 0.9488545150775722,
28
+ "relative_penalty_difference": 0.4313932133687758,
29
+ "repeat_initial_trainable_sha256": "1c45ca4d5b3a6cd1b53eadaa7df8af15e21a040a8a61aa7f0e91d1b6f019320b",
30
+ "repeat_probes_sha256": "7ab2a090e32d3e2d93af10cc9161953f4227dc6e1ff5950d9f59be0a4235da13",
31
+ "repeat_production_penalty": 265727747555328.0,
32
+ "repeat_production_gradient_norm": 1.748733281131415e+20,
33
+ "repeat_relative_gradient_difference": 0.0
34
+ }
research/results/verification/tests.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "checked_at": "2026-11-25T07:06:53+00:00",
3
- "git_revision": "a7b41b3aeb1db27465485c69c4fa31ed732a24a5",
4
  "exit_code": 0,
5
  "cases": [
6
  {
7
  "test": "tests.test_analysis.test_wins_require_both_registered_exact_sign_tests",
8
- "seconds": 0.002,
9
  "outcome": "passed"
10
  },
11
  {
@@ -85,7 +85,7 @@
85
  },
86
  {
87
  "test": "tests.test_analysis.test_time_matched_comparison_uses_one_validation_population_across_methods",
88
- "seconds": 0.002,
89
  "outcome": "passed"
90
  },
91
  {
@@ -95,37 +95,37 @@
95
  },
96
  {
97
  "test": "tests.test_data.test_prefix_candidates_match_exhaustive_jaccard_including_boundary",
98
- "seconds": 0.057,
99
  "outcome": "passed"
100
  },
101
  {
102
  "test": "tests.test_data.test_abstract_submission_month_and_base_id_grouping",
103
- "seconds": 0.05,
104
  "outcome": "passed"
105
  },
106
  {
107
  "test": "tests.test_data.test_prepare_from_parquet_proves_train_only_fit_packing_and_repair",
108
- "seconds": 0.236,
109
  "outcome": "passed"
110
  },
111
  {
112
  "test": "tests.test_derivatives.test_gpu_production_decoder_third_order_update_matches_cpu",
113
- "seconds": 2.469,
114
  "outcome": "passed"
115
  },
116
  {
117
  "test": "tests.test_derivatives.test_quartic_penalty_retains_fourth_derivative",
118
- "seconds": 0.003,
119
  "outcome": "passed"
120
  },
121
  {
122
  "test": "tests.test_derivatives.test_mixed_cubic_exactly_averages_to_tensor_norm",
123
- "seconds": 0.05,
124
  "outcome": "passed"
125
  },
126
  {
127
  "test": "tests.test_derivatives.test_random_probe_generator_gives_independent_directions",
128
- "seconds": 0.179,
129
  "outcome": "passed"
130
  },
131
  {
@@ -145,32 +145,32 @@
145
  },
146
  {
147
  "test": "tests.test_derivatives.test_quadratic_has_curvature_and_zero_third_derivative",
148
- "seconds": 0.003,
149
  "outcome": "passed"
150
  },
151
  {
152
  "test": "tests.test_derivatives.test_signed_hessian_trace_and_squared_norm_have_correct_gradients",
153
- "seconds": 0.003,
154
  "outcome": "passed"
155
  },
156
  {
157
  "test": "tests.test_derivatives.test_tiny_transformer_against_dense_tensor_and_finite_differences",
158
- "seconds": 1.657,
159
  "outcome": "passed"
160
  },
161
  {
162
  "test": "tests.test_derivatives.test_actual_adamw_update_responds_to_the_third_order_term",
163
- "seconds": 0.009,
164
  "outcome": "passed"
165
  },
166
  {
167
  "test": "tests.test_derivatives.test_production_story_model_exposes_full_weight_penalty_gradient",
168
- "seconds": 0.042,
169
  "outcome": "passed"
170
  },
171
  {
172
  "test": "tests.test_derivatives.test_pythia_adapter_fourth_derivative_and_portable_checkpoint",
173
- "seconds": 5.373,
174
  "outcome": "passed",
175
  "measurements": {
176
  "adapter_directional_autograd": "9035.374247002468",
@@ -179,32 +179,32 @@
179
  },
180
  {
181
  "test": "tests.test_derivatives.test_large_finite_gradient_norm_survives_squaring",
182
- "seconds": 0.004,
183
  "outcome": "passed"
184
  },
185
  {
186
  "test": "tests.test_derivatives.test_sequential_windows_reproduce_joint_penalty_and_training_gradient",
187
- "seconds": 0.124,
188
  "outcome": "passed"
189
  },
190
  {
191
  "test": "tests.test_reporting.test_snapshot_keeps_full_score_and_trace_semantics",
192
- "seconds": 0.04,
193
  "outcome": "passed"
194
  },
195
  {
196
  "test": "tests.test_reporting.test_report_before_first_run_keeps_readme_and_emits_protocol_paper",
197
- "seconds": 0.458,
198
  "outcome": "passed"
199
  },
200
  {
201
  "test": "tests.test_training.test_randomized_control_preserves_coordinate_magnitudes_and_zero_is_noop",
202
- "seconds": 0.126,
203
  "outcome": "passed"
204
  },
205
  {
206
  "test": "tests.test_training.test_step_recovery_matches_uninterrupted_weights",
207
- "seconds": 1.995,
208
  "outcome": "passed"
209
  }
210
  ]
 
1
  {
2
+ "checked_at": "2026-11-25T07:33:18+00:00",
3
+ "git_revision": "2dec86cf57994a68a02f6026d553bf0eb4d7446a",
4
  "exit_code": 0,
5
  "cases": [
6
  {
7
  "test": "tests.test_analysis.test_wins_require_both_registered_exact_sign_tests",
8
+ "seconds": 0.001,
9
  "outcome": "passed"
10
  },
11
  {
 
85
  },
86
  {
87
  "test": "tests.test_analysis.test_time_matched_comparison_uses_one_validation_population_across_methods",
88
+ "seconds": 0.001,
89
  "outcome": "passed"
90
  },
91
  {
 
95
  },
96
  {
97
  "test": "tests.test_data.test_prefix_candidates_match_exhaustive_jaccard_including_boundary",
98
+ "seconds": 0.059,
99
  "outcome": "passed"
100
  },
101
  {
102
  "test": "tests.test_data.test_abstract_submission_month_and_base_id_grouping",
103
+ "seconds": 0.039,
104
  "outcome": "passed"
105
  },
106
  {
107
  "test": "tests.test_data.test_prepare_from_parquet_proves_train_only_fit_packing_and_repair",
108
+ "seconds": 0.208,
109
  "outcome": "passed"
110
  },
111
  {
112
  "test": "tests.test_derivatives.test_gpu_production_decoder_third_order_update_matches_cpu",
113
+ "seconds": 2.558,
114
  "outcome": "passed"
115
  },
116
  {
117
  "test": "tests.test_derivatives.test_quartic_penalty_retains_fourth_derivative",
118
+ "seconds": 0.002,
119
  "outcome": "passed"
120
  },
121
  {
122
  "test": "tests.test_derivatives.test_mixed_cubic_exactly_averages_to_tensor_norm",
123
+ "seconds": 0.039,
124
  "outcome": "passed"
125
  },
126
  {
127
  "test": "tests.test_derivatives.test_random_probe_generator_gives_independent_directions",
128
+ "seconds": 0.175,
129
  "outcome": "passed"
130
  },
131
  {
 
145
  },
146
  {
147
  "test": "tests.test_derivatives.test_quadratic_has_curvature_and_zero_third_derivative",
148
+ "seconds": 0.001,
149
  "outcome": "passed"
150
  },
151
  {
152
  "test": "tests.test_derivatives.test_signed_hessian_trace_and_squared_norm_have_correct_gradients",
153
+ "seconds": 0.004,
154
  "outcome": "passed"
155
  },
156
  {
157
  "test": "tests.test_derivatives.test_tiny_transformer_against_dense_tensor_and_finite_differences",
158
+ "seconds": 1.741,
159
  "outcome": "passed"
160
  },
161
  {
162
  "test": "tests.test_derivatives.test_actual_adamw_update_responds_to_the_third_order_term",
163
+ "seconds": 0.007,
164
  "outcome": "passed"
165
  },
166
  {
167
  "test": "tests.test_derivatives.test_production_story_model_exposes_full_weight_penalty_gradient",
168
+ "seconds": 0.054,
169
  "outcome": "passed"
170
  },
171
  {
172
  "test": "tests.test_derivatives.test_pythia_adapter_fourth_derivative_and_portable_checkpoint",
173
+ "seconds": 4.662,
174
  "outcome": "passed",
175
  "measurements": {
176
  "adapter_directional_autograd": "9035.374247002468",
 
179
  },
180
  {
181
  "test": "tests.test_derivatives.test_large_finite_gradient_norm_survives_squaring",
182
+ "seconds": 0.001,
183
  "outcome": "passed"
184
  },
185
  {
186
  "test": "tests.test_derivatives.test_sequential_windows_reproduce_joint_penalty_and_training_gradient",
187
+ "seconds": 0.14,
188
  "outcome": "passed"
189
  },
190
  {
191
  "test": "tests.test_reporting.test_snapshot_keeps_full_score_and_trace_semantics",
192
+ "seconds": 0.017,
193
  "outcome": "passed"
194
  },
195
  {
196
  "test": "tests.test_reporting.test_report_before_first_run_keeps_readme_and_emits_protocol_paper",
197
+ "seconds": 0.439,
198
  "outcome": "passed"
199
  },
200
  {
201
  "test": "tests.test_training.test_randomized_control_preserves_coordinate_magnitudes_and_zero_is_noop",
202
+ "seconds": 0.153,
203
  "outcome": "passed"
204
  },
205
  {
206
  "test": "tests.test_training.test_step_recovery_matches_uninterrupted_weights",
207
+ "seconds": 1.807,
208
  "outcome": "passed"
209
  }
210
  ]