[Paper Review] TensorDIMM: A Practical Near-Memory Processing Architecture for Embeddings and Tensor Operations in Deep Learning
TensorDIMM proposes a near-memory processing architecture that integrates specialized processing cores into commodity DIMMs to accelerate embedding lookups and tensor operations in deep learning workloads. By leveraging a GPU-centric interconnect with a disaggregated memory pool, it achieves 6.2–17.6× performance improvements over CPU-only and hybrid CPU-GPU approaches in DNN-based recommender systems.
Recent studies from several hyperscalars pinpoint to embedding layers as the most memory-intensive deep learning (DL) algorithm being deployed in today's datacenters. This paper addresses the memory capacity and bandwidth challenges of embedding layers and the associated tensor operations. We present our vertically integrated hardware/software co-design, which includes a custom DIMM module enhanced with near-data processing cores tailored for DL tensor operations. These custom DIMMs are populated inside a GPU-centric system interconnect as a remote memory pool, allowing GPUs to utilize for scalable memory bandwidth and capacity expansion. A prototype implementation of our proposal on real DL systems shows an average 6.2-17.6x performance improvement on state-of-the-art recommender systems.
Motivation & Objective
- Address the memory capacity and bandwidth bottleneck in embedding layers, which are the most memory-intensive workloads in modern datacenters.
- Overcome the performance limitations of CPU-only and hybrid CPU-GPU execution models for large-scale embedding workloads.
- Design a practical, hardware-software co-designed system that enables scalable memory bandwidth and capacity expansion using commodity DRAM and near-memory processing.
- Demonstrate that near-memory processing can effectively exploit DRAM bandwidth for irregular, sparse memory access patterns typical of embedding operations.
Proposed method
- Introduce TensorDIMM, a custom DIMM with near-memory processing (NMP) cores optimized for tensor operations like embedding gathers and reductions.
- Deploy TensorDIMM in a GPU-centric system interconnect as a remote, disaggregated memory pool to scale memory capacity and bandwidth.
- Design a custom tensor instruction set architecture (ISA) and runtime system to manage data movement and computation offload to NMP cores.
- Utilize commodity buffered DRAM modules with minimal modifications, enabling practical deployment without changing existing memory standards.
- Implement and evaluate the design on an FPGA prototype using real-world DNN workloads, particularly for recommender systems.
- Optimize data access patterns by processing embeddings directly in memory, reducing off-chip data movement and latency.
Experimental results
Research questions
- RQ1How can near-memory processing be effectively leveraged to accelerate memory-intensive embedding operations in deep learning?
- RQ2What architectural and system-level design choices enable scalable memory bandwidth and capacity for large embedding tables?
- RQ3Can a hardware-software co-design using commodity DIMMs achieve significant performance gains over traditional CPU-only or hybrid CPU-GPU execution?
- RQ4How does the performance of near-memory processing compare to conventional CPU-based embedding lookups under realistic workloads?
- RQ5What is the practical feasibility and resource overhead of integrating NMP cores into standard DIMM form factors?
Key findings
- TensorDIMM achieves an average 6.2–15.0× performance improvement over CPU-only implementations on state-of-the-art DNN-based recommender systems.
- The architecture delivers 8.9–17.6× speedup compared to hybrid CPU-GPU workloads, significantly reducing latency from memory bottlenecks.
- The NMP cores in TensorDIMM achieve near-maximum DRAM bandwidth utilization, overcoming the <5% effective bandwidth seen in CPU-based embedding lookups.
- The FPGA prototype demonstrates low resource overhead, with a single NMP core consuming only 0.3% of LUTs and 0.02% of DSPs on a Xilinx Virtex UltraScale+ VCU1525 board.
- The system-level disaggregated memory pool enables scalable memory capacity and bandwidth, supporting embedding tables exceeding several hundred GBs.
- The custom tensor ISA and runtime system effectively manage data movement and offload computation, enabling seamless integration with existing GPU-accelerated inference pipelines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.