Afzal Ahmad
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Afzal Ahmad has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
Muhammad Adeel Pasha
2 shared publications- Muhammad Adeel Pasha
Department of Electrical Engineering, Syed Babar Ali School of Science and Engineering, Lahore University of Management Sciences, DHA, Lahore, Pakistan
2 shared publications Wei Zhang
2 shared publications- Zhiyao Xie
The Hong Kong University of Science and Technology
2 shared publications Assila Belhouichet
1 shared publicationAxel Sikora
1 shared publication
Latest Publications
- Open Access
- 27 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in TechRxiv
HeteroGEMM: Searching for Faster, Heterogeneous GEMM Accelerators for DNNs
The General Matrix Multiply (GEMM) operation underpins several fundamental building blocks of deep neural networks (DNNs), including convolutional, dense, recurrent, and attention layers. Traditional FPGA-based accelerators utilize a single systolic array kernel to perform GEMM. However, the diversity in sizes of GEMMs utilized by various algorithms, combined with the inter-dependencies between different DNN layers render a monolithic kernel with fixed configuration inefficient for diverse computational patterns. We propose HeteroGEMM, an open-source framework for searching heterogeneous multikernel accelerators tailored to GEMM computational graphs of DNNs. HeteroGEMM leverages GEMM algorithms-such as the Strassen's algorithm-alongside adaptable systolic array configurations and a range of other tunable parameters to search for a combination of GEMM kernels that maximize system throughput under multi-die FPGA resource constraints on user-defined GEMM computational graphs. We perform a suite of experiments on GEMM computational graphs obtained from diverse models including ViT, BERT, ResNet18, and an MLP on two high-performance FPGA platforms. The results demonstrate that searching for bespoke multi-kernel accelerators yields significant performance benefits compared to prêt-à-porter expert-designed multi-kernel accelerators.
- 27 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in TechRxiv
Open AccessHeteroGEMM: Searching for Faster, Heterogeneous GEMM Accelerators for DNNs
The General Matrix Multiply (GEMM) operation underpins several fundamental building blocks of deep neural networks (DNNs), including convolutional, dense, recurrent, and attention layers. Traditional FPGA-based accelerators utilize a single systolic array kernel to perform GEMM. However, the diversity in sizes of GEMMs utilized by various algorithms, combined with the inter-dependencies between different DNN layers render a monolithic kernel with fixed configuration inefficient for diverse computational patterns. We propose HeteroGEMM, an open-source framework for searching heterogeneous multikernel accelerators tailored to GEMM computational graphs of DNNs. HeteroGEMM leverages GEMM algorithms-such as the Strassen's algorithm-alongside adaptable systolic array configurations and a range of other tunable parameters to search for a combination of GEMM kernels that maximize system throughput under multi-die FPGA resource constraints on user-defined GEMM computational graphs. We perform a suite of experiments on GEMM computational graphs obtained from diverse models including ViT, BERT, ResNet18, and an MLP on two high-performance FPGA platforms. The results demonstrate that searching for bespoke multi-kernel accelerators yields significant performance benefits compared to prêt-à-porter expert-designed multi-kernel accelerators.
- Open Access
- 23 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Accel-NASBench: Sustainable Benchmarking for Accelerator-Aware NAS
One of the primary challenges impeding the progress of Neural Architecture Search (NAS) is its extensive reliance on exorbitant computational resources. NAS benchmarks aim to simulate runs of NAS experiments at zero cost, remediating the need for extensive compute. However, existing NAS benchmarks use synthetic datasets and model proxies that make simplified assumptions about the characteristics of these datasets and models, leading to unrealistic evaluations. We present a technique that allows searching for training proxies that reduce the cost of benchmark construction by significant margins, making it possible to construct realistic NAS benchmarks for large-scale datasets. Using this technique, we construct an open-source bi-objective NAS benchmark for the ImageNet2012 dataset combined with the on-device performance of accelerators, including GPUs, TPUs, and FPGAs. Through extensive experimentation with various NAS optimizers and hardware platforms, we show that the benchmark is accurate and allows searching for state-of-the-art hardware-aware models at zero cost.
- 23 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Open AccessAccel-NASBench: Sustainable Benchmarking for Accelerator-Aware NAS
One of the primary challenges impeding the progress of Neural Architecture Search (NAS) is its extensive reliance on exorbitant computational resources. NAS benchmarks aim to simulate runs of NAS experiments at zero cost, remediating the need for extensive compute. However, existing NAS benchmarks use synthetic datasets and model proxies that make simplified assumptions about the characteristics of these datasets and models, leading to unrealistic evaluations. We present a technique that allows searching for training proxies that reduce the cost of benchmark construction by significant margins, making it possible to construct realistic NAS benchmarks for large-scale datasets. Using this technique, we construct an open-source bi-objective NAS benchmark for the ImageNet2012 dataset combined with the on-device performance of accelerators, including GPUs, TPUs, and FPGAs. Through extensive experimentation with various NAS optimizers and hardware platforms, we show that the benchmark is accurate and allows searching for state-of-the-art hardware-aware models at zero cost.
- 9 July 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
PertNAS: Architectural Perturbations for Memory-Efficient Neural Architecture Search
Differentiable Neural Architecture Search (NAS) relies on aggressive weight-sharing to reduce its search cost. This leads to GPU-memory bottlenecks that hamper the algorithm’s scalability. To resolve these bottlenecks, we propose a perturbations-based evolutionary approach that significantly reduces the memory cost while largely maintaining the efficiency benefits of weight-sharing. Our approach makes minute changes to compact neural architectures and measures their impact on performance. In this way, it extracts high-quality motifs from the search space. We utilize these perturbations to perform NAS in compact models evolving over time to traverse the search space. Our method disentangles GPU-memory consumption from search space size, offering exceptional scalability to large search spaces. Results show competitive accuracy on multiple benchmarks, including CIFAR10, ImageNet2012, and NASBench-301. Specifically, our approach improves accuracy on ImageNet and NASBench-301 by 0.3% and 0.87%, respectively. Furthermore, the memory consumption of search is reduced by roughly 80% against state-of-the-art weight-shared differentiable NAS works while achieving a search time of only 6 GPU hours.
- 9 July 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
PertNAS: Architectural Perturbations for Memory-Efficient Neural Architecture Search
Differentiable Neural Architecture Search (NAS) relies on aggressive weight-sharing to reduce its search cost. This leads to GPU-memory bottlenecks that hamper the algorithm’s scalability. To resolve these bottlenecks, we propose a perturbations-based evolutionary approach that significantly reduces the memory cost while largely maintaining the efficiency benefits of weight-sharing. Our approach makes minute changes to compact neural architectures and measures their impact on performance. In this way, it extracts high-quality motifs from the search space. We utilize these perturbations to perform NAS in compact models evolving over time to traverse the search space. Our method disentangles GPU-memory consumption from search space size, offering exceptional scalability to large search spaces. Results show competitive accuracy on multiple benchmarks, including CIFAR10, ImageNet2012, and NASBench-301. Specifically, our approach improves accuracy on ImageNet and NASBench-301 by 0.3% and 0.87%, respectively. Furthermore, the memory consumption of search is reduced by roughly 80% against state-of-the-art weight-shared differentiable NAS works while achieving a search time of only 6 GPU hours.
- Open Access
- 11 March 2020
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 19 (2) , 1-24
FFConv
Image classification is known to be one of the most challenging problems in the domain of computer vision. Significant research is being done on developing systems and algorithms improving accuracy, performance, area, and power consumption for related problems. Convolutional Neural Networks (CNNs) have shown to give outstanding accuracies for problems such as image classification, object detection, and semantic segmentation. While CNNs are pioneering the development of high accuracy systems, their excessive computational complexity presents a barrier for a more permeated deployment. Although Graphical Processing Units (GPUs), due to their massively parallel architecture, have shown to give performance orders of magnitude better than general purpose processors, the former are limited by their high power consumption and generality. Consequently, Field Programmable Gate Arrays (FPGAs) are being explored to implement CNN architectures, as they also provide massively parallel logic resources but with a relatively lower power consumption than GPUs. In this article, we present FFConv, an efficient FPGA-based fast convolutional layer accelerator for CNNs. We design a pipelined, high-throughput convolution engine based on the Winograd minimal filtering (also called Fast Convolution) algorithms for computing the convolutional layers of three popular CNN architectures: VGG16, Alexnet, and Shufflenet. We implement our accelerator on a Virtex-7 FPGA platform where we exploit the computational parallelization to the maximum while exploring optimizations aimed at improving performance. The resultant design loses only 0.43%, 0.47%, and 0.61% Top-1 classification accuracy for VGG16, Alexnet, and Shufflenet-v1, respectively, while significantly improving throughput, resource, and power efficiency compared to previous state-of-the-art designs.
- 11 March 2020
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 19 (2) , 1-24
Open AccessFFConv
Image classification is known to be one of the most challenging problems in the domain of computer vision. Significant research is being done on developing systems and algorithms improving accuracy, performance, area, and power consumption for related problems. Convolutional Neural Networks (CNNs) have shown to give outstanding accuracies for problems such as image classification, object detection, and semantic segmentation. While CNNs are pioneering the development of high accuracy systems, their excessive computational complexity presents a barrier for a more permeated deployment. Although Graphical Processing Units (GPUs), due to their massively parallel architecture, have shown to give performance orders of magnitude better than general purpose processors, the former are limited by their high power consumption and generality. Consequently, Field Programmable Gate Arrays (FPGAs) are being explored to implement CNN architectures, as they also provide massively parallel logic resources but with a relatively lower power consumption than GPUs. In this article, we present FFConv, an efficient FPGA-based fast convolutional layer accelerator for CNNs. We design a pipelined, high-throughput convolution engine based on the Winograd minimal filtering (also called Fast Convolution) algorithms for computing the convolutional layers of three popular CNN architectures: VGG16, Alexnet, and Shufflenet. We implement our accelerator on a Virtex-7 FPGA platform where we exploit the computational parallelization to the maximum while exploring optimizations aimed at improving performance. The resultant design loses only 0.43%, 0.47%, and 0.61% Top-1 classification accuracy for VGG16, Alexnet, and Shufflenet-v1, respectively, while significantly improving throughput, resource, and power efficiency compared to previous state-of-the-art designs.
- Open Access
- 1 March 2020
- Published by IOP Publishing in IOP Conference Series: Earth and Environmental Science
- Vol. 473 (1) , 012095
Potential of palm fatty acid distillate as a feedstock in the synthesis of ethyl esters using solid SO4 2-/TiO2-SiO2 catalysts
Utilization of by-products from the cooking oil industry, such as palm oil fatty acid distillates (PFAD) can reduce the cost of producing ethyl ester/biodiesel. This PFAD is processed into biodiesel using SO4 2 −/TiO2-SiO2 solid catalyst and ethanol reagent. The central composite design in Response Surface Methodology is applied in optimizing the effect of process variables such as the amount of catalyst, ethanol to PFAD molar ratio and reaction time. The results of the study show that the best-operating conditions with 98.89% ethyl ester conversion were achieved with the catalyst amount of 5% w, a molar ratio of 13 in reaction time of 2.25 hours. The presence of SO4 2 −/TiO2-SiO2 catalyst components can be characterized using SEM-EDX. A functional group showing the presence of ethyl ester in biodiesel products has been identified using FTIR. Ethyl ester properties related to biodiesel properties can be shown as saponification value: 583.8446 mg/g, iodine value: 8.8714 mg/g and cetane value: 49-54.
- 1 March 2020
- Published by IOP Publishing in IOP Conference Series: Earth and Environmental Science
- Vol. 473 (1) , 012095
Open AccessPotential of palm fatty acid distillate as a feedstock in the synthesis of ethyl esters using solid SO4 2-/TiO2-SiO2 catalysts
Utilization of by-products from the cooking oil industry, such as palm oil fatty acid distillates (PFAD) can reduce the cost of producing ethyl ester/biodiesel. This PFAD is processed into biodiesel using SO4 2 −/TiO2-SiO2 solid catalyst and ethanol reagent. The central composite design in Response Surface Methodology is applied in optimizing the effect of process variables such as the amount of catalyst, ethanol to PFAD molar ratio and reaction time. The results of the study show that the best-operating conditions with 98.89% ethyl ester conversion were achieved with the catalyst amount of 5% w, a molar ratio of 13 in reaction time of 2.25 hours. The presence of SO4 2 −/TiO2-SiO2 catalyst components can be characterized using SEM-EDX. A functional group showing the presence of ethyl ester in biodiesel products has been identified using FTIR. Ethyl ester properties related to biodiesel properties can be shown as saponification value: 583.8446 mg/g, iodine value: 8.8714 mg/g and cetane value: 49-54.
- 9 January 2020
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems II: Express Briefs
- Vol. 67 (11) , 2692-2696
Optimizing Hardware Accelerated General Matrix-Matrix Multiplication for CNNs on FPGAs
Convolution is inarguably the most complex operation utilized in Convolutional Neural Networks (convnets). Owing to the billions of independent multiply-adds involved, convolution is being massively parallelized by the simultaneous utilization of many cores of Graphical Processing Units (GPUs). Although GPUs have shown significant performance improvements in both training and inference stages, they are not well-suited for mobile vision applications where both energy and real-time constraints need to be satisfied. In contrast, Field Programmable Gate Arrays (FPGAs) have demonstrated massive parallelization capabilities, with fast DSPs and on-chip memory, at a lower energy cost than GPUs. Hence, they are being utilized to design convnet accelerators for embedded applications. In this brief, we design an FPGA-based accelerator for general matrix-matrix multiplication (GeMM) to improve the efficiency of convolutional layers of Shufflenet, an efficient convnet architecture. Experimental results show significant performance improvements against the state-of-the-art FPGA-based implementations of both efficient convnets that are tailored towards mobile vision applications, and complex convnets that are used in traditional applications.
- 9 January 2020
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems II: Express Briefs
- Vol. 67 (11) , 2692-2696
Optimizing Hardware Accelerated General Matrix-Matrix Multiplication for CNNs on FPGAs
Convolution is inarguably the most complex operation utilized in Convolutional Neural Networks (convnets). Owing to the billions of independent multiply-adds involved, convolution is being massively parallelized by the simultaneous utilization of many cores of Graphical Processing Units (GPUs). Although GPUs have shown significant performance improvements in both training and inference stages, they are not well-suited for mobile vision applications where both energy and real-time constraints need to be satisfied. In contrast, Field Programmable Gate Arrays (FPGAs) have demonstrated massive parallelization capabilities, with fast DSPs and on-chip memory, at a lower energy cost than GPUs. Hence, they are being utilized to design convnet accelerators for embedded applications. In this brief, we design an FPGA-based accelerator for general matrix-matrix multiplication (GeMM) to improve the efficiency of convolutional layers of Shufflenet, an efficient convnet architecture. Experimental results show significant performance improvements against the state-of-the-art FPGA-based implementations of both efficient convnets that are tailored towards mobile vision applications, and complex convnets that are used in traditional applications.