{ "architecture": { "adaptive_apical_parameters": 0, "adaptive_feedback_parameters": 267904, "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_feedback_parameters": 0, "fixed_traffic_coefficients": 0, "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": 0, "residual_scale": 1.0, "vectorizer_mode": null, "vectorizer_parameters": 0 }, "args": { "a_scale": 1.0, "a_warmup_steps": 0, "alignment_probe": 64, "apical_calibration_mode": "unit_targets", "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", "epochs": 0, "eta_A": 0.01, "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": "constant", "max_steps": 0, "mirror_batch_size": 1, "mirror_eta": 0.03, "mirror_every": 16, "mirror_noise_std": 1.0, "mirror_seed": 3000, "mirror_warmup_steps": 20, "mode": "rrm", "momentum": 0.9, "normalization": "batchnorm", "nuisance_scale": 0.0, "out": "results/residual_mirror_capture/rrm_etaM0.03.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 }, "calibration_metric_space": "local_parent_child_response_residual", "counters": { "apical_warmup_examples": 0, "calibration_event_examples": 0, "causal_scalar_observations": 0, "logical_batch_loss_queries": 0, "mirror_conv_examples": 20, "mirror_events": 20, "mirror_readout_examples": 20480, "ordinary_examples": 0, "per_example_loss_terms": 0, "perturbation_events": 0, "perturbation_forward_examples": 0, "predictor_warmup_examples": 0 }, "diagnostics": { "early_third_mean": 0.07501635327935219, "feedback_forward_cosine": [ 0.642231822013855, 0.6209580898284912, 0.6709350347518921, 0.6560195088386536, 0.6285985112190247, 0.6578096747398376, 0.6539484262466431, 0.6415038704872131, 0.625426709651947, 0.6155803203582764, 0.6325298547744751, 0.6294562816619873, 0.609635591506958, 0.5829833745956421, 0.5823480486869812, 0.5837353467941284, 0.573731005191803, 0.584334135055542, 0.6445740461349487 ], "feedback_forward_norm_ratio": [ 0.7110515832901001, 0.7323321104049683, 0.7069358825683594, 0.7193056344985962, 0.6983659863471985, 0.6949356198310852, 0.7238355875015259, 0.723031222820282, 0.7164431214332581, 0.710602343082428, 0.7304889559745789, 0.7230876684188843, 0.7481958866119385, 0.7847121357917786, 0.7924403548240662, 0.7900992631912231, 0.7892081141471863, 0.787951648235321, 0.711616039276123 ], "innovation_negative_gradient_cosine": [ 0.042576856911182404, 0.04807133227586746, 0.07582877576351166, 0.07072202116250992, 0.10915401577949524, 0.10374511778354645, 0.14519003033638, 0.12541726231575012, 0.19553722441196442, 0.16349542140960693, 0.25410711765289307, 0.2118675708770752, 0.310130774974823, 0.24106627702713013, 0.4149003028869629, 0.32370972633361816, 0.5440131425857544, 0.39865854382514954, 0.6868242621421814 ], "normalization_state": "training_batch_stats_without_running_update", "raw_negative_gradient_cosine": [ 0.042576856911182404, 0.04807133227586746, 0.07582877576351166, 0.07072202116250992, 0.10915401577949524, 0.10374511778354645, 0.14519003033638, 0.12541726231575012, 0.19553722441196442, 0.16349542140960693, 0.25410711765289307, 0.2118675708770752, 0.310130774974823, 0.24106627702713013, 0.4149003028869629, 0.32370972633361816, 0.5440131425857544, 0.39865854382514954, 0.6868242621421814 ], "teaching_negative_gradient_cosine": [ 0.042576856911182404, 0.04807133227586746, 0.07582877576351166, 0.07072202116250992, 0.10915401577949524, 0.10374511778354645, 0.14519003033638, 0.12541726231575012, 0.19553722441196442, 0.16349542140960693, 0.25410711765289307, 0.2118675708770752, 0.310130774974823, 0.24106627702713013, 0.4149003028869629, 0.32370972633361816, 0.5440131425857544, 0.39865854382514954, 0.6868242621421814 ], "wall_s": 0.1743333339691162 }, "epochs": [], "evaluation_protocol": { "test_evaluations": 0, "test_used_for_selection": false, "validation_evaluations": 1 }, "final": { "accuracy": 0.1004, "epoch": 0, "evaluation_split": "validation", "finite": true, "loss": 16.593759375, "step": 0 }, "hardware": { "cuda_device_name": "NVIDIA GeForce GTX 1080", "cuda_visible_devices": "7", "device": "cuda", "device_total_memory_bytes": 8507949056, "peak_memory_allocated_bytes": 1730634752, "peak_memory_reserved_bytes": 2181038080, "torch_version": "2.3.1+cu118" }, "mirror_warmup": { "first": { "conv_batch_size": 1, "mirror_response_residual_fraction": 1.4124661316345333, "mirror_response_residual_rms": 1.90927576279183, "mirror_update_rms": 0.25520769706611623, "readout_batch_size": 1024 }, "last": { "conv_batch_size": 1, "mirror_response_residual_fraction": 0.8051068529504194, "mirror_response_residual_rms": 1.090256044612914, "mirror_update_rms": 0.15445659525963165, "readout_batch_size": 1024 }, "mean": { "conv_batch_size": 1.0, "mirror_response_residual_fraction": 1.0790779544942406, "mirror_response_residual_rms": 1.461456808634224, "mirror_update_rms": 0.19879612560335747, "readout_batch_size": 1024.0 }, "steps": 20 }, "protocol_family": "oral_a_cifar_local_resnet_development", "provenance": { "git_commit": "18aff5b55e3ad1f6e244ad25a8eae44f25f4e5c1", "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": 0.0, "evaluation_wall_s": 0.442340612411499, "mirror_warmup_wall_s": 0.5587825775146484, "predictor_warmup_wall_s": 0.0, "timing_excludes_data_loading_hashing_and_model_construction": true, "total_timed_wall_s": 1.0013489723205566, "train_wall_s": 0.0 }, "work": { "apical_macs_per_example": 40108672, "causal_scalar_observations": 0, "components": { "apical_projection_macs": 0, "apical_regression_macs": 0, "bp_reverse_macs_estimate": 0, "local_weight_correlation_macs": 0, "mirror_feedback_prediction_macs": 815267840, "mirror_local_correlation_macs": 815267840, "mirror_response_macs": 815267840, "ordinary_forward_macs": 0, "perturbation_forward_macs": 0, "warmup_clean_forward_macs": 0 }, "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": 0, "mirror_probe_examples": 20, "mirror_readout_probe_examples": 20480, "per_example_cross_entropy_terms": 0, "total_clean_forward_examples": 0, "total_forward_equivalent_examples": 0, "total_macs_estimate": 2445803520 } }