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

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

Browse files
runs/stories-hybrid-s22-replay-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.218 | ↑ 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-replay-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.218 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.569831 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.00451696 | No general better direction |
21
+ | Common score width | 1.082 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.699382 | ↓ 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-replay-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-replay-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s22-replay-r01/score-flatness.json)
runs/stories-hybrid-s22-replay-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-replay-r01",
3
+ "checkpoint_file_sha256": "2b7c8aaaef3d95299420d9b2700bf6c0b15f5570df29419eb978c6ef6df4000f",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:15:25+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.604504108428955,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 6.474609375,
22
+ "upper": 6.4755859375
23
+ },
24
+ "negative": {
25
+ "lower": 7.021484375,
26
+ "upper": 7.0224609375
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 6.4609375,
33
+ "upper": 6.4619140625
34
+ },
35
+ "negative": {
36
+ "lower": 7.0341796875,
37
+ "upper": 7.03515625
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.806640625,
44
+ "upper": 6.8076171875
45
+ },
46
+ "negative": {
47
+ "lower": 6.1962890625,
48
+ "upper": 6.197265625
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 7.3935546875,
55
+ "upper": 7.39453125
56
+ },
57
+ "negative": {
58
+ "lower": 6.41015625,
59
+ "upper": 6.4111328125
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 6.703125,
66
+ "upper": 6.7041015625
67
+ },
68
+ "negative": {
69
+ "lower": 6.6240234375,
70
+ "upper": 6.625
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.9423828125,
77
+ "upper": 6.943359375
78
+ },
79
+ "negative": {
80
+ "lower": 6.1640625,
81
+ "upper": 6.1650390625
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 7.529296875,
88
+ "upper": 7.5302734375
89
+ },
90
+ "negative": {
91
+ "lower": 6.0205078125,
92
+ "upper": 6.021484375
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 6.544921875,
99
+ "upper": 6.5458984375
100
+ },
101
+ "negative": {
102
+ "lower": 6.3916015625,
103
+ "upper": 6.392578125
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.7333984375,
110
+ "upper": 6.734375
111
+ },
112
+ "negative": {
113
+ "lower": 6.6171875,
114
+ "upper": 6.6181640625
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.5966796875,
121
+ "upper": 6.59765625
122
+ },
123
+ "negative": {
124
+ "lower": 6.7470703125,
125
+ "upper": 6.748046875
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.1640625,
132
+ "upper": 6.1650390625
133
+ },
134
+ "negative": {
135
+ "lower": 6.439453125,
136
+ "upper": 6.4404296875
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 5.6396484375,
143
+ "upper": 5.640625
144
+ },
145
+ "negative": {
146
+ "lower": 7.0751953125,
147
+ "upper": 7.076171875
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.35546875,
154
+ "upper": 6.3564453125
155
+ },
156
+ "negative": {
157
+ "lower": 7.25,
158
+ "upper": 7.2509765625
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 6.5615234375,
165
+ "upper": 6.5625
166
+ },
167
+ "negative": {
168
+ "lower": 6.5146484375,
169
+ "upper": 6.515625
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.5810546875,
176
+ "upper": 6.58203125
177
+ },
178
+ "negative": {
179
+ "lower": 5.966796875,
180
+ "upper": 5.9677734375
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 6.38671875,
187
+ "upper": 6.3876953125
188
+ },
189
+ "negative": {
190
+ "lower": 6.6318359375,
191
+ "upper": 6.6328125
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.216796875,
196
+ "width_upper": 13.21875,
197
+ "width": 13.2177734375,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "8a0040bbbf852404c598e992dba72ad83cbcab153d6b80215a3a4f4d2ba45c47",
200
+ "weights_restored": true,
201
+ "seconds": 6.935154599999805
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.0037263866077851425,
209
+ "squared_rms": 0.31112465478067663
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004162873962160131,
214
+ "squared_rms": 0.3083730378717525
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004307121463280373,
219
+ "squared_rms": 0.34898563128876864
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.005133697261535447,
224
+ "squared_rms": 0.3441533311077288
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.005113934170428997,
229
+ "squared_rms": 0.3467536676175379
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.0038032784244812078,
234
+ "squared_rms": 0.30834725809131264
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.004150285587703649,
239
+ "squared_rms": 0.29094714502997115
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.00573809179236635,
244
+ "squared_rms": 0.33897866837770196
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.004516958658717663,
250
+ "rms_curvature": 0.5698314876089959
251
+ }
252
+ }
runs/stories-hybrid-s22-replay-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s22-replay-r01",
3
+ "checkpoint_file_sha256": "2b7c8aaaef3d95299420d9b2700bf6c0b15f5570df29419eb978c6ef6df4000f",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:15:25+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.6045040934346835,
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.518798828125,
22
+ "upper": 0.5189208984375
23
+ },
24
+ "negative": {
25
+ "lower": 0.5576171875,
26
+ "upper": 0.5577392578125
27
+ },
28
+ "curvature": 0.7091823828660424
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.7089243987623096
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.523193359375,
46
+ "upper": 0.5233154296875
47
+ },
48
+ "negative": {
49
+ "lower": 0.553955078125,
50
+ "upper": 0.5540771484375
51
+ },
52
+ "curvature": 0.7087841083313761
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.711703956713085
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.6756937196912922
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.43707275390625,
82
+ "upper": 0.4371337890625
83
+ },
84
+ "negative": {
85
+ "lower": 0.674560546875,
86
+ "upper": 0.6746826171875
87
+ },
88
+ "curvature": 0.6931142390975433
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.5400390625,
94
+ "upper": 0.5401611328125
95
+ },
96
+ "negative": {
97
+ "lower": 0.534912109375,
98
+ "upper": 0.5350341796875
99
+ },
100
+ "curvature": 0.7107799016455425
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.7129454418373629
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.583984375,
118
+ "upper": 0.5841064453125
119
+ },
120
+ "negative": {
121
+ "lower": 0.5113525390625,
122
+ "upper": 0.511474609375
123
+ },
124
+ "curvature": 0.6882515713529833
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.6928933532817863
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.6097412109375,
142
+ "upper": 0.60986328125
143
+ },
144
+ "negative": {
145
+ "lower": 0.5025634765625,
146
+ "upper": 0.502685546875
147
+ },
148
+ "curvature": 0.6745886620384781
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.5682373046875,
154
+ "upper": 0.568359375
155
+ },
156
+ "negative": {
157
+ "lower": 0.5184326171875,
158
+ "upper": 0.5185546875
159
+ },
160
+ "curvature": 0.6949381204966216
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.47503662109375,
166
+ "upper": 0.47509765625
167
+ },
168
+ "negative": {
169
+ "lower": 0.6002197265625,
170
+ "upper": 0.600341796875
171
+ },
172
+ "curvature": 0.7177977093983381
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.6853594218840484
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5623779296875,
190
+ "upper": 0.5625
191
+ },
192
+ "negative": {
193
+ "lower": 0.5203857421875,
194
+ "upper": 0.5205078125
195
+ },
196
+ "curvature": 0.7006092714460107
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.5701904296875,
202
+ "upper": 0.5703125
203
+ },
204
+ "negative": {
205
+ "lower": 0.5111083984375,
206
+ "upper": 0.51123046875
207
+ },
208
+ "curvature": 0.70454382402178
209
+ }
210
+ ],
211
+ "width_lower": 1.082244873046875,
212
+ "width_upper": 1.08245849609375,
213
+ "width": 1.0823516845703125,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6993818801790376
216
+ }
217
+ }