BurnyCoder commited on
Commit
c7e3a8d
·
verified ·
1 Parent(s): 2ae50c9

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

Browse files
runs/stories-hybrid-s22-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.233 | ↑ 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-strong-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.233 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.568831 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.00450677 | No general better direction |
21
+ | Common score width | 1.082 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.69936 | ↓ 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-strong-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-strong-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-strong-r01/score-flatness.json)
runs/stories-hybrid-s22-strong-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-strong-r01",
3
+ "checkpoint_file_sha256": "da3b462bce4e81d8dd87a1c3987848104e2f0f8d285152e5e978912a481d5602",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:14:15+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.6045608520507812,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 6.484375,
22
+ "upper": 6.4853515625
23
+ },
24
+ "negative": {
25
+ "lower": 7.03125,
26
+ "upper": 7.0322265625
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 6.466796875,
33
+ "upper": 6.4677734375
34
+ },
35
+ "negative": {
36
+ "lower": 7.0439453125,
37
+ "upper": 7.044921875
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.8134765625,
44
+ "upper": 6.814453125
45
+ },
46
+ "negative": {
47
+ "lower": 6.205078125,
48
+ "upper": 6.2060546875
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 7.400390625,
55
+ "upper": 7.4013671875
56
+ },
57
+ "negative": {
58
+ "lower": 6.4208984375,
59
+ "upper": 6.421875
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 6.712890625,
66
+ "upper": 6.7138671875
67
+ },
68
+ "negative": {
69
+ "lower": 6.630859375,
70
+ "upper": 6.6318359375
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.951171875,
77
+ "upper": 6.9521484375
78
+ },
79
+ "negative": {
80
+ "lower": 6.1689453125,
81
+ "upper": 6.169921875
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 7.5380859375,
88
+ "upper": 7.5390625
89
+ },
90
+ "negative": {
91
+ "lower": 6.025390625,
92
+ "upper": 6.0263671875
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 6.55078125,
99
+ "upper": 6.5517578125
100
+ },
101
+ "negative": {
102
+ "lower": 6.3974609375,
103
+ "upper": 6.3984375
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.7421875,
110
+ "upper": 6.7431640625
111
+ },
112
+ "negative": {
113
+ "lower": 6.6220703125,
114
+ "upper": 6.623046875
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.60546875,
121
+ "upper": 6.6064453125
122
+ },
123
+ "negative": {
124
+ "lower": 6.755859375,
125
+ "upper": 6.7568359375
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.169921875,
132
+ "upper": 6.1708984375
133
+ },
134
+ "negative": {
135
+ "lower": 6.4453125,
136
+ "upper": 6.4462890625
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 5.646484375,
143
+ "upper": 5.6474609375
144
+ },
145
+ "negative": {
146
+ "lower": 7.0830078125,
147
+ "upper": 7.083984375
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.36328125,
154
+ "upper": 6.3642578125
155
+ },
156
+ "negative": {
157
+ "lower": 7.2548828125,
158
+ "upper": 7.255859375
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 6.56640625,
165
+ "upper": 6.5673828125
166
+ },
167
+ "negative": {
168
+ "lower": 6.5244140625,
169
+ "upper": 6.525390625
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.587890625,
176
+ "upper": 6.5888671875
177
+ },
178
+ "negative": {
179
+ "lower": 5.9755859375,
180
+ "upper": 5.9765625
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 6.390625,
187
+ "upper": 6.3916015625
188
+ },
189
+ "negative": {
190
+ "lower": 6.642578125,
191
+ "upper": 6.6435546875
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.23193359375,
196
+ "width_upper": 13.23388671875,
197
+ "width": 13.23291015625,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "b96cd64aee030b7763af3175bab9a808c99b49641a8705f85dcfc74c90c70934",
200
+ "weights_restored": true,
201
+ "seconds": 6.564033099999506
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.0037190287430802237,
209
+ "squared_rms": 0.30984706186301275
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004151570541996669,
214
+ "squared_rms": 0.30713223259372185
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004299905142621885,
219
+ "squared_rms": 0.3481633075079987
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.005122963530648537,
224
+ "squared_rms": 0.3428502342182122
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.005100899809447738,
229
+ "squared_rms": 0.34552660682055414
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.0037902067739300966,
234
+ "squared_rms": 0.30719736338687587
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.004143789059293502,
239
+ "squared_rms": 0.29014099598112814
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.005725830470979647,
244
+ "squared_rms": 0.3376912794345149
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.004506774258999788,
250
+ "rms_curvature": 0.5688309372966209
251
+ }
252
+ }
runs/stories-hybrid-s22-strong-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-strong-r01",
3
+ "checkpoint_file_sha256": "da3b462bce4e81d8dd87a1c3987848104e2f0f8d285152e5e978912a481d5602",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:14:15+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.604560826241478,
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.7091685990809286
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.5234375,
34
+ "upper": 0.5235595703125
35
+ },
36
+ "negative": {
37
+ "lower": 0.5521240234375,
38
+ "upper": 0.55224609375
39
+ },
40
+ "curvature": 0.7089163725514993
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.5230712890625,
46
+ "upper": 0.523193359375
47
+ },
48
+ "negative": {
49
+ "lower": 0.553955078125,
50
+ "upper": 0.5540771484375
51
+ },
52
+ "curvature": 0.7087730738547887
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.53857421875,
58
+ "upper": 0.5386962890625
59
+ },
60
+ "negative": {
61
+ "lower": 0.5352783203125,
62
+ "upper": 0.535400390625
63
+ },
64
+ "curvature": 0.7116830511940957
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.56689453125,
70
+ "upper": 0.5670166015625
71
+ },
72
+ "negative": {
73
+ "lower": 0.5335693359375,
74
+ "upper": 0.53369140625
75
+ },
76
+ "curvature": 0.675674841398815
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.4371337890625,
82
+ "upper": 0.43719482421875
83
+ },
84
+ "negative": {
85
+ "lower": 0.6744384765625,
86
+ "upper": 0.674560546875
87
+ },
88
+ "curvature": 0.6930678966416788
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.5399169921875,
94
+ "upper": 0.5400390625
95
+ },
96
+ "negative": {
97
+ "lower": 0.534912109375,
98
+ "upper": 0.5350341796875
99
+ },
100
+ "curvature": 0.710755050247051
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.6038818359375,
106
+ "upper": 0.60400390625
107
+ },
108
+ "negative": {
109
+ "lower": 0.47784423828125,
110
+ "upper": 0.4779052734375
111
+ },
112
+ "curvature": 0.7129281537077488
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.5838623046875,
118
+ "upper": 0.583984375
119
+ },
120
+ "negative": {
121
+ "lower": 0.511474609375,
122
+ "upper": 0.5115966796875
123
+ },
124
+ "curvature": 0.6882107572042153
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.5621337890625,
130
+ "upper": 0.562255859375
131
+ },
132
+ "negative": {
133
+ "lower": 0.5260009765625,
134
+ "upper": 0.526123046875
135
+ },
136
+ "curvature": 0.6928878907792224
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.60986328125,
142
+ "upper": 0.6099853515625
143
+ },
144
+ "negative": {
145
+ "lower": 0.5025634765625,
146
+ "upper": 0.502685546875
147
+ },
148
+ "curvature": 0.6745662531828445
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.568359375,
154
+ "upper": 0.5684814453125
155
+ },
156
+ "negative": {
157
+ "lower": 0.518310546875,
158
+ "upper": 0.5184326171875
159
+ },
160
+ "curvature": 0.6949359177669985
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.47509765625,
166
+ "upper": 0.47515869140625
167
+ },
168
+ "negative": {
169
+ "lower": 0.6002197265625,
170
+ "upper": 0.600341796875
171
+ },
172
+ "curvature": 0.7177614484543016
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.5635986328125,
178
+ "upper": 0.563720703125
179
+ },
180
+ "negative": {
181
+ "lower": 0.530517578125,
182
+ "upper": 0.5306396484375
183
+ },
184
+ "curvature": 0.685309548324761
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.562255859375,
190
+ "upper": 0.5623779296875
191
+ },
192
+ "negative": {
193
+ "lower": 0.5203857421875,
194
+ "upper": 0.5205078125
195
+ },
196
+ "curvature": 0.7005798594797197
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.5701904296875,
202
+ "upper": 0.5703125
203
+ },
204
+ "negative": {
205
+ "lower": 0.510986328125,
206
+ "upper": 0.5111083984375
207
+ },
208
+ "curvature": 0.7045381384919739
209
+ }
210
+ ],
211
+ "width_lower": 1.082183837890625,
212
+ "width_upper": 1.0823974609375,
213
+ "width": 1.0822906494140625,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6993598032725401
216
+ }
217
+ }