@inproceedings{12e153c036714179aa1138598bb3c01c,
title = "Work-in-Progress: I-FlashAttention: Fully Integer Fused Attention for Efficient Vision Transformers",
abstract = "Transformer self-attention offers strong expressiveness, but its compute and memory cost grows rapidly with longer sequences. This results in frequent off-chip memory access, which becomes a major performance bottleneck. FlashAttention reduces this by dividing the sequence into tiles, computed entirely in on-chip memory. This avoids storing intermediate tensors off-chip and alleviates memory bandwidth issues. However, tile-wise online softmax requires floating-point operations for numerical stability using max-based scaling and accumulation. We propose I-FlashAttention, an integer-only version of FlashAttention. It uses shift-based exponential approximation and integer max-tracking to perform online softmax without floating point. All steps, from INT8 GEMM to output, are fused into a single Triton kernel. I-FlashAttention is 1.08{\texttimes} faster than FP16 FlashAttention and 7.10{\texttimes} faster than I-ViT.",
keywords = "attention, GPU kernels, quantization",
author = "Sehyeon Oh and Yongin Kwon and Jemin Lee",
note = "Publisher Copyright: {\textcopyright} 2025 Copyright held by the owner/author(s).; 2025 IEEE/ACM International Conference on Compilers, Architectures and Synthesis for Embedded Systems, CASES 2025 ; Conference date: 28-09-2025 Through 03-10-2025",
year = "2025",
month = nov,
day = "9",
doi = "10.1145/3742872.3757072",
language = "English",
series = "Proceedings - 2025 International Conference on Compilers, Architecture, and Synthesis for Embedded Systems, CASES 2025",
publisher = "Association for Computing Machinery, Inc",
pages = "25--26",
booktitle = "Proceedings - 2025 International Conference on Compilers, Architecture, and Synthesis for Embedded Systems, CASES 2025",
}