Dataset Viewer
Auto-converted to Parquet Duplicate
model_name
stringclasses
2 values
dataset_name
stringclasses
3 values
method_group
stringclasses
2 values
variant_name
stringlengths
8
36
best_accuracy
float64
0.4
0.94
final_accuracy
float64
0.34
0.94
final_f1_score
float64
0.35
0.94
total_energy_j
float64
224k
4.96M
total_energy_kwh
float64
0.06
1.38
total_time_sec
float64
3.01k
65.2k
total_co2_kg
float64
0.03
0.65
peak_vram_mb
float64
0
13k
num_parameters
int64
23.5M
23.9M
nonzero_parameters
int64
23.5M
23.9M
flops_or_macs
float64
model_size_mb
float64
89.9
91.4
resnet50_cifar
cifar100
cumulative_ablation
C1_cache
0.5916
0.5758
0.571995
583,462.827235
0.162073
7,754.37148
0.076985
9,017.13623
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
cumulative_ablation
C2_cache_amp
0.6307
0.6076
0.606307
241,142.228624
0.066984
3,233.031371
0.031817
4,307.428223
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
cumulative_ablation
C3_cache_amp_gradaccum
0.6306
0.6279
0.628047
237,387.670293
0.065941
3,187.790247
0.031322
3,493.512695
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
cumulative_ablation
C5_cache_amp_gradaccum_adaptivelr_l1
0.6753
0.6749
0.675139
240,012.089334
0.06667
3,225.301486
0.031668
3,584.957031
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
cumulative_ablation
C0_baseline
0.5822
0.5822
0.577501
596,643.7224
0.165734
7,918.133042
0.078724
8,918.829102
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
cumulative_ablation
C4_cache_amp_gradaccum_adaptivelr
0.6918
0.6903
0.69041
237,385.536079
0.06594
3,190.368048
0.031322
3,493.512695
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
cumulative_ablation
C6_full_e2am
0.6753
0.6749
0.675139
241,307.856294
0.06703
3,224.313761
0.031839
3,584.957031
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M0_baseline_fp32
0.5913
0.557
0.555869
564,906.445189
0.156918
7,413.579429
0.074536
3,368.136719
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M2_amp_only
0.6081
0.5987
0.595609
252,820.352727
0.070228
3,377.253181
0.033358
4,307.428223
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M4_l1_sparsity_only
0.5897
0.5769
0.576023
569,302.564332
0.15814
7,475.229676
0.075116
3,460.331055
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M3_grad_accum_only
0.6228
0.6151
0.616555
561,402.751887
0.155945
7,380.495633
0.074074
3,459.517578
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M1_cache_only
0.5947
0.5861
0.582235
564,047.959627
0.15668
7,414.785365
0.074423
8,919.704102
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M6_eag_only
0.5821
0.5428
0.543197
563,427.200843
0.156508
7,411.66221
0.074341
3,368.136719
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M5_adaptive_lr_only
0.7482
0.7482
0.748151
571,453.391005
0.158737
7,577.760956
0.0754
8,920.454102
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar100
individual_methods
M7_full_e2am
0.7008
0.7001
0.700132
233,116.496422
0.064755
3,122.941863
0.030758
3,590.457031
23,705,252
23,705,252
null
90.631401
resnet50_cifar
cifar10
cumulative_ablation
C1_cache
0.8452
0.8097
0.805897
630,654.61987
0.175182
8,494.626626
0.083211
3,523.983398
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
cumulative_ablation
C2_cache_amp
0.8595
0.8595
0.858567
238,636.03357
0.066288
3,188.626177
0.031487
4,304.103027
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
cumulative_ablation
C3_cache_amp_gradaccum
0.87
0.8688
0.867989
256,776.027558
0.071327
3,478.639358
0.03388
3,496.359375
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
cumulative_ablation
C5_cache_amp_gradaccum_adaptivelr_l1
0.9151
0.9143
0.914313
258,527.2095
0.071813
3,504.494153
0.034111
3,588.303711
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
cumulative_ablation
C0_baseline
0.8442
0.8418
0.83857
628,916.100677
0.174699
8,464.018795
0.082982
8,918.253906
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
cumulative_ablation
C4_cache_amp_gradaccum_adaptivelr
0.9084
0.9084
0.908445
256,026.506235
0.071118
3,475.861775
0.033781
3,496.359375
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
cumulative_ablation
C6_full_e2am
0.9151
0.9143
0.914313
258,009.428924
0.071669
3,503.007503
0.034043
3,588.303711
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M0_baseline_fp32
0.8298
0.7736
0.778633
572,469.68527
0.159019
7,588.375973
0.075534
8,918.253906
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M2_amp_only
0.8744
0.8468
0.846891
223,813.876705
0.062171
3,006.151853
0.029531
4,305.978027
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M4_l1_sparsity_only
0.8387
0.8235
0.822116
568,184.214545
0.157829
7,447.294893
0.074969
3,752.375977
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M3_grad_accum_only
0.872
0.8612
0.861635
558,640.727079
0.155178
7,331.690072
0.07371
3,753.996094
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M1_cache_only
0.8543
0.7971
0.787845
561,933.933035
0.156093
7,368.660716
0.074144
3,716.181641
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M6_eag_only
0.8452
0.8452
0.842105
579,947.291657
0.161096
7,653.851685
0.076521
3,738.379883
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M5_adaptive_lr_only
0.9397
0.9383
0.938466
560,301.802494
0.155639
7,368.432026
0.073929
3,716.181641
23,520,842
23,520,842
null
89.927933
resnet50_cifar
cifar10
individual_methods
M7_full_e2am
0.9088
0.907
0.907069
238,963.009322
0.066379
3,191.768892
0.03153
4,589.370605
23,520,842
23,520,842
null
89.927933
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C1_cache
0.4213
0.4077
0.410099
4,743,861.044395
1.317739
62,533.115773
0.625926
12,956.755859
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C2_cache_amp
0.4993
0.4484
0.454522
1,774,433.758188
0.492898
22,910.405385
0.234127
10,294.140625
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C3_cache_amp_gradaccum
0.5505
0.5505
0.549605
1,817,469.127012
0.504853
23,603.620317
0.239805
10,386.791992
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C5_cache_amp_gradaccum_adaptivelr_l1
0.6742
0.6742
0.673791
1,883,157.198178
0.523099
24,653.005835
0.248472
10,388.459961
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C0_baseline
0.4121
0.3441
0.345293
4,958,922.191505
1.377478
65,154.235398
0.654302
0
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C4_cache_amp_gradaccum_adaptivelr
0.6667
0.6656
0.664645
1,957,481.077354
0.543745
25,771.169976
0.258279
9,793.943848
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
cumulative_ablation
C6_full_e2am
0.6716
0.6699
0.669722
1,858,798.554268
0.516333
24,351.961327
0.245258
10,482.861328
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M0_baseline_fp32
0.4187
0.3814
0.381184
4,619,441.517487
1.283178
60,871.167781
0.60951
9,643.068848
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M2_amp_only
0.4889
0.4787
0.479646
1,845,996.018507
0.512777
24,267.777451
0.243569
10,386.791992
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M4_l1_sparsity_only
0.4112
0.4085
0.397086
4,456,064.230824
1.237796
58,649.496194
0.587953
12,394.574707
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M3_grad_accum_only
0.5141
0.4922
0.488954
4,700,977.122237
1.305827
61,979.186805
0.620268
12,956.755859
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M1_cache_only
0.4027
0.3817
0.374706
4,351,668.62588
1.208797
57,540.657292
0.574178
12,956.755859
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M6_eag_only
0.3996
0.3717
0.367363
4,537,769.35643
1.260491
59,534.359079
0.598733
12,956.755859
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M5_adaptive_lr_only
0.6243
0.6243
0.624695
4,290,267.019845
1.191741
56,538.72137
0.566077
12,956.755859
23,910,152
23,910,152
null
91.413033
resnet50_smallstem
tiny_imagenet
individual_methods
M7_full_e2am
0.6641
0.6641
0.66312
1,952,220.752925
0.542284
25,680.622916
0.257585
10,388.459961
23,910,152
23,910,152
null
91.413033

E2AM Ablation Results: ResNet-50

Energy-aware training ablation study for ResNet-50 across three image-classification datasets: CIFAR-10, CIFAR-100, and Tiny-ImageNet.

Each dataset has 15 training variants (8 individual-method M0..M7, 7 cumulative ablation C0..C6) at 50 epochs, plus a 5-variant deployment pipeline (FP32 baseline, structured pruning, pruning+finetune, INT8 quantization, pruned+INT8).

Status: 45 completed variants, 0 partial.

Quick links

Headline results

Dataset Best variant Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (sec)
CIFAR-10 M5_adaptive_lr_only 0.9397 0.1556 0.0739 7368
CIFAR-100 M5_adaptive_lr_only 0.7482 0.9358 0.1587 0.0754 7578
Tiny-ImageNet C5_cache_amp_gradaccum_adaptivelr_l1 0.6742 0.8651 0.5231 0.2485 24653

Cross-dataset comparison

How the same training variants behave across CIFAR-10, CIFAR-100, and Tiny-ImageNet.

Accuracy By Variant Across Datasets

accuracy_by_variant_across_datasets

Energy By Variant Across Datasets

energy_by_variant_across_datasets

Per-dataset results

CIFAR-10

M-matrix (individual methods)

Variant Epochs Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (s) Status
M0_baseline_fp32 50 0.8298 0.1590 0.0755 7588 completed
M1_cache_only 50 0.8543 0.1561 0.0741 7369 completed
M2_amp_only 50 0.8744 0.0622 0.0295 3006 completed
M3_grad_accum_only 50 0.8720 0.1552 0.0737 7332 completed
M4_l1_sparsity_only 50 0.8387 0.1578 0.0750 7447 completed
M5_adaptive_lr_only 50 0.9397 0.1556 0.0739 7368 completed
M6_eag_only 50 0.8452 0.1611 0.0765 7654 completed
M7_full_e2am 50 0.9088 0.0664 0.0315 3192 completed

C-matrix (cumulative ablation)

Variant Epochs Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (s) Status
C0_baseline 50 0.8442 0.1747 0.0830 8464 completed
C1_cache 50 0.8452 0.1752 0.0832 8495 completed
C2_cache_amp 50 0.8595 0.0663 0.0315 3189 completed
C3_cache_amp_gradaccum 50 0.8700 0.0713 0.0339 3479 completed
C4_cache_amp_gradaccum_adaptivelr 50 0.9084 0.0711 0.0338 3476 completed
C5_cache_amp_gradaccum_adaptivelr_l1 50 0.9151 0.0718 0.0341 3504 completed
C6_full_e2am 50 0.9151 0.0717 0.0340 3503 completed

accuracy_bar.png

energy_bar.png

co2_bar.png

accuracy_vs_energy_scatter.png

CIFAR-100

M-matrix (individual methods)

Variant Epochs Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (s) Status
M0_baseline_fp32 50 0.5913 0.8446 0.1569 0.0745 7414 completed
M1_cache_only 50 0.5947 0.8582 0.1567 0.0744 7415 completed
M2_amp_only 50 0.6081 0.8652 0.0702 0.0334 3377 completed
M3_grad_accum_only 50 0.6228 0.8766 0.1559 0.0741 7380 completed
M4_l1_sparsity_only 50 0.5897 0.8576 0.1581 0.0751 7475 completed
M5_adaptive_lr_only 50 0.7482 0.9358 0.1587 0.0754 7578 completed
M6_eag_only 50 0.5821 0.8440 0.1565 0.0743 7412 completed
M7_full_e2am 50 0.7008 0.9087 0.0648 0.0308 3123 completed

C-matrix (cumulative ablation)

Variant Epochs Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (s) Status
C0_baseline 50 0.5822 0.8628 0.1657 0.0787 7918 completed
C1_cache 50 0.5916 0.8505 0.1621 0.0770 7754 completed
C2_cache_amp 50 0.6307 0.8665 0.0670 0.0318 3233 completed
C3_cache_amp_gradaccum 50 0.6306 0.8761 0.0659 0.0313 3188 completed
C4_cache_amp_gradaccum_adaptivelr 50 0.6918 0.9042 0.0659 0.0313 3190 completed
C5_cache_amp_gradaccum_adaptivelr_l1 50 0.6753 0.8974 0.0667 0.0317 3225 completed
C6_full_e2am 50 0.6753 0.8974 0.0670 0.0318 3224 completed

accuracy_bar.png

energy_bar.png

co2_bar.png

accuracy_vs_energy_scatter.png

Tiny-ImageNet

M-matrix (individual methods)

Variant Epochs Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (s) Status
M0_baseline_fp32 50 0.4187 0.6629 1.2832 0.6095 60871 completed
M1_cache_only 50 0.4027 0.6637 1.2088 0.5742 57541 completed
M2_amp_only 50 0.4889 0.7445 0.5128 0.2436 24268 completed
M3_grad_accum_only 50 0.5141 0.7502 1.3058 0.6203 61979 completed
M4_l1_sparsity_only 50 0.4112 0.6874 1.2378 0.5880 58649 completed
M5_adaptive_lr_only 50 0.6243 0.8426 1.1917 0.5661 56539 completed
M6_eag_only 50 0.3996 0.6543 1.2605 0.5987 59534 completed
M7_full_e2am 50 0.6641 0.8580 0.5423 0.2576 25681 completed

C-matrix (cumulative ablation)

Variant Epochs Top-1 Top-5 Energy (kWh) CO₂ (kg) Time (s) Status
C0_baseline 50 0.4121 0.6262 1.3775 0.6543 65154 completed
C1_cache 50 0.4213 0.7007 1.3177 0.6259 62533 completed
C2_cache_amp 50 0.4993 0.7211 0.4929 0.2341 22910 completed
C3_cache_amp_gradaccum 50 0.5505 0.7980 0.5049 0.2398 23604 completed
C4_cache_amp_gradaccum_adaptivelr 50 0.6667 0.8607 0.5437 0.2583 25771 completed
C5_cache_amp_gradaccum_adaptivelr_l1 50 0.6742 0.8651 0.5231 0.2485 24653 completed
C6_full_e2am 49 0.6716 0.8621 0.5163 0.2453 24352 completed

accuracy_bar.png

energy_bar.png

co2_bar.png

accuracy_vs_energy_scatter.png

Deployment results

See paper_tables/deployment_results_table.csv.

Methodology

Model: ResNet-50 (~23.5M params).

Training protocol: from scratch, SGD with momentum 0.9, weight decay 5e-4, initial LR 0.1, 50 epochs, 1 warmup epoch. All variants share the same protocol so ablation comparison stays apples-to-apples across the matrix.

Input: native dataset resolution upsampled to 32x32 in-model via nn.Upsample (FX-traceable to keep D3/D4 INT8 quantization possible).

Optimization toggles (the 5 individual methods and their cumulative combinations):

Method Mechanism
Tensor cache Training images held in RAM as a normalized float tensor
AMP torch.cuda.amp.autocast + GradScaler
Grad accum (x2) Accumulate gradients across 2 mini-batches
L1 sparsity Lambda * sum(
Cosine LR lr(t) = lr_max * 0.5 * (1 + cos(pi*t/T))
EAG early-stop Energy-Aware Gain: stop when accuracy gain per joule plateaus

Energy measurement: GPU power sampled at 1 Hz via nvidia-smi --query-gpu=power.draw. Energy = trapezoidal integration over power-vs-time. CO₂ = energy_kWh * 0.475 (global average grid intensity).

Hardware: Single NVIDIA T4 (14.5 GB) on Kaggle.

Repository structure

runs/
  cifar10/
  cifar100/
  tiny_imagenet/
    individual_methods/M0..M7/   (history.csv, metrics_summary.json,
                                  best_model.pt, last_model.pt, config.yaml)
    cumulative_ablation/C0..C6/  (same)
paper_tables/                     (6 unified CSV tables)
comparison_plots/<dataset>/       (per-dataset plots)
comparison_plots/cross_dataset/   (cross-dataset plots)
README.md                         (this file)

Reproducibility

Each variant directory has a config.yaml with the exact configuration used. To reproduce:

  1. huggingface-cli download Shanmuk4622/E2AM_ResNet50 --repo-type dataset
  2. Load the e2am.py library and call the appropriate config factory
  3. Run e2am.train_one_run(cfg)

Limitations

  • Energy measurement is GPU-only (via nvidia-smi); CPU/memory power not included
  • Pruning is mask-based; no wall-clock speedup without sparsity-aware runtime
  • INT8 (D3/D4) is CPU FX static quantization (fbgemm); may fail on transformer blocks. Failures logged in metrics.json rather than crashing.
  • Single-T4 reproduction; multi-GPU not validated
  • SGD@0.1 is suboptimal for some architectures; the paper compares variant-to-variant deltas which remain meaningful regardless

Citation

@misc{e2am_ablation_resnet50,
  title  = {E2AM: Energy-Aware Adaptive Model Training Ablation Study (ResNet-50)},
  author = {Shanmuk},
  year   = {2026},
  howpublished = {\url{https://huggingface.co/datasets/Shanmuk4622/E2AM_ResNet50}},
}

This README was auto-generated on 2026-07-02 08:14 UTC. Source repo: Shanmuk4622/E2AM_ResNet50

Downloads last month
268