# 语音活动检测

语音活动检测（VAD）是一种信号处理方法，它逐帧判断音频流中包含的是语音，还是仅有静音、噪声或其他声音。多数VAD算法对每一帧做出二元语音存在判决，不过神经网络模型会输出一个语音概率，由下游阈值将其转换为判决，再由平滑逻辑将帧判决转换为段边界。该方法包含两个处理阶段：先从含噪信号中提取特征，再对特征施加检测规则。VAD服务于语音编码中的不连续传输、鲁棒语音识别、互联网实时传输以及助听器，在助听器中它还提供降噪阶段所需的噪声统计量。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup><sup> • </sup><sup>[2](https://huggingface.co/openEuler/silero-vad)</sup><sup> • </sup><sup>[3](https://www.dsprelated.com/showabstract/3833.php)</sup>

| 关键事实 | 内容 |
|---|---|
| 输出 | 每帧的二元语音/非语音标志，或位于[0, 1]区间、以例如0.5为阈值的语音概率<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup><sup> • </sup><sup>[2](https://huggingface.co/openEuler/silero-vad)</sup> |
| 帧长 | 一般为5–40 ms<sup>[4](https://www.diva-portal.org/smash/get/diva2:831566/FULLTEXT01.pdf)</sup>；G.729附录B为10 ms<sup>[5](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1557970/download-documents?artifactId=0z_TOl533BqOX9UZA8BaDOXBxJUrHpDoMOPWbwtMXyDQ5uYtO4ZK2tA)</sup>，AMR VAD为20 ms<sup>[6](https://www.etsi.org/deliver/etsi_ts/126000_126099/126094/16.00.00_60/ts_126094v160000p.pdf)</sup>，Silero为576样本输入（512样本帧加64样本左上下文）<sup>[2](https://huggingface.co/openEuler/silero-vad)</sup> |
| 经典特征 | 全带与低带能量、过零率、线谱频率（G.729B）<sup>[5](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1557970/download-documents?artifactId=0z_TOl533BqOX9UZA8BaDOXBxJUrHpDoMOPWbwtMXyDQ5uYtO4ZK2tA)</sup><sup> • </sup><sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>；子带信噪比（AMR）<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup> |
| 统计学里程碑 | 孙、金与成的似然比VAD，《IEEE信号处理快报》，1999年<sup>[7](https://doi.org/10.1109/97.736233)</sup> |
| 评估 | ROC曲线与AUC；FEC、OVER、MSC与NDS误差参数；Aurora数据库<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup><sup> • </sup><sup>[4](https://www.diva-portal.org/smash/get/diva2:831566/FULLTEXT01.pdf)</sup> |
| 神经网络开销示例 | Silero VAD：单CPU线程上每30+ ms音频块耗时不足1 ms，JIT模型约两兆字节<sup>[8](https://github.com/snakers4/silero-vad)</sup> |

## 工作原理

VAD被形式化为一个双假设检验：观测帧要么是语音加噪声（\( H_{1} \)），要么仅有噪声（\( H_{0} \)）。对于短时功率这类标量特征，判决规则就是简单阈值化；对于多维特征，则可在标注数据上训练高斯混合模型或神经网络等分类器。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>

基于[统计模型](https://www.edgepedia.org/zh/statistical-model)的这一类方法将上述框架显式化。孙、金与成用不同的概率密度函数对两个假设下每个DFT频点的分布建模，并通过似然比 \( \Lambda(k,\ell) = p(X(k,\ell) \mid H_{1}) / p(X(k,\ell) \mid H_{0}) \) 做出判决；假设各频点相互独立，则帧似然比是各频点似然比之积，因而帧对数似然比是各频点对数似然比之和。挂起方案将语音与停顿建模为隐[马尔可夫模型](https://www.edgepedia.org/zh/markov-model)的两个状态，转移概率固定，并用前向过程进行平滑。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>在广泛使用的实现中，各频点对数似然比为 \( \Lambda_{k}(n) = \gamma_{k}(n)\xi_{k}(n)/(1+\xi_{k}(n)) - \ln[1+\xi_{k}(n)] \)，其中 \( \xi_{k} \) 是由判决引导法估计的先验信噪比，\( \gamma_{k} \) 是后验信噪比，先验无语音概率取0.2。<sup>[9](https://asp-eurasipjournals.springeropen.com/counter/pdf/10.1186/1687-6180-2011-31.pdf)</sup>

## 实现方法

基本的VAD将输入划分为5–40 ms的帧，提取特征，并将其与从纯噪声段估计出的阈值进行比较。<sup>[4](https://www.diva-portal.org/smash/get/diva2:831566/FULLTEXT01.pdf)</sup>特征族包括能量、过零率、子带信噪比、谱熵（语音低、平稳噪声高）、周期性、与音节速率相匹配的约4 Hz能量调制，以及在30帧（约0.5 s）上计算的LTSV和LSFM等平稳性度量。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>

标准化编解码器展示了完整流程。G.729附录B的VAD每10 ms依据全带能量、低带能量、过零率和线谱频率做出判决；它针对滑动噪声均值计算四个差值度量，应用多边界分段线性判决区域，在通话早期帧能量超过21 dB时强制判决为1，并加入挂起。<sup>[5](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1557970/download-documents?artifactId=0z_TOl533BqOX9UZA8BaDOXBxJUrHpDoMOPWbwtMXyDQ5uYtO4ZK2tA)</sup><sup> • </sup><sup>[10](https://www.mathworks.com/help/dsp/ug/g-729-voice-activity-detection.html)</sup>AMR VAD在20 ms帧上工作：它计算子带电平、由开环基音滞后得到的基音与音调标志、针对音乐等相关复杂信号的警告标志，将子带信噪比之和与依赖噪声电平的阈值比较，并加入挂起。由背景噪声估计的变异性导出的偏置因子在噪声波动时抬高阈值，而在检测到语音或基音时噪声估计从不向上更新。<sup>[6](https://www.etsi.org/deliver/etsi_ts/126000_126099/126094/16.00.00_60/ts_126094v160000p.pdf)</sup><sup> • </sup><sup>[11](https://etsi.org/deliver/etsi_en/301700_301799/301708/07.01.00_40/en_301708v070100o.pdf)</sup>挂起之所以存在，是因为语音突发中低功率的结尾在主观上很重要，却难以检测。<sup>[6](https://www.etsi.org/deliver/etsi_ts/126000_126099/126094/16.00.00_60/ts_126094v160000p.pdf)</sup>

流式系统加入迟滞：一个四状态机（静音、待定语音、语音、待定静音），具有独立的起始与结束概率以及最短语音和静音时长，例如起始0.5、结束0.35、最短语音0.25 s、最短静音0.1 s。<sup>[12](https://soniqo.audio/guides/vad)</sup>

## 起源

最早的VAD应用被归功于时间分配语音插值，由K. 布林顿与J. M. 弗雷泽在《TASI的工程方面》（《贝尔系统技术杂志》，1959年）中描述，其中利用语音静默来复用传输信道。<sup>[13](https://doi.org/10.1002/j.1538-7305.1959.tb03892.x)</sup><sup> • </sup><sup>[14](https://digital-library.theiet.org/content/journals/10.1049/ip-i-2.1992.0052)</sup>将VAD作为检测问题的研究始于20世纪70年代的词识别尝试，在约30 dB信噪比的中等噪声下使用能量与过零率。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>塔克于1992年发表在《IEE Proceedings I》上的周期性度量VAD可在低至0 dB信噪比下可靠工作，并在−5 dB时检测出大部分语音。<sup>[14](https://digital-library.theiet.org/content/journals/10.1049/ip-i-2.1992.0052)</sup>

标准时代确立了该领域的参照点。ITU-T G.729于1996年获批，以8 kbit/s采用CS-ACELP对语音编码，帧长10 ms，前视5 ms。<sup>[15](https://course.ece.cmu.edu/~ece796/documents/g729.pdf)</sup>其附录B（11/1996）为V.70应用定义了VAD、DTX与舒适噪声生成器；A. 本亚辛及其同事1997年发表在《IEEE通信杂志》上的配套论文描述了该方案。<sup>[5](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1557970/download-documents?artifactId=0z_TOl533BqOX9UZA8BaDOXBxJUrHpDoMOPWbwtMXyDQ5uYtO4ZK2tA)</sup><sup> • </sup><sup>[16](https://doi.org/10.1109/35.620527)</sup>ETSI的GSM 06.94（1998年发布）为AMR不连续传输规定了两种可选的VAD方案。<sup>[11](https://etsi.org/deliver/etsi_en/301700_301799/301708/07.01.00_40/en_301708v070100o.pdf)</sup>孙、金与成于1999年在《IEEE信号处理快报》上报告了基于统计模型的VAD，<sup>[7](https://doi.org/10.1109/97.736233)</sup>ITU-T G.729.1修正案7（2012-02-29获批）增加了附录F，这是一个与G.720.1附录A相同的VAD，供附录C的DTX/CNG方案使用。<sup>[17](https://www.itu.int/itu-t/recommendations/rec.aspx?lang=en&rec=11537)</sup>

## 变体

基于能量的VAD对短时能量进行阈值化，有时辅以过零率和谱熵；它计算成本低，但在强噪声或非平稳噪声以及竞争说话人条件下性能下降。<sup>[18](https://www.mdpi.com/2079-9292/15/2/263)</sup>G.729B即上文所述的四特征、多边界检测器。基于统计模型的VAD及其改进构成一个家族：曹与孔多兹于2001年发表在《IEEE信号处理快报》上的平滑似然比（SLR）针对判决引导先验信噪比估计器中的延迟项所导致的语音结束处检测错误，<sup>[19](https://doi.org/10.1109/97.957270)</sup><sup> • </sup><sup>[20](https://www.ee.columbia.edu/~dpwe/papers/ChoAK01-vad.pdf)</sup>而多观测LRT将 \( 2R+1 \) 个连续帧组合为 \( \Lambda_{\text{MO-LRT}}(\ell) = \prod \Lambda(\ell+r) \) 以提高可靠性。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>WebRTC VAD是一个[高斯混合模型](https://www.edgepedia.org/zh/gaussian-mixture-model)，仅158 KB，接受8000、16000、32000或48000 Hz的16位单声道PCM，帧长10、20或30 ms，激进程度模式为0到3；它速度快，但在区分语音与背景噪声方面不如DNN模型准确。<sup>[21](https://pypi.org/project/webrtcvad/)</sup><sup> • </sup><sup>[22](https://github.com/gkonovalov/android-vad/)</sup>基于HMM的VAD使用双状态遍历HMM建模语音存在与缺失，并加入挂起以提高语音检测率。<sup>[23](https://digital-library.theiet.org/content/journals/10.1049/iet-spr.2010.0282)</sup>

神经网络VAD在当前的部署中占主导地位。MarbleNet是一种用于VAD的深层一维时间-通道可分离卷积网络，由贾飞、索姆舒布拉·马宗达与鲍里斯·金斯伯格于2020年在arXiv上报告。<sup>[24](https://doi.org/10.48550/arxiv.2010.13886)</sup>Silero VAD是一族DNN检测器，在包含6000多种语言的大型异构语料上训练；其JIT模型约两兆字节，支持8000 Hz与16000 Hz采样。<sup>[8](https://github.com/snakers4/silero-vad)</sup>第6版约有309K参数、1.2 MB，包含一个Conv1d编码器、一个128隐藏单元的LSTM（其[2,1,128]状态跨块传递）和一个sigmoid解码器，接收576样本输入（512样本帧加64样本左上下文），输出以0.5为阈值的概率。<sup>[12](https://soniqo.audio/guides/vad)</sup><sup> • </sup><sup>[2](https://huggingface.co/openEuler/silero-vad)</sup>Pyannote的segmentation-3.0是更大的离线模型，约1.49M参数、5.7 MB，使用SincNet特征和4层BiLSTM，在10秒滑动窗口上以1秒步长运行，迟滞阈值为起始0.767、结束0.377。<sup>[12](https://soniqo.audio/guides/vad)</sup>EEND家族直接预测说话人活动：EEND使用带置换不变训练的BiLSTM，SA-EEND以[Transformer](https://www.edgepedia.org/zh/transformer)替代BiLSTM，EEND-EDA引入吸引子以应对可变说话人数。<sup>[25](https://arxiv.org/html/2509.11957v1)</sup>

## 应用

在语音编码中，VAD驱动不连续传输：G.729B的DTX发送携带能量与谱包络信息的静音插入描述符（SID）帧，连续SID帧之间的最小间隔为 \( N_{\min} = 2 \) 帧，接收端重新生成舒适噪声。<sup>[5](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1557970/download-documents?artifactId=0z_TOl533BqOX9UZA8BaDOXBxJUrHpDoMOPWbwtMXyDQ5uYtO4ZK2tA)</sup><sup> • </sup><sup>[17](https://www.itu.int/itu-t/recommendations/rec.aspx?lang=en&rec=11537)</sup>在识别与传输中，VAD对前端进行门控，提供端点检测，并为语音识别、助听器和互联网实时语音中的降噪与回声消除提供噪声统计量。<sup>[3](https://www.dsprelated.com/showabstract/3833.php)</sup>性能通常以检测概率 \( P_{d} \) 对虚警概率 \( P_{fa} \) 的接收机工作特性曲线报告，并以曲线下面积（最优值为1）概括；语音编码工作还使用FEC、OVER、MSC与NDS误差参数。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup><sup> • </sup><sup>[4](https://www.diva-portal.org/smash/get/diva2:831566/FULLTEXT01.pdf)</sup>延迟与开销如今已很小：Silero在单CPU线程上处理30+ ms音频块耗时不足1 ms，ONNX最高快4–5倍，<sup>[8](https://github.com/snakers4/silero-vad)</sup>而无前视的神经网络VAD在2.5 GHz笔记本CPU上处理1 s音频耗时7 ms。<sup>[26](https://ar5iv.labs.arxiv.org/html/2102.07445)</sup>对于助听器，一个在8 ms延迟滤波器组上使用似然比次序统计量的LRT VAD，在0至20 dB信噪比的三种噪声类型下，相对于传统VAD将平均检测错误率降低了15.8%。<sup>[27](https://www.mdpi.com/2076-3417/10/15/5026)</sup>

## 局限与替代方案

固定能量阈值要求事先已知噪声电平，非平稳干扰会造成误触发；在已发表的比较中，LTSD平稳性特征的ROC曲线比信噪比特征更接近最优点。<sup>[1](https://link.springer.com/article/10.1186/s13634-015-0277-z)</sup>在一项基准测试中，音乐流对Silero、WebRTC和RMS均造成误报，<sup>[28](https://arxiv.org/pdf/2601.17270)</sup>能量或过零方法在低信噪比或语音重叠时失效，而GMM与HMM方法仅能在中等噪声下改善鲁棒性。<sup>[25](https://arxiv.org/html/2509.11957v1)</sup>来自低功率频点的对数似然比在非平稳噪声下不可靠，这促使人们设计对可靠频点加权的规则。<sup>[9](https://asp-eurasipjournals.springeropen.com/counter/pdf/10.1186/1687-6180-2011-31.pdf)</sup>在强噪声下排序可能反转：在混入−5至10 dB信噪比的Google Speech Commands上，使用13个MFCC的CNN+BiLSTM模型达到96.91%的AUROC和90.16%的F1，而Silero VAD达到63.07%的AUROC，G.729 VAD达到88.80%的精确率但召回率仅31.38%。<sup>[18](https://www.mdpi.com/2079-9292/15/2/263)</sup>补救措施包括在VAD之前放置噪声抑制模块，这在无需大量训练数据的情况下改善了NOIZEUS数据集上的检测，<sup>[29](https://link.springer.com/article/10.1007/s10772-024-10149-x)</sup>以及目标说话人VAD，它从注册话语中检测已知说话人，但在会议等开放域场景中失效。<sup>[25](https://arxiv.org/html/2509.11957v1)</sup>深度学习VAD仍需要大型训练语料，这限制了其在资源受限环境中的应用。<sup>[29](https://link.springer.com/article/10.1007/s10772-024-10149-x)</sup>

## References

1. [Features for voice activity detection: a comparative analysis (EURASIP Journal on Advances in Signal Processing)](https://link.springer.com/article/10.1186/s13634-015-0277-z)
2. [Silero VAD v6 model card (openEuler / IB-Robot packaging, Ascend NPU validation)](https://huggingface.co/openEuler/silero-vad)
3. [Voice Activity Detection. Fundamentals and Speech Recognition System Robustness (Ramírez & Górriz)](https://www.dsprelated.com/showabstract/3833.php)
4. [A Survey and Evaluation of Voice Activity Detection Algorithms (diVA thesis)](https://www.diva-portal.org/smash/get/diva2:831566/FULLTEXT01.pdf)
5. [ITU-T Rec. G.729 Annex B (11/96): A silence compression scheme for G.729 optimized for terminals conforming to Recommendation V.70](https://ptacts.uspto.gov/ptacts/public-informations/petitions/1557970/download-documents?artifactId=0z_TOl533BqOX9UZA8BaDOXBxJUrHpDoMOPWbwtMXyDQ5uYtO4ZK2tA)
6. [3GPP TS 26.094 v16.0.0, AMR speech codec Voice Activity Detector (VAD)](https://www.etsi.org/deliver/etsi_ts/126000_126099/126094/16.00.00_60/ts_126094v160000p.pdf)
7. [Jongseo Sohn, Nam Soo Kim, Wonyong Sung (1999). A statistical model-based voice activity detection. IEEE Signal Processing Letters.](https://doi.org/10.1109/97.736233)
8. [Silero VAD: pre-trained enterprise-grade Voice Activity Detector (official repository)](https://github.com/snakers4/silero-vad)
9. [Improved VAD based on reliable likelihood ratios (EURASIP Journal on Audio, Speech, and Music Processing, 2011)](https://asp-eurasipjournals.springeropen.com/counter/pdf/10.1186/1687-6180-2011-31.pdf)
10. [G.729 Voice Activity Detection, MATLAB & Simulink example](https://www.mathworks.com/help/dsp/ug/g-729-voice-activity-detection.html)
11. [EN 301 708 V7.1.0, GSM 06.94: Voice Activity Detector for Adaptive Multi-Rate (AMR) speech traffic channels; General description](https://etsi.org/deliver/etsi_en/301700_301799/301708/07.01.00_40/en_301708v070100o.pdf)
12. [Voice Activity Detection, Silero VAD and Pyannote (Soniqo guide)](https://soniqo.audio/guides/vad)
13. [K. Bullington, J. M. Fraser (1959). Engineering Aspects of TASI. Bell System Technical Journal.](https://doi.org/10.1002/j.1538-7305.1959.tb03892.x)
14. [Voice activity detection using a periodicity measure (R. Tucker, IEE Proceedings I, August 1992)](https://digital-library.theiet.org/content/journals/10.1049/ip-i-2.1992.0052)
15. [ITU-T Recommendation G.729 (03/96): Coding of speech at 8 kbit/s using CS-ACELP](https://course.ece.cmu.edu/~ece796/documents/g729.pdf)
16. [A. Benyassine and colleagues (1997). ITU-T Recommendation G.729 Annex B: a silence compression scheme for use with G.729 optimized for V.70 digital simultaneous voice and data applications. IEEE Communications Magazine.](https://doi.org/10.1109/35.620527)
17. [ITU-T G.729.1 (2006) Amd. 7 (02/2012), New Annex F with voice activity detector using ITU-T G.720.1 Annex A](https://www.itu.int/itu-t/recommendations/rec.aspx?lang=en&rec=11537)
18. [A Comparative Experimental Study on Simple Features and Lightweight Models for Voice Activity Detection in Noisy Environments (MDPI Electronics)](https://www.mdpi.com/2079-9292/15/2/263)
19. [Yong Duk Cho, A. Kondoz (2001). Analysis and improvement of a statistical model-based voice activity detector. IEEE Signal Processing Letters.](https://doi.org/10.1109/97.957270)
20. [Improved Voice Activity Detection Based on a Smoothed Statistical Likelihood Ratio (Cho, Al-Naimi, Kondoz, 2001)](https://www.ee.columbia.edu/~dpwe/papers/ChoAK01-vad.pdf)
21. [webrtcvad v2.0.10 (PyPI)](https://pypi.org/project/webrtcvad/)
22. [Android VAD library: WebRTC GMM, Silero DNN, Yamnet DNN](https://github.com/gkonovalov/android-vad/)
23. [Hidden-Markov-model-based voice activity detector with high speech detection rate for speech enhancement (IET Signal Processing, Veisi & Sameti)](https://digital-library.theiet.org/content/journals/10.1049/iet-spr.2010.0282)
24. [Jia, Fei, Majumdar, Somshubra, Ginsburg, Boris (2020). MarbleNet: Deep 1D Time-Channel Separable Convolutional Neural Network for Voice Activity Detection. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2010.13886)
25. [EEND-SAA: Enrollment-Less Main Speaker Voice Activity Detection using Self-Attention Attractors](https://arxiv.org/html/2509.11957v1)
26. [On training targets for noise-robust voice activity detection (arXiv, 2021)](https://ar5iv.labs.arxiv.org/html/2102.07445)
27. [Auditory Device Voice Activity Detection Based on Statistical Likelihood-Ratio Order Statistics (Applied Sciences, 2020)](https://www.mdpi.com/2076-3417/10/15/5026)
28. [Impact of window size on the accuracy of Silero, WebRTC, and RMS voice activity detection](https://arxiv.org/pdf/2601.17270)
29. [Integrated noise suppression techniques for enhancing voice activity detection in degraded environments (International Journal of Speech Technology, 2024)](https://link.springer.com/article/10.1007/s10772-024-10149-x)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/voice-activity-detection

English original: https://www.edgepedia.org/voice-activity-detection
