mlsanityData to 14 Oct 2026

Understanding the Performance Horizon of the Latest ML Workloads with NonGEMM Workloads

arXiv 2404.11788 ↗First posted 17 Apr 2024cs.AR cs.LG cs.PFcited by 4

Not on the map. Why?

Abstract (arXiv)

Among ML operators today, GEneralMatrix Multiplication (GEMM)-based operators are known to be key operators that build the main backbone of ML models. As their computational overhead dominates the overall execution time (e.g., 42.8% - 96.6% in our results), GEMM operators have been the prime optimization targets for fast ML inference. This led to advanced GPUs and accelerators available today, which provided significant boost in the GEMM performance compared to CPUs, aligned with the lesson from Amdahl's law. However, accelerating GEMM has significantly shifted the Amdahl's law's landscape for ML inference; due to the decreased GEMM execution time, the relative execution time of non-GEMM operators is now significant. Although the importance of non-GEMM performance is increasing, we have little knowledge about the non-GEMM performance horizon in the latest hardware platforms and models. Therefore, to guide non-GEMM-oriented optimizations, we conduct a thorough performance analysis of 17 widely adopted ML models in Hugging Face and Torchvision on workstation and data center platforms with/without GPUs. We discover that non-GEMM performance bottleneck is a considerable issue across all the platforms and models, accounting for 11.3% to 73.6% of total latency, on average. The challenge significantly aggravates when we apply quantization, which is a common model compression technique, due to the boosted GEMM performance and extra non-GEMM operators for dequantization and requantization. To provide insights into non-GEMM optimization targets, we demystify the most dominant non-GEMM operators for each model and deployment software. We also show that widely adopted optimizations such as operator fusion do not completely address the non-GEMM performance bottleneck, where non-GEMM operators still account for 15% to 48% of total latency.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 41 of its 72 references that are in the map. First posted on arXiv 17 Apr 2024.

Builds on

41 of 72 references.

References · 41

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2023GPT-4 Technical Reportcited by 18,396
  8. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  9. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  10. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  11. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  12. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
29 more
  1. 2020End-to-End Object Detection with Transformerscited by 7,414
  2. 2017Mask R-CNNcited by 7,277
  3. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  4. 2016Layer Normalizationcited by 5,669
  5. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  7. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  8. 2016Pointer Sentinel Mixture Modelscited by 3,096
  9. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  10. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  11. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  12. 2024Mixtral of Expertscited by 1,823
  13. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  14. 2019Root Mean Square Layer Normalizationcited by 1,480
  15. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  16. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  17. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,152
  18. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  19. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  20. 2021A White Paper on Neural Network Quantizationcited by 472
  21. 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
  22. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
  23. 2019MLPerf Inference Benchmarkcited by 199
  24. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  25. 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 57
  26. 2021Softermax: Hardware/Software Co-Design of an Efficient Softmax for Transformerscited by 54
  27. 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 39
  28. 2018Interstellar: Using Halide's Scheduling Language to Analyze DNN Acceleratorscited by 34
  29. 2023TorchBench: Benchmarking PyTorch with High API Surface Coveragecited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021Understanding Cache Boundness of ML Operators on ARM Processors
  2. 2026ExaGEMM: Exploration Framework for CPU-Driven ML Inference via Associative In-Register Computing for Low-Bit GEMM
  3. 2026SMEPilot: Characterizing and Optimizing LLM Inference with Scalable Matrix Extensions
  4. 2025Accelerating Sparse Ternary GEMM for Quantized ML on Apple Silicon
  5. 2026O-POPE: High-Frequency Pipelined Outer Product based GEMM acceleration with minimal buffering overhead ↗
  6. 2026Dissecting GPU Utilization for LLM Inference on Nvidia Hopper
  7. 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Model
  8. 2025LiquidGEMM: Hardware-Efficient W4A8 GEMM Kernel for High-Performance LLM Serving