atlas

Research map / Architectures and efficiency / RNNs and normalization

Fast Inference with Kronecker-Sparse Matrices

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Differentiable optimization layers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a fused, output-stationary GPU kernel for Kronecker-sparse matrix multiplication that avoids the input/output tensor permutations of existing Monarch-style implementations, yielding a median 1.4x FP32 speedup over the best baseline across 600 KS patterns.

Problem

Kronecker-sparse matrix multiplication on GPUs (used in Butterfly and Monarch layers) is slowed by memory-bound tensor permutations, which can take up to 50% of runtime in existing implementations.

Approach

Reformulates KS matmul so each thread block computes one dense sub-product directly from non-contiguous global memory tiles, fusing the permute-GEMM-permute pipeline into one output-stationary kernel that cuts global memory traffic about threefold.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fuse the input/output permutations with GEMM into one output-stationary kernelKS matrix multiplication · 600 KS patterns, FP32speedup over best baseline: 1.39Helped
Fuse the input/output permutations with GEMM into one output-stationary kernelKS matrix multiplication · 600 KS patterns, FP32energy consumption: 15%Helped
Replace dense linear layers with KS factors and the fused kernelViT-S/16 · ViT-S/16, FP32latency: 0.89 -> 0.78Helped
Replace dense linear layers with KS factors and the fused kernelGPT-2 Medium · GPT-2 Medium, FP32latency: 0.88 -> 0.84Helped
Switch from batch-size-first to batch-size-last layout (ablation)Fused output-stationary kernel · KS matrix multiplicationspeedup: 2Helped

Surprising findings

Limitations

Experimental setup

Benchmarks: 600 KS patterns benchmark (time and energy) ViT-S/16 inference latency GPT-2 Medium inference latency

Metrics: median speedup win rate latency energy consumption

Baselines: BMM (Monarch batched GEMM) BSR (block-sparse) einsum dense linear CSR sparse linear

Builds on: Monarch Butterfly matrices BSR sparse format CUTLASS

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy