BurnyCoder commited on
Commit
476f7ed
·
verified ·
1 Parent(s): 27d648c

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

Browse files
runs/stories-hybrid-s23-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.060 | ↑ 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-s23-always-r01/training_summary.json)
 
 
 
16
  | Training-window measurement | Value | Interpretation |
17
  | --- | --- | --- |
18
  | Weight width | 13.060 | ↑ Wider is flatter in these weight coordinates |
19
+ | RMS weight curvature | 0.60123 | ↓ Lower means less local bending |
20
+ | Signed Hessian trace / parameter | 0.00467488 | No general better direction |
21
+ | Common score width | 1.082 | ↑ Wider tolerates larger changes in token scores |
22
+ | Mean directional score curvature | 0.700952 | ↓ 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-s23-always-r01/training_summary.json)
25
+
26
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s23-always-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-hybrid-s23-always-r01/score-flatness.json)
runs/stories-hybrid-s23-always-r01/flatness.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s23-always-r01",
3
+ "checkpoint_file_sha256": "c417453c25bfd50b6be728807720f998039106791d162f1ac8ef2c9deb256936",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:18:54+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.5957422256469727,
16
+ "delta_nll": 0.1,
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 7.2890625,
22
+ "upper": 7.2900390625
23
+ },
24
+ "negative": {
25
+ "lower": 5.8779296875,
26
+ "upper": 5.87890625
27
+ }
28
+ },
29
+ {
30
+ "direction": 1,
31
+ "positive": {
32
+ "lower": 5.9423828125,
33
+ "upper": 5.943359375
34
+ },
35
+ "negative": {
36
+ "lower": 6.501953125,
37
+ "upper": 6.5029296875
38
+ }
39
+ },
40
+ {
41
+ "direction": 2,
42
+ "positive": {
43
+ "lower": 6.3935546875,
44
+ "upper": 6.39453125
45
+ },
46
+ "negative": {
47
+ "lower": 6.419921875,
48
+ "upper": 6.4208984375
49
+ }
50
+ },
51
+ {
52
+ "direction": 3,
53
+ "positive": {
54
+ "lower": 6.669921875,
55
+ "upper": 6.6708984375
56
+ },
57
+ "negative": {
58
+ "lower": 6.974609375,
59
+ "upper": 6.9755859375
60
+ }
61
+ },
62
+ {
63
+ "direction": 4,
64
+ "positive": {
65
+ "lower": 6.869140625,
66
+ "upper": 6.8701171875
67
+ },
68
+ "negative": {
69
+ "lower": 6.201171875,
70
+ "upper": 6.2021484375
71
+ }
72
+ },
73
+ {
74
+ "direction": 5,
75
+ "positive": {
76
+ "lower": 6.796875,
77
+ "upper": 6.7978515625
78
+ },
79
+ "negative": {
80
+ "lower": 6.6318359375,
81
+ "upper": 6.6328125
82
+ }
83
+ },
84
+ {
85
+ "direction": 6,
86
+ "positive": {
87
+ "lower": 5.9208984375,
88
+ "upper": 5.921875
89
+ },
90
+ "negative": {
91
+ "lower": 7.0869140625,
92
+ "upper": 7.087890625
93
+ }
94
+ },
95
+ {
96
+ "direction": 7,
97
+ "positive": {
98
+ "lower": 5.923828125,
99
+ "upper": 5.9248046875
100
+ },
101
+ "negative": {
102
+ "lower": 7.4150390625,
103
+ "upper": 7.416015625
104
+ }
105
+ },
106
+ {
107
+ "direction": 8,
108
+ "positive": {
109
+ "lower": 6.572265625,
110
+ "upper": 6.5732421875
111
+ },
112
+ "negative": {
113
+ "lower": 6.669921875,
114
+ "upper": 6.6708984375
115
+ }
116
+ },
117
+ {
118
+ "direction": 9,
119
+ "positive": {
120
+ "lower": 6.4736328125,
121
+ "upper": 6.474609375
122
+ },
123
+ "negative": {
124
+ "lower": 6.4619140625,
125
+ "upper": 6.462890625
126
+ }
127
+ },
128
+ {
129
+ "direction": 10,
130
+ "positive": {
131
+ "lower": 6.4091796875,
132
+ "upper": 6.41015625
133
+ },
134
+ "negative": {
135
+ "lower": 6.6376953125,
136
+ "upper": 6.638671875
137
+ }
138
+ },
139
+ {
140
+ "direction": 11,
141
+ "positive": {
142
+ "lower": 6.978515625,
143
+ "upper": 6.9794921875
144
+ },
145
+ "negative": {
146
+ "lower": 5.9970703125,
147
+ "upper": 5.998046875
148
+ }
149
+ },
150
+ {
151
+ "direction": 12,
152
+ "positive": {
153
+ "lower": 6.7431640625,
154
+ "upper": 6.744140625
155
+ },
156
+ "negative": {
157
+ "lower": 6.8076171875,
158
+ "upper": 6.80859375
159
+ }
160
+ },
161
+ {
162
+ "direction": 13,
163
+ "positive": {
164
+ "lower": 6.515625,
165
+ "upper": 6.5166015625
166
+ },
167
+ "negative": {
168
+ "lower": 6.126953125,
169
+ "upper": 6.1279296875
170
+ }
171
+ },
172
+ {
173
+ "direction": 14,
174
+ "positive": {
175
+ "lower": 6.0888671875,
176
+ "upper": 6.08984375
177
+ },
178
+ "negative": {
179
+ "lower": 6.8759765625,
180
+ "upper": 6.876953125
181
+ }
182
+ },
183
+ {
184
+ "direction": 15,
185
+ "positive": {
186
+ "lower": 5.91796875,
187
+ "upper": 5.9189453125
188
+ },
189
+ "negative": {
190
+ "lower": 7.4345703125,
191
+ "upper": 7.435546875
192
+ }
193
+ }
194
+ ],
195
+ "width_lower": 13.05859375,
196
+ "width_upper": 13.060546875,
197
+ "width": 13.0595703125,
198
+ "censored_rays": 0,
199
+ "weights_sha256": "b8c1ef58f7b4c05800e2716a11da1aa6054ae96d5b86fa6f780352cd347a1159",
200
+ "weights_restored": true,
201
+ "seconds": 5.082093100001657
202
+ },
203
+ "curvature": {
204
+ "dimensions": 2557632,
205
+ "draws": [
206
+ {
207
+ "index": 0,
208
+ "trace_per_parameter": 0.005150234184733806,
209
+ "squared_rms": 0.3706584307877998
210
+ },
211
+ {
212
+ "index": 1,
213
+ "trace_per_parameter": 0.004093268123919376,
214
+ "squared_rms": 0.36155705045157543
215
+ },
216
+ {
217
+ "index": 2,
218
+ "trace_per_parameter": 0.004525691339058924,
219
+ "squared_rms": 0.3608014696964532
220
+ },
221
+ {
222
+ "index": 3,
223
+ "trace_per_parameter": 0.004660793638312912,
224
+ "squared_rms": 0.3568199843671932
225
+ },
226
+ {
227
+ "index": 4,
228
+ "trace_per_parameter": 0.004806846025412319,
229
+ "squared_rms": 0.37152669986064174
230
+ },
231
+ {
232
+ "index": 5,
233
+ "trace_per_parameter": 0.005177184835164485,
234
+ "squared_rms": 0.3405975479131065
235
+ },
236
+ {
237
+ "index": 6,
238
+ "trace_per_parameter": 0.004380394068836216,
239
+ "squared_rms": 0.3684974748097189
240
+ },
241
+ {
242
+ "index": 7,
243
+ "trace_per_parameter": 0.004604643757487376,
244
+ "squared_rms": 0.36136043072119883
245
+ }
246
+ ],
247
+ "device": "cuda:0",
248
+ "dtype": "torch.float64",
249
+ "trace_per_parameter": 0.004674881996615677,
250
+ "rms_curvature": 0.601229894529506
251
+ }
252
+ }
runs/stories-hybrid-s23-always-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-hybrid-s23-always-r01",
3
+ "checkpoint_file_sha256": "c417453c25bfd50b6be728807720f998039106791d162f1ac8ef2c9deb256936",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-25T17:18:54+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.5957423138142284,
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.5323486328125,
22
+ "upper": 0.532470703125
23
+ },
24
+ "negative": {
25
+ "lower": 0.5457763671875,
26
+ "upper": 0.5458984375
27
+ },
28
+ "curvature": 0.7056219508800406
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.5216064453125,
34
+ "upper": 0.521728515625
35
+ },
36
+ "negative": {
37
+ "lower": 0.55078125,
38
+ "upper": 0.5509033203125
39
+ },
40
+ "curvature": 0.7131355656965167
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.517578125,
46
+ "upper": 0.5177001953125
47
+ },
48
+ "negative": {
49
+ "lower": 0.5589599609375,
50
+ "upper": 0.55908203125
51
+ },
52
+ "curvature": 0.7099608947392714
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.5518798828125,
58
+ "upper": 0.552001953125
59
+ },
60
+ "negative": {
61
+ "lower": 0.52734375,
62
+ "upper": 0.5274658203125
63
+ },
64
+ "curvature": 0.7049584785099677
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.5576171875,
70
+ "upper": 0.5577392578125
71
+ },
72
+ "negative": {
73
+ "lower": 0.539794921875,
74
+ "upper": 0.5399169921875
75
+ },
76
+ "curvature": 0.6800411087974372
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.44390869140625,
82
+ "upper": 0.4439697265625
83
+ },
84
+ "negative": {
85
+ "lower": 0.6605224609375,
86
+ "upper": 0.66064453125
87
+ },
88
+ "curvature": 0.6969128117453565
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.543701171875,
94
+ "upper": 0.5438232421875
95
+ },
96
+ "negative": {
97
+ "lower": 0.5294189453125,
98
+ "upper": 0.529541015625
99
+ },
100
+ "curvature": 0.7133469149764762
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.60595703125,
106
+ "upper": 0.6060791015625
107
+ },
108
+ "negative": {
109
+ "lower": 0.4747314453125,
110
+ "upper": 0.47479248046875
111
+ },
112
+ "curvature": 0.7152893807724429
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.57421875,
118
+ "upper": 0.5743408203125
119
+ },
120
+ "negative": {
121
+ "lower": 0.5185546875,
122
+ "upper": 0.5186767578125
123
+ },
124
+ "curvature": 0.68979711166908
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.548828125,
130
+ "upper": 0.5489501953125
131
+ },
132
+ "negative": {
133
+ "lower": 0.5377197265625,
134
+ "upper": 0.537841796875
135
+ },
136
+ "curvature": 0.6947171845097317
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.615966796875,
142
+ "upper": 0.6160888671875
143
+ },
144
+ "negative": {
145
+ "lower": 0.4927978515625,
146
+ "upper": 0.49285888671875
147
+ },
148
+ "curvature": 0.682235236284613
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.5653076171875,
154
+ "upper": 0.5654296875
155
+ },
156
+ "negative": {
157
+ "lower": 0.5203857421875,
158
+ "upper": 0.5205078125
159
+ },
160
+ "curvature": 0.6959109373531718
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.476806640625,
166
+ "upper": 0.47686767578125
167
+ },
168
+ "negative": {
169
+ "lower": 0.5975341796875,
170
+ "upper": 0.59765625
171
+ },
172
+ "curvature": 0.7182143483696514
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.5540771484375,
178
+ "upper": 0.55419921875
179
+ },
180
+ "negative": {
181
+ "lower": 0.5372314453125,
182
+ "upper": 0.537353515625
183
+ },
184
+ "curvature": 0.6884342762563316
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5782470703125,
190
+ "upper": 0.578369140625
191
+ },
192
+ "negative": {
193
+ "lower": 0.5047607421875,
194
+ "upper": 0.5048828125
195
+ },
196
+ "curvature": 0.7023522778560854
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.56689453125,
202
+ "upper": 0.5670166015625
203
+ },
204
+ "negative": {
205
+ "lower": 0.5140380859375,
206
+ "upper": 0.51416015625
207
+ },
208
+ "curvature": 0.704301123211707
209
+ }
210
+ ],
211
+ "width_lower": 1.08197021484375,
212
+ "width_upper": 1.08221435546875,
213
+ "width": 1.08209228515625,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.7009518501017425
216
+ }
217
+ }