arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.16922eess.AScs.SD
收藏

可学习脉冲累积用于设备端语音识别:你需要多少注意力?

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

Yakov Pyotr Shkolnikov

AI总结:

本文提出可学习脉冲累积(LPA)替代自注意力机制,通过学习门控函数提升边缘设备语音识别性能,实验显示替换8层模型在LibriSpeech测试集上达到10.61%的WER,速度提升3.27倍。

摘要:

自注意力机制与序列长度平方成正比,限制了边缘设备上的基于变换器的语音模型。我们引入可学习脉冲累积(LPA),一种O(n)的替代方案,将键-查询点积替换为学习的门控函数:内容依赖的矩形脉冲、周期窗口和位置依赖的基函数。MSE诊断扫描确定每层替换的难度和顺序。替换8个12层wav2vec2-base层在LibriSpeech测试清洁集上达到10.61%的词错误率(WER),比3.37%的基线高7.24个百分点,在Apple M4 Pro上120秒音频处理速度提升3.27倍。跨领域验证显示所有16个片段内注意力层可替换而无崩溃,表明深度墙源于语言计算而非LPA限制。LPA的近二进制门在推理时使GPU密集计算无CPU-GPU同步,并且所有操作映射到移动神经加速器。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑