1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
|
{
"schema": "rain_ep_structured_bias_screen_v1",
"sdil": {
"revision": "1305db8fecfe04f6ba37f31a7c6a9e2a4b8edcda"
},
"author": {
"repository": "https://github.com/rain-neuromorphics/energy-based-learning",
"revision": "6b253fd8a5d267535f58ab79992256ef10031ceb"
},
"protocol": {
"dataset": "FashionMNIST",
"network": "author comparative-study ConvHopfieldEnergy32",
"network_protocol": "comparative32",
"algorithm": "equilibrium propagation",
"beta_policy": "centered",
"beta_seed": 7100,
"beta_value": 0.25,
"adapter": "dillavou",
"mode": "constant",
"bias_ratio": 1.0,
"dillavou_drift_ratio": 0.0,
"dillavou_calibration_steps": 1,
"dillavou_profile": {
"normalized_offsets": [
0.9356214982615908,
1.6020613079954447,
-0.10013991355431538,
0.7402593971899275
],
"normalized_state_variations": [
0.5259526502913017,
0.31316961348123956,
0.3831972460091073,
-0.04782433762159926
],
"source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json"
},
"predictor_rate": 1.0,
"neutral_cadence": 10,
"layer_calibration_steps": 1,
"layer_bias_normalization": "clean_difference",
"calibration_batches": 0,
"calibration_observations": 0,
"calibration_seconds": 2.384185791015625e-07,
"extra_equilibrium_phases_for_predictor": 0,
"predictor_neutral_source": "instruction_off_local_update_probe",
"bias_ratio_normalization": "initial_clean_local_update_rms_for_simulation_only",
"bias_ratio_normalization_visible_to_predictor": false,
"epochs": 10,
"train_limit": 60000,
"test_limit": 10000,
"evaluation_split": "test",
"data_seed": 6200,
"batch_size": 128,
"training_iterations": 15,
"inference_iterations": 60,
"schedule_epochs": 100,
"seed": 1991,
"device": "cuda",
"determinism": "best_effort_warn_only",
"autodiff_used_for_learning": false
},
"hardware": {
"torch_version": "2.3.1+cu118",
"torch_cuda_version": "11.8",
"cuda_visible_devices": "6",
"device_name": "NVIDIA GeForce GTX 1080"
},
"metrics": [
{
"epoch": 1,
"train_accuracy": 0.6514166666666666,
"train_cost": 0.23874953289031983,
"test_accuracy": 0.7989,
"test_cost": 0.14913629243373872,
"finite": true,
"corrector": {
"step": 468,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0010334190118103733,
"bias_update_rms": 0.0002575815232551045,
"residual_update_rms": 8.520667960982931e-07,
"bias_to_clean_update_rms": 0.24925177523477698,
"residual_to_clean_update_rms": 0.0008245124062558302,
"neutral_observations": 48
},
"wall_seconds": 825.315509557724
},
{
"epoch": 2,
"train_accuracy": 0.8054666666666667,
"train_cost": 0.1463900848865509,
"test_accuracy": 0.8107,
"test_cost": 0.1376047594666481,
"finite": true,
"corrector": {
"step": 937,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0005757326241265676,
"bias_update_rms": 0.0002574850657788311,
"residual_update_rms": 7.741208258014799e-07,
"bias_to_clean_update_rms": 0.4472302853593828,
"residual_to_clean_update_rms": 0.0013445839151044862,
"neutral_observations": 95
},
"wall_seconds": 1655.0283901691437
},
{
"epoch": 3,
"train_accuracy": 0.8147833333333333,
"train_cost": 0.1375980861822764,
"test_accuracy": 0.8297,
"test_cost": 0.12498511123657227,
"finite": true,
"corrector": {
"step": 1406,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0005640374960177168,
"bias_update_rms": 0.00025742908814589184,
"residual_update_rms": 5.414683457147868e-07,
"bias_to_clean_update_rms": 0.45640421064809106,
"residual_to_clean_update_rms": 0.0009599864362524206,
"neutral_observations": 142
},
"wall_seconds": 2485.8760273456573
},
{
"epoch": 4,
"train_accuracy": 0.8214666666666667,
"train_cost": 0.13063794898986816,
"test_accuracy": 0.8216,
"test_cost": 0.12810545012950897,
"finite": true,
"corrector": {
"step": 1875,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0005424991321083923,
"bias_update_rms": 0.00025743289748546576,
"residual_update_rms": 4.2801005870752226e-07,
"bias_to_clean_update_rms": 0.47453144576465467,
"residual_to_clean_update_rms": 0.0007889598957404509,
"neutral_observations": 189
},
"wall_seconds": 3316.546987056732
},
{
"epoch": 5,
"train_accuracy": 0.8323666666666667,
"train_cost": 0.12345273388226827,
"test_accuracy": 0.8475,
"test_cost": 0.11482098010778427,
"finite": true,
"corrector": {
"step": 2344,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0004736085091954156,
"bias_update_rms": 0.0002573980065061997,
"residual_update_rms": 3.1660371138779617e-07,
"bias_to_clean_update_rms": 0.5434826476058832,
"residual_to_clean_update_rms": 0.0006684924473288176,
"neutral_observations": 236
},
"wall_seconds": 4148.957462072372
},
{
"epoch": 6,
"train_accuracy": 0.8387833333333333,
"train_cost": 0.11886263562838237,
"test_accuracy": 0.839,
"test_cost": 0.11830596129894257,
"finite": true,
"corrector": {
"step": 2813,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0004375926793469371,
"bias_update_rms": 0.00025741087497606466,
"residual_update_rms": 2.7531101765124375e-07,
"bias_to_clean_update_rms": 0.5882431016904223,
"residual_to_clean_update_rms": 0.000629149048064784,
"neutral_observations": 283
},
"wall_seconds": 4978.673540592194
},
{
"epoch": 7,
"train_accuracy": 0.84085,
"train_cost": 0.11724454936981202,
"test_accuracy": 0.8477,
"test_cost": 0.10940983446836472,
"finite": true,
"corrector": {
"step": 3282,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0005587562179490701,
"bias_update_rms": 0.0002574036610321253,
"residual_update_rms": 1.0339163175876161e-07,
"bias_to_clean_update_rms": 0.4606725666104128,
"residual_to_clean_update_rms": 0.0001850388925214352,
"neutral_observations": 330
},
"wall_seconds": 5808.141820907593
},
{
"epoch": 8,
"train_accuracy": 0.8412166666666666,
"train_cost": 0.11605071331659952,
"test_accuracy": 0.8483,
"test_cost": 0.10899548338651657,
"finite": true,
"corrector": {
"step": 3751,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.00040743396708950913,
"bias_update_rms": 0.0002574096197428271,
"residual_update_rms": 5.71478876581627e-12,
"bias_to_clean_update_rms": 0.6317824249696805,
"residual_to_clean_update_rms": 1.4026294387381767e-08,
"neutral_observations": 377
},
"wall_seconds": 6638.962812900543
},
{
"epoch": 9,
"train_accuracy": 0.8418833333333333,
"train_cost": 0.11540374369621277,
"test_accuracy": 0.8499,
"test_cost": 0.11006788313388824,
"finite": true,
"corrector": {
"step": 4220,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0008956813915907756,
"bias_update_rms": 0.0002574158030177409,
"residual_update_rms": 7.962559456815576e-07,
"bias_to_clean_update_rms": 0.28739661830035046,
"residual_to_clean_update_rms": 0.0008889946281761717,
"neutral_observations": 423
},
"wall_seconds": 7468.951384544373
},
{
"epoch": 10,
"train_accuracy": 0.8351166666666666,
"train_cost": 0.11930307742754619,
"test_accuracy": 0.8337,
"test_cost": 0.11911704300642013,
"finite": true,
"corrector": {
"step": 4689,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0021008752219369015,
"bias_update_rms": 0.00025743942414021214,
"residual_update_rms": 7.030352842674331e-07,
"bias_to_clean_update_rms": 0.12253913104980406,
"residual_to_clean_update_rms": 0.0003346392384119176,
"neutral_observations": 470
},
"wall_seconds": 8297.173201560974
}
],
"epochs_completed": 10,
"beta_sign_counts": {
"positive": 4690,
"negative": 4690
},
"final": {
"epoch": 10,
"train_accuracy": 0.8351166666666666,
"train_cost": 0.11930307742754619,
"test_accuracy": 0.8337,
"test_cost": 0.11911704300642013,
"finite": true,
"corrector": {
"step": 4689,
"bias_model": "dillavou_released_affine_update",
"bias_profile_source": "/home/yurenh2/sdil/results/physical_bias/p0_state_dependence.json",
"clean_update_rms": 0.0021008752219369015,
"bias_update_rms": 0.00025743942414021214,
"residual_update_rms": 7.030352842674331e-07,
"bias_to_clean_update_rms": 0.12253913104980406,
"residual_to_clean_update_rms": 0.0003346392384119176,
"neutral_observations": 470
},
"wall_seconds": 8297.173201560974
}
}
|