BurnyCoder commited on
Commit
0d39243
·
verified ·
1 Parent(s): c622368

Measure comparable flatness for stories-pilot-s00-third-r10

Browse files
runs/stories-pilot-s00-third-r10/README.md CHANGED
@@ -13,10 +13,12 @@ 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-third-r10/training_summary.json)
 
 
 
13
 
14
  | Training-window measurement | Value | Interpretation |
15
  | --- | --- | --- |
16
+ | Weight width | 16.219 | ↑ Wider is flatter in these weight coordinates |
17
+ | RMS weight curvature | 0.416066 | ↓ Lower means less local bending |
18
+ | Signed Hessian trace / parameter | 0.00332069 | No general better direction |
19
+ | Common score width | 0.988 | ↑ Wider tolerates larger changes in token scores |
20
+ | Mean directional score curvature | 0.844224 | ↓ 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-third-r10/training_summary.json)
23
+
24
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-pilot-s00-third-r10/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-pilot-s00-third-r10/score-flatness.json)
runs/stories-pilot-s00-third-r10/flatness.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-pilot-s00-third-r10",
3
+ "checkpoint_file_sha256": "05891b63e40aade6258e559100b90a3576624ac48e0b2e87828ceeddebcba698",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:06:06+00:00",
9
+ "protocol": "checkpoint-flatness-v1",
10
+ "width_windows": 8,
11
+ "curvature_windows": 2,
12
+ "width": {
13
+ "baseline_nll": 3.8529860973358154,
14
+ "delta_nll": 0.1,
15
+ "directions": [
16
+ {
17
+ "direction": 0,
18
+ "positive": {
19
+ "lower": 7.916015625,
20
+ "upper": 7.9169921875
21
+ },
22
+ "negative": {
23
+ "lower": 7.369140625,
24
+ "upper": 7.3701171875
25
+ }
26
+ },
27
+ {
28
+ "direction": 1,
29
+ "positive": {
30
+ "lower": 7.9990234375,
31
+ "upper": 8.0
32
+ },
33
+ "negative": {
34
+ "lower": 8.64453125,
35
+ "upper": 8.646484375
36
+ }
37
+ },
38
+ {
39
+ "direction": 2,
40
+ "positive": {
41
+ "lower": 8.45703125,
42
+ "upper": 8.458984375
43
+ },
44
+ "negative": {
45
+ "lower": 7.69921875,
46
+ "upper": 7.7001953125
47
+ }
48
+ },
49
+ {
50
+ "direction": 3,
51
+ "positive": {
52
+ "lower": 7.7939453125,
53
+ "upper": 7.794921875
54
+ },
55
+ "negative": {
56
+ "lower": 7.6103515625,
57
+ "upper": 7.611328125
58
+ }
59
+ },
60
+ {
61
+ "direction": 4,
62
+ "positive": {
63
+ "lower": 8.607421875,
64
+ "upper": 8.609375
65
+ },
66
+ "negative": {
67
+ "lower": 7.986328125,
68
+ "upper": 7.9873046875
69
+ }
70
+ },
71
+ {
72
+ "direction": 5,
73
+ "positive": {
74
+ "lower": 8.232421875,
75
+ "upper": 8.234375
76
+ },
77
+ "negative": {
78
+ "lower": 8.359375,
79
+ "upper": 8.361328125
80
+ }
81
+ },
82
+ {
83
+ "direction": 6,
84
+ "positive": {
85
+ "lower": 8.1953125,
86
+ "upper": 8.197265625
87
+ },
88
+ "negative": {
89
+ "lower": 7.896484375,
90
+ "upper": 7.8974609375
91
+ }
92
+ },
93
+ {
94
+ "direction": 7,
95
+ "positive": {
96
+ "lower": 8.548828125,
97
+ "upper": 8.55078125
98
+ },
99
+ "negative": {
100
+ "lower": 8.3515625,
101
+ "upper": 8.353515625
102
+ }
103
+ },
104
+ {
105
+ "direction": 8,
106
+ "positive": {
107
+ "lower": 8.1796875,
108
+ "upper": 8.181640625
109
+ },
110
+ "negative": {
111
+ "lower": 8.513671875,
112
+ "upper": 8.515625
113
+ }
114
+ },
115
+ {
116
+ "direction": 9,
117
+ "positive": {
118
+ "lower": 8.86328125,
119
+ "upper": 8.865234375
120
+ },
121
+ "negative": {
122
+ "lower": 7.029296875,
123
+ "upper": 7.0302734375
124
+ }
125
+ },
126
+ {
127
+ "direction": 10,
128
+ "positive": {
129
+ "lower": 8.9609375,
130
+ "upper": 8.962890625
131
+ },
132
+ "negative": {
133
+ "lower": 7.5830078125,
134
+ "upper": 7.583984375
135
+ }
136
+ },
137
+ {
138
+ "direction": 11,
139
+ "positive": {
140
+ "lower": 8.236328125,
141
+ "upper": 8.23828125
142
+ },
143
+ "negative": {
144
+ "lower": 8.12109375,
145
+ "upper": 8.123046875
146
+ }
147
+ },
148
+ {
149
+ "direction": 12,
150
+ "positive": {
151
+ "lower": 8.015625,
152
+ "upper": 8.017578125
153
+ },
154
+ "negative": {
155
+ "lower": 7.470703125,
156
+ "upper": 7.4716796875
157
+ }
158
+ },
159
+ {
160
+ "direction": 13,
161
+ "positive": {
162
+ "lower": 8.17578125,
163
+ "upper": 8.177734375
164
+ },
165
+ "negative": {
166
+ "lower": 7.953125,
167
+ "upper": 7.9541015625
168
+ }
169
+ },
170
+ {
171
+ "direction": 14,
172
+ "positive": {
173
+ "lower": 8.150390625,
174
+ "upper": 8.15234375
175
+ },
176
+ "negative": {
177
+ "lower": 7.38671875,
178
+ "upper": 7.3876953125
179
+ }
180
+ },
181
+ {
182
+ "direction": 15,
183
+ "positive": {
184
+ "lower": 8.109375,
185
+ "upper": 8.111328125
186
+ },
187
+ "negative": {
188
+ "lower": 8.169921875,
189
+ "upper": 8.171875
190
+ }
191
+ }
192
+ ],
193
+ "width_lower": 16.2177734375,
194
+ "width_upper": 16.22119140625,
195
+ "width": 16.219482421875,
196
+ "censored_rays": 0,
197
+ "weights_sha256": "ebcd9b15346c49c68039dd179c71e88123ec415233ec01cd8a3db7e3f343bb36",
198
+ "weights_restored": true,
199
+ "seconds": 6.042664700002206
200
+ },
201
+ "curvature": {
202
+ "dimensions": 2557632,
203
+ "draws": [
204
+ {
205
+ "index": 0,
206
+ "trace_per_parameter": 0.0031816164127836323,
207
+ "squared_rms": 0.15665894291228558
208
+ },
209
+ {
210
+ "index": 1,
211
+ "trace_per_parameter": 0.003991847505462724,
212
+ "squared_rms": 0.2735413504246967
213
+ },
214
+ {
215
+ "index": 2,
216
+ "trace_per_parameter": 0.0034939896738924022,
217
+ "squared_rms": 0.14437444739641275
218
+ },
219
+ {
220
+ "index": 3,
221
+ "trace_per_parameter": 0.0035868657949930127,
222
+ "squared_rms": 0.170721130942662
223
+ },
224
+ {
225
+ "index": 4,
226
+ "trace_per_parameter": 0.0028714741695337566,
227
+ "squared_rms": 0.14062289282026924
228
+ },
229
+ {
230
+ "index": 5,
231
+ "trace_per_parameter": 0.0031670687578713042,
232
+ "squared_rms": 0.16835370500184038
233
+ },
234
+ {
235
+ "index": 6,
236
+ "trace_per_parameter": 0.0027453333884859235,
237
+ "squared_rms": 0.12796441549498253
238
+ },
239
+ {
240
+ "index": 7,
241
+ "trace_per_parameter": 0.0035273592776111935,
242
+ "squared_rms": 0.20264987469448456
243
+ }
244
+ ],
245
+ "device": "cuda:0",
246
+ "dtype": "torch.float64",
247
+ "trace_per_parameter": 0.003320694372579244,
248
+ "rms_curvature": 0.4160659142022502
249
+ }
250
+ }
runs/stories-pilot-s00-third-r10/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-pilot-s00-third-r10",
3
+ "checkpoint_file_sha256": "05891b63e40aade6258e559100b90a3576624ac48e0b2e87828ceeddebcba698",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:06:06+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 3.8529861509806693,
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.45355224609375,
22
+ "upper": 0.45361328125
23
+ },
24
+ "negative": {
25
+ "lower": 0.5274658203125,
26
+ "upper": 0.527587890625
27
+ },
28
+ "curvature": 0.8602852996533594
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.49298095703125,
34
+ "upper": 0.4930419921875
35
+ },
36
+ "negative": {
37
+ "lower": 0.49200439453125,
38
+ "upper": 0.4920654296875
39
+ },
40
+ "curvature": 0.8482679410888724
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.47900390625,
46
+ "upper": 0.47906494140625
47
+ },
48
+ "negative": {
49
+ "lower": 0.5015869140625,
50
+ "upper": 0.501708984375
51
+ },
52
+ "curvature": 0.8572455473727477
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.53466796875,
58
+ "upper": 0.5347900390625
59
+ },
60
+ "negative": {
61
+ "lower": 0.4505615234375,
62
+ "upper": 0.45062255859375
63
+ },
64
+ "curvature": 0.8563583092437792
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.4605712890625,
70
+ "upper": 0.46063232421875
71
+ },
72
+ "negative": {
73
+ "lower": 0.5396728515625,
74
+ "upper": 0.539794921875
75
+ },
76
+ "curvature": 0.8307770002184294
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.40899658203125,
82
+ "upper": 0.4090576171875
83
+ },
84
+ "negative": {
85
+ "lower": 0.60498046875,
86
+ "upper": 0.6051025390625
87
+ },
88
+ "curvature": 0.8273837402035571
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.493896484375,
94
+ "upper": 0.49395751953125
95
+ },
96
+ "negative": {
97
+ "lower": 0.4827880859375,
98
+ "upper": 0.48284912109375
99
+ },
100
+ "curvature": 0.8637304204995434
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.5516357421875,
106
+ "upper": 0.5517578125
107
+ },
108
+ "negative": {
109
+ "lower": 0.4373779296875,
110
+ "upper": 0.43743896484375
111
+ },
112
+ "curvature": 0.856894493216684
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.50634765625,
118
+ "upper": 0.5064697265625
119
+ },
120
+ "negative": {
121
+ "lower": 0.4949951171875,
122
+ "upper": 0.49505615234375
123
+ },
124
+ "curvature": 0.8201523834963724
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.50537109375,
130
+ "upper": 0.5054931640625
131
+ },
132
+ "negative": {
133
+ "lower": 0.48846435546875,
134
+ "upper": 0.488525390625
135
+ },
136
+ "curvature": 0.832277623441893
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.5789794921875,
142
+ "upper": 0.5791015625
143
+ },
144
+ "negative": {
145
+ "lower": 0.44024658203125,
146
+ "upper": 0.4403076171875
147
+ },
148
+ "curvature": 0.8184194682856769
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.508544921875,
154
+ "upper": 0.5086669921875
155
+ },
156
+ "negative": {
157
+ "lower": 0.4774169921875,
158
+ "upper": 0.47747802734375
159
+ },
160
+ "curvature": 0.8465974289730556
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.43017578125,
166
+ "upper": 0.43023681640625
167
+ },
168
+ "negative": {
169
+ "lower": 0.557373046875,
170
+ "upper": 0.5574951171875
171
+ },
172
+ "curvature": 0.8557362419369964
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.5013427734375,
178
+ "upper": 0.50146484375
179
+ },
180
+ "negative": {
181
+ "lower": 0.48883056640625,
182
+ "upper": 0.4888916015625
183
+ },
184
+ "curvature": 0.8385391105051316
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5302734375,
190
+ "upper": 0.5303955078125
191
+ },
192
+ "negative": {
193
+ "lower": 0.4625244140625,
194
+ "upper": 0.46258544921875
195
+ },
196
+ "curvature": 0.8384516582539898
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.5113525390625,
202
+ "upper": 0.511474609375
203
+ },
204
+ "negative": {
205
+ "lower": 0.4703369140625,
206
+ "upper": 0.47039794921875
207
+ },
208
+ "curvature": 0.8564617574264193
209
+ }
210
+ ],
211
+ "width_lower": 0.98828125,
212
+ "width_upper": 0.98846435546875,
213
+ "width": 0.988372802734375,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.8442236514885317
216
+ }
217
+ }