BurnyCoder commited on
Commit
fa51619
·
verified ·
1 Parent(s): f6ed0f5

Measure comparable flatness for stories-pilot-s00-trace-r03

Browse files
runs/stories-pilot-s00-trace-r03/README.md CHANGED
@@ -13,10 +13,10 @@ Randomly initialized TinyStories decoder. The restart manifest identifies the we
13
 
14
  | Training-window measurement | Value | Interpretation |
15
  | --- | --- | --- |
16
- | Weight width | Pending | ↑ Wider is flatter in these weight coordinates |
17
- | RMS weight curvature | Pending | ↓ Lower means less local bending |
18
- | Signed Hessian trace / parameter | Pending | No general better direction |
19
- | Common score width | Pending | ↑ Wider tolerates larger changes in token scores |
20
- | Mean directional score curvature | Pending | ↓ Lower means less local bending in score space |
21
 
22
  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-pilot-s00-trace-r03/training_summary.json)
 
13
 
14
  | Training-window measurement | Value | Interpretation |
15
  | --- | --- | --- |
16
+ | Weight width | 15.898 | ↑ Wider is flatter in these weight coordinates |
17
+ | RMS weight curvature | 0.436119 | ↓ Lower means less local bending |
18
+ | Signed Hessian trace / parameter | 0.0034383 | No general better direction |
19
+ | Common score width | 0.989 | ↑ Wider tolerates larger changes in token scores |
20
+ | Mean directional score curvature | 0.843489 | ↓ Lower means less local bending in score space |
21
 
22
  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-pilot-s00-trace-r03/training_summary.json)
runs/stories-pilot-s00-trace-r03/flatness.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-pilot-s00-trace-r03",
3
+ "checkpoint_file_sha256": "da02016d1914d753e4f64fafe9802551f05f2ccba8e8386b360e110d9fb44887",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:04:09+00:00",
9
+ "protocol": "checkpoint-flatness-v1",
10
+ "width_windows": 8,
11
+ "curvature_windows": 2,
12
+ "width": {
13
+ "baseline_nll": 3.8498759269714355,
14
+ "delta_nll": 0.1,
15
+ "directions": [
16
+ {
17
+ "direction": 0,
18
+ "positive": {
19
+ "lower": 7.4228515625,
20
+ "upper": 7.423828125
21
+ },
22
+ "negative": {
23
+ "lower": 7.5615234375,
24
+ "upper": 7.5625
25
+ }
26
+ },
27
+ {
28
+ "direction": 1,
29
+ "positive": {
30
+ "lower": 7.705078125,
31
+ "upper": 7.7060546875
32
+ },
33
+ "negative": {
34
+ "lower": 8.4765625,
35
+ "upper": 8.478515625
36
+ }
37
+ },
38
+ {
39
+ "direction": 2,
40
+ "positive": {
41
+ "lower": 8.23828125,
42
+ "upper": 8.240234375
43
+ },
44
+ "negative": {
45
+ "lower": 7.6279296875,
46
+ "upper": 7.62890625
47
+ }
48
+ },
49
+ {
50
+ "direction": 3,
51
+ "positive": {
52
+ "lower": 7.5498046875,
53
+ "upper": 7.55078125
54
+ },
55
+ "negative": {
56
+ "lower": 7.37109375,
57
+ "upper": 7.3720703125
58
+ }
59
+ },
60
+ {
61
+ "direction": 4,
62
+ "positive": {
63
+ "lower": 8.462890625,
64
+ "upper": 8.46484375
65
+ },
66
+ "negative": {
67
+ "lower": 7.7119140625,
68
+ "upper": 7.712890625
69
+ }
70
+ },
71
+ {
72
+ "direction": 5,
73
+ "positive": {
74
+ "lower": 8.134765625,
75
+ "upper": 8.13671875
76
+ },
77
+ "negative": {
78
+ "lower": 8.22265625,
79
+ "upper": 8.224609375
80
+ }
81
+ },
82
+ {
83
+ "direction": 6,
84
+ "positive": {
85
+ "lower": 8.16015625,
86
+ "upper": 8.162109375
87
+ },
88
+ "negative": {
89
+ "lower": 7.7470703125,
90
+ "upper": 7.748046875
91
+ }
92
+ },
93
+ {
94
+ "direction": 7,
95
+ "positive": {
96
+ "lower": 8.328125,
97
+ "upper": 8.330078125
98
+ },
99
+ "negative": {
100
+ "lower": 8.326171875,
101
+ "upper": 8.328125
102
+ }
103
+ },
104
+ {
105
+ "direction": 8,
106
+ "positive": {
107
+ "lower": 8.0,
108
+ "upper": 8.001953125
109
+ },
110
+ "negative": {
111
+ "lower": 8.328125,
112
+ "upper": 8.330078125
113
+ }
114
+ },
115
+ {
116
+ "direction": 9,
117
+ "positive": {
118
+ "lower": 8.767578125,
119
+ "upper": 8.76953125
120
+ },
121
+ "negative": {
122
+ "lower": 6.869140625,
123
+ "upper": 6.8701171875
124
+ }
125
+ },
126
+ {
127
+ "direction": 10,
128
+ "positive": {
129
+ "lower": 8.798828125,
130
+ "upper": 8.80078125
131
+ },
132
+ "negative": {
133
+ "lower": 7.46875,
134
+ "upper": 7.4697265625
135
+ }
136
+ },
137
+ {
138
+ "direction": 11,
139
+ "positive": {
140
+ "lower": 8.1015625,
141
+ "upper": 8.103515625
142
+ },
143
+ "negative": {
144
+ "lower": 7.880859375,
145
+ "upper": 7.8818359375
146
+ }
147
+ },
148
+ {
149
+ "direction": 12,
150
+ "positive": {
151
+ "lower": 7.783203125,
152
+ "upper": 7.7841796875
153
+ },
154
+ "negative": {
155
+ "lower": 7.18359375,
156
+ "upper": 7.1845703125
157
+ }
158
+ },
159
+ {
160
+ "direction": 13,
161
+ "positive": {
162
+ "lower": 7.943359375,
163
+ "upper": 7.9443359375
164
+ },
165
+ "negative": {
166
+ "lower": 7.943359375,
167
+ "upper": 7.9443359375
168
+ }
169
+ },
170
+ {
171
+ "direction": 14,
172
+ "positive": {
173
+ "lower": 8.01953125,
174
+ "upper": 8.021484375
175
+ },
176
+ "negative": {
177
+ "lower": 7.400390625,
178
+ "upper": 7.4013671875
179
+ }
180
+ },
181
+ {
182
+ "direction": 15,
183
+ "positive": {
184
+ "lower": 7.845703125,
185
+ "upper": 7.8466796875
186
+ },
187
+ "negative": {
188
+ "lower": 7.9384765625,
189
+ "upper": 7.939453125
190
+ }
191
+ }
192
+ ],
193
+ "width_lower": 15.89697265625,
194
+ "width_upper": 15.8994140625,
195
+ "width": 15.898193359375,
196
+ "censored_rays": 0,
197
+ "weights_sha256": "29d5ea6080ddb369cfea856a6464be91c370daf64391a4504f07301527bc810a",
198
+ "weights_restored": true,
199
+ "seconds": 6.443820999997115
200
+ },
201
+ "curvature": {
202
+ "dimensions": 2557632,
203
+ "draws": [
204
+ {
205
+ "index": 0,
206
+ "trace_per_parameter": 0.0032826088727609076,
207
+ "squared_rms": 0.18214056517802915
208
+ },
209
+ {
210
+ "index": 1,
211
+ "trace_per_parameter": 0.00402401208510332,
212
+ "squared_rms": 0.2869248196201849
213
+ },
214
+ {
215
+ "index": 2,
216
+ "trace_per_parameter": 0.0034793478163170698,
217
+ "squared_rms": 0.15082096309242485
218
+ },
219
+ {
220
+ "index": 3,
221
+ "trace_per_parameter": 0.0038596515264174938,
222
+ "squared_rms": 0.18587690621015793
223
+ },
224
+ {
225
+ "index": 4,
226
+ "trace_per_parameter": 0.002950471433784784,
227
+ "squared_rms": 0.15072415705168377
228
+ },
229
+ {
230
+ "index": 5,
231
+ "trace_per_parameter": 0.0031795731648811827,
232
+ "squared_rms": 0.16744412149691723
233
+ },
234
+ {
235
+ "index": 6,
236
+ "trace_per_parameter": 0.003057878511313776,
237
+ "squared_rms": 0.16288022588489848
238
+ },
239
+ {
240
+ "index": 7,
241
+ "trace_per_parameter": 0.003672878508524813,
242
+ "squared_rms": 0.2347896467254545
243
+ }
244
+ ],
245
+ "device": "cuda:0",
246
+ "dtype": "torch.float64",
247
+ "trace_per_parameter": 0.003438302739887918,
248
+ "rms_curvature": 0.43611945113405437
249
+ }
250
+ }
runs/stories-pilot-s00-trace-r03/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-pilot-s00-trace-r03",
3
+ "checkpoint_file_sha256": "da02016d1914d753e4f64fafe9802551f05f2ccba8e8386b360e110d9fb44887",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:04:09+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 3.849876053279978,
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.4534912109375,
22
+ "upper": 0.45355224609375
23
+ },
24
+ "negative": {
25
+ "lower": 0.52783203125,
26
+ "upper": 0.5279541015625
27
+ },
28
+ "curvature": 0.85976840420364
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.49359130859375,
34
+ "upper": 0.49365234375
35
+ },
36
+ "negative": {
37
+ "lower": 0.4918212890625,
38
+ "upper": 0.49188232421875
39
+ },
40
+ "curvature": 0.8475644846463577
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.4788818359375,
46
+ "upper": 0.47894287109375
47
+ },
48
+ "negative": {
49
+ "lower": 0.5023193359375,
50
+ "upper": 0.50244140625
51
+ },
52
+ "curvature": 0.856340195674258
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.5361328125,
58
+ "upper": 0.5362548828125
59
+ },
60
+ "negative": {
61
+ "lower": 0.4495849609375,
62
+ "upper": 0.44964599609375
63
+ },
64
+ "curvature": 0.855886338448918
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.459716796875,
70
+ "upper": 0.45977783203125
71
+ },
72
+ "negative": {
73
+ "lower": 0.5408935546875,
74
+ "upper": 0.541015625
75
+ },
76
+ "curvature": 0.8304496988038181
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.407470703125,
82
+ "upper": 0.40753173828125
83
+ },
84
+ "negative": {
85
+ "lower": 0.607666015625,
86
+ "upper": 0.6077880859375
87
+ },
88
+ "curvature": 0.8265991584288559
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.4945068359375,
94
+ "upper": 0.49456787109375
95
+ },
96
+ "negative": {
97
+ "lower": 0.48272705078125,
98
+ "upper": 0.4827880859375
99
+ },
100
+ "curvature": 0.8627087013313534
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.5517578125,
106
+ "upper": 0.5518798828125
107
+ },
108
+ "negative": {
109
+ "lower": 0.43756103515625,
110
+ "upper": 0.4376220703125
111
+ },
112
+ "curvature": 0.8562440860544613
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.5054931640625,
118
+ "upper": 0.505615234375
119
+ },
120
+ "negative": {
121
+ "lower": 0.4964599609375,
122
+ "upper": 0.49652099609375
123
+ },
124
+ "curvature": 0.8190022500632879
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.5074462890625,
130
+ "upper": 0.507568359375
131
+ },
132
+ "negative": {
133
+ "lower": 0.48712158203125,
134
+ "upper": 0.4871826171875
135
+ },
136
+ "curvature": 0.8311825128181127
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.5816650390625,
142
+ "upper": 0.581787109375
143
+ },
144
+ "negative": {
145
+ "lower": 0.4384765625,
146
+ "upper": 0.43853759765625
147
+ },
148
+ "curvature": 0.8182233208012479
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.50927734375,
154
+ "upper": 0.5093994140625
155
+ },
156
+ "negative": {
157
+ "lower": 0.47711181640625,
158
+ "upper": 0.4771728515625
159
+ },
160
+ "curvature": 0.8457586578426952
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.42987060546875,
166
+ "upper": 0.429931640625
167
+ },
168
+ "negative": {
169
+ "lower": 0.558349609375,
170
+ "upper": 0.5584716796875
171
+ },
172
+ "curvature": 0.8547190656978072
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.49798583984375,
178
+ "upper": 0.498046875
179
+ },
180
+ "negative": {
181
+ "lower": 0.49261474609375,
182
+ "upper": 0.49267578125
183
+ },
184
+ "curvature": 0.8380220535114465
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.532470703125,
190
+ "upper": 0.5325927734375
191
+ },
192
+ "negative": {
193
+ "lower": 0.46087646484375,
194
+ "upper": 0.4609375
195
+ },
196
+ "curvature": 0.837800499608581
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.510986328125,
202
+ "upper": 0.5111083984375
203
+ },
204
+ "negative": {
205
+ "lower": 0.47119140625,
206
+ "upper": 0.47125244140625
207
+ },
208
+ "curvature": 0.8555517117304476
209
+ }
210
+ ],
211
+ "width_lower": 0.98876953125,
212
+ "width_upper": 0.98895263671875,
213
+ "width": 0.988861083984375,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.8434888212290805
216
+ }
217
+ }