WBMM: Windowed Batch Matrix Multiplication for Efficient Large Receptive Field Convolution

Wan Song, Wei Zhou, Rui Wang, Jun Yu, Toru Kurihara +2 more
7/2/2026
1 citation
cs.CVcs.LG

Official code: wansong-s/WBMM (2 stars, Python, Apache-2.0, last commit 2026-07-07).

Abstract

Large kernel depthwise convolutions achieve strong performance but suffer from significant degradation as kernel size grows due to irregular memory access from gather-based computation; while Large Kernel Acceleration (LKA) helps on small feature maps, it becomes counterproductive on large feature maps, even slower than non-accelerated implementations. We propose Windowed Batch Matrix Multiplication (WBMM), which partitions input into contiguous windows and indexes a compact relative position bias table to construct weight matrices, enabling regular memory access via batched matrix multiplication.

Show full abstract

This yields a unique property: WBMM's throughput improves with larger windows, opposite to depthwise convolutions that degrade with larger kernels. Operator-level benchmarks show WBMM with 14x14 windows outperforms 5x5 depthwise convolution baselines in speed while providing a 7.8x larger per-layer receptive field. Combined with inter-block cross-window communication and hierarchical window reparameterization, WBMM achieves comparable or higher accuracy on ImageNet-1K, COCO, and ADE20K with 1.31-1.88x training speedup, and demonstrates consistent advantages across GPU, CPU, and edge devices without requiring specialized acceleration kernels. Our code is available at https://github.com/wansong-s/WBMM.

View on arXivView PDF

Code Implementations(1)

wansong-s/WBMMOfficial100%
Apache-2.0
20Python, ShellMay 29, 20264 months agoApache-2.0

Similar Papers

Cite this paper

@article{song2026wbmm,
  title  = {WBMM: Windowed Batch Matrix Multiplication for Efficient Large Receptive Field Convolution},
  author = {Wan Song and Wei Zhou and Rui Wang and Jun Yu and Toru Kurihara and Jiajia Xu and Shu Zhan},
  year   = {2026},
  eprint = {2607.02097},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.02097v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.02097.svg)](https://codeofpaper.com/paper/2607.02097)

Discussion