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
|
{
"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": "raw",
"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": 4.76837158203125e-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": "1",
"device_name": "NVIDIA GeForce GTX 1080"
},
"metrics": [
{
"epoch": 1,
"train_accuracy": 0.39966666666666667,
"train_cost": 0.741419501431783,
"test_accuracy": 0.1433,
"test_cost": 0.46476038236618045,
"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.0012942503762052367,
"bias_update_rms": 0.00017666968080245704,
"residual_update_rms": 0.0001766696804607617,
"bias_to_clean_update_rms": 0.13650348035474824,
"residual_to_clean_update_rms": 0.136503480090738,
"neutral_observations": 0
},
"wall_seconds": 831.5404508113861
},
{
"epoch": 2,
"train_accuracy": 0.36361666666666664,
"train_cost": 1.325737651379903,
"test_accuracy": 0.1001,
"test_cost": 487.04954169921876,
"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.2387424020434094,
"bias_update_rms": 0.000169507662557792,
"residual_update_rms": 0.00016950763568829698,
"bias_to_clean_update_rms": 0.0007100023335066018,
"residual_to_clean_update_rms": 0.0007100022209606328,
"neutral_observations": 0
},
"wall_seconds": 1669.2314295768738
},
{
"epoch": 3,
"train_accuracy": 0.09966666666666667,
"train_cost": NaN,
"test_accuracy": 0.1,
"test_cost": NaN,
"finite": false,
"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": NaN,
"bias_update_rms": NaN,
"residual_update_rms": NaN,
"bias_to_clean_update_rms": NaN,
"residual_to_clean_update_rms": NaN,
"neutral_observations": 0
},
"wall_seconds": 2500.756426334381
}
],
"epochs_completed": 3,
"beta_sign_counts": {
"positive": 1407,
"negative": 1407
},
"final": {
"epoch": 3,
"train_accuracy": 0.09966666666666667,
"train_cost": NaN,
"test_accuracy": 0.1,
"test_cost": NaN,
"finite": false,
"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": NaN,
"bias_update_rms": NaN,
"residual_update_rms": NaN,
"bias_to_clean_update_rms": NaN,
"residual_to_clean_update_rms": NaN,
"neutral_observations": 0
},
"wall_seconds": 2500.756426334381
}
}
|