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

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

Browse files
runs/stories-hybrid-s21-always-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.229 | ↑ 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-always-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.229 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.57089 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.0042312 | No general better direction |
21
+ | Common score width | 1.083 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.699547 | ↓ 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-always-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s21-always-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s21-always-r01/score-flatness.json)
runs/stories-hybrid-s21-always-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s21-always-r01",
3
+ "checkpoint_file_sha256": "891e0e3f1a23ec2aaceb2bd278a750c1f5a96042982f576dc97194463c09f331",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:11:19+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.5931005477905273,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 6.7392578125,
22
+ "upper": 6.740234375
23
+ },
24
+ "negative": {
25
+ "lower": 6.9345703125,
26
+ "upper": 6.935546875
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 5.552734375,
33
+ "upper": 5.5537109375
34
+ },
35
+ "negative": {
36
+ "lower": 7.55859375,
37
+ "upper": 7.5595703125
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.3134765625,
44
+ "upper": 6.314453125
45
+ },
46
+ "negative": {
47
+ "lower": 7.00390625,
48
+ "upper": 7.0048828125
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 6.1083984375,
55
+ "upper": 6.109375
56
+ },
57
+ "negative": {
58
+ "lower": 6.8740234375,
59
+ "upper": 6.875
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 6.0517578125,
66
+ "upper": 6.052734375
67
+ },
68
+ "negative": {
69
+ "lower": 7.1513671875,
70
+ "upper": 7.15234375
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.671875,
77
+ "upper": 6.6728515625
78
+ },
79
+ "negative": {
80
+ "lower": 6.71484375,
81
+ "upper": 6.7158203125
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 6.4755859375,
88
+ "upper": 6.4765625
89
+ },
90
+ "negative": {
91
+ "lower": 6.755859375,
92
+ "upper": 6.7568359375
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 7.26171875,
99
+ "upper": 7.2626953125
100
+ },
101
+ "negative": {
102
+ "lower": 6.13671875,
103
+ "upper": 6.1376953125
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.580078125,
110
+ "upper": 6.5810546875
111
+ },
112
+ "negative": {
113
+ "lower": 6.6435546875,
114
+ "upper": 6.64453125
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.564453125,
121
+ "upper": 6.5654296875
122
+ },
123
+ "negative": {
124
+ "lower": 6.9013671875,
125
+ "upper": 6.90234375
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.5966796875,
132
+ "upper": 6.59765625
133
+ },
134
+ "negative": {
135
+ "lower": 6.4814453125,
136
+ "upper": 6.482421875
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 6.5205078125,
143
+ "upper": 6.521484375
144
+ },
145
+ "negative": {
146
+ "lower": 6.80859375,
147
+ "upper": 6.8095703125
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.8310546875,
154
+ "upper": 6.83203125
155
+ },
156
+ "negative": {
157
+ "lower": 6.2705078125,
158
+ "upper": 6.271484375
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 7.0185546875,
165
+ "upper": 7.01953125
166
+ },
167
+ "negative": {
168
+ "lower": 6.37890625,
169
+ "upper": 6.3798828125
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.12109375,
176
+ "upper": 6.1220703125
177
+ },
178
+ "negative": {
179
+ "lower": 6.6640625,
180
+ "upper": 6.6650390625
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 6.4462890625,
187
+ "upper": 6.447265625
188
+ },
189
+ "negative": {
190
+ "lower": 6.328125,
191
+ "upper": 6.3291015625
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.2275390625,
196
+ "width_upper": 13.2294921875,
197
+ "width": 13.228515625,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "bede87434367fd994d18817b17b3b9ecbdd6a2e8a8c3beb64647833f45586ffb",
200
+ "weights_restored": true,
201
+ "seconds": 6.162902399999439
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.004169254942924055,
209
+ "squared_rms": 0.3319132964589837
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004678446157988959,
214
+ "squared_rms": 0.33010504186946366
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004223846219726882,
219
+ "squared_rms": 0.35174201927486554
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.004380908495804042,
224
+ "squared_rms": 0.3206574237101794
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.0038257009904567128,
229
+ "squared_rms": 0.3166041163058769
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.0053353263723042235,
234
+ "squared_rms": 0.3452834904590853
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.003449344194733421,
239
+ "squared_rms": 0.31172866156865336
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.0037867484973194885,
244
+ "squared_rms": 0.29929195860882934
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.004231196983907223,
250
+ "rms_curvature": 0.5708903143616926
251
+ }
252
+ }
runs/stories-hybrid-s21-always-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s21-always-r01",
3
+ "checkpoint_file_sha256": "891e0e3f1a23ec2aaceb2bd278a750c1f5a96042982f576dc97194463c09f331",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:11:19+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.59310047078859,
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.5242919921875,
22
+ "upper": 0.5244140625
23
+ },
24
+ "negative": {
25
+ "lower": 0.55126953125,
26
+ "upper": 0.5513916015625
27
+ },
28
+ "curvature": 0.7098956421540327
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.520263671875,
34
+ "upper": 0.5203857421875
35
+ },
36
+ "negative": {
37
+ "lower": 0.552734375,
38
+ "upper": 0.5528564453125
39
+ },
40
+ "curvature": 0.7125121444438853
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.516357421875,
46
+ "upper": 0.5164794921875
47
+ },
48
+ "negative": {
49
+ "lower": 0.5640869140625,
50
+ "upper": 0.564208984375
51
+ },
52
+ "curvature": 0.7052957032070846
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.5479736328125,
58
+ "upper": 0.548095703125
59
+ },
60
+ "negative": {
61
+ "lower": 0.5283203125,
62
+ "upper": 0.5284423828125
63
+ },
64
+ "curvature": 0.7091129144620623
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.5662841796875,
70
+ "upper": 0.56640625
71
+ },
72
+ "negative": {
73
+ "lower": 0.534423828125,
74
+ "upper": 0.5345458984375
75
+ },
76
+ "curvature": 0.6756410985932562
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.44976806640625,
82
+ "upper": 0.4498291015625
83
+ },
84
+ "negative": {
85
+ "lower": 0.653076171875,
86
+ "upper": 0.6531982421875
87
+ },
88
+ "curvature": 0.6962951261275618
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.549560546875,
94
+ "upper": 0.5496826171875
95
+ },
96
+ "negative": {
97
+ "lower": 0.526611328125,
98
+ "upper": 0.5267333984375
99
+ },
100
+ "curvature": 0.7098187026201954
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.609375,
106
+ "upper": 0.6094970703125
107
+ },
108
+ "negative": {
109
+ "lower": 0.47186279296875,
110
+ "upper": 0.471923828125
111
+ },
112
+ "curvature": 0.7159852647033981
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.589111328125,
118
+ "upper": 0.5892333984375
119
+ },
120
+ "negative": {
121
+ "lower": 0.50830078125,
122
+ "upper": 0.5084228515625
123
+ },
124
+ "curvature": 0.6864918198865654
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.5333251953125,
130
+ "upper": 0.533447265625
131
+ },
132
+ "negative": {
133
+ "lower": 0.5543212890625,
134
+ "upper": 0.554443359375
135
+ },
136
+ "curvature": 0.693987019442619
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.620361328125,
142
+ "upper": 0.6204833984375
143
+ },
144
+ "negative": {
145
+ "lower": 0.49151611328125,
146
+ "upper": 0.4915771484375
147
+ },
148
+ "curvature": 0.6795929083850372
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.5589599609375,
154
+ "upper": 0.55908203125
155
+ },
156
+ "negative": {
157
+ "lower": 0.5294189453125,
158
+ "upper": 0.529541015625
159
+ },
160
+ "curvature": 0.6918881104625233
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.489013671875,
166
+ "upper": 0.48907470703125
167
+ },
168
+ "negative": {
169
+ "lower": 0.5831298828125,
170
+ "upper": 0.583251953125
171
+ },
172
+ "curvature": 0.7183880281215189
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.5556640625,
178
+ "upper": 0.5557861328125
179
+ },
180
+ "negative": {
181
+ "lower": 0.5386962890625,
182
+ "upper": 0.538818359375
183
+ },
184
+ "curvature": 0.6847320584720409
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5828857421875,
190
+ "upper": 0.5830078125
191
+ },
192
+ "negative": {
193
+ "lower": 0.5023193359375,
194
+ "upper": 0.50244140625
195
+ },
196
+ "curvature": 0.7001954553319345
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.5572509765625,
202
+ "upper": 0.557373046875
203
+ },
204
+ "negative": {
205
+ "lower": 0.52392578125,
206
+ "upper": 0.5240478515625
207
+ },
208
+ "curvature": 0.7029167551332471
209
+ }
210
+ ],
211
+ "width_lower": 1.083221435546875,
212
+ "width_upper": 1.08343505859375,
213
+ "width": 1.0833282470703125,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6995467969716852
216
+ }
217
+ }