Processing Multi-Layer Perceptrons In-Memory
Important modern applications such as machine learning, deep learning, graph processing, databases (and many others) are memory-bound. This creates a bottleneck caused by the movement of large amounts of data between the main memory and the CPU. Processing-in-Memory (PiM) is currently viewed as a useful new paradigm to alleviate such bottlenecks by computing the data where it resides, i.e., in memory itself. Our goal is to analyze the potential of modern general-purpose PiM architectures to accelerate neural networks (NN s), which constantly consume high volumes of new data (i.e., low data reutilization) and are ideal for in-memory processing. We selected the UPMEM system as it is the first commercially available general-purpose PiM architecture. In this work, we implemented a multi-layer perceptron and evaluated the implementation in real use cases. We compared the PiM implementation with a sequential version running in an Intel Xeon Silver 4215 CPU. The UPMEM implementation achieved up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$260\times$</tex> speedup for performing inference exploiting the available PiM memory.
Authors
- João Dinis Ferreira (ORCID: https://orcid.org/0000-0003-3855-3906)
- Oscar Ferraz (ORCID: https://orcid.org/0000-0001-5266-9740)
- Pedro Carrinho (ORCID: https://orcid.org/0000-0002-1187-0963)
- Gabriel Falcão (ORCID: https://orcid.org/0000-0001-9805-6747)
- Yann Falevoz
- Vítor Silva (ORCID: https://orcid.org/0000-0003-2439-1184)
Institutions
- Zürcher Fachhochschule (CH)
- Instituto de Telecomunicações (PT)
- University of Coimbra (PT)
Publication Details
- Published
- 2024-11-04
- DOI
- https://doi.org/10.1109/sips62058.2024.00010
- Citations
- 3
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 1.04