BurnyCoder commited on
Commit
e6ca078
·
verified ·
1 Parent(s): d8d3331

Measure comparable flatness for stories-hybrid-s22-late-r01

Browse files
runs/stories-hybrid-s22-late-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.268 | ↑ 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-s22-late-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.268 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.563692 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.00448537 | No general better direction |
21
+ | Common score width | 1.082 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.699535 | ↓ 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-s22-late-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-late-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-late-r01/score-flatness.json)
runs/stories-hybrid-s22-late-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-late-r01",
3
+ "checkpoint_file_sha256": "696a82891f14549f2c5d4afa641cff7547b2a0b1be2b6ef2a04fcd1e06f3f951",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:13:05+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.6047630310058594,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 6.5009765625,
22
+ "upper": 6.501953125
23
+ },
24
+ "negative": {
25
+ "lower": 7.041015625,
26
+ "upper": 7.0419921875
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 6.498046875,
33
+ "upper": 6.4990234375
34
+ },
35
+ "negative": {
36
+ "lower": 7.046875,
37
+ "upper": 7.0478515625
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.8271484375,
44
+ "upper": 6.828125
45
+ },
46
+ "negative": {
47
+ "lower": 6.22265625,
48
+ "upper": 6.2236328125
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 7.419921875,
55
+ "upper": 7.4208984375
56
+ },
57
+ "negative": {
58
+ "lower": 6.4482421875,
59
+ "upper": 6.44921875
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 6.736328125,
66
+ "upper": 6.7373046875
67
+ },
68
+ "negative": {
69
+ "lower": 6.642578125,
70
+ "upper": 6.6435546875
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.9677734375,
77
+ "upper": 6.96875
78
+ },
79
+ "negative": {
80
+ "lower": 6.1865234375,
81
+ "upper": 6.1875
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 7.5517578125,
88
+ "upper": 7.552734375
89
+ },
90
+ "negative": {
91
+ "lower": 6.0439453125,
92
+ "upper": 6.044921875
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 6.5634765625,
99
+ "upper": 6.564453125
100
+ },
101
+ "negative": {
102
+ "lower": 6.427734375,
103
+ "upper": 6.4287109375
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.7578125,
110
+ "upper": 6.7587890625
111
+ },
112
+ "negative": {
113
+ "lower": 6.6474609375,
114
+ "upper": 6.6484375
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.6220703125,
121
+ "upper": 6.623046875
122
+ },
123
+ "negative": {
124
+ "lower": 6.7763671875,
125
+ "upper": 6.77734375
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.18359375,
132
+ "upper": 6.1845703125
133
+ },
134
+ "negative": {
135
+ "lower": 6.478515625,
136
+ "upper": 6.4794921875
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 5.6630859375,
143
+ "upper": 5.6640625
144
+ },
145
+ "negative": {
146
+ "lower": 7.11328125,
147
+ "upper": 7.1142578125
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.369140625,
154
+ "upper": 6.3701171875
155
+ },
156
+ "negative": {
157
+ "lower": 7.291015625,
158
+ "upper": 7.2919921875
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 6.576171875,
165
+ "upper": 6.5771484375
166
+ },
167
+ "negative": {
168
+ "lower": 6.5458984375,
169
+ "upper": 6.546875
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.6044921875,
176
+ "upper": 6.60546875
177
+ },
178
+ "negative": {
179
+ "lower": 5.9990234375,
180
+ "upper": 6.0
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 6.4140625,
187
+ "upper": 6.4150390625
188
+ },
189
+ "negative": {
190
+ "lower": 6.66015625,
191
+ "upper": 6.6611328125
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.2666015625,
196
+ "width_upper": 13.2685546875,
197
+ "width": 13.267578125,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "9327806ae1651a092f42aadd3edc40b41f59defd4b39d93a46da25935b8d8f89",
200
+ "weights_restored": true,
201
+ "seconds": 5.896344400000089
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.003700566307690858,
209
+ "squared_rms": 0.3042508357574897
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004122399461152926,
214
+ "squared_rms": 0.301954648166772
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004272589615324314,
219
+ "squared_rms": 0.34137712291318173
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.005091950133588615,
224
+ "squared_rms": 0.3367129124033617
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.005075724439408763,
229
+ "squared_rms": 0.33891074189160153
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.0037878034325618745,
234
+ "squared_rms": 0.3012908006053884
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.004135731478365766,
239
+ "squared_rms": 0.2856474218606538
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.005696183725240111,
244
+ "squared_rms": 0.3318470893267808
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.0044853685741666535,
250
+ "rms_curvature": 0.5636922445942055
251
+ }
252
+ }
runs/stories-hybrid-s22-late-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-late-r01",
3
+ "checkpoint_file_sha256": "696a82891f14549f2c5d4afa641cff7547b2a0b1be2b6ef2a04fcd1e06f3f951",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:13:05+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.604763207666262,
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.5186767578125,
22
+ "upper": 0.518798828125
23
+ },
24
+ "negative": {
25
+ "lower": 0.5576171875,
26
+ "upper": 0.5577392578125
27
+ },
28
+ "curvature": 0.70933016409066
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.52392578125,
34
+ "upper": 0.5240478515625
35
+ },
36
+ "negative": {
37
+ "lower": 0.551513671875,
38
+ "upper": 0.5516357421875
39
+ },
40
+ "curvature": 0.7090455669278732
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.52294921875,
46
+ "upper": 0.5230712890625
47
+ },
48
+ "negative": {
49
+ "lower": 0.553955078125,
50
+ "upper": 0.5540771484375
51
+ },
52
+ "curvature": 0.708916394914477
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.538818359375,
58
+ "upper": 0.5389404296875
59
+ },
60
+ "negative": {
61
+ "lower": 0.534912109375,
62
+ "upper": 0.5350341796875
63
+ },
64
+ "curvature": 0.7118573060931858
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.566162109375,
70
+ "upper": 0.5662841796875
71
+ },
72
+ "negative": {
73
+ "lower": 0.5341796875,
74
+ "upper": 0.5343017578125
75
+ },
76
+ "curvature": 0.6758109548078117
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.43719482421875,
82
+ "upper": 0.437255859375
83
+ },
84
+ "negative": {
85
+ "lower": 0.6741943359375,
86
+ "upper": 0.67431640625
87
+ },
88
+ "curvature": 0.6933024248074626
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.540283203125,
94
+ "upper": 0.5404052734375
95
+ },
96
+ "negative": {
97
+ "lower": 0.5345458984375,
98
+ "upper": 0.53466796875
99
+ },
100
+ "curvature": 0.7109132489004275
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.6036376953125,
106
+ "upper": 0.603759765625
107
+ },
108
+ "negative": {
109
+ "lower": 0.47784423828125,
110
+ "upper": 0.4779052734375
111
+ },
112
+ "curvature": 0.713139232763774
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.5841064453125,
118
+ "upper": 0.584228515625
119
+ },
120
+ "negative": {
121
+ "lower": 0.5111083984375,
122
+ "upper": 0.51123046875
123
+ },
124
+ "curvature": 0.6884879489577629
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.5618896484375,
130
+ "upper": 0.56201171875
131
+ },
132
+ "negative": {
133
+ "lower": 0.5262451171875,
134
+ "upper": 0.5263671875
135
+ },
136
+ "curvature": 0.6929002730745422
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.6102294921875,
142
+ "upper": 0.6103515625
143
+ },
144
+ "negative": {
145
+ "lower": 0.502197265625,
146
+ "upper": 0.5023193359375
147
+ },
148
+ "curvature": 0.6747999126831793
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.567626953125,
154
+ "upper": 0.5677490234375
155
+ },
156
+ "negative": {
157
+ "lower": 0.5189208984375,
158
+ "upper": 0.51904296875
159
+ },
160
+ "curvature": 0.6950953741666916
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.475341796875,
166
+ "upper": 0.47540283203125
167
+ },
168
+ "negative": {
169
+ "lower": 0.5997314453125,
170
+ "upper": 0.599853515625
171
+ },
172
+ "curvature": 0.7179535460502696
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.563232421875,
178
+ "upper": 0.5633544921875
179
+ },
180
+ "negative": {
181
+ "lower": 0.53076171875,
182
+ "upper": 0.5308837890625
183
+ },
184
+ "curvature": 0.6854893392872828
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5626220703125,
190
+ "upper": 0.562744140625
191
+ },
192
+ "negative": {
193
+ "lower": 0.52001953125,
194
+ "upper": 0.5201416015625
195
+ },
196
+ "curvature": 0.7008005631181669
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.56982421875,
202
+ "upper": 0.5699462890625
203
+ },
204
+ "negative": {
205
+ "lower": 0.51123046875,
206
+ "upper": 0.5113525390625
207
+ },
208
+ "curvature": 0.7047226772880276
209
+ }
210
+ ],
211
+ "width_lower": 1.082061767578125,
212
+ "width_upper": 1.082275390625,
213
+ "width": 1.0821685791015625,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6995353079957247
216
+ }
217
+ }