mlsanityData to 14 Oct 2026

A Dataflow Compiler for Efficient LLM Inference using Custom Microscaling Formats

arXiv 2307.15517 ↗First posted 28 Jul 2023cs.ARcited by 2

On the map: Efficient LLM inference and serving → KV cache quantization

Abstract (arXiv)

Model quantization represents both parameters (weights) and intermediate values (activations) in a more compact format, thereby directly reducing both computational and memory cost in hardware. The quantization of recent large language models (LLMs) faces challenges to achieve competitive memory density compared to other models such as convolutional neural networks, since values in LLMs require larger dynamic ranges. Current hardware can expedite computation for LLMs using compact numerical formats such as low-bitwidth integers or floating-point numbers. Each has advantages: integer operations simplify circuit design, whereas floating-point calculations can enhance accuracy when a wider dynamic range is required. In this work, we seek an efficient data format that combines the best of both worlds: Microscaling (MX) formats. MX formats are efficient data formats that achieve both large dynamic ranges and high memory density. In this paper, we propose a compiler named MASE for exploring mixed-precision MX formats on dataflow hardware accelerators for LLM inference. Our main contributions are twofold. First, we propose a novel orchestration abstraction to explore both software and hardware optimizations with new data formats. Second, MASE achieves LLM inference at an average precision of 4-bits, with minimal to no accuracy degradation. To our knowledge, MASE represents the first effort to harness fine-grain multi-precision MX formats in the design of LLM hardware accelerators. Over a range of LLMs and datasets, MASE achieves an average improvement of 24% in Delta accuracy with an overhead of only 3% in energy efficiency compared to designs using 8-bit fixed-point numbers.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in KV cache quantization, one of 12 directions in Efficient LLM inference and serving. Builds on 31 of its 71 references that are in the map. First posted on arXiv 28 Jul 2023.

Builds on

31 of 71 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  7. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  8. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  9. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  10. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  11. 2020Language-agnostic BERT Sentence Embeddingcited by 627
  12. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
19 more
  1. 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 521
  2. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
  3. 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 274
  4. 2016FINN: A Framework for Fast, Scalable Binarized Neural Network Inferencecited by 150
  5. 2017Towards Accurate Binary Convolutional Neural Networkcited by 149
  6. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
  7. 2016Convolutional Neural Networks using Logarithmic Data Representationcited by 99
  8. 2018Training and Inference with Integers in Deep Neural Networkscited by 86
  9. 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inferencecited by 64
  10. 2021hls4ml: An Open-Source Codesign Workflow to Empower Scientific Low-Power Machine Learning Devicescited by 62
  11. 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 54
  12. 2022DFX: A Low-latency Multi-FPGA Appliance for Accelerating Transformer-based Text Generationcited by 48
  13. 2021Torch.fx: Practical Program Capture and Transformation for Deep Learning in Pythoncited by 40
  14. 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 39
  15. 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 31
  16. 2021ScaleHLS: A New Scalable High-Level Synthesis Framework on Multi-Level Intermediate Representationcited by 21
  17. 2023Revet: A Language and Compiler for Dataflow Threadscited by 6
  18. 2023Automating Constraint-Aware Datapath Optimization using E-Graphscited by 5
  19. 2022Accuracy Booster: Enabling 4-bit Fixed-point Arithmetic for DNN Trainingcited by 3

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Heterogeneity-Aware Microscaling for Efficient Low-Bit LLM Inference
  2. 2026MXSens: Sensitivity-Aware Mixed-Precision Quantization for Efficient LLM Inference
  3. 2023Efficient LLM Inference on CPUs
  4. 2025FGMP: Fine-Grained Mixed-Precision Weight and Activation Quantization for Hardware-Accelerated LLM Inference
  5. 2024Highly Optimized Kernels and Fine-Grained Codebooks for LLM Inference on Arm CPUs
  6. 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Format
  7. 2025P3-LLM: An Integrated NPU-PIM Accelerator for Edge LLM Inference Using Hybrid Numerical Formats
  8. 2024MixPE: Quantization and Hardware Co-design for Efficient LLM Inference