AMAshkan Moradifirouzabadi

Ashkan Moradifirouzabadi

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Ashkan Moradifirouzabadi has a total of 16 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Cross-Domain Acceleration of Open Modification Search: From Commodity Platforms to Emerging Memory and Storage Devices

    by Sumukh Pinge, Chang Eun Song, Po-Kai Hsu, Zheyu Li, Ashkan Moradifirouzabadi, Yanru Chen, Xiangjin Wu, Wei-Chen Chen, Eric Pop, Shimeng Yu, et al.

  • HyAtt: A Hybrid Attention Accelerator for Transformers With Analog In-Memory Computing

    by Ashkan Moradifirouzabadi, Mingu Kang

    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.


  • End-to-End Acceleration of Generative Models With Runtime Regularized KV Cache Management

    by Ashkan Moradifirouzabadi, Mingu Kang

    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

    SpecPCM: A Low-Power PCM-Based In-Memory Computing Accelerator for Full-Stack Mass Spectrometry Analysis

    by Keming Fan, Ashkan Moradifirouzabadi, Xiangjin Wu, Zheyu Li, Flavio Ponzina, Anton Persson, Eric Pop, Tajana Rosing, Mingu Kang

    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

    Efficient Transformer Acceleration via Reconfiguration for Encoder and Decoder Models and Sparsity-Aware Algorithm Mapping

    by Chang Eun Song, Ashkan Moradifirouzabadi, Tajana Rosing, Mingu Kang

    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.