summaryrefslogtreecommitdiff
path: root/results/oral_a_short/sdil_spatial_template_lr0.1.json
diff options
context:
space:
mode:
Diffstat (limited to 'results/oral_a_short/sdil_spatial_template_lr0.1.json')
-rw-r--r--results/oral_a_short/sdil_spatial_template_lr0.1.json639
1 files changed, 639 insertions, 0 deletions
diff --git a/results/oral_a_short/sdil_spatial_template_lr0.1.json b/results/oral_a_short/sdil_spatial_template_lr0.1.json
new file mode 100644
index 0000000..a5a83ec
--- /dev/null
+++ b/results/oral_a_short/sdil_spatial_template_lr0.1.json
@@ -0,0 +1,639 @@
+{
+ "apical_warmup": {
+ "last": {
+ "calibration_mse": 518.2958984375,
+ "prediction_target_cosine": 0.0001586056141805217,
+ "target_power": 518.2958984375
+ },
+ "steps": 100
+ },
+ "architecture": {
+ "adaptive_apical_parameters": 2260992,
+ "base_width": 16,
+ "blocks_per_stage": 3,
+ "bn_eps": 1e-05,
+ "bn_momentum": 0.1,
+ "depth": 20,
+ "family": "CIFAR 6n+2 ResNet, option-A shortcuts",
+ "fixed_traffic_coefficients": 188416,
+ "forward_parameters": 269722,
+ "hidden_shapes": [
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 16,
+ 32,
+ 32
+ ],
+ [
+ 32,
+ 16,
+ 16
+ ],
+ [
+ 32,
+ 16,
+ 16
+ ],
+ [
+ 32,
+ 16,
+ 16
+ ],
+ [
+ 32,
+ 16,
+ 16
+ ],
+ [
+ 32,
+ 16,
+ 16
+ ],
+ [
+ 32,
+ 16,
+ 16
+ ],
+ [
+ 64,
+ 8,
+ 8
+ ],
+ [
+ 64,
+ 8,
+ 8
+ ],
+ [
+ 64,
+ 8,
+ 8
+ ],
+ [
+ 64,
+ 8,
+ 8
+ ],
+ [
+ 64,
+ 8,
+ 8
+ ],
+ [
+ 64,
+ 8,
+ 8
+ ]
+ ],
+ "normalization": "batchnorm",
+ "predictor_parameters": 376832,
+ "residual_scale": 1.0,
+ "vectorizer_mode": "spatial_template",
+ "vectorizer_parameters": 1884160
+ },
+ "args": {
+ "a_scale": 0.0,
+ "a_warmup_steps": 100,
+ "alignment_probe": 32,
+ "apical_seed": null,
+ "augment_train": 1,
+ "batch_size": 128,
+ "bn_eps": 1e-05,
+ "bn_momentum": 0.1,
+ "data_dir": "/home/yurenh2/sdrn/data",
+ "depth": 20,
+ "device": "cuda:0",
+ "epochs": 20,
+ "eta_A": 0.001,
+ "eta_P": 0.01,
+ "eval_every": 0,
+ "eval_split": "validation",
+ "learn_P": 0,
+ "loader_seed": 0,
+ "lr": 0.1,
+ "lr_gamma": 0.1,
+ "lr_milestones": "100,150",
+ "lr_schedule": "cosine",
+ "max_steps": 0,
+ "mode": "sdil",
+ "momentum": 0.9,
+ "normalization": "batchnorm",
+ "nuisance_scale": 0.0,
+ "out": "results/oral_a_short/sdil_spatial_template_lr0.1.json",
+ "output_lr": 0.1,
+ "pert_directions": 1,
+ "pert_every": 4,
+ "pert_sigma": 0.01,
+ "perturb_seed": 1000,
+ "predictor_warmup_steps": 0,
+ "residual_scale": null,
+ "seed": 0,
+ "split_seed": 2027,
+ "train_limit": 10000,
+ "use_residual": 1,
+ "val_examples": 5000,
+ "vectorizer_mode": "spatial_template",
+ "warmup_epochs": 0,
+ "weight_decay": 0.0001,
+ "weight_scale": 1.0,
+ "width": 16
+ },
+ "counters": {
+ "apical_warmup_examples": 12688,
+ "calibration_event_examples": 62688,
+ "causal_scalar_observations": 990,
+ "logical_batch_loss_queries": 990,
+ "ordinary_examples": 200000,
+ "per_example_loss_terms": 125376,
+ "perturbation_events": 495,
+ "perturbation_forward_examples": 125376,
+ "predictor_warmup_examples": 0
+ },
+ "diagnostics": {
+ "early_third_mean": 0.0011366111769651373,
+ "innovation_negative_gradient_cosine": [
+ -0.0005086585879325867,
+ 0.002177828922867775,
+ 0.0010308092460036278,
+ 0.0010501776123419404,
+ 0.0036033838987350464,
+ -0.0005338740302249789,
+ -0.0005385851254686713,
+ 0.0055239940993487835,
+ 0.006746778730303049,
+ 0.002382537815719843,
+ -0.0019065908854827285,
+ 0.0028815269470214844,
+ 0.003817233955487609,
+ 0.004685048013925552,
+ 0.007657486014068127,
+ 0.016477705910801888,
+ 0.012200873345136642,
+ 0.011948207393288612,
+ 0.004797697998583317
+ ],
+ "normalization_state": "training_batch_stats_without_running_update",
+ "raw_negative_gradient_cosine": [
+ -0.0005086585879325867,
+ 0.002177828922867775,
+ 0.0010308092460036278,
+ 0.0010501776123419404,
+ 0.0036033838987350464,
+ -0.0005338740302249789,
+ -0.0005385851254686713,
+ 0.0055239940993487835,
+ 0.006746778730303049,
+ 0.002382537815719843,
+ -0.0019065908854827285,
+ 0.0028815269470214844,
+ 0.003817233955487609,
+ 0.004685048013925552,
+ 0.007657486014068127,
+ 0.016477705910801888,
+ 0.012200873345136642,
+ 0.011948207393288612,
+ 0.004797697998583317
+ ],
+ "teaching_negative_gradient_cosine": [
+ -0.0005086585879325867,
+ 0.002177828922867775,
+ 0.0010308092460036278,
+ 0.0010501776123419404,
+ 0.0036033838987350464,
+ -0.0005338740302249789,
+ -0.0005385851254686713,
+ 0.0055239940993487835,
+ 0.006746778730303049,
+ 0.002382537815719843,
+ -0.0019065908854827285,
+ 0.0028815269470214844,
+ 0.003817233955487609,
+ 0.004685048013925552,
+ 0.007657486014068127,
+ 0.016477705910801888,
+ 0.012200873345136642,
+ 0.011948207393288612,
+ 0.004797697998583317
+ ],
+ "wall_s": 0.10133647918701172
+ },
+ "epochs": [
+ {
+ "calibration": {
+ "calibration_mse": 218.00981008301125,
+ "prediction_target_cosine": 7.372765407421974e-07,
+ "target_power": 218.00976970393376
+ },
+ "epoch": 1,
+ "lr": 0.1,
+ "output_lr": 0.1,
+ "step": 79,
+ "train_examples": 10000,
+ "train_loss": 2.7016247840881347
+ },
+ {
+ "calibration": {
+ "calibration_mse": 99.16834810680669,
+ "prediction_target_cosine": -2.8498735313447782e-05,
+ "target_power": 99.16831356921922
+ },
+ "epoch": 2,
+ "lr": 0.0993844170297569,
+ "output_lr": 0.0993844170297569,
+ "step": 158,
+ "train_examples": 10000,
+ "train_loss": 3.1584605926513674
+ },
+ {
+ "calibration": {
+ "calibration_mse": 298.79512195511035,
+ "prediction_target_cosine": 2.909768881279403e-05,
+ "target_power": 298.79509454188144
+ },
+ "epoch": 3,
+ "lr": 0.09755282581475769,
+ "output_lr": 0.09755282581475769,
+ "step": 237,
+ "train_examples": 10000,
+ "train_loss": 8.829980853271485
+ },
+ {
+ "calibration": {
+ "calibration_mse": 495.4038626001955,
+ "prediction_target_cosine": 6.753209127928497e-05,
+ "target_power": 495.40380857997405
+ },
+ "epoch": 4,
+ "lr": 0.09455032620941839,
+ "output_lr": 0.09455032620941839,
+ "step": 316,
+ "train_examples": 10000,
+ "train_loss": 14.866311837768555
+ },
+ {
+ "calibration": {
+ "calibration_mse": 644.076006343183,
+ "prediction_target_cosine": 5.199910531874288e-05,
+ "target_power": 644.0759610264197
+ },
+ "epoch": 5,
+ "lr": 0.09045084971874738,
+ "output_lr": 0.09045084971874738,
+ "step": 395,
+ "train_examples": 10000,
+ "train_loss": 19.877845971679687
+ },
+ {
+ "calibration": {
+ "calibration_mse": 769.4698152616618,
+ "prediction_target_cosine": 1.593025226261596e-05,
+ "target_power": 769.4697039468132
+ },
+ "epoch": 6,
+ "lr": 0.08535533905932738,
+ "output_lr": 0.08535533905932738,
+ "step": 474,
+ "train_examples": 10000,
+ "train_loss": 22.049921173095704
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1704.3785989527266,
+ "prediction_target_cosine": -2.4309997884679826e-05,
+ "target_power": 1704.3783198974947
+ },
+ "epoch": 7,
+ "lr": 0.07938926261462366,
+ "output_lr": 0.07938926261462366,
+ "step": 553,
+ "train_examples": 10000,
+ "train_loss": 34.75900443725586
+ },
+ {
+ "calibration": {
+ "calibration_mse": 2635.6820743733197,
+ "prediction_target_cosine": 5.142736440269856e-05,
+ "target_power": 2635.6819745528614
+ },
+ "epoch": 8,
+ "lr": 0.07269952498697733,
+ "output_lr": 0.07269952498697733,
+ "step": 632,
+ "train_examples": 10000,
+ "train_loss": 28.494638110351563
+ },
+ {
+ "calibration": {
+ "calibration_mse": 2921.008621702878,
+ "prediction_target_cosine": -2.392465289065802e-06,
+ "target_power": 2921.0082750818005
+ },
+ "epoch": 9,
+ "lr": 0.06545084971874737,
+ "output_lr": 0.06545084971874737,
+ "step": 711,
+ "train_examples": 10000,
+ "train_loss": 41.31702725830078
+ },
+ {
+ "calibration": {
+ "calibration_mse": 2678.3753509645876,
+ "prediction_target_cosine": -3.18863488196659e-05,
+ "target_power": 2678.3748598513394
+ },
+ "epoch": 10,
+ "lr": 0.05782172325201155,
+ "output_lr": 0.05782172325201155,
+ "step": 790,
+ "train_examples": 10000,
+ "train_loss": 33.205736236572264
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1499.2314302945267,
+ "prediction_target_cosine": -1.2890709474344284e-06,
+ "target_power": 1499.2308740014616
+ },
+ "epoch": 11,
+ "lr": 0.05,
+ "output_lr": 0.05,
+ "step": 869,
+ "train_examples": 10000,
+ "train_loss": 31.877177111816405
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1585.0379899110073,
+ "prediction_target_cosine": 1.1932150178731406e-05,
+ "target_power": 1585.0374189503405
+ },
+ "epoch": 12,
+ "lr": 0.04217827674798845,
+ "output_lr": 0.04217827674798845,
+ "step": 948,
+ "train_examples": 10000,
+ "train_loss": 33.527968142700196
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1974.6094332775508,
+ "prediction_target_cosine": -2.8002023685383723e-05,
+ "target_power": 1974.6085822364555
+ },
+ "epoch": 13,
+ "lr": 0.03454915028125263,
+ "output_lr": 0.03454915028125263,
+ "step": 1027,
+ "train_examples": 10000,
+ "train_loss": 27.32040124511719
+ },
+ {
+ "calibration": {
+ "calibration_mse": 2883.157492811784,
+ "prediction_target_cosine": -3.153829896486009e-05,
+ "target_power": 2883.1566430796747
+ },
+ "epoch": 14,
+ "lr": 0.027300475013022664,
+ "output_lr": 0.027300475013022664,
+ "step": 1106,
+ "train_examples": 10000,
+ "train_loss": 26.911080462646485
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1497.195044086809,
+ "prediction_target_cosine": -5.236116223205009e-05,
+ "target_power": 1497.194315920187
+ },
+ "epoch": 15,
+ "lr": 0.02061073738537635,
+ "output_lr": 0.02061073738537635,
+ "step": 1185,
+ "train_examples": 10000,
+ "train_loss": 16.22249378967285
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1796.1156036770597,
+ "prediction_target_cosine": -4.133475642912655e-05,
+ "target_power": 1796.114599726702
+ },
+ "epoch": 16,
+ "lr": 0.014644660940672627,
+ "output_lr": 0.014644660940672627,
+ "step": 1264,
+ "train_examples": 10000,
+ "train_loss": 13.36528768310547
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1416.6319843007818,
+ "prediction_target_cosine": 6.540755980912454e-05,
+ "target_power": 1416.6312157147604
+ },
+ "epoch": 17,
+ "lr": 0.009549150281252633,
+ "output_lr": 0.009549150281252633,
+ "step": 1343,
+ "train_examples": 10000,
+ "train_loss": 7.271144700622559
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1296.9401957724403,
+ "prediction_target_cosine": 3.232485078663147e-05,
+ "target_power": 1296.939295607028
+ },
+ "epoch": 18,
+ "lr": 0.005449673790581611,
+ "output_lr": 0.005449673790581611,
+ "step": 1422,
+ "train_examples": 10000,
+ "train_loss": 6.070062582397461
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1811.3753914065335,
+ "prediction_target_cosine": -6.324038492581172e-05,
+ "target_power": 1811.3743516728937
+ },
+ "epoch": 19,
+ "lr": 0.0024471741852423235,
+ "output_lr": 0.0024471741852423235,
+ "step": 1501,
+ "train_examples": 10000,
+ "train_loss": 5.354951040649414
+ },
+ {
+ "calibration": {
+ "calibration_mse": 1090.3963583066752,
+ "prediction_target_cosine": 8.504621255287847e-05,
+ "target_power": 1090.3955357767625
+ },
+ "epoch": 20,
+ "lr": 0.0006155829702431171,
+ "output_lr": 0.0006155829702431171,
+ "step": 1580,
+ "train_examples": 10000,
+ "train_loss": 4.983896137237549
+ }
+ ],
+ "evaluation_protocol": {
+ "test_evaluations": 0,
+ "test_used_for_selection": false,
+ "validation_evaluations": 1
+ },
+ "final": {
+ "accuracy": 0.2474,
+ "epoch": 20,
+ "evaluation_split": "validation",
+ "finite": true,
+ "loss": 5.14968251953125,
+ "step": 1580
+ },
+ "hardware": {
+ "cuda_device_name": "NVIDIA GeForce GTX 1080",
+ "cuda_visible_devices": "5",
+ "device": "cuda:0",
+ "device_total_memory_bytes": 8507949056,
+ "peak_memory_allocated_bytes": 1740965888,
+ "peak_memory_reserved_bytes": 2866806784,
+ "torch_version": "2.3.1+cu118"
+ },
+ "protocol_family": "oral_a_cifar_local_resnet_development",
+ "provenance": {
+ "git_commit": "a1d060e6d96d4ab973d16cd75149dd61899c7c95",
+ "git_tracked_dirty": false
+ },
+ "schema_version": 1,
+ "split": {
+ "cifar_source_files": [
+ {
+ "bytes": 31035704,
+ "path": "/home/yurenh2/sdrn/data/cifar-10-batches-py/data_batch_1",
+ "sha256": "54636561a3ce25bd3e19253c6b0d8538147b0ae398331ac4a2d86c6d987368cd"
+ },
+ {
+ "bytes": 31035320,
+ "path": "/home/yurenh2/sdrn/data/cifar-10-batches-py/data_batch_2",
+ "sha256": "766b2cef9fbc745cf056b3152224f7cf77163b330ea9a15f9392beb8b89bc5a8"
+ },
+ {
+ "bytes": 31035999,
+ "path": "/home/yurenh2/sdrn/data/cifar-10-batches-py/data_batch_3",
+ "sha256": "0f00d98ebfb30b3ec0ad19f9756dc2630b89003e10525f5e148445e82aa6a1f9"
+ },
+ {
+ "bytes": 31035696,
+ "path": "/home/yurenh2/sdrn/data/cifar-10-batches-py/data_batch_4",
+ "sha256": "3f7bb240661948b8f4d53e36ec720d8306f5668bd0071dcb4e6c947f78e9682b"
+ },
+ {
+ "bytes": 31035623,
+ "path": "/home/yurenh2/sdrn/data/cifar-10-batches-py/data_batch_5",
+ "sha256": "d91802434d8376bbaeeadf58a737e3a1b12ac839077e931237e0dcd43adcb154"
+ },
+ {
+ "bytes": 31035526,
+ "path": "/home/yurenh2/sdrn/data/cifar-10-batches-py/test_batch",
+ "sha256": "f53d8d457504f7cff4ea9e021afcf0e0ad8e24a91f3fc42091b8adef61157831"
+ }
+ ],
+ "dataset": "cifar10",
+ "evaluation_split": "validation",
+ "input_layout": "NCHW",
+ "input_shape": [
+ 3,
+ 32,
+ 32
+ ],
+ "loader_seed": 0,
+ "normalization_mean": [
+ 0.49140000343322754,
+ 0.4821999967098236,
+ 0.4465000033378601
+ ],
+ "normalization_std": [
+ 0.24699999392032623,
+ 0.2434999942779541,
+ 0.26159998774528503
+ ],
+ "split_from_training_only": true,
+ "split_seed": 2027,
+ "test_examples": 10000,
+ "train_examples": 10000,
+ "training_augmentation": "random_crop_32_padding_4_zero_then_horizontal_flip_p0.5",
+ "validation_class_counts": {
+ "0": 500,
+ "1": 500,
+ "2": 500,
+ "3": 500,
+ "4": 500,
+ "5": 500,
+ "6": 500,
+ "7": 500,
+ "8": 500,
+ "9": 500
+ },
+ "validation_examples": 5000,
+ "validation_index_sha256": "8328b206a97c420e49e54e3eca4abe3274c4756b084355784ea3fb8059e4515b"
+ },
+ "timing": {
+ "apical_warmup_wall_s": 6.064634799957275,
+ "evaluation_wall_s": 0.3710658550262451,
+ "predictor_warmup_wall_s": 0.0,
+ "timing_excludes_data_loading_hashing_and_model_construction": true,
+ "total_timed_wall_s": 96.05532002449036,
+ "train_wall_s": 89.61682558059692
+ },
+ "work": {
+ "apical_macs_per_example": 1884160,
+ "causal_scalar_observations": 990,
+ "components": {
+ "apical_projection_macs": 400738222080,
+ "apical_regression_macs": 118114222080,
+ "bp_reverse_macs_estimate": 0,
+ "local_weight_correlation_macs": 8110208000000,
+ "ordinary_forward_macs": 8110208000000,
+ "perturbation_forward_macs": 5084127191040,
+ "warmup_clean_forward_macs": 514511595520
+ },
+ "definition": "multiply-accumulates in conv/linear maps; one local weight correlation equals one forward-weight MAC count; BP reverse is estimated as one weight-gradient plus one activation-gradient convolution per forward convolution; elementwise nonlinearities and optimizer arithmetic excluded",
+ "forward_macs_per_example": 40551040,
+ "logical_batch_loss_queries": 990,
+ "per_example_cross_entropy_terms": 125376,
+ "total_clean_forward_examples": 212688,
+ "total_forward_equivalent_examples": 338064,
+ "total_macs_estimate": 22337907230720
+ }
+}