DianNao family: energy-efficient hardware accelerators for machine learning

Yunji Chen, Tianshi Chen, Zhiwei Xu, Ninghui Sun, Olivier Temam

Abstract

Machine Learning (ML) tasks are becoming pervasive in a broad range of applications, and in a broad range of systems (from embedded systems to data centers). As computer architectures evolve toward heterogeneous multi-cores composed of a mix of cores and hardware accelerators, designing hardware accelerators for ML techniques can simultaneously achieve high efficiency and broad application scope. While efficient computational primitives are important for a hardware accelerator, inefficient memory transfers can potentially void the throughput, energy, or cost advantages of accelerators, that is, an Amdahl's law effect, and thus, they should become a first-order concern, just like in processors, rather than an element factored in accelerator design on a second step. In this article, we introduce a series of hardware accelerators (i.e., the DianNao family) designed for ML (especially neural networks), with a special emphasis on the impact of memory on accelerator design, performance, and energy. We show that, on a number of representative neural network layers, it is possible to achieve a speedup of 450.65x over a GPU, and reduce the energy by 150.31x on average for a 64-chip DaDianNao system (a member of the DianNao family).<!-- END_PAGE_1 -->
BibTeX
@article{chen2016diannao,
  author = {Yunji Chen and Tianshi Chen and Zhiwei Xu and Ninghui Sun and Olivier Temam},
  title = {{DianNao family: energy-efficient hardware accelerators for machine learning}},
  journal = {Communications of the ACM},
  year = {2016},
  doi = {10.1145/2996864},
}

Loading related content...

Figure