语音事件检测器:用于丰富语音转录的非言语发声与背景声音的时间戳检测

·

研究论文 · 2026/10/16

自动语音识别能生成文字,但会丢失录音中的非语言内容:说话者的呼吸、咳嗽、叹息和笑声,以及周围的喇叭声、音乐或狗叫声。我们描述了 Speech Event Detector,一个拥有 580 万参数的卷积-Transformer 模型,每 40 毫秒输出 54 个事件类别(20 种说话者发声和 34 种背景声音)的概率,并配合后处理将这些概率转换为带时间戳的事件,以及一个将事件合并到 Whisper 转录中的流程。该模型在来自七个公共数据集的材料上训练,这些数据集的标签形式不兼容:单一检测区域、带时间戳的自由文本标签、时间强本体标签、转录中嵌入的符号、孤立录音和环境录音。我们使用基于规则的标签映射统一它们,通过 CTC 强制对齐恢复转录嵌入标签的时间戳,定位了 8,620 个声音中的 6,360 个,并将约 168 小时的真实标注训练录音与合成混合及使用真实背景噪声的增强相结合。针对两种操作配置的每类阈值在真实留出录音上调整,并使用两折交叉验证估计性能。在来自四个数据集的整个留出录音上,考虑至少十个留出事件的 48 个类别,敏感配置平均检测到某类事件的 49%,覆盖所有 9,367 个事件的 67%,宏观精确率为 0.30。平衡配置的宏观召回率为 0.37,精确率为 0.36,宏观事件 F1 分数分别为 0.32 和 0.33。该检测器在八个 CPU 线程上运行速度约为实时的 39 倍。

该研究解决了语音转录中非语言信息丢失的问题,提出了一个高效的事件检测模型,并整合了多个异构数据集,为丰富语音转录提供了实用方案。

Automatic speech recognition produces words but drops the non-verbal content of a recording: the breaths, coughs, sighs and laughter of the speaker, and the horns, music or barking around them. We describe Speech Event Detector, a 5.8-million-parameter convolutional-Transformer model that outputs probabilities every 40 ms for 54 event classes (20 speaker vocalizations and 34 background sounds), together with post-processing that converts these probabilities into timestamped events and a procedure for merging the events into a Whisper transcript. The model is trained on material drawn from seven public datasets whose labels come in incompatible forms: single detected regions, free-text tags with timestamps, temporally strong ontology labels, symbols embedded in transcripts, isolated recordings and environmental recordings. We unify them using rule-based label mapping, recover timestamps for transcript-embedded labels through CTC forced alignment, locating 6,360 of 8,620 sounds, and combine about 168 hours of real annotated training recordings with synthetic mixtures and augmentation using real background noise. Per-class thresholds for two operating profiles are tuned on real held-out recordings, and performance is estimated using two-fold cross-validation. On whole held-out recordings from four datasets, considering the 48 classes with at least ten held-out events, the sensitive profile detects an average of 49 percent of a class's events, covering 67 percent of all 9,367 events, at a macro precision of 0.30. The balanced profile achieves a macro recall of 0.37 at a precision of 0.36, with macro event F1 scores of 0.32 and 0.33, respectively. The detector runs about 39 times faster than real time on eight CPU threads.

阅读原文

参与讨论