Back to search

Hong Kong University of Science and Technology

Efficiently accelerating CNNs and transformers on edge : innovative compute-in-memory techniques with SRAM and non-volatile memories

Abstract

dc:description

<p>The rapid growth of artificial intelligence (AI) and deep learning technologies has catalyzed transformative advancements across various domains, with Convolutional Neural Networks (CNNs) and Transformer models spearheading this evolution. Despite their potential, deploying these complex models on resource-constrained edge devices poses significant challenges, primarily due to inherent memory and computation bottlenecks. This thesis investigates innovative compute-in-memory (CIM) architectures aimed at addressing these challenges, with a particular focus on enhancing AI acceleration in edge environments.</p> <p>We present a suite of CIM designs, featuring SRAM-based CIM macros that utilize a time-current-based multiply-and-accumulate (MAC) mechanism, alongside a novel hybrid CIM architecture, which seamlessly combines SRAM and non-volatile Resistive RAM (ReRAM) technologies. These designs are crafted to minimize data transfer, boost energy efficiency, and preserve computation accuracy, all of which are essential for real-time AI applications on edge devices. The SRAM CIM design achieves high throughput and energy efficiency by embedding MAC and ADC operations directly within SRAM cells. In contrast, Hybrid CIM leverages the high density of ReRAM and the rapid processing capabilities of SRAM to enhance the computation speed, precision and resilience against device variations. Moreover, we propose a hybrid CIM accelerator architecture specifically optimized for the deployment of CNNs and Transformers on edge devices. This architecture integrates ReRAM and SRAM at a fine granular level and employs a differential sensing scheme to enable efficient and accurate parameter storage and retrieval. An algorithm-architecture co-design strategy is implemented to optimize the data flow of Multi-Head Attention (MHA) in the Transformer models, effectively alleviating I/O bottlenecks and improving scalability for processing long sequences. Experimental evaluations reveal that our design achieves remarkable energy efficiency and inference throughput, outperforming existing architectures and establishing itself as a promising solution for accelerating Al on edge devices.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Xiaomeng
Contributors dc:contributor
  • Tsui, Chi Ying

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Wang, Xiaomeng. Efficiently accelerating CNNs and transformers on edge : innovative compute-in-memory techniques with SRAM and non-volatile memories. 2025. http://repository.hkust.edu.hk/ir/Record/1783.1-150800