paper-with-me

홈 › Papers

TyphoonMLA: A Mixed Naive-Absorb MLA Kernel For Shared Prefix

2025-09-25 · Ahmet Caner Yüzügüler, Ahmet Çelik, Jiawei Zhuang, Lukas Cavigelli arxiv

Multi-Head Latent Attention (MLA) is a recent attention mechanism adopted in state-of-the-art LLMs such as DeepSeek-v3 and Kimi K2. Thanks to its novel formulation, MLA allows two functionally equivalent but computationally distinct kernel implementations: naive and absorb. While the naive kernels (e.g., FlashAttention) are typically preferred in training and prefill for their computational efficiency, existing decoding kernels (e.g., FlashMLA) rely on the absorb method to minimize HBM bandwidth usage. However, the compute-bound nature of the absorb implementations prohibits performance benefits from data reuse opportunities in attention calculations, such as shared prefixes. In this work, we introduce TyphoonMLA, a hybrid approach that combines naive and absorb formulations to harness the strengths of both. TyphoonMLA effectively leverages the shared prefix by applying the naive formulation to the compute-bound parts of attention calculations, while reducing the bandwidth requirements for non-shared parts by using the absorb formulation. As a result, TyphoonMLA improves the throughput of attention calculations in MLA architectures by up to 3x and 3.24x on NPU and GPUs, with only a 3% overhead in HBM size.

📄 PDF Abstract BibTeX arXiv:2509.21081

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Similar Papers 제목 키워드 기반

QUICK: Quantization-aware Interleaving and Conflict-free Kernel for efficient LLM inference

2024-02-15 · Taesu Kim, Jongho Lee, Daehyun Ahn, Sarang Kim 외

We introduce QUICK, a group of novel optimized CUDA kernels for the efficient inference of quantized Large Language Models (LLMs). QUICK addresses the shared memory bank-conflict problem of state-of-the-art mixed precisi…

GPUQuantization

Tuning Bayes Baseline for Dialect Detection

2016-12-01 · WS 2016 12 · Hector-Hugo Franco-Penya, Liliana Mamani Sanchez

This paper describes an analysis of our submissions to the Dialect Detection Shared Task 2016. We proposed three different systems that involved simplistic features, to name: a Naive-bayes system, a Support Vector Machin…

Domain Adaptation

You Need Better Attention Priors

2026-01-21 · Elon Litman, Gabe Guo arxiv

We generalize the attention mechanism by viewing it through the lens of Entropic Optimal Transport, revealing that standard attention corresponds to a transport problem regularized by an implicit uniform prior. We introd…

Comparing Approaches to Dravidian Language Identification

2021-03-09 · EACL (VarDial) 2021 4 · Tommi Jauhiainen, Tharindu Ranasinghe, Marcos Zampieri

This paper describes the submissions by team HWR to the Dravidian Language Identification (DLI) shared task organized at VarDial 2021 workshop. The DLI training set includes 16,674 YouTube comments written in Roman scrip…

Dialect IdentificationLanguage Identificationtext-classificationText Classification

Adaptive Learning with Artificial Barriers Yielding Nash Equilibria in General Games

2022-03-28 · Ismail Hassan, B. John Oommen, Anis Yazidi

Artificial barriers in Learning Automata (LA) is a powerful and yet under-explored concept although it was first proposed in the 1980s. Introducing artificial non-absorbing barriers makes the LA schemes resilient to bein…