ChunkFormer:面向长语音转录的掩码分块Conformer
ChunkFormer: Masked Chunking Conformer For Long-Form Speech Transcription
AI总结:
针对长语音转录中Conformer模型处理时长有限、标准批处理填充导致资源浪费的问题,提出带相对右上下文分块处理和掩码批处理的ChunkFormer,可在80GB GPU处理16小时音频,词错率最多降7.7%,批处理耗时和显存占用降3倍以上。
摘要:
在工业规模部署ASR(自动语音识别)模型时,硬件资源管理面临巨大挑战,尤其是针对音频时长达数小时的长语音转录任务。大型Conformer模型虽性能优异,但在80GB GPU上仅能处理最长15分钟的音频。此外,输入长度不统一会进一步降低效率,因为标准批处理会产生大量填充,既增加资源消耗又延长执行时间。为解决这一问题,我们提出ChunkFormer——一种高效的ASR模型,它采用带相对右侧上下文的分块处理方式,可在低显存GPU上完成长音频转录。ChunkFormer在80GB GPU上最多可处理16小时音频,比当前最优的FastConformer长1.5倍;同时还提升了长语音转录性能,词错误率绝对降低最多7.7%,且在短任务上的准确率与Conformer相当。通过消除标准批处理中的填充需求,ChunkFormer的掩码批处理技术将批处理的执行时间和显存占用降低了3倍以上,大幅降低了各类ASR系统的成本,尤其是实际应用中模型推理所需的GPU资源成本。
英文摘要:
Deploying ASR models at an industrial scale poses significant challenges in hardware resource management, especially for long-form transcription tasks where audio may last for hours. Large Conformer models, despite their capabilities, are limited to processing only 15 minutes of audio on an 80GB GPU. Furthermore, variable input lengths worsen inefficiencies, as standard batching leads to excessive padding, increasing resource consumption and execution time. To address this, we introduce ChunkFormer, an efficient ASR model that uses chunk-wise processing with relative right context, enabling long audio transcriptions on low-memory GPUs. ChunkFormer handles up to 16 hours of audio on an 80GB GPU, 1.5x longer than the current state-of-the-art FastConformer, while also boosting long-form transcription performance with up to 7.7% absolute reduction on word error rate and maintaining accuracy on shorter tasks compared to Conformer. By eliminating the need for padding in standard batching, ChunkFormer's masked batching technique reduces execution time and memory usage by more than 3x in batch processing, substantially reducing costs for a wide range of ASR systems, particularly regarding GPU resources for models serving in real-world applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。