Full-Stack Optimization for CAM-Only DNN Inference

João Paulo C. de Lima, Asif Ali Khan, Luigi Carro, Jeronimo Castrillon
1/23/2024
cs.ARcs.ETcs.LG

No confident code implementation found for this paper.

Abstract

The accuracy of neural networks has greatly improved across various domains over the past years. Their ever-increasing complexity, however, leads to prohibitively high energy demands and latency in von Neumann systems. Several computing-in-memory (CIM) systems have recently been proposed to overcome this, but trade-offs involving accuracy, hardware reliability, and scalability for large models remain a challenge. Additionally, for some CIM designs, the activation movement still requires considerable time and energy. This paper explores the combination of algorithmic optimizations for ternary weight neural networks and associative processors (APs) implemented using racetrack memory (RTM). We propose a novel compilation flow to optimize convolutions on APs by reducing their arithmetic intensity. By leveraging the benefits of RTM-based APs, this approach substantially reduces data transfers within the memory while addressing accuracy, energy efficiency, and reliability concerns. Concretely, our solution improves the energy efficiency of ResNet-18 inference on ImageNet by 7.5x compared to crossbar in-memory accelerators while retaining software accuracy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lima2024fullstack,
  title  = {Full-Stack Optimization for CAM-Only DNN Inference},
  author = {João Paulo C. de Lima and Asif Ali Khan and Luigi Carro and Jeronimo Castrillon},
  year   = {2024},
  eprint = {2401.12630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.12630v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.12630.svg)](https://codeofpaper.com/paper/2401.12630)

Discussion