BurnyCoder commited on
Commit
7179834
·
verified ·
1 Parent(s): c6925bd

Measure comparable flatness for stories-confirm-s08-trace-r01

Browse files
runs/stories-confirm-s08-trace-r01/README.md CHANGED
@@ -13,11 +13,13 @@ Randomly initialized TinyStories decoder. The restart manifest identifies the we
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-stories/blob/main/runs/stories-confirm-s08-trace-r01/training_summary.json)
 
 
 
13
 
14
  | Training-window measurement | Value | Interpretation |
15
  | --- | --- | --- |
16
+ | Weight width | 12.896 | ↑ Wider is flatter in these weight coordinates |
17
+ | RMS weight curvature | 0.570914 | ↓ Lower means less local bending |
18
+ | Signed Hessian trace / parameter | 0.00504401 | No general better direction |
19
+ | Common score width | 1.0855 | ↑ Wider tolerates larger changes in token scores |
20
+ | Common score-width search bracket | [1.08541, 1.08564] | Numerical resolution of the median two-sided crossing |
21
+ | Mean directional score curvature | 0.696954 | ↓ 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-stories/blob/main/runs/stories-confirm-s08-trace-r01/training_summary.json)
24
+
25
+ [Weight perturbations and Hessian probes](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-confirm-s08-trace-r01/flatness.json) · [Shared score perturbations](https://huggingface.co/BurnyCoder/thirdloss-stories/blob/main/runs/stories-confirm-s08-trace-r01/score-flatness.json)
runs/stories-confirm-s08-trace-r01/flatness.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-confirm-s08-trace-r01",
3
+ "checkpoint_file_sha256": "740e0353056eff937df17c26ecc11a15755e0a718c3b7c386edb519f008fbb2a",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-26T01:12:20+00:00",
9
+ "protocol": "checkpoint-flatness-v1",
10
+ "width_windows": 8,
11
+ "curvature_windows": 2,
12
+ "width": {
13
+ "baseline_nll": 2.5578088760375977,
14
+ "delta_nll": 0.1,
15
+ "directions": [
16
+ {
17
+ "direction": 0,
18
+ "positive": {
19
+ "lower": 6.87109375,
20
+ "upper": 6.8720703125
21
+ },
22
+ "negative": {
23
+ "lower": 6.1943359375,
24
+ "upper": 6.1953125
25
+ }
26
+ },
27
+ {
28
+ "direction": 1,
29
+ "positive": {
30
+ "lower": 5.9423828125,
31
+ "upper": 5.943359375
32
+ },
33
+ "negative": {
34
+ "lower": 6.8857421875,
35
+ "upper": 6.88671875
36
+ }
37
+ },
38
+ {
39
+ "direction": 2,
40
+ "positive": {
41
+ "lower": 7.251953125,
42
+ "upper": 7.2529296875
43
+ },
44
+ "negative": {
45
+ "lower": 5.8115234375,
46
+ "upper": 5.8125
47
+ }
48
+ },
49
+ {
50
+ "direction": 3,
51
+ "positive": {
52
+ "lower": 6.111328125,
53
+ "upper": 6.1123046875
54
+ },
55
+ "negative": {
56
+ "lower": 6.251953125,
57
+ "upper": 6.2529296875
58
+ }
59
+ },
60
+ {
61
+ "direction": 4,
62
+ "positive": {
63
+ "lower": 6.64453125,
64
+ "upper": 6.6455078125
65
+ },
66
+ "negative": {
67
+ "lower": 6.044921875,
68
+ "upper": 6.0458984375
69
+ }
70
+ },
71
+ {
72
+ "direction": 5,
73
+ "positive": {
74
+ "lower": 6.4306640625,
75
+ "upper": 6.431640625
76
+ },
77
+ "negative": {
78
+ "lower": 6.400390625,
79
+ "upper": 6.4013671875
80
+ }
81
+ },
82
+ {
83
+ "direction": 6,
84
+ "positive": {
85
+ "lower": 6.349609375,
86
+ "upper": 6.3505859375
87
+ },
88
+ "negative": {
89
+ "lower": 6.0908203125,
90
+ "upper": 6.091796875
91
+ }
92
+ },
93
+ {
94
+ "direction": 7,
95
+ "positive": {
96
+ "lower": 6.08984375,
97
+ "upper": 6.0908203125
98
+ },
99
+ "negative": {
100
+ "lower": 6.90234375,
101
+ "upper": 6.9033203125
102
+ }
103
+ },
104
+ {
105
+ "direction": 8,
106
+ "positive": {
107
+ "lower": 6.1552734375,
108
+ "upper": 6.15625
109
+ },
110
+ "negative": {
111
+ "lower": 6.849609375,
112
+ "upper": 6.8505859375
113
+ }
114
+ },
115
+ {
116
+ "direction": 9,
117
+ "positive": {
118
+ "lower": 6.111328125,
119
+ "upper": 6.1123046875
120
+ },
121
+ "negative": {
122
+ "lower": 6.1943359375,
123
+ "upper": 6.1953125
124
+ }
125
+ },
126
+ {
127
+ "direction": 10,
128
+ "positive": {
129
+ "lower": 6.4736328125,
130
+ "upper": 6.474609375
131
+ },
132
+ "negative": {
133
+ "lower": 6.6728515625,
134
+ "upper": 6.673828125
135
+ }
136
+ },
137
+ {
138
+ "direction": 11,
139
+ "positive": {
140
+ "lower": 5.3193359375,
141
+ "upper": 5.3203125
142
+ },
143
+ "negative": {
144
+ "lower": 7.654296875,
145
+ "upper": 7.6552734375
146
+ }
147
+ },
148
+ {
149
+ "direction": 12,
150
+ "positive": {
151
+ "lower": 6.6640625,
152
+ "upper": 6.6650390625
153
+ },
154
+ "negative": {
155
+ "lower": 6.1494140625,
156
+ "upper": 6.150390625
157
+ }
158
+ },
159
+ {
160
+ "direction": 13,
161
+ "positive": {
162
+ "lower": 6.666015625,
163
+ "upper": 6.6669921875
164
+ },
165
+ "negative": {
166
+ "lower": 6.29296875,
167
+ "upper": 6.2939453125
168
+ }
169
+ },
170
+ {
171
+ "direction": 14,
172
+ "positive": {
173
+ "lower": 6.3984375,
174
+ "upper": 6.3994140625
175
+ },
176
+ "negative": {
177
+ "lower": 5.880859375,
178
+ "upper": 5.8818359375
179
+ }
180
+ },
181
+ {
182
+ "direction": 15,
183
+ "positive": {
184
+ "lower": 6.669921875,
185
+ "upper": 6.6708984375
186
+ },
187
+ "negative": {
188
+ "lower": 6.548828125,
189
+ "upper": 6.5498046875
190
+ }
191
+ }
192
+ ],
193
+ "width_lower": 12.89501953125,
194
+ "width_upper": 12.89697265625,
195
+ "width": 12.89599609375,
196
+ "censored_rays": 0,
197
+ "weights_sha256": "cb1bb69c3fb2d0b898c51e5fd19ce14facc5e5dd93da9e831d870a32f38d2008",
198
+ "weights_restored": true,
199
+ "seconds": 5.879661599996325
200
+ },
201
+ "curvature": {
202
+ "dimensions": 2557632,
203
+ "draws": [
204
+ {
205
+ "index": 0,
206
+ "trace_per_parameter": 0.004959223092550272,
207
+ "squared_rms": 0.3222026753025637
208
+ },
209
+ {
210
+ "index": 1,
211
+ "trace_per_parameter": 0.0051246075973111855,
212
+ "squared_rms": 0.3601277377906499
213
+ },
214
+ {
215
+ "index": 2,
216
+ "trace_per_parameter": 0.004332939492781898,
217
+ "squared_rms": 0.31349541437467476
218
+ },
219
+ {
220
+ "index": 3,
221
+ "trace_per_parameter": 0.00488938537592288,
222
+ "squared_rms": 0.29186839005599785
223
+ },
224
+ {
225
+ "index": 4,
226
+ "trace_per_parameter": 0.004394491527780883,
227
+ "squared_rms": 0.3413396646165467
228
+ },
229
+ {
230
+ "index": 5,
231
+ "trace_per_parameter": 0.005809165956944141,
232
+ "squared_rms": 0.33287041747474044
233
+ },
234
+ {
235
+ "index": 6,
236
+ "trace_per_parameter": 0.0056588428183909235,
237
+ "squared_rms": 0.3450520727701196
238
+ },
239
+ {
240
+ "index": 7,
241
+ "trace_per_parameter": 0.005183423268055092,
242
+ "squared_rms": 0.30058977268855214
243
+ }
244
+ ],
245
+ "device": "cuda:0",
246
+ "dtype": "torch.float64",
247
+ "trace_per_parameter": 0.0050440098912171594,
248
+ "rms_curvature": 0.5709144140186256
249
+ }
250
+ }
runs/stories-confirm-s08-trace-r01/score-flatness.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "stories-confirm-s08-trace-r01",
3
+ "checkpoint_file_sha256": "740e0353056eff937df17c26ecc11a15755e0a718c3b7c386edb519f008fbb2a",
4
+ "data_manifest_sha256": "f61dcd6d63f102755b2705140b274b65fc870c3cded3961845ca5ed51e1a6d00",
5
+ "width_device": "cuda",
6
+ "split": "train",
7
+ "probe_windows_sha256": "2b09cf8d13e4e0df411e816e32f1799f1ee165712973c51a09fc75d528c8c2b1",
8
+ "timestamp": "2026-11-26T01:12:20+00:00",
9
+ "protocol": "shared-logit-width-v1",
10
+ "score": {
11
+ "baseline_nll": 2.5578089007896834,
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.5194091796875,
22
+ "upper": 0.51953125
23
+ },
24
+ "negative": {
25
+ "lower": 0.56201171875,
26
+ "upper": 0.5621337890625
27
+ },
28
+ "curvature": 0.7026770639874762
29
+ },
30
+ {
31
+ "direction": 1,
32
+ "positive": {
33
+ "lower": 0.5269775390625,
34
+ "upper": 0.527099609375
35
+ },
36
+ "negative": {
37
+ "lower": 0.5487060546875,
38
+ "upper": 0.548828125
39
+ },
40
+ "curvature": 0.7088574484202438
41
+ },
42
+ {
43
+ "direction": 2,
44
+ "positive": {
45
+ "lower": 0.5247802734375,
46
+ "upper": 0.52490234375
47
+ },
48
+ "negative": {
49
+ "lower": 0.5552978515625,
50
+ "upper": 0.555419921875
51
+ },
52
+ "curvature": 0.7046547983518208
53
+ },
54
+ {
55
+ "direction": 3,
56
+ "positive": {
57
+ "lower": 0.5477294921875,
58
+ "upper": 0.5478515625
59
+ },
60
+ "negative": {
61
+ "lower": 0.5316162109375,
62
+ "upper": 0.53173828125
63
+ },
64
+ "curvature": 0.704502809378291
65
+ },
66
+ {
67
+ "direction": 4,
68
+ "positive": {
69
+ "lower": 0.557861328125,
70
+ "upper": 0.5579833984375
71
+ },
72
+ "negative": {
73
+ "lower": 0.5423583984375,
74
+ "upper": 0.54248046875
75
+ },
76
+ "curvature": 0.6767877508651226
77
+ },
78
+ {
79
+ "direction": 5,
80
+ "positive": {
81
+ "lower": 0.4444580078125,
82
+ "upper": 0.44451904296875
83
+ },
84
+ "negative": {
85
+ "lower": 0.66357421875,
86
+ "upper": 0.6636962890625
87
+ },
88
+ "curvature": 0.6925798581784509
89
+ },
90
+ {
91
+ "direction": 6,
92
+ "positive": {
93
+ "lower": 0.55615234375,
94
+ "upper": 0.5562744140625
95
+ },
96
+ "negative": {
97
+ "lower": 0.521240234375,
98
+ "upper": 0.5213623046875
99
+ },
100
+ "curvature": 0.7086155839044227
101
+ },
102
+ {
103
+ "direction": 7,
104
+ "positive": {
105
+ "lower": 0.6064453125,
106
+ "upper": 0.6065673828125
107
+ },
108
+ "negative": {
109
+ "lower": 0.47625732421875,
110
+ "upper": 0.476318359375
111
+ },
112
+ "curvature": 0.7124645932529794
113
+ },
114
+ {
115
+ "direction": 8,
116
+ "positive": {
117
+ "lower": 0.575439453125,
118
+ "upper": 0.5755615234375
119
+ },
120
+ "negative": {
121
+ "lower": 0.5228271484375,
122
+ "upper": 0.52294921875
123
+ },
124
+ "curvature": 0.6826042380855415
125
+ },
126
+ {
127
+ "direction": 9,
128
+ "positive": {
129
+ "lower": 0.55078125,
130
+ "upper": 0.5509033203125
131
+ },
132
+ "negative": {
133
+ "lower": 0.537841796875,
134
+ "upper": 0.5379638671875
135
+ },
136
+ "curvature": 0.6922636149823191
137
+ },
138
+ {
139
+ "direction": 10,
140
+ "positive": {
141
+ "lower": 0.6278076171875,
142
+ "upper": 0.6279296875
143
+ },
144
+ "negative": {
145
+ "lower": 0.48785400390625,
146
+ "upper": 0.4879150390625
147
+ },
148
+ "curvature": 0.6772590749206142
149
+ },
150
+ {
151
+ "direction": 11,
152
+ "positive": {
153
+ "lower": 0.571533203125,
154
+ "upper": 0.5716552734375
155
+ },
156
+ "negative": {
157
+ "lower": 0.5177001953125,
158
+ "upper": 0.517822265625
159
+ },
160
+ "curvature": 0.6917055595454744
161
+ },
162
+ {
163
+ "direction": 12,
164
+ "positive": {
165
+ "lower": 0.47991943359375,
166
+ "upper": 0.47998046875
167
+ },
168
+ "negative": {
169
+ "lower": 0.5987548828125,
170
+ "upper": 0.598876953125
171
+ },
172
+ "curvature": 0.7123783154251746
173
+ },
174
+ {
175
+ "direction": 13,
176
+ "positive": {
177
+ "lower": 0.5467529296875,
178
+ "upper": 0.546875
179
+ },
180
+ "negative": {
181
+ "lower": 0.5489501953125,
182
+ "upper": 0.549072265625
183
+ },
184
+ "curvature": 0.6830134590740073
185
+ },
186
+ {
187
+ "direction": 14,
188
+ "positive": {
189
+ "lower": 0.5863037109375,
190
+ "upper": 0.58642578125
191
+ },
192
+ "negative": {
193
+ "lower": 0.5018310546875,
194
+ "upper": 0.501953125
195
+ },
196
+ "curvature": 0.6965624142357676
197
+ },
198
+ {
199
+ "direction": 15,
200
+ "positive": {
201
+ "lower": 0.5677490234375,
202
+ "upper": 0.56787109375
203
+ },
204
+ "negative": {
205
+ "lower": 0.513671875,
206
+ "upper": 0.5137939453125
207
+ },
208
+ "curvature": 0.7043428407641309
209
+ }
210
+ ],
211
+ "width_lower": 1.085418701171875,
212
+ "width_upper": 1.08563232421875,
213
+ "width": 1.0855255126953125,
214
+ "censored_rays": 0,
215
+ "mean_directional_curvature": 0.6969543389607398
216
+ }
217
+ }