dl-framework-benchmark-eval
A detailed comparative study of open source deep learning frameworks — Al-Bdour et al. (2019) (arXiv:1903.00102, 2019)
What this evaluates
Evaluates the execution speed and hardware resource utilization of three open-source deep learning frameworks (TensorFlow, Theano, CNTK) across standard computer vision, NLP, and custom datasets.
Datasets
- MNIST — total ?; splits: train (-1), test (-1)
- CIFAR-10 — total ?; splits: train (-1), test (-1)
- IMDB — total ?; splits: train (-1), test (-1)
- Self-Driving Car — total ?; splits: train (-1)
- Penn TreeBank — total ?; splits: train (-1), test (-1)
Metrics
processing_time (primary) — range: seconds
- Wall-clock time in seconds (or hours) required to complete the training process for a given model on a specified hardware environment.
accuracy — range: percent
- Percentage of correctly classified samples on the test set.
perplexity — range: other
- Exponential of the average negative log-likelihood of the test set, used for language modeling evaluation.
cpu_utilization — range: percent
- Percentage of CPU capacity actively used during training.
gpu_utilization — range: percent
- Percentage of GPU compute capacity actively used during training.
memory_utilization — range: percent
- Percentage of system or GPU memory consumed during training.
Input / output format
Input: Dataset, framework (CNTK, TensorFlow, Theano), hardware environment (CPU/GPU), and thread count (for CPU runs).
Output: Processing time in seconds/hours, CPU/GPU/memory utilization percentages, final model accuracy or perplexity, and number of epochs to convergence.
Scoring recipe
def evaluate_framework(dataset, framework, hardware, threads):
start_time = time.time()
model = build_model(framework, dataset)
train(model, dataset, hardware, threads)
elapsed = time.time() - start_time
util_cpu = measure_cpu_usage()
util_gpu = measure_gpu_usage()
util_mem = measure_memory_usage()
acc = compute_accuracy(model, dataset.test)
return elapsed, util_cpu, util_gpu, util_mem, acc
Common pitfalls
- Hardware specifications (CPU cores, GPU model, RAM) drastically change results; comparisons are only valid on identical hardware.
- CNTK's Python API does not support CPU multithreading, so CPU results for CNTK are limited to single-thread or default core counts.
- The 'Self-Driving Car' dataset is a custom, non-standard dataset, making cross-study comparisons difficult.
- Processing time includes training time, not inference time, which may not reflect deployment latency.
Evidence (verbatim from paper)
Table 4 shows the CPU and GPU processing times for each dataset. ... The metrics measurement of each framework was conducted to explain the failure of one of the selected frameworks.
Citation
@misc{albdour2019frameworks,
title={A detailed comparative study of open source deep learning frameworks},
author={Al-Bdour et al. (2019)},
year={2019},
note={arXiv:1903.00102}
}
1---2name: dl-framework-benchmark-eval3description: Evaluates the execution speed and hardware resource utilization of three open-source deep learning frameworks (TensorFlow, Theano, CNTK) across standard computer vision, NLP, and custom datasets. Use when the user wants to benchmark on MNIST, CIFAR-10, IMDB, Self-Driving Car, Penn TreeBank, or asks about evaluating this task. Reports processing_time.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/dl-framework-benchmark-eval6 skill_kind: dataset_eval7 source_arxiv: 1903.001028 bibtex_key: albdour2019frameworks9 confidence: high10---1112# dl-framework-benchmark-eval1314> A detailed comparative study of open source deep learning frameworks — Al-Bdour et al. (2019) (arXiv:1903.00102, 2019)1516## What this evaluates1718Evaluates the execution speed and hardware resource utilization of three open-source deep learning frameworks (TensorFlow, Theano, CNTK) across standard computer vision, NLP, and custom datasets.1920## Datasets2122- **MNIST** — total ?; splits: train (-1), test (-1)23- **CIFAR-10** — total ?; splits: train (-1), test (-1)24- **IMDB** — total ?; splits: train (-1), test (-1)25- **Self-Driving Car** — total ?; splits: train (-1)26- **Penn TreeBank** — total ?; splits: train (-1), test (-1)2728## Metrics2930- `processing_time` **(primary)** — range: seconds31 - Wall-clock time in seconds (or hours) required to complete the training process for a given model on a specified hardware environment.32- `accuracy` — range: percent33 - Percentage of correctly classified samples on the test set.34- `perplexity` — range: other35 - Exponential of the average negative log-likelihood of the test set, used for language modeling evaluation.36- `cpu_utilization` — range: percent37 - Percentage of CPU capacity actively used during training.38- `gpu_utilization` — range: percent39 - Percentage of GPU compute capacity actively used during training.40- `memory_utilization` — range: percent41 - Percentage of system or GPU memory consumed during training.4243## Input / output format4445**Input**: Dataset, framework (CNTK, TensorFlow, Theano), hardware environment (CPU/GPU), and thread count (for CPU runs).4647**Output**: Processing time in seconds/hours, CPU/GPU/memory utilization percentages, final model accuracy or perplexity, and number of epochs to convergence.4849## Scoring recipe5051```python52def evaluate_framework(dataset, framework, hardware, threads):53 start_time = time.time()54 model = build_model(framework, dataset)55 train(model, dataset, hardware, threads)56 elapsed = time.time() - start_time57 util_cpu = measure_cpu_usage()58 util_gpu = measure_gpu_usage()59 util_mem = measure_memory_usage()60 acc = compute_accuracy(model, dataset.test)61 return elapsed, util_cpu, util_gpu, util_mem, acc62```6364## Common pitfalls6566- Hardware specifications (CPU cores, GPU model, RAM) drastically change results; comparisons are only valid on identical hardware.67- CNTK's Python API does not support CPU multithreading, so CPU results for CNTK are limited to single-thread or default core counts.68- The 'Self-Driving Car' dataset is a custom, non-standard dataset, making cross-study comparisons difficult.69- Processing time includes training time, not inference time, which may not reflect deployment latency.7071## Evidence (verbatim from paper)7273> Table 4 shows the CPU and GPU processing times for each dataset. ... The metrics measurement of each framework was conducted to explain the failure of one of the selected frameworks.7475## Citation7677```bibtex78@misc{albdour2019frameworks,79 title={A detailed comparative study of open source deep learning frameworks},80 author={Al-Bdour et al. (2019)},81 year={2019},82 note={arXiv:1903.00102}83}84```8586- arXiv: 1903.00102