English

BrainSlug: Transparent Acceleration of Deep Learning Through Depth-First Parallelism

Distributed, Parallel, and Cluster Computing 2018-04-24 v1 Artificial Intelligence Computer Vision and Pattern Recognition Neural and Evolutionary Computing Performance

Abstract

Neural network frameworks such as PyTorch and TensorFlow are the workhorses of numerous machine learning applications ranging from object recognition to machine translation. While these frameworks are versatile and straightforward to use, the training of and inference in deep neural networks is resource (energy, compute, and memory) intensive. In contrast to recent works focusing on algorithmic enhancements, we introduce BrainSlug, a framework that transparently accelerates neural network workloads by changing the default layer-by-layer processing to a depth-first approach, reducing the amount of data required by the computations and thus improving the performance of the available hardware caches. BrainSlug achieves performance improvements of up to 41.1% on CPUs and 35.7% on GPUs. These optimizations come at zero cost to the user as they do not require hardware changes and only need tiny adjustments to the software.

Keywords

Cite

@article{arxiv.1804.08378,
  title  = {BrainSlug: Transparent Acceleration of Deep Learning Through Depth-First Parallelism},
  author = {Nicolas Weber and Florian Schmidt and Mathias Niepert and Felipe Huici},
  journal= {arXiv preprint arXiv:1804.08378},
  year   = {2018}
}

Comments

Technical Report, 13 pages

R2 v1 2026-06-23T01:32:22.790Z