Saved in:
Bibliographic Details
Main Authors: Carrinho, Pedro, Moghadaspour, Hamid, Ferraz, Oscar, Ferreira, João Dinis, Falevoz, Yann, Silva, Vitor, Falcao, Gabriel
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.07317
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912531081068544
author Carrinho, Pedro
Moghadaspour, Hamid
Ferraz, Oscar
Ferreira, João Dinis
Falevoz, Yann
Silva, Vitor
Falcao, Gabriel
author_facet Carrinho, Pedro
Moghadaspour, Hamid
Ferraz, Oscar
Ferreira, João Dinis
Falevoz, Yann
Silva, Vitor
Falcao, Gabriel
contents In modern computer architectures, the performance of many memory-bound workloads (e.g., machine learning, graph processing, databases) is limited by the data movement bottleneck that emerges when transferring large amounts of data between the main memory and the central processing unit (CPU). Processing-in-memory is an emerging computing paradigm that aims to alleviate this data movement bottleneck by performing computation close to or within the memory units, where data resides. One example of a prevalent workload whose performance is bound by the data movement bottleneck is the training and inference process of artificial neural networks. In this work, we analyze the potential of modern general-purpose PiM architectures to accelerate neural networks. To this end, we selected the UPMEM PiM system, the first commercially available real-world general-purpose PiM architecture. We compared the implementation of multilayer perceptrons (MLPs) in PiM with a sequential baseline running on an Intel Xeon CPU. The UPMEM implementation achieves up to $259\times$ better performance for inference of large batch sizes when compared against the CPU that exploits the size of the available PiM memory. Additionally, two smaller MLPs were implemented using UPMEM's working SRAM (WRAM), a scratchpad memory, to evaluate their performance against a low-power Nvidia Jetson graphics processing unit (GPU), providing further insights into the efficiency of UPMEM's PiM for neural network inference. Results show that using WRAM achieves kernel execution times for MLP inference of under $3$ ms, which is within the same order of magnitude as low-power GPUs.
format Preprint
id arxiv_https___arxiv_org_abs_2508_07317
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Experimental Exploration of In-Memory Computing for Multi-Layer Perceptrons
Carrinho, Pedro
Moghadaspour, Hamid
Ferraz, Oscar
Ferreira, João Dinis
Falevoz, Yann
Silva, Vitor
Falcao, Gabriel
Distributed, Parallel, and Cluster Computing
Signal Processing
In modern computer architectures, the performance of many memory-bound workloads (e.g., machine learning, graph processing, databases) is limited by the data movement bottleneck that emerges when transferring large amounts of data between the main memory and the central processing unit (CPU). Processing-in-memory is an emerging computing paradigm that aims to alleviate this data movement bottleneck by performing computation close to or within the memory units, where data resides. One example of a prevalent workload whose performance is bound by the data movement bottleneck is the training and inference process of artificial neural networks. In this work, we analyze the potential of modern general-purpose PiM architectures to accelerate neural networks. To this end, we selected the UPMEM PiM system, the first commercially available real-world general-purpose PiM architecture. We compared the implementation of multilayer perceptrons (MLPs) in PiM with a sequential baseline running on an Intel Xeon CPU. The UPMEM implementation achieves up to $259\times$ better performance for inference of large batch sizes when compared against the CPU that exploits the size of the available PiM memory. Additionally, two smaller MLPs were implemented using UPMEM's working SRAM (WRAM), a scratchpad memory, to evaluate their performance against a low-power Nvidia Jetson graphics processing unit (GPU), providing further insights into the efficiency of UPMEM's PiM for neural network inference. Results show that using WRAM achieves kernel execution times for MLP inference of under $3$ ms, which is within the same order of magnitude as low-power GPUs.
title An Experimental Exploration of In-Memory Computing for Multi-Layer Perceptrons
topic Distributed, Parallel, and Cluster Computing
Signal Processing
url https://arxiv.org/abs/2508.07317