Ashkan Moradifirouzabadi
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Ashkan Moradifirouzabadi has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Mingu Kang
University of California San Diego
4 shared publications - Tajana Rosing
University of California San Diego, La Jolla, USA
3 shared publications - Chang Eun Song
University of California San Diego
2 shared publications - Eric Pop
Stanford University
2 shared publications - Xiangjin Wu
Department of Electrical Engineering, Stanford University, Stanford, CA, USA
2 shared publications Zheyu Li
Department of Computer Science and Engineering, University of California San Diego, La Jolla, CA, USA
2 shared publications
Latest Publications
- 3 September 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Solid-State Circuits
- Vol. 61 (5) , 2309-2321
HyAtt: A Hybrid Attention Accelerator for Transformers With Analog In-Memory Computing
Transformer-based models have achieved state-of-the-art performance in various deep learning domains, yet their heavy computation and memory demands, particularly in the self-attention mechanism, present significant challenges for efficient hardware implementation. In this work, we propose HyAtt, a hybrid attention accelerator that integrates both analog and digital computing paradigms to optimize Transformer-based workloads. Our architecture offloads token pruning to a computing-in-memory (CIM)-based analog core while delegating attention computations for unpruned tokens to a dedicated digital processor. An efficient task scheduling procedure parallelizes the token pruning, data fetching, and computations for enhanced performance. In the analog core, we introduce a transposable memory array with 9T SRAM cells for charge sharing-based CIM operations with an analog-to-digital converter (ADC)-less scheme to enhance energy efficiency. HyAtt prunes 77.9% of tokens with only a 0.65% accuracy drop, requiring the digital core to process the attention only for the remaining 22.1% of tokens. The silicon prototype of HyAtt is fabricated in a 65-nm process and achieves an operational frequency of 1.1 GHz. It delivers a peak energy efficiency of 14.8 and 1.65 TOPS/W at 0.7 V and a peak area efficiency of 976.6 and 79.4 GOPS/mm2 at 1.2 V at CIM and chip levels, respectively.
- 3 September 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Solid-State Circuits
- Vol. 61 (5) , 2309-2321
HyAtt: A Hybrid Attention Accelerator for Transformers With Analog In-Memory Computing
Transformer-based models have achieved state-of-the-art performance in various deep learning domains, yet their heavy computation and memory demands, particularly in the self-attention mechanism, present significant challenges for efficient hardware implementation. In this work, we propose HyAtt, a hybrid attention accelerator that integrates both analog and digital computing paradigms to optimize Transformer-based workloads. Our architecture offloads token pruning to a computing-in-memory (CIM)-based analog core while delegating attention computations for unpruned tokens to a dedicated digital processor. An efficient task scheduling procedure parallelizes the token pruning, data fetching, and computations for enhanced performance. In the analog core, we introduce a transposable memory array with 9T SRAM cells for charge sharing-based CIM operations with an analog-to-digital converter (ADC)-less scheme to enhance energy efficiency. HyAtt prunes 77.9% of tokens with only a 0.65% accuracy drop, requiring the digital core to process the attention only for the remaining 22.1% of tokens. The silicon prototype of HyAtt is fabricated in a 65-nm process and achieves an operational frequency of 1.1 GHz. It delivers a peak energy efficiency of 14.8 and 1.65 TOPS/W at 0.7 V and a peak area efficiency of 976.6 and 79.4 GOPS/mm2 at 1.2 V at CIM and chip levels, respectively.
- 9 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal on Emerging and Selected Topics in Circuits and Systems
- Vol. 15 (2) , 217-230
End-to-End Acceleration of Generative Models With Runtime Regularized KV Cache Management
Despite their remarkable success in achieving high performance, Transformer-based models impose substantial computational and memory bandwidth requirements, posing significant challenges for hardware deployment. A key contributor to these challenges is the large KV cache, which increases data movement costs in addition to the model parameters. While various token pruning techniques have been proposed to reduce the computational complexity and storage requirements of the attention mechanism by eliminating redundant tokens, these methods often introduce irregularities in the sparsity patterns that complicate hardware implementation. To address these challenges, we propose a hardware and algorithm co-design approach. Our solution features a Runtime Cache Eviction (RCE) algorithm that removes the least relevant tokens and replaces them with newly generated ones, maintaining a constant KV cache size across blocks and inputs. To support this algorithm, we design an accelerator equipped with a KV Memory Management Unit (KV-MMU), which efficiently manages active tokens through eviction and replacement, thereby optimizing DRAM storage and access. Additionally, our design integrates batch processing and an optimized processing pipeline to improve end-to-end throughput, effectively meeting the requirements of both pre-filling and generation stages. The proposed system achieves up to 8× KV cache size reduction with minimal accuracy degradation. In a 65 nm process, the proposed accelerator demonstrates 1.52× energy savings and 3.62× delay reductions when processing a batch size of 16, with only a 1.11% energy overhead attributed to the specialized KV-MMU.
- 9 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal on Emerging and Selected Topics in Circuits and Systems
- Vol. 15 (2) , 217-230
End-to-End Acceleration of Generative Models With Runtime Regularized KV Cache Management
Despite their remarkable success in achieving high performance, Transformer-based models impose substantial computational and memory bandwidth requirements, posing significant challenges for hardware deployment. A key contributor to these challenges is the large KV cache, which increases data movement costs in addition to the model parameters. While various token pruning techniques have been proposed to reduce the computational complexity and storage requirements of the attention mechanism by eliminating redundant tokens, these methods often introduce irregularities in the sparsity patterns that complicate hardware implementation. To address these challenges, we propose a hardware and algorithm co-design approach. Our solution features a Runtime Cache Eviction (RCE) algorithm that removes the least relevant tokens and replaces them with newly generated ones, maintaining a constant KV cache size across blocks and inputs. To support this algorithm, we design an accelerator equipped with a KV Memory Management Unit (KV-MMU), which efficiently manages active tokens through eviction and replacement, thereby optimizing DRAM storage and access. Additionally, our design integrates batch processing and an optimized processing pipeline to improve end-to-end throughput, effectively meeting the requirements of both pre-filling and generation stages. The proposed system achieves up to 8× KV cache size reduction with minimal accuracy degradation. In a 65 nm process, the proposed accelerator demonstrates 1.52× energy savings and 3.62× delay reductions when processing a batch size of 16, with only a 1.11% energy overhead attributed to the specialized KV-MMU.
- Open Access
- 15 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal on Exploratory Solid-State Computational Devices and Circuits
- Vol. 10, 161-169
SpecPCM: A Low-Power PCM-Based In-Memory Computing Accelerator for Full-Stack Mass Spectrometry Analysis
Mass spectrometry (MS) is essential for proteomics and metabolomics but faces impending challenges in efficiently processing the vast volumes of data. This paper introduces SpecPCM, an in-memory computing (IMC) accelerator designed to achieve substantial improvements in energy and delay efficiency for both MS spectral clustering and database (DB) search. SpecPCM employs analog processing with low-voltage swing and utilizes recently introduced phase change memory (PCM) devices based on superlattice materials, optimized for low-voltage and low-power programming. Our approach integrates contributions across multiple levels: application, algorithm, circuit, device, and instruction sets. We leverage a robust hyperdimensional computing (HD) algorithm with a novel dimension-packing method and develop specialized hardware for the end-to-end MS pipeline to overcome the non-ideal behavior of PCM devices. We further optimize multi-level PCM devices for different tasks by using different materials. We also perform a comprehensive design exploration to improve energy and delay efficiency while maintaining accuracy, exploring various combinations of hardware and software parameters controlled by the instruction set architecture (ISA). SpecPCM, with up to three bits per cell, achieves speedups of up to 82× and 143× for MS clustering and DB search tasks, respectively, along with a four-orders-of-magnitude improvement in energy efficiency compared with state-of-the-art CPU/GPU tools.
- 15 November 2024
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal on Exploratory Solid-State Computational Devices and Circuits
- Vol. 10, 161-169
Open AccessSpecPCM: A Low-Power PCM-Based In-Memory Computing Accelerator for Full-Stack Mass Spectrometry Analysis
Mass spectrometry (MS) is essential for proteomics and metabolomics but faces impending challenges in efficiently processing the vast volumes of data. This paper introduces SpecPCM, an in-memory computing (IMC) accelerator designed to achieve substantial improvements in energy and delay efficiency for both MS spectral clustering and database (DB) search. SpecPCM employs analog processing with low-voltage swing and utilizes recently introduced phase change memory (PCM) devices based on superlattice materials, optimized for low-voltage and low-power programming. Our approach integrates contributions across multiple levels: application, algorithm, circuit, device, and instruction sets. We leverage a robust hyperdimensional computing (HD) algorithm with a novel dimension-packing method and develop specialized hardware for the end-to-end MS pipeline to overcome the non-ideal behavior of PCM devices. We further optimize multi-level PCM devices for different tasks by using different materials. We also perform a comprehensive design exploration to improve energy and delay efficiency while maintaining accuracy, exploring various combinations of hardware and software parameters controlled by the instruction set architecture (ISA). SpecPCM, with up to three bits per cell, achieves speedups of up to 82× and 143× for MS clustering and DB search tasks, respectively, along with a four-orders-of-magnitude improvement in energy efficiency compared with state-of-the-art CPU/GPU tools.
- Open Access
- 5 August 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Efficient Transformer Acceleration via Reconfiguration for Encoder and Decoder Models and Sparsity-Aware Algorithm Mapping
Two essential computing blocks of Transformers, encoder and decoder, used for summarization and generation stages, respectively, present distinct data flow and computation requirements. This paper proposes an architecture to efficiently support both stages, maximizing the parallelism and hardware utilization. We re-purpose the widely deployed 2D systolic array to inherit its efficiency in processing matrix multiplications and to maintain the compatibility with other models with a minor hardware addition (4.9%/3.9% overhead for area/energy) for the reconfigurability between two modes. The design also incorporates token pruning and bit precision reconfigurability without altering the 2D processing array. We also introduce a tailored data mapping for the attention, dubbed score stationary, which leverages the unique sparsity pattern from token pruning to further reduce power consumption. The proposed architecture achieves 27.4X energy savings and 10.7X performance benefits for decoder processing, while obtaining 2.65X energy reduction for the encoder at iso-throughput, presenting a promising unified solution for these two distinct key tasks.
- 5 August 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Open AccessEfficient Transformer Acceleration via Reconfiguration for Encoder and Decoder Models and Sparsity-Aware Algorithm Mapping
Two essential computing blocks of Transformers, encoder and decoder, used for summarization and generation stages, respectively, present distinct data flow and computation requirements. This paper proposes an architecture to efficiently support both stages, maximizing the parallelism and hardware utilization. We re-purpose the widely deployed 2D systolic array to inherit its efficiency in processing matrix multiplications and to maintain the compatibility with other models with a minor hardware addition (4.9%/3.9% overhead for area/energy) for the reconfigurability between two modes. The design also incorporates token pruning and bit precision reconfigurability without altering the 2D processing array. We also introduce a tailored data mapping for the attention, dubbed score stationary, which leverages the unique sparsity pattern from token pruning to further reduce power consumption. The proposed architecture achieves 27.4X energy savings and 10.7X performance benefits for decoder processing, while obtaining 2.65X energy reduction for the encoder at iso-throughput, presenting a promising unified solution for these two distinct key tasks.