summaryrefslogtreecommitdiff
path: root/results/ep_bias/centered_r4/seed_1990_sdil.json
blob: 16a8fe873b335c9d007eb2df706da51b1ca6979a (plain)
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": "innovation",
    "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": 7.152557373046875e-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": 1990,
    "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": "3",
    "device_name": "NVIDIA GeForce GTX 1080"
  },
  "metrics": [
    {
      "epoch": 1,
      "train_accuracy": 0.6473833333333333,
      "train_cost": 0.24178644746144612,
      "test_accuracy": 0.7908,
      "test_cost": 0.15552680525779725,
      "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.0005159845612538132,
        "bias_update_rms": 0.00026138713075164565,
        "residual_update_rms": 7.218216857752804e-07,
        "bias_to_clean_update_rms": 0.5065793637633067,
        "residual_to_clean_update_rms": 0.0013989210917886663,
        "neutral_observations": 48
      },
      "wall_seconds": 831.0553042888641
    },
    {
      "epoch": 2,
      "train_accuracy": 0.8028166666666666,
      "train_cost": 0.14827118317286173,
      "test_accuracy": 0.8038,
      "test_cost": 0.13996086926460266,
      "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.0004168165013267567,
        "bias_update_rms": 0.0002612964129899571,
        "residual_update_rms": 5.425926322846646e-07,
        "bias_to_clean_update_rms": 0.6268859609881854,
        "residual_to_clean_update_rms": 0.0013017542025268998,
        "neutral_observations": 95
      },
      "wall_seconds": 1667.7637870311737
    },
    {
      "epoch": 3,
      "train_accuracy": 0.82525,
      "train_cost": 0.130003280433019,
      "test_accuracy": 0.8378,
      "test_cost": 0.11703220479488373,
      "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.00044855874499676214,
        "bias_update_rms": 0.00026123321684533106,
        "residual_update_rms": 4.211277939995838e-07,
        "bias_to_clean_update_rms": 0.5823835110989013,
        "residual_to_clean_update_rms": 0.0009388464692681973,
        "neutral_observations": 142
      },
      "wall_seconds": 2506.805260181427
    },
    {
      "epoch": 4,
      "train_accuracy": 0.83255,
      "train_cost": 0.12341828454335531,
      "test_accuracy": 0.8411,
      "test_cost": 0.11702486989498138,
      "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.0004612714971065108,
        "bias_update_rms": 0.0002612234843509979,
        "residual_update_rms": 3.242023716755007e-07,
        "bias_to_clean_update_rms": 0.5663117838184559,
        "residual_to_clean_update_rms": 0.0007028450136398524,
        "neutral_observations": 189
      },
      "wall_seconds": 3343.087058067322
    },
    {
      "epoch": 5,
      "train_accuracy": 0.8399,
      "train_cost": 0.11796689587434132,
      "test_accuracy": 0.8468,
      "test_cost": 0.11193187379837036,
      "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.0003965767815716722,
        "bias_update_rms": 0.00026121502350207,
        "residual_update_rms": 2.3480544810204137e-07,
        "bias_to_clean_update_rms": 0.6586745256917199,
        "residual_to_clean_update_rms": 0.0005920806739403267,
        "neutral_observations": 236
      },
      "wall_seconds": 4180.126822948456
    },
    {
      "epoch": 6,
      "train_accuracy": 0.84025,
      "train_cost": 0.1170670990784963,
      "test_accuracy": 0.848,
      "test_cost": 0.11059373168945312,
      "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.0004983124788295408,
        "bias_update_rms": 0.0002612131538844772,
        "residual_update_rms": 1.6233209722669797e-07,
        "bias_to_clean_update_rms": 0.5241954897417512,
        "residual_to_clean_update_rms": 0.0003257636606010571,
        "neutral_observations": 283
      },
      "wall_seconds": 5017.842904090881
    },
    {
      "epoch": 7,
      "train_accuracy": 0.8395833333333333,
      "train_cost": 0.11662110528151194,
      "test_accuracy": 0.8488,
      "test_cost": 0.11356991345882415,
      "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.0003360330910853704,
        "bias_update_rms": 0.00026119569525866003,
        "residual_update_rms": 8.092817285714731e-08,
        "bias_to_clean_update_rms": 0.7772915887986233,
        "residual_to_clean_update_rms": 0.00024083393869262485,
        "neutral_observations": 330
      },
      "wall_seconds": 5854.61641907692
    },
    {
      "epoch": 8,
      "train_accuracy": 0.8360833333333333,
      "train_cost": 0.11993322369257609,
      "test_accuracy": 0.8346,
      "test_cost": 0.11934596486091614,
      "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.0007578647419854319,
        "bias_update_rms": 0.000261215361975321,
        "residual_update_rms": 8.628898715510185e-12,
        "bias_to_clean_update_rms": 0.34467279912111576,
        "residual_to_clean_update_rms": 1.1385803082624544e-08,
        "neutral_observations": 377
      },
      "wall_seconds": 6692.80065870285
    },
    {
      "epoch": 9,
      "train_accuracy": 0.8375,
      "train_cost": 0.11945780922571818,
      "test_accuracy": 0.8479,
      "test_cost": 0.11341914104223251,
      "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.0006221577070874517,
        "bias_update_rms": 0.00026124046571233294,
        "residual_update_rms": 4.260643598436629e-07,
        "bias_to_clean_update_rms": 0.41989428522117866,
        "residual_to_clean_update_rms": 0.0006848172979134605,
        "neutral_observations": 423
      },
      "wall_seconds": 7531.446505784988
    },
    {
      "epoch": 10,
      "train_accuracy": 0.8455833333333334,
      "train_cost": 0.11371816020011902,
      "test_accuracy": 0.8437,
      "test_cost": 0.11368084188699722,
      "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.000574456558656988,
        "bias_update_rms": 0.00026121531904447256,
        "residual_update_rms": 3.778861042408339e-07,
        "bias_to_clean_update_rms": 0.4547172716683109,
        "residual_to_clean_update_rms": 0.000657814935779108,
        "neutral_observations": 470
      },
      "wall_seconds": 8366.408798217773
    }
  ],
  "epochs_completed": 10,
  "beta_sign_counts": {
    "positive": 4690,
    "negative": 4690
  },
  "final": {
    "epoch": 10,
    "train_accuracy": 0.8455833333333334,
    "train_cost": 0.11371816020011902,
    "test_accuracy": 0.8437,
    "test_cost": 0.11368084188699722,
    "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.000574456558656988,
      "bias_update_rms": 0.00026121531904447256,
      "residual_update_rms": 3.778861042408339e-07,
      "bias_to_clean_update_rms": 0.4547172716683109,
      "residual_to_clean_update_rms": 0.000657814935779108,
      "neutral_observations": 470
    },
    "wall_seconds": 8366.408798217773
  }
}