English

Learnable Pulse Accumulation for On-Device Speech Recognition: How Much Attention Do You Need?

Audio and Speech Processing 2026-03-19 v1 Sound

Abstract

Self-attention scales quadratically with sequence length, limiting transformer-based speech models on edge devices. We introduce the Learnable Pulse Accumulator (LPA), an O(n) replacement that substitutes key-query dot products with learned gating functions: content-dependent rectangular pulses, periodic windows, and position-dependent basis functions. An MSE diagnostic sweep determines per-layer replacement difficulty and ordering. Replacing 8 of 12 wav2vec2-base layers yields 10.61% word error rate (WER) on LibriSpeech test-clean, +7.24 percentage points (pp) over the 3.37% baseline, with 3.27x speedup at 120s audio on Apple M4 Pro via an optimized MLX inference path. Cross-domain validation on SepFormer speech enhancement shows all 16 intra-chunk attention layers can be replaced without collapse, suggesting the depth wall arises from linguistic computation rather than an LPA limitation. LPA's near-binary gates at inference enable dense GPU computation with no CPU-GPU synchronization, and all operations map to mobile neural accelerators.

Keywords

Cite

@article{arxiv.2603.16922,
  title  = {Learnable Pulse Accumulation for On-Device Speech Recognition: How Much Attention Do You Need?},
  author = {Yakov Pyotr Shkolnikov},
  journal= {arXiv preprint arXiv:2603.16922},
  year   = {2026}
}
R2 v1 2026-07-01T11:24:48.436Z