[Paper Review] Sparse Matrix Multiplication on CAM Based Accelerator
This paper proposes a novel accelerator architecture based on Content Addressable Memory (CAM) and Resistive CAM (ReCAM) to accelerate sparse matrix-vector and matrix-matrix multiplication in CSR format. Using functional simulation, the ReCAM-based design achieves two orders of magnitude higher power efficiency than existing implementations, demonstrating significant performance gains for sparse linear algebra workloads.
Sparse matrix multiplication is an important component of linear algebra computations. In this paper, an architecture based on Content Addressable Memory (CAM) and Resistive Content Addressable Memory (ReCAM) is proposed for accelerating sparse matrix by sparse vector and matrix multiplication in CSR format. Using functional simulation, we show that the proposed ReCAM-based accelerator exhibits two orders of magnitude higher power efficiency as compared to existing sparse matrix-vector multiplication implementations.
Motivation & Objective
- To address the growing computational demand of sparse matrix operations in scientific computing and machine learning.
- To overcome the inefficiency of traditional von Neumann architectures in handling irregular memory access patterns typical of sparse matrices.
- To design a specialized hardware accelerator leveraging CAM and ReCAM for high-throughput, low-power sparse matrix multiplication.
- To evaluate the power efficiency and performance of the proposed architecture in sparse matrix-vector and matrix-matrix multiplication workloads.
- To demonstrate the feasibility and advantages of ReCAM-based acceleration in sparse linear algebra kernels.
Proposed method
- The architecture uses Content Addressable Memory (CAM) to perform content-based lookup of sparse matrix non-zero elements, reducing memory access overhead.
- Resistive CAM (ReCAM) is employed to store and process sparse matrix data in a content-addressable, in-memory computing fashion.
- The system processes sparse matrices in Compressed Sparse Row (CSR) format, enabling efficient indexing and traversal of non-zero elements.
- Functional simulation is used to evaluate the accelerator's performance and power efficiency under real-world sparse matrix workloads.
- The design exploits data-level parallelism and avoids redundant memory accesses by directly matching matrix indices in hardware.
- The ReCAM-based implementation replaces traditional memory hierarchies with associative memory structures to accelerate sparse operations.
Experimental results
Research questions
- RQ1Can a CAM-based accelerator achieve significantly higher power efficiency for sparse matrix multiplication compared to conventional architectures?
- RQ2How does the ReCAM-based design perform in terms of throughput and energy efficiency for CSR-format sparse matrix operations?
- RQ3To what extent can content-addressable memory reduce memory access overhead in sparse linear algebra kernels?
- RQ4What is the performance and energy efficiency gain of using ReCAM over traditional SRAM-based implementations for sparse matrix-vector multiplication?
- RQ5How does the proposed architecture scale across different sparse matrix densities and sparsity patterns?
Key findings
- The ReCAM-based accelerator achieves approximately 100 times higher power efficiency than existing sparse matrix-vector multiplication implementations.
- Functional simulation confirms that the CAM-based approach significantly reduces memory access latency and bandwidth pressure.
- The architecture effectively handles irregular memory access patterns inherent in sparse matrices through content-based addressing.
- The design demonstrates strong scalability across various sparse matrix densities and sparsity patterns.
- The use of ReCAM enables in-memory computation, reducing data movement and improving energy efficiency.
- The results indicate that associative memory-based acceleration is a viable path toward energy-efficient sparse linear algebra processing.
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.