BurnyCoder commited on
Commit
c413d78
·
verified ·
1 Parent(s): 474b965

Measure comparable flatness for abstracts-confirm-s04-third-r01-fp64

Browse files
runs/abstracts-confirm-s04-third-r01-fp64/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-s04-third-r01-fp64/training_summary.json)
 
 
 
13
 
14
  | Training-window measurement | Value | Interpretation |
15
  | --- | --- | --- |
16
+ | Weight width | 20.351 | ↑ Wider is flatter in these weight coordinates |
17
+ | RMS weight curvature | 0.575044 | ↓ Lower means less local bending |
18
+ | Signed Hessian trace / parameter | 0.000448216 | No general better direction |
19
+ | Common score width | 1.1051 | ↑ Wider tolerates larger changes in token scores |
20
+ | Common score-width search bracket | [1.10504, 1.10526] | Numerical resolution of the median two-sided crossing |
21
+ | Mean directional score curvature | 0.675528 | ↓ 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-s04-third-r01-fp64/training_summary.json)
24
+
25
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-pythia-410m-adapters/blob/main/runs/abstracts-confirm-s04-third-r01-fp64/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-pythia-410m-adapters/blob/main/runs/abstracts-confirm-s04-third-r01-fp64/score-flatness.json)
runs/abstracts-confirm-s04-third-r01-fp64/flatness.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "abstracts-confirm-s04-third-r01-fp64",
3
+ "checkpoint_file_sha256": "2d6eacc335ea8fa7015beb95d0f0a8e3e0304d17c600b0cb906519f422768810",
4
+ "data_manifest_sha256": "0638bd23a7d1dc3ecb9138074ecd922211df2637f60736ddfab7e9aec0b3ccb9",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "33355b4898d409b23633a21a839773f463c5771aaa3a8e2df9840aa647b37e4f",
8
+ "timestamp": "2026-11-26T08:28:06+00:00",
9
+ "protocol": "checkpoint-flatness-v1",
10
+ "width_windows": 8,
11
+ "curvature_windows": 2,
12
+ "width": {
13
+ "baseline_nll": 2.84890079498291,
14
+ "delta_nll": 0.1,
15
+ "directions": [
16
+ {
17
+ "direction": 0,
18
+ "positive": {
19
+ "lower": 11.962890625,
20
+ "upper": 11.96484375
21
+ },
22
+ "negative": {
23
+ "lower": 10.47265625,
24
+ "upper": 10.474609375
25
+ }
26
+ },
27
+ {
28
+ "direction": 1,
29
+ "positive": {
30
+ "lower": 10.435546875,
31
+ "upper": 10.4375
32
+ },
33
+ "negative": {
34
+ "lower": 9.423828125,
35
+ "upper": 9.42578125
36
+ }
37
+ },
38
+ {
39
+ "direction": 2,
40
+ "positive": {
41
+ "lower": 9.353515625,
42
+ "upper": 9.35546875
43
+ },
44
+ "negative": {
45
+ "lower": 10.943359375,
46
+ "upper": 10.9453125
47
+ }
48
+ },
49
+ {
50
+ "direction": 3,
51
+ "positive": {
52
+ "lower": 10.34765625,
53
+ "upper": 10.349609375
54
+ },
55
+ "negative": {
56
+ "lower": 10.720703125,
57
+ "upper": 10.72265625
58
+ }
59
+ },
60
+ {
61
+ "direction": 4,
62
+ "positive": {
63
+ "lower": 10.828125,
64
+ "upper": 10.830078125
65
+ },
66
+ "negative": {
67
+ "lower": 10.4140625,
68
+ "upper": 10.416015625
69
+ }
70
+ },
71
+ {
72
+ "direction": 5,
73
+ "positive": {
74
+ "lower": 10.404296875,
75
+ "upper": 10.40625
76
+ },
77
+ "negative": {
78
+ "lower": 9.595703125,
79
+ "upper": 9.59765625
80
+ }
81
+ },
82
+ {
83
+ "direction": 6,
84
+ "positive": {
85
+ "lower": 9.50390625,
86
+ "upper": 9.505859375
87
+ },
88
+ "negative": {
89
+ "lower": 9.7421875,
90
+ "upper": 9.744140625
91
+ }
92
+ },
93
+ {
94
+ "direction": 7,
95
+ "positive": {
96
+ "lower": 10.322265625,
97
+ "upper": 10.32421875
98
+ },
99
+ "negative": {
100
+ "lower": 10.078125,
101
+ "upper": 10.080078125
102
+ }
103
+ },
104
+ {
105
+ "direction": 8,
106
+ "positive": {
107
+ "lower": 10.107421875,
108
+ "upper": 10.109375
109
+ },
110
+ "negative": {
111
+ "lower": 11.173828125,
112
+ "upper": 11.17578125
113
+ }
114
+ },
115
+ {
116
+ "direction": 9,
117
+ "positive": {
118
+ "lower": 10.337890625,
119
+ "upper": 10.33984375
120
+ },
121
+ "negative": {
122
+ "lower": 9.3359375,
123
+ "upper": 9.337890625
124
+ }
125
+ },
126
+ {
127
+ "direction": 10,
128
+ "positive": {
129
+ "lower": 10.119140625,
130
+ "upper": 10.12109375
131
+ },
132
+ "negative": {
133
+ "lower": 9.376953125,
134
+ "upper": 9.37890625
135
+ }
136
+ },
137
+ {
138
+ "direction": 11,
139
+ "positive": {
140
+ "lower": 10.7890625,
141
+ "upper": 10.791015625
142
+ },
143
+ "negative": {
144
+ "lower": 9.892578125,
145
+ "upper": 9.89453125
146
+ }
147
+ },
148
+ {
149
+ "direction": 12,
150
+ "positive": {
151
+ "lower": 11.4765625,
152
+ "upper": 11.478515625
153
+ },
154
+ "negative": {
155
+ "lower": 9.8828125,
156
+ "upper": 9.884765625
157
+ }
158
+ },
159
+ {
160
+ "direction": 13,
161
+ "positive": {
162
+ "lower": 9.578125,
163
+ "upper": 9.580078125
164
+ },
165
+ "negative": {
166
+ "lower": 10.435546875,
167
+ "upper": 10.4375
168
+ }
169
+ },
170
+ {
171
+ "direction": 14,
172
+ "positive": {
173
+ "lower": 10.158203125,
174
+ "upper": 10.16015625
175
+ },
176
+ "negative": {
177
+ "lower": 8.83203125,
178
+ "upper": 8.833984375
179
+ }
180
+ },
181
+ {
182
+ "direction": 15,
183
+ "positive": {
184
+ "lower": 9.22265625,
185
+ "upper": 9.224609375
186
+ },
187
+ "negative": {
188
+ "lower": 11.4296875,
189
+ "upper": 11.431640625
190
+ }
191
+ }
192
+ ],
193
+ "width_lower": 20.3486328125,
194
+ "width_upper": 20.3525390625,
195
+ "width": 20.3505859375,
196
+ "censored_rays": 0,
197
+ "weights_sha256": "132f30925e2ac0dc2d2eaa0b1d110052d860db56c04ee0a7260253277b89ff3b",
198
+ "weights_restored": true,
199
+ "seconds": 96.506684699998
200
+ },
201
+ "curvature": {
202
+ "dimensions": 786432,
203
+ "draws": [
204
+ {
205
+ "index": 0,
206
+ "trace_per_parameter": 0.00045968112881689013,
207
+ "squared_rms": 0.22708872701351476
208
+ },
209
+ {
210
+ "index": 1,
211
+ "trace_per_parameter": -0.0011849040619092315,
212
+ "squared_rms": 0.26155572027193796
213
+ },
214
+ {
215
+ "index": 2,
216
+ "trace_per_parameter": 0.0010865005919192883,
217
+ "squared_rms": 0.2732122061158498
218
+ },
219
+ {
220
+ "index": 3,
221
+ "trace_per_parameter": 0.0019910648022416666,
222
+ "squared_rms": 0.422333356302859
223
+ },
224
+ {
225
+ "index": 4,
226
+ "trace_per_parameter": 0.000499300184548428,
227
+ "squared_rms": 0.35551247806675335
228
+ },
229
+ {
230
+ "index": 5,
231
+ "trace_per_parameter": 0.0012314527643516977,
232
+ "squared_rms": 0.19370305446363392
233
+ },
234
+ {
235
+ "index": 6,
236
+ "trace_per_parameter": -0.0007128930984466852,
237
+ "squared_rms": 0.6125507316752601
238
+ },
239
+ {
240
+ "index": 7,
241
+ "trace_per_parameter": 0.00021552540153155155,
242
+ "squared_rms": 0.2994496291721848
243
+ }
244
+ ],
245
+ "device": "cpu",
246
+ "dtype": "torch.float64",
247
+ "trace_per_parameter": 0.0004482159641317007,
248
+ "rms_curvature": 0.5750441182076809
249
+ }
250
+ }
runs/abstracts-confirm-s04-third-r01-fp64/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "abstracts-confirm-s04-third-r01-fp64",
3
+ "checkpoint_file_sha256": "2d6eacc335ea8fa7015beb95d0f0a8e3e0304d17c600b0cb906519f422768810",
4
+ "data_manifest_sha256": "0638bd23a7d1dc3ecb9138074ecd922211df2637f60736ddfab7e9aec0b3ccb9",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "33355b4898d409b23633a21a839773f463c5771aaa3a8e2df9840aa647b37e4f",
8
+ "timestamp": "2026-11-26T08:28:06+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.848900701779728,
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.5135498046875,
22
+ "upper": 0.513671875
23
+ },
24
+ "negative": {
25
+ "lower": 0.592041015625,
26
+ "upper": 0.5921630859375
27
+ },
28
+ "curvature": 0.6766431588257705
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.553466796875,
34
+ "upper": 0.5535888671875
35
+ },
36
+ "negative": {
37
+ "lower": 0.546142578125,
38
+ "upper": 0.5462646484375
39
+ },
40
+ "curvature": 0.6811956532698948
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.5716552734375,
46
+ "upper": 0.57177734375
47
+ },
48
+ "negative": {
49
+ "lower": 0.531982421875,
50
+ "upper": 0.5321044921875
51
+ },
52
+ "curvature": 0.6760233617745715
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.512451171875,
58
+ "upper": 0.5125732421875
59
+ },
60
+ "negative": {
61
+ "lower": 0.5892333984375,
62
+ "upper": 0.58935546875
63
+ },
64
+ "curvature": 0.680572981477227
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.5618896484375,
70
+ "upper": 0.56201171875
71
+ },
72
+ "negative": {
73
+ "lower": 0.5308837890625,
74
+ "upper": 0.531005859375
75
+ },
76
+ "curvature": 0.6903986673366693
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.58349609375,
82
+ "upper": 0.5836181640625
83
+ },
84
+ "negative": {
85
+ "lower": 0.530517578125,
86
+ "upper": 0.5306396484375
87
+ },
88
+ "curvature": 0.6625429314982454
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.5413818359375,
94
+ "upper": 0.54150390625
95
+ },
96
+ "negative": {
97
+ "lower": 0.5615234375,
98
+ "upper": 0.5616455078125
99
+ },
100
+ "curvature": 0.6764130609619984
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.494873046875,
106
+ "upper": 0.49493408203125
107
+ },
108
+ "negative": {
109
+ "lower": 0.609619140625,
110
+ "upper": 0.6097412109375
111
+ },
112
+ "curvature": 0.6807798873452353
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.6619873046875,
118
+ "upper": 0.662109375
119
+ },
120
+ "negative": {
121
+ "lower": 0.45904541015625,
122
+ "upper": 0.4591064453125
123
+ },
124
+ "curvature": 0.6745185466703064
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.634765625,
130
+ "upper": 0.6348876953125
131
+ },
132
+ "negative": {
133
+ "lower": 0.490478515625,
134
+ "upper": 0.49053955078125
135
+ },
136
+ "curvature": 0.6666944145628133
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.5013427734375,
142
+ "upper": 0.50146484375
143
+ },
144
+ "negative": {
145
+ "lower": 0.6002197265625,
146
+ "upper": 0.600341796875
147
+ },
148
+ "curvature": 0.6841665322198002
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.5269775390625,
154
+ "upper": 0.527099609375
155
+ },
156
+ "negative": {
157
+ "lower": 0.584228515625,
158
+ "upper": 0.5843505859375
159
+ },
160
+ "curvature": 0.6678564927180346
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.54296875,
166
+ "upper": 0.5430908203125
167
+ },
168
+ "negative": {
169
+ "lower": 0.560302734375,
170
+ "upper": 0.5604248046875
171
+ },
172
+ "curvature": 0.6760686366845471
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.62646484375,
178
+ "upper": 0.6265869140625
179
+ },
180
+ "negative": {
181
+ "lower": 0.48529052734375,
182
+ "upper": 0.4853515625
183
+ },
184
+ "curvature": 0.6754184024647776
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.52978515625,
190
+ "upper": 0.5299072265625
191
+ },
192
+ "negative": {
193
+ "lower": 0.5850830078125,
194
+ "upper": 0.585205078125
195
+ },
196
+ "curvature": 0.6614318188971047
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.4915771484375,
202
+ "upper": 0.49163818359375
203
+ },
204
+ "negative": {
205
+ "lower": 0.6199951171875,
206
+ "upper": 0.6201171875
207
+ },
208
+ "curvature": 0.6777225166899292
209
+ }
210
+ ],
211
+ "width_lower": 1.10504150390625,
212
+ "width_upper": 1.105255126953125,
213
+ "width": 1.1051483154296875,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6755279414623079
216
+ }
217
+ }