WWW: What, When, Where to Compute-in-Memory

πŸ“… 2023-12-26
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Matrix multiplication in ML inference faces significant energy-efficiency bottlenecks, exacerbated by data movement overheads in conventional architectures. Method: This paper systematically addresses three core challenges in Compute-in-Memory (CiM) chip-level integration: CiM type selection, activation timing determination, and optimal deployment location across cache hierarchies (L1/L2). We propose the first CiM-aware β€œWhat-When-Where” three-dimensional co-design framework, integrating scalable analytical modeling with customized mapping algorithms to maximize weight reuse and minimize data movement. An INT-8 precision CiM prototype is implemented on a tensor-core-like architecture. Contribution/Results: Experiments demonstrate up to 3.4Γ— energy-efficiency improvement and 15.6Γ— throughput gain over baseline accelerators. The framework provides a quantifiable, reusable methodology and empirical benchmarks for practical CiM deployment in AI accelerators.
πŸ“ Abstract
Matrix multiplication is the dominant computation during Machine Learning (ML) inference. To efficiently perform such multiplication operations, Compute-in-memory (CiM) paradigms have emerged as a highly energy efficient solution. However, integrating compute in memory poses key questions, such as 1) What type of CiM to use: Given a multitude of CiM design characteristics, determining their suitability from architecture perspective is needed. 2) When to use CiM: ML inference includes workloads with a variety of memory and compute requirements, making it difficult to identify when CiM is more beneficial than standard processing cores. 3) Where to integrate CiM: Each memory level has different bandwidth and capacity, creating different data reuse opportunities for CiM integration. To answer such questions regarding on-chip CiM integration for accelerating ML workloads, we use an analytical architecture-evaluation methodology with tailored mapping algorithm. The mapping algorithm aims to achieve highest weight reuse and reduced data movements for a given CiM prototype and workload. Our analysis considers the integration of CiM prototypes into the cache levels of a tensor-core-like architecture, and shows that CiM integrated memory improves energy efficiency by up to 3.4x and throughput by up to 15.6x compared to established baseline with INT-8 precision. We believe the proposed work provides insights into what type of CiM to use, and when and where to optimally integrate it in the cache hierarchy for efficient matrix multiplication.
Problem

Research questions and friction points this paper is trying to address.

Determining suitable Compute-in-Memory (CiM) types for ML inference.
Identifying optimal timing for CiM use in ML workloads.
Deciding where to integrate CiM in memory hierarchy for efficiency.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Analytical architecture-evaluation methodology used
Tailored mapping algorithm for weight reuse
CiM integration in cache levels analyzed
πŸ”Ž Similar Papers
No similar papers found.
T
Tanvi Sharma
M
M. Ali
I
I. Chakraborty
K
Kaushik Roy
Fellow, IEEE