BurnyCoder commited on
Commit
38e715f
·
verified ·
1 Parent(s): 8bca49c

Measure comparable flatness for stories-hybrid-s21-strong-r01

Browse files
runs/stories-hybrid-s21-strong-r01/README.md CHANGED
@@ -16,9 +16,11 @@ Randomly initialized TinyStories decoder. The restart manifest identifies the we
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.175 | ↑ Wider is flatter in these weight coordinates |
19
- | RMS weight curvature | Pending | ↓ Lower means less local bending |
20
- | Signed Hessian trace / parameter | Pending | No general better direction |
21
- | Common score width | Pending | ↑ Wider tolerates larger changes in token scores |
22
- | Mean directional score curvature | Pending | ↓ Lower means less local bending in score space |
23
 
24
  Compare weight measurements within the same parameterization and token horizon. The shared score probes use the same token-level perturbations within each corpus. Their value for predicting held-out performance is unknown. [Compare every variant and baseline](https://huggingface.co/BurnyCoder/thirdloss-study#all-variants-and-baselines) · [Per-run statistics and raw probes](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/flatness.md) · [Training scores](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s21-strong-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.175 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.58362 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.00423557 | No general better direction |
21
+ | Common score width | 1.084 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.699349 | ↓ Lower means less local bending in score space |
23
 
24
  Compare weight measurements within the same parameterization and token horizon. The shared score probes use the same token-level perturbations within each corpus. Their value for predicting held-out performance is unknown. [Compare every variant and baseline](https://huggingface.co/BurnyCoder/thirdloss-study#all-variants-and-baselines) · [Per-run statistics and raw probes](https://huggingface.co/BurnyCoder/thirdloss-study/blob/main/research/reports/flatness.md) · [Training scores](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s21-strong-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s21-strong-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s21-strong-r01/score-flatness.json)
runs/stories-hybrid-s21-strong-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s21-strong-r01",
3
+ "checkpoint_file_sha256": "7f82a0f9dcf3db7edb38d20367b1149e8e88f30649f2b68fa693d4c2835f334b",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:10:45+00:00",
9
+ "protocol": "checkpoint-flatness-v1",
10
+ "width_windows": 8,
11
+ "curvature_windows": 2,
12
+ "width": {
13
+ "step": 4096,
14
+ "tokens": 16777216,
15
+ "baseline_nll": 2.5930581092834473,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 6.681640625,
22
+ "upper": 6.6826171875
23
+ },
24
+ "negative": {
25
+ "lower": 6.8935546875,
26
+ "upper": 6.89453125
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 5.5107421875,
33
+ "upper": 5.51171875
34
+ },
35
+ "negative": {
36
+ "lower": 7.4970703125,
37
+ "upper": 7.498046875
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.2802734375,
44
+ "upper": 6.28125
45
+ },
46
+ "negative": {
47
+ "lower": 6.9375,
48
+ "upper": 6.9384765625
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 6.001953125,
55
+ "upper": 6.0029296875
56
+ },
57
+ "negative": {
58
+ "lower": 6.8525390625,
59
+ "upper": 6.853515625
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 5.97265625,
66
+ "upper": 5.9736328125
67
+ },
68
+ "negative": {
69
+ "lower": 7.1181640625,
70
+ "upper": 7.119140625
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.5849609375,
77
+ "upper": 6.5859375
78
+ },
79
+ "negative": {
80
+ "lower": 6.6357421875,
81
+ "upper": 6.63671875
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 6.4521484375,
88
+ "upper": 6.453125
89
+ },
90
+ "negative": {
91
+ "lower": 6.7783203125,
92
+ "upper": 6.779296875
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 7.2373046875,
99
+ "upper": 7.23828125
100
+ },
101
+ "negative": {
102
+ "lower": 6.07421875,
103
+ "upper": 6.0751953125
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.5654296875,
110
+ "upper": 6.56640625
111
+ },
112
+ "negative": {
113
+ "lower": 6.564453125,
114
+ "upper": 6.5654296875
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.5703125,
121
+ "upper": 6.5712890625
122
+ },
123
+ "negative": {
124
+ "lower": 6.76171875,
125
+ "upper": 6.7626953125
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.5830078125,
132
+ "upper": 6.583984375
133
+ },
134
+ "negative": {
135
+ "lower": 6.4365234375,
136
+ "upper": 6.4375
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 6.5517578125,
143
+ "upper": 6.552734375
144
+ },
145
+ "negative": {
146
+ "lower": 6.689453125,
147
+ "upper": 6.6904296875
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.775390625,
154
+ "upper": 6.7763671875
155
+ },
156
+ "negative": {
157
+ "lower": 6.2197265625,
158
+ "upper": 6.220703125
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 6.92578125,
165
+ "upper": 6.9267578125
166
+ },
167
+ "negative": {
168
+ "lower": 6.373046875,
169
+ "upper": 6.3740234375
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.1328125,
176
+ "upper": 6.1337890625
177
+ },
178
+ "negative": {
179
+ "lower": 6.5478515625,
180
+ "upper": 6.548828125
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 6.3408203125,
187
+ "upper": 6.341796875
188
+ },
189
+ "negative": {
190
+ "lower": 6.263671875,
191
+ "upper": 6.2646484375
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.173828125,
196
+ "width_upper": 13.17578125,
197
+ "width": 13.1748046875,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "f9a700e1a5c79adfad13aec88b3beeb81eae4954b638e2019bd85070b7621049",
200
+ "weights_restored": true,
201
+ "seconds": 5.826916199999687
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.0041449547291428305,
209
+ "squared_rms": 0.3403800968149516
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004723783490918958,
214
+ "squared_rms": 0.3506371283575907
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004296464265037231,
219
+ "squared_rms": 0.371504878917602
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.004226224939357551,
224
+ "squared_rms": 0.3290135949627935
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.003731777958425338,
229
+ "squared_rms": 0.3302100944130804
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.005466315319570109,
234
+ "squared_rms": 0.36128774911779027
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.003381415805205133,
239
+ "squared_rms": 0.32527827293447076
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.003913600215881832,
244
+ "squared_rms": 0.316582944158542
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.004235567090442373,
250
+ "rms_curvature": 0.5836196063872449
251
+ }
252
+ }
runs/stories-hybrid-s21-strong-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s21-strong-r01",
3
+ "checkpoint_file_sha256": "7f82a0f9dcf3db7edb38d20367b1149e8e88f30649f2b68fa693d4c2835f334b",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:10:45+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.593057842304579,
12
+ "delta_nll": 0.1,
13
+ "units": "RMS logit displacement",
14
+ "vocab": 4096,
15
+ "targets": 1024,
16
+ "direction_sha256": "5e9a84c337f2062645979ddc7e6cf7a9517d49d7715790081425badae96f5577",
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 0.5244140625,
22
+ "upper": 0.5245361328125
23
+ },
24
+ "negative": {
25
+ "lower": 0.5513916015625,
26
+ "upper": 0.551513671875
27
+ },
28
+ "curvature": 0.7095509778077466
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.5201416015625,
34
+ "upper": 0.520263671875
35
+ },
36
+ "negative": {
37
+ "lower": 0.55322265625,
38
+ "upper": 0.5533447265625
39
+ },
40
+ "curvature": 0.7120905168444408
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.5162353515625,
46
+ "upper": 0.516357421875
47
+ },
48
+ "negative": {
49
+ "lower": 0.5645751953125,
50
+ "upper": 0.564697265625
51
+ },
52
+ "curvature": 0.7050317727970161
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.5479736328125,
58
+ "upper": 0.548095703125
59
+ },
60
+ "negative": {
61
+ "lower": 0.528564453125,
62
+ "upper": 0.5286865234375
63
+ },
64
+ "curvature": 0.7088715365484188
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.5672607421875,
70
+ "upper": 0.5673828125
71
+ },
72
+ "negative": {
73
+ "lower": 0.53369140625,
74
+ "upper": 0.5338134765625
75
+ },
76
+ "curvature": 0.6753823561400998
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.44976806640625,
82
+ "upper": 0.4498291015625
83
+ },
84
+ "negative": {
85
+ "lower": 0.6533203125,
86
+ "upper": 0.6534423828125
87
+ },
88
+ "curvature": 0.6961577137813622
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.5484619140625,
94
+ "upper": 0.548583984375
95
+ },
96
+ "negative": {
97
+ "lower": 0.527587890625,
98
+ "upper": 0.5277099609375
99
+ },
100
+ "curvature": 0.709869952572637
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.608642578125,
106
+ "upper": 0.6087646484375
107
+ },
108
+ "negative": {
109
+ "lower": 0.47271728515625,
110
+ "upper": 0.4727783203125
111
+ },
112
+ "curvature": 0.7155308872985734
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.5885009765625,
118
+ "upper": 0.588623046875
119
+ },
120
+ "negative": {
121
+ "lower": 0.5089111328125,
122
+ "upper": 0.509033203125
123
+ },
124
+ "curvature": 0.6864070336602457
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.533203125,
130
+ "upper": 0.5333251953125
131
+ },
132
+ "negative": {
133
+ "lower": 0.554443359375,
134
+ "upper": 0.5545654296875
135
+ },
136
+ "curvature": 0.6941655923421258
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.620849609375,
142
+ "upper": 0.6209716796875
143
+ },
144
+ "negative": {
145
+ "lower": 0.49139404296875,
146
+ "upper": 0.491455078125
147
+ },
148
+ "curvature": 0.6793003261153355
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.5594482421875,
154
+ "upper": 0.5595703125
155
+ },
156
+ "negative": {
157
+ "lower": 0.529052734375,
158
+ "upper": 0.5291748046875
159
+ },
160
+ "curvature": 0.69190333545141
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.48944091796875,
166
+ "upper": 0.489501953125
167
+ },
168
+ "negative": {
169
+ "lower": 0.5830078125,
170
+ "upper": 0.5831298828125
171
+ },
172
+ "curvature": 0.7180364298274169
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.55615234375,
178
+ "upper": 0.5562744140625
179
+ },
180
+ "negative": {
181
+ "lower": 0.538330078125,
182
+ "upper": 0.5384521484375
183
+ },
184
+ "curvature": 0.6845968491765231
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.584228515625,
190
+ "upper": 0.5843505859375
191
+ },
192
+ "negative": {
193
+ "lower": 0.5013427734375,
194
+ "upper": 0.50146484375
195
+ },
196
+ "curvature": 0.6999418339898191
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.55859375,
202
+ "upper": 0.5587158203125
203
+ },
204
+ "negative": {
205
+ "lower": 0.5228271484375,
206
+ "upper": 0.52294921875
207
+ },
208
+ "curvature": 0.7027439509788327
209
+ }
210
+ ],
211
+ "width_lower": 1.08349609375,
212
+ "width_upper": 1.083740234375,
213
+ "width": 1.0836181640625,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6993488165832502
216
+ }
217
+ }