paper-with-me

홈 › Papers

When Good Enough Is Optimal: Multiplication-Only Matrix Inversion Approximation for Quantized Gated DeltaNet

2026-06-04 · Luoming Zhang, Yuwei Ren, Kui Zhang, Tian Liu, Lingjuan Ge, Denghao Li, Matthew Harper Langston, Yin Huang, Weiliang Will Zeng, Liang Zhang arxiv

Matrix inversion in chunk-wise parallel linear attention is a major bottleneck for long-context modeling, particularly on NPUs, where forward-substitution-based methods exhibit limited parallelism and poor hardware utilization. We propose a fast, Matrix Multiplication (MatMul)-based algorithm tailored for strictly lower-triangular matrices arising in chunk-wise linear attention. Motivated by the rapid growth of Neumann-series terms and the diagonal concentration of the inverse matrix, we employ a truncated Neumann expansion with structural masking and parallel residual correction to eliminate sequential dependencies. We further extend our method to low-bits INT by mitigating the dynamic range expansion arising from repeated matrix power operations, and adapt the approximation order and residual step to the chunk size to minimize computational cost while preserving the model's accuracy. Experiments on Qwen3.5-family models demonstrate up to 5$\times$ kernel-level speedup and a 20% reduction in decode-layer overhead, while preserving accuracy under both floating-point and low-precision inference. Our method offers an efficient and hardware-friendly solution for scalable linear attention.

📄 PDF Abstract BibTeX arXiv:2606.06034

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Identifying Good Rules for Efficient SAT Encodings of Single-Constant Multiplication Using Machine Learning

2026-07-23 · Chufeng Jiang, Neng-Fa Zhou arxiv

The Single Constant Multiplication problem is a fundamental NP-hard optimization task in hardware design, which seeks to decompose a fixed constant using only additions, subtractions, and bit-shifts. Although dynamic pro…

Graph Neural Network

The Unelected Hand? Bureaucratic Influence and Electoral Accountability

2024-02-27 · Simon Lodato, Christos Mavridis, Federico Vaccari

What role do non-elected bureaucrats play when elections provide imperfect accountability and create incentives for pandering? We develop a model where politicians and bureaucrats interact to implement policy. Both can e…

AMULET: Adaptive Matrix-Multiplication-Like Tasks

2023-05-12 · Junyoung Kim, Kenneth Ross, Eric Sedlar, Lukas Stadler

Many useful tasks in data science and machine learning applications can be written as simple variations of matrix multiplication. However, users have difficulty performing such tasks as existing matrix/vector libraries s…

Compiler Optimization

Fast Implementation of 4-bit Convolutional Neural Networks for Mobile Devices

2020-09-14 · Anton Trusov, Elena Limonova, Dmitry Slugin, Dmitry Nikolaev 외

Quantized low-precision neural networks are very popular because they require less computational resources for inference and can provide high performance, which is vital for real-time and embedded recognition systems. Ho…

Optical Character Recognition (OCR)Quantization

The Initial Screening Order Problem

2023-07-28 · Jose M. Alvarez, Antonio Mastropietro, Salvatore Ruggieri

We investigate the role of the initial screening order (ISO) in candidate screening. The ISO refers to the order in which the screener searches the candidate pool when selecting $k$ candidates. Today, it is common for th…

Decision MakingFairnessPosition