Diagonal-Tiled Mixed-Precision Attention for Efficient Low-Bit MXFP Inference

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ding, Yifu, Zhang, Xinhao, Guo, Jinyang
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917384170766336
author Ding, Yifu
Zhang, Xinhao
Guo, Jinyang
author_facet Ding, Yifu
Zhang, Xinhao
Guo, Jinyang
contents Transformer-based large language models (LLMs) have demonstrated remarkable performance across a wide range of real-world tasks, but their inference cost remains prohibitively high due to the quadratic complexity of attention and the memory bandwidth limitations of high-precision operations. In this work, we present a low-bit mixed-precision attention kernel using the microscaling floating-point (MXFP) data format, utilizing the computing capability on next-generation GPU architectures. Our Diagonal-Tiled Mixed-Precision Attention (DMA) incorporates two kinds of low-bit computation at the tiling-level, and is a delicate fused kernel implemented using Triton, exploiting hardware-level parallelism and memory efficiency to enable fast and efficient inference without compromising model performance. Extensive empirical evaluations on NVIDIA B200 GPUs show that our kernel maintains generation quality with negligible degradation, and meanwhile achieves significant speedup by kernel fusion. We release our code at https://github.com/yifu-ding/MP-Sparse-Attn.
format Preprint
id arxiv_https___arxiv_org_abs_2604_03950
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Diagonal-Tiled Mixed-Precision Attention for Efficient Low-Bit MXFP Inference
Ding, Yifu
Zhang, Xinhao
Guo, Jinyang
Machine Learning
Artificial Intelligence
Transformer-based large language models (LLMs) have demonstrated remarkable performance across a wide range of real-world tasks, but their inference cost remains prohibitively high due to the quadratic complexity of attention and the memory bandwidth limitations of high-precision operations. In this work, we present a low-bit mixed-precision attention kernel using the microscaling floating-point (MXFP) data format, utilizing the computing capability on next-generation GPU architectures. Our Diagonal-Tiled Mixed-Precision Attention (DMA) incorporates two kinds of low-bit computation at the tiling-level, and is a delicate fused kernel implemented using Triton, exploiting hardware-level parallelism and memory efficiency to enable fast and efficient inference without compromising model performance. Extensive empirical evaluations on NVIDIA B200 GPUs show that our kernel maintains generation quality with negligible degradation, and meanwhile achieves significant speedup by kernel fusion. We release our code at https://github.com/yifu-ding/MP-Sparse-Attn.
title Diagonal-Tiled Mixed-Precision Attention for Efficient Low-Bit MXFP Inference
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2604.03950