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

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

Browse files
runs/stories-hybrid-s22-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.334 | ↑ 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-always-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.334 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.559409 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.00449892 | No general better direction |
21
+ | Common score width | 1.082 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.699753 | ↓ 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-always-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-always-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-always-r01/score-flatness.json)
runs/stories-hybrid-s22-always-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-always-r01",
3
+ "checkpoint_file_sha256": "d0c9ce1fd98433844de69ea970ae3a0605718ba9ed075025a64ac35b34e06c07",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:14:50+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.6044561862945557,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 6.46484375,
22
+ "upper": 6.4658203125
23
+ },
24
+ "negative": {
25
+ "lower": 7.06640625,
26
+ "upper": 7.0673828125
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 6.5703125,
33
+ "upper": 6.5712890625
34
+ },
35
+ "negative": {
36
+ "lower": 7.07421875,
37
+ "upper": 7.0751953125
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.904296875,
44
+ "upper": 6.9052734375
45
+ },
46
+ "negative": {
47
+ "lower": 6.19921875,
48
+ "upper": 6.2001953125
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 7.48046875,
55
+ "upper": 7.4814453125
56
+ },
57
+ "negative": {
58
+ "lower": 6.4794921875,
59
+ "upper": 6.48046875
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 6.734375,
66
+ "upper": 6.7353515625
67
+ },
68
+ "negative": {
69
+ "lower": 6.75,
70
+ "upper": 6.7509765625
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.9052734375,
77
+ "upper": 6.90625
78
+ },
79
+ "negative": {
80
+ "lower": 6.2431640625,
81
+ "upper": 6.244140625
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 7.5546875,
88
+ "upper": 7.5556640625
89
+ },
90
+ "negative": {
91
+ "lower": 6.01171875,
92
+ "upper": 6.0126953125
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 6.578125,
99
+ "upper": 6.5791015625
100
+ },
101
+ "negative": {
102
+ "lower": 6.44921875,
103
+ "upper": 6.4501953125
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.822265625,
110
+ "upper": 6.8232421875
111
+ },
112
+ "negative": {
113
+ "lower": 6.693359375,
114
+ "upper": 6.6943359375
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.619140625,
121
+ "upper": 6.6201171875
122
+ },
123
+ "negative": {
124
+ "lower": 6.927734375,
125
+ "upper": 6.9287109375
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.1982421875,
132
+ "upper": 6.19921875
133
+ },
134
+ "negative": {
135
+ "lower": 6.4931640625,
136
+ "upper": 6.494140625
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 5.7158203125,
143
+ "upper": 5.716796875
144
+ },
145
+ "negative": {
146
+ "lower": 7.1318359375,
147
+ "upper": 7.1328125
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.4306640625,
154
+ "upper": 6.431640625
155
+ },
156
+ "negative": {
157
+ "lower": 7.2451171875,
158
+ "upper": 7.24609375
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 6.56640625,
165
+ "upper": 6.5673828125
166
+ },
167
+ "negative": {
168
+ "lower": 6.6162109375,
169
+ "upper": 6.6171875
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.6689453125,
176
+ "upper": 6.669921875
177
+ },
178
+ "negative": {
179
+ "lower": 6.0205078125,
180
+ "upper": 6.021484375
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 6.46484375,
187
+ "upper": 6.4658203125
188
+ },
189
+ "negative": {
190
+ "lower": 6.654296875,
191
+ "upper": 6.6552734375
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.33349609375,
196
+ "width_upper": 13.33544921875,
197
+ "width": 13.33447265625,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "4631c450949e55f28afba4c772ccf3b6b9f511298ce3e3b07b692dd923288d95",
200
+ "weights_restored": true,
201
+ "seconds": 7.147296999999526
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.0036990374900418886,
209
+ "squared_rms": 0.29841622422842595
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004179223081400183,
214
+ "squared_rms": 0.29777526901708934
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004247000301657615,
219
+ "squared_rms": 0.34047629056891754
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.005077896459789024,
224
+ "squared_rms": 0.3296223078785815
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.005096919587909437,
229
+ "squared_rms": 0.33270393399593634
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.0038743691768387484,
234
+ "squared_rms": 0.29469174431604167
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.004179831310448635,
239
+ "squared_rms": 0.28346960820820705
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.005637048285696776,
244
+ "squared_rms": 0.32634780813626346
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.004498915711722788,
250
+ "rms_curvature": 0.5594085254031108
251
+ }
252
+ }
runs/stories-hybrid-s22-always-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-always-r01",
3
+ "checkpoint_file_sha256": "d0c9ce1fd98433844de69ea970ae3a0605718ba9ed075025a64ac35b34e06c07",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:14:50+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.6044561874676777,
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.519287109375,
22
+ "upper": 0.5194091796875
23
+ },
24
+ "negative": {
25
+ "lower": 0.556640625,
26
+ "upper": 0.5567626953125
27
+ },
28
+ "curvature": 0.7096963134083052
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.5228271484375,
34
+ "upper": 0.52294921875
35
+ },
36
+ "negative": {
37
+ "lower": 0.5526123046875,
38
+ "upper": 0.552734375
39
+ },
40
+ "curvature": 0.7090120105959286
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.52294921875,
46
+ "upper": 0.5230712890625
47
+ },
48
+ "negative": {
49
+ "lower": 0.5538330078125,
50
+ "upper": 0.553955078125
51
+ },
52
+ "curvature": 0.7091881655298624
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.5386962890625,
58
+ "upper": 0.538818359375
59
+ },
60
+ "negative": {
61
+ "lower": 0.5350341796875,
62
+ "upper": 0.53515625
63
+ },
64
+ "curvature": 0.7119454339041229
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.56640625,
70
+ "upper": 0.5665283203125
71
+ },
72
+ "negative": {
73
+ "lower": 0.53369140625,
74
+ "upper": 0.5338134765625
75
+ },
76
+ "curvature": 0.6762153073894028
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.43719482421875,
82
+ "upper": 0.437255859375
83
+ },
84
+ "negative": {
85
+ "lower": 0.6737060546875,
86
+ "upper": 0.673828125
87
+ },
88
+ "curvature": 0.6937311023350597
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.5401611328125,
94
+ "upper": 0.540283203125
95
+ },
96
+ "negative": {
97
+ "lower": 0.534423828125,
98
+ "upper": 0.5345458984375
99
+ },
100
+ "curvature": 0.7112588341464592
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.6036376953125,
106
+ "upper": 0.603759765625
107
+ },
108
+ "negative": {
109
+ "lower": 0.47772216796875,
110
+ "upper": 0.477783203125
111
+ },
112
+ "curvature": 0.7134273300522371
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.583984375,
118
+ "upper": 0.5841064453125
119
+ },
120
+ "negative": {
121
+ "lower": 0.51123046875,
122
+ "upper": 0.5113525390625
123
+ },
124
+ "curvature": 0.6884745383594557
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.56103515625,
130
+ "upper": 0.5611572265625
131
+ },
132
+ "negative": {
133
+ "lower": 0.52685546875,
134
+ "upper": 0.5269775390625
135
+ },
136
+ "curvature": 0.6930664045957857
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.6107177734375,
142
+ "upper": 0.61083984375
143
+ },
144
+ "negative": {
145
+ "lower": 0.5013427734375,
146
+ "upper": 0.50146484375
147
+ },
148
+ "curvature": 0.6752969629235388
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.56787109375,
154
+ "upper": 0.5679931640625
155
+ },
156
+ "negative": {
157
+ "lower": 0.5186767578125,
158
+ "upper": 0.518798828125
159
+ },
160
+ "curvature": 0.6951745519095052
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.47607421875,
166
+ "upper": 0.47613525390625
167
+ },
168
+ "negative": {
169
+ "lower": 0.5986328125,
170
+ "upper": 0.5987548828125
171
+ },
172
+ "curvature": 0.7182659638717986
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.5634765625,
178
+ "upper": 0.5635986328125
179
+ },
180
+ "negative": {
181
+ "lower": 0.5303955078125,
182
+ "upper": 0.530517578125
183
+ },
184
+ "curvature": 0.6856247523792663
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.56201171875,
190
+ "upper": 0.5621337890625
191
+ },
192
+ "negative": {
193
+ "lower": 0.5205078125,
194
+ "upper": 0.5206298828125
195
+ },
196
+ "curvature": 0.7007955425048928
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.5706787109375,
202
+ "upper": 0.57080078125
203
+ },
204
+ "negative": {
205
+ "lower": 0.5103759765625,
206
+ "upper": 0.510498046875
207
+ },
208
+ "curvature": 0.704871353760283
209
+ }
210
+ ],
211
+ "width_lower": 1.081939697265625,
212
+ "width_upper": 1.0821533203125,
213
+ "width": 1.0820465087890625,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.699752785479119
216
+ }
217
+ }