BurnyCoder commited on
Commit
285cd29
·
verified ·
1 Parent(s): 9dd9395

Measure comparable flatness for abstracts-confirm-s01-ce-r00

Browse files
runs/abstracts-confirm-s01-ce-r00/README.md CHANGED
@@ -13,11 +13,13 @@ EleutherAI/pythia-410m with attention QKV LoRA. The restart manifest identifies
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
- | Common score-width search bracket | Pending | Numerical resolution of the median two-sided crossing |
21
- | Mean directional score curvature | Pending | ↓ Lower means less local bending in score space |
22
 
23
  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-pythia-410m-adapters/blob/main/runs/abstracts-confirm-s01-ce-r00/training_summary.json)
 
 
 
13
 
14
  | Training-window measurement | Value | Interpretation |
15
  | --- | --- | --- |
16
+ | Weight width | 20.132 | ↑ Wider is flatter in these weight coordinates |
17
+ | RMS weight curvature | 0.555644 | ↓ Lower means less local bending |
18
+ | Signed Hessian trace / parameter | 0.00201225 | No general better direction |
19
+ | Common score width | 1.1054 | ↑ Wider tolerates larger changes in token scores |
20
+ | Common score-width search bracket | [1.10528, 1.10553] | Numerical resolution of the median two-sided crossing |
21
+ | Mean directional score curvature | 0.674904 | ↓ Lower means less local bending in score space |
22
 
23
  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-pythia-410m-adapters/blob/main/runs/abstracts-confirm-s01-ce-r00/training_summary.json)
24
+
25
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-pythia-410m-adapters/blob/main/runs/abstracts-confirm-s01-ce-r00/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-pythia-410m-adapters/blob/main/runs/abstracts-confirm-s01-ce-r00/score-flatness.json)
runs/abstracts-confirm-s01-ce-r00/flatness.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "abstracts-confirm-s01-ce-r00",
3
+ "checkpoint_file_sha256": "7fe4bd9ba5080f893c0a7322c6985218a4c1d8fec3f48a61cad5b594cff228fc",
4
+ "data_manifest_sha256": "0638bd23a7d1dc3ecb9138074ecd922211df2637f60736ddfab7e9aec0b3ccb9",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "33355b4898d409b23633a21a839773f463c5771aaa3a8e2df9840aa647b37e4f",
8
+ "timestamp": "2026-11-25T22:06:19+00:00",
9
+ "protocol": "checkpoint-flatness-v1",
10
+ "width_windows": 8,
11
+ "curvature_windows": 2,
12
+ "width": {
13
+ "baseline_nll": 2.8460092544555664,
14
+ "delta_nll": 0.1,
15
+ "directions": [
16
+ {
17
+ "direction": 0,
18
+ "positive": {
19
+ "lower": 11.654296875,
20
+ "upper": 11.65625
21
+ },
22
+ "negative": {
23
+ "lower": 9.392578125,
24
+ "upper": 9.39453125
25
+ }
26
+ },
27
+ {
28
+ "direction": 1,
29
+ "positive": {
30
+ "lower": 9.978515625,
31
+ "upper": 9.98046875
32
+ },
33
+ "negative": {
34
+ "lower": 9.01953125,
35
+ "upper": 9.021484375
36
+ }
37
+ },
38
+ {
39
+ "direction": 2,
40
+ "positive": {
41
+ "lower": 9.94921875,
42
+ "upper": 9.951171875
43
+ },
44
+ "negative": {
45
+ "lower": 10.181640625,
46
+ "upper": 10.18359375
47
+ }
48
+ },
49
+ {
50
+ "direction": 3,
51
+ "positive": {
52
+ "lower": 10.931640625,
53
+ "upper": 10.93359375
54
+ },
55
+ "negative": {
56
+ "lower": 9.818359375,
57
+ "upper": 9.8203125
58
+ }
59
+ },
60
+ {
61
+ "direction": 4,
62
+ "positive": {
63
+ "lower": 10.646484375,
64
+ "upper": 10.6484375
65
+ },
66
+ "negative": {
67
+ "lower": 10.146484375,
68
+ "upper": 10.1484375
69
+ }
70
+ },
71
+ {
72
+ "direction": 5,
73
+ "positive": {
74
+ "lower": 8.982421875,
75
+ "upper": 8.984375
76
+ },
77
+ "negative": {
78
+ "lower": 10.140625,
79
+ "upper": 10.142578125
80
+ }
81
+ },
82
+ {
83
+ "direction": 6,
84
+ "positive": {
85
+ "lower": 8.681640625,
86
+ "upper": 8.68359375
87
+ },
88
+ "negative": {
89
+ "lower": 10.123046875,
90
+ "upper": 10.125
91
+ }
92
+ },
93
+ {
94
+ "direction": 7,
95
+ "positive": {
96
+ "lower": 8.892578125,
97
+ "upper": 8.89453125
98
+ },
99
+ "negative": {
100
+ "lower": 10.689453125,
101
+ "upper": 10.69140625
102
+ }
103
+ },
104
+ {
105
+ "direction": 8,
106
+ "positive": {
107
+ "lower": 9.1484375,
108
+ "upper": 9.150390625
109
+ },
110
+ "negative": {
111
+ "lower": 10.291015625,
112
+ "upper": 10.29296875
113
+ }
114
+ },
115
+ {
116
+ "direction": 9,
117
+ "positive": {
118
+ "lower": 9.841796875,
119
+ "upper": 9.84375
120
+ },
121
+ "negative": {
122
+ "lower": 10.30078125,
123
+ "upper": 10.302734375
124
+ }
125
+ },
126
+ {
127
+ "direction": 10,
128
+ "positive": {
129
+ "lower": 10.0546875,
130
+ "upper": 10.056640625
131
+ },
132
+ "negative": {
133
+ "lower": 10.67578125,
134
+ "upper": 10.677734375
135
+ }
136
+ },
137
+ {
138
+ "direction": 11,
139
+ "positive": {
140
+ "lower": 9.330078125,
141
+ "upper": 9.33203125
142
+ },
143
+ "negative": {
144
+ "lower": 9.54296875,
145
+ "upper": 9.544921875
146
+ }
147
+ },
148
+ {
149
+ "direction": 12,
150
+ "positive": {
151
+ "lower": 9.90234375,
152
+ "upper": 9.904296875
153
+ },
154
+ "negative": {
155
+ "lower": 9.69921875,
156
+ "upper": 9.701171875
157
+ }
158
+ },
159
+ {
160
+ "direction": 13,
161
+ "positive": {
162
+ "lower": 9.580078125,
163
+ "upper": 9.58203125
164
+ },
165
+ "negative": {
166
+ "lower": 10.548828125,
167
+ "upper": 10.55078125
168
+ }
169
+ },
170
+ {
171
+ "direction": 14,
172
+ "positive": {
173
+ "lower": 10.318359375,
174
+ "upper": 10.3203125
175
+ },
176
+ "negative": {
177
+ "lower": 10.611328125,
178
+ "upper": 10.61328125
179
+ }
180
+ },
181
+ {
182
+ "direction": 15,
183
+ "positive": {
184
+ "lower": 9.814453125,
185
+ "upper": 9.81640625
186
+ },
187
+ "negative": {
188
+ "lower": 10.60546875,
189
+ "upper": 10.607421875
190
+ }
191
+ }
192
+ ],
193
+ "width_lower": 20.1298828125,
194
+ "width_upper": 20.1337890625,
195
+ "width": 20.1318359375,
196
+ "censored_rays": 0,
197
+ "weights_sha256": "f7b13435b95f31b6ec33ec112b1524a8e67c057a4d5eb1893c134c5bd4270a48",
198
+ "weights_restored": true,
199
+ "seconds": 89.80379070000345
200
+ },
201
+ "curvature": {
202
+ "dimensions": 786432,
203
+ "draws": [
204
+ {
205
+ "index": 0,
206
+ "trace_per_parameter": 0.0016287308564849887,
207
+ "squared_rms": 0.3426875989861223
208
+ },
209
+ {
210
+ "index": 1,
211
+ "trace_per_parameter": 0.0028889922153381466,
212
+ "squared_rms": 0.3383675808219075
213
+ },
214
+ {
215
+ "index": 2,
216
+ "trace_per_parameter": 0.002814166663568904,
217
+ "squared_rms": 0.4112540275334248
218
+ },
219
+ {
220
+ "index": 3,
221
+ "trace_per_parameter": 0.0026197606294112914,
222
+ "squared_rms": 0.2658193886998778
223
+ },
224
+ {
225
+ "index": 4,
226
+ "trace_per_parameter": 0.0005382986185075372,
227
+ "squared_rms": 0.1633789455670673
228
+ },
229
+ {
230
+ "index": 5,
231
+ "trace_per_parameter": 0.002211348653393401,
232
+ "squared_rms": 0.20852659251206354
233
+ },
234
+ {
235
+ "index": 6,
236
+ "trace_per_parameter": 0.0016160264181982074,
237
+ "squared_rms": 0.3559487019948587
238
+ },
239
+ {
240
+ "index": 7,
241
+ "trace_per_parameter": 0.0017806887244045122,
242
+ "squared_rms": 0.3839382544709284
243
+ }
244
+ ],
245
+ "device": "cpu",
246
+ "dtype": "torch.float64",
247
+ "trace_per_parameter": 0.0020122515974133736,
248
+ "rms_curvature": 0.5556438934455065
249
+ }
250
+ }
runs/abstracts-confirm-s01-ce-r00/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "abstracts-confirm-s01-ce-r00",
3
+ "checkpoint_file_sha256": "7fe4bd9ba5080f893c0a7322c6985218a4c1d8fec3f48a61cad5b594cff228fc",
4
+ "data_manifest_sha256": "0638bd23a7d1dc3ecb9138074ecd922211df2637f60736ddfab7e9aec0b3ccb9",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "33355b4898d409b23633a21a839773f463c5771aaa3a8e2df9840aa647b37e4f",
8
+ "timestamp": "2026-11-25T22:06:19+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.8460094973078114,
12
+ "delta_nll": 0.1,
13
+ "units": "RMS logit displacement",
14
+ "vocab": 50304,
15
+ "targets": 1024,
16
+ "direction_sha256": "e443214df5a81efed40c70404e134541fe0d24abc4b821aa690840a01823392e",
17
+ "directions": [
18
+ {
19
+ "direction": 0,
20
+ "positive": {
21
+ "lower": 0.5146484375,
22
+ "upper": 0.5147705078125
23
+ },
24
+ "negative": {
25
+ "lower": 0.5916748046875,
26
+ "upper": 0.591796875
27
+ },
28
+ "curvature": 0.6753113541152022
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.5567626953125,
34
+ "upper": 0.556884765625
35
+ },
36
+ "negative": {
37
+ "lower": 0.5435791015625,
38
+ "upper": 0.543701171875
39
+ },
40
+ "curvature": 0.6804145369276702
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.5714111328125,
46
+ "upper": 0.571533203125
47
+ },
48
+ "negative": {
49
+ "lower": 0.5328369140625,
50
+ "upper": 0.532958984375
51
+ },
52
+ "curvature": 0.6751459359411416
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.512451171875,
58
+ "upper": 0.5125732421875
59
+ },
60
+ "negative": {
61
+ "lower": 0.5894775390625,
62
+ "upper": 0.589599609375
63
+ },
64
+ "curvature": 0.6803222611052461
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.5567626953125,
70
+ "upper": 0.556884765625
71
+ },
72
+ "negative": {
73
+ "lower": 0.535888671875,
74
+ "upper": 0.5360107421875
75
+ },
76
+ "curvature": 0.6901939851681322
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.5853271484375,
82
+ "upper": 0.58544921875
83
+ },
84
+ "negative": {
85
+ "lower": 0.5286865234375,
86
+ "upper": 0.52880859375
87
+ },
88
+ "curvature": 0.6624487121958991
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.5450439453125,
94
+ "upper": 0.545166015625
95
+ },
96
+ "negative": {
97
+ "lower": 0.55810546875,
98
+ "upper": 0.5582275390625
99
+ },
100
+ "curvature": 0.6760714393765737
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.4990234375,
106
+ "upper": 0.49908447265625
107
+ },
108
+ "negative": {
109
+ "lower": 0.604736328125,
110
+ "upper": 0.6048583984375
111
+ },
112
+ "curvature": 0.680834731183632
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.6617431640625,
118
+ "upper": 0.661865234375
119
+ },
120
+ "negative": {
121
+ "lower": 0.45965576171875,
122
+ "upper": 0.459716796875
123
+ },
124
+ "curvature": 0.67379191752868
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.6282958984375,
130
+ "upper": 0.62841796875
131
+ },
132
+ "negative": {
133
+ "lower": 0.4957275390625,
134
+ "upper": 0.49578857421875
135
+ },
136
+ "curvature": 0.6659460772866533
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.5015869140625,
142
+ "upper": 0.501708984375
143
+ },
144
+ "negative": {
145
+ "lower": 0.6004638671875,
146
+ "upper": 0.6005859375
147
+ },
148
+ "curvature": 0.6836459196495186
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.52490234375,
154
+ "upper": 0.5250244140625
155
+ },
156
+ "negative": {
157
+ "lower": 0.5872802734375,
158
+ "upper": 0.58740234375
159
+ },
160
+ "curvature": 0.6669110874988805
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.5406494140625,
166
+ "upper": 0.540771484375
167
+ },
168
+ "negative": {
169
+ "lower": 0.563232421875,
170
+ "upper": 0.5633544921875
171
+ },
172
+ "curvature": 0.6752629876568104
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.6239013671875,
178
+ "upper": 0.6240234375
179
+ },
180
+ "negative": {
181
+ "lower": 0.4873046875,
182
+ "upper": 0.48736572265625
183
+ },
184
+ "curvature": 0.6754479012108459
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5294189453125,
190
+ "upper": 0.529541015625
191
+ },
192
+ "negative": {
193
+ "lower": 0.5867919921875,
194
+ "upper": 0.5869140625
195
+ },
196
+ "curvature": 0.6597315787025966
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.49249267578125,
202
+ "upper": 0.4925537109375
203
+ },
204
+ "negative": {
205
+ "lower": 0.619384765625,
206
+ "upper": 0.6195068359375
207
+ },
208
+ "curvature": 0.6769773186991044
209
+ }
210
+ ],
211
+ "width_lower": 1.10528564453125,
212
+ "width_upper": 1.10552978515625,
213
+ "width": 1.10540771484375,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6749036090154117
216
+ }
217
+ }