# 语音分离

语音分离是一项信号处理与机器学习任务，其目标是从一段音频混合信号中恢复出各个独立的语音信号，例如一段两人在背景噪声中交谈的录音。系统通常接收一段混合波形（单通道，或来自麦克风阵列的多通道），并为每个声源输出一个估计信号；说话人的数量可以是事先固定已知的，也可以是未知的、在推理过程中估计出来的。该任务受到广泛研究，因为它是多说话人场景下的自动语音识别（automatic speech recognition, ASR）、移动语音通信和助听器的基础。<sup>[1](https://link.springer.com/article/10.1007/s10462-023-10612-2)</sup>

| 关键事实 | 详情 |
|---|---|
| 输入/输出（Conv-TasNet 形式） | 输入为 `[batch, 1, frames]` 的波形张量，输出为 `[batch, num_sources, frames]` 的张量<sup>[2](https://docs.pytorch.org/audio/main/generated/torchaudio.models.ConvTasNet.html)</sup> |
| 问题名称 | “鸡尾酒会问题”，由 Cherry 在 1953 年的论文中提出<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC6586438/)</sup> |
| 核心训练技巧 | 排列不变训练（permutation invariant training, PIT）：在计算损失之前，将估计声源与真实声源对齐<sup>[4](https://www.merl.com/publications/docs/TR2025-036.pdf)</sup> |
| 标准指标 | 排列不变 SI-SNR，说话人分离中最常用的训练与评估指标<sup>[5](https://www.mathworks.com/help/audio/ug/end-to-end-deep-speech-separation.html)</sup> |
| 标准基准 | WSJ0-2mix：训练/验证/测试语音分别为 30/10/5 小时，采样率 8 kHz，各声源电平相差 0–5 dB<sup>[6](https://ar5iv.labs.arxiv.org/html/2202.02884)</sup> |
| 代表性结果 | SepFormer：在采用动态混合的 WSJ0-2mix 上达到 22.3 dB SI-SNRi 和 22.4 dB SDRi<sup>[7](https://arxiv.org/pdf/2010.13154)</sup> |
| 本文引用的当前最佳 | TF-GridNet：在未采用动态混合的 WSJ0-2mix 上达到 23.4 dB SI-SDRi<sup>[8](https://ieeexplore.ieee.org/document/10094992)</sup> |

## 工作原理

分离网络学习一个函数，将混合信号映射为若干输出信号。有两个设计选择起主导作用。第一个是表示方式：时频（time-frequency, T-F）方法在频谱图上操作，为每个频点估计一个掩码或复频谱；而时域方法则用一个可学习的线性编码器取代短时傅里叶变换（short-time Fourier transform, STFT），对编码器输出施加掩码，再用一个可学习的线性解码器重建波形。<sup>[9](https://doi.org/10.1109/taslp.2019.2915167)</sup> 自 2019 年以来，在极短窗上使用可学习编码器和解码器的 TasNet 类模型，已成为无回声（无混响）分离的主流方法。<sup>[8](https://ieeexplore.ieee.org/document/10094992)</sup>

第二个选择是网络如何处理排列问题。确定性网络将输入映射到固定的输出槽位，但训练目标与槽位的对应关系是任意的：在与说话人无关的训练中，网络无法学到哪个槽位应当承载哪个说话人，因此损失是不确定的。<sup>[10](https://doi.org/10.48550/arxiv.1508.04306)</sup> [排列](https://www.edgepedia.org/zh/permutation)不变训练通过计算输出与参考信号在每一种排列下的损失并取最小值来解决这一问题，实际上是把参考信号作为一个集合来呈现。<sup>[1](https://link.springer.com/article/10.1007/s10462-023-10612-2)</sup>

常用的训练目标是尺度不变信噪比（scale-invariant signal-to-noise ratio, SI-SNR），在话语级 PIT（utterance-level PIT, uPIT）下最大化。<sup>[9](https://doi.org/10.1109/taslp.2019.2915167)</sup> 对于 S 个说话人，穷举式 PIT 的代价为 \( O(S!) \)；将排列问题重新表述为可用[匈牙利算法](https://www.edgepedia.org/zh/hungarian-algorithm)求解的线性求和分配问题，可将代价降至 \( O(S^{3}) \)。<sup>[1](https://link.springer.com/article/10.1007/s10462-023-10612-2)</sup>

## 具体做法

以参考 Conv-TasNet 实现为例，典型的工作流程如下。首先，模拟训练混合信号：从 WSJ0 等语料库中选取话语，以随机信噪比混合，并重采样至 8 kHz；动态混合可以按指定范围内抽取的信噪比加入噪声，作为数据增强。<sup>[5](https://www.mathworks.com/help/audio/ug/end-to-end-deep-speech-separation.html)</sup> 其次，选择一种分离器架构，用 SI-SNR（SI-SDR）损失以 PIT 或 uPIT 训练；参考的 PyTorch Conv-TasNet 方案涵盖混合信号生成、文件列表生成、训练、评估和分离。<sup>[11](https://github.com/kaituoxu/conv-tasnet)</sup> 第三，在推理时，对混合信号运行模型；例如 torchaudio 的 Conv-TasNet 接收 `[batch, 1, frames]` 张量，返回 `[batch, num_sources, frames]`。<sup>[2](https://docs.pytorch.org/audio/main/generated/torchaudio.models.ConvTasNet.html)</sup> 最后，将输出分配给各说话人：对于说话人数固定的 PIT 模型，输出是无序的，因此下游系统必须判断哪个输出属于哪个说话人；评估使用 SI-SNR 提升量（SI-SNRi）或 SDR 提升量（SDRi），即相对于未处理混合信号的增益。<sup>[5](https://www.mathworks.com/help/audio/ug/end-to-end-deep-speech-separation.html)</sup>

标准基准 WSJ0-2mix 由 WSJ0 朗读语音构建：训练 30 小时（20,000 条话语）、验证 10 小时（5,000 条）、测试 5 小时（3,000 条），采样率 8 kHz，在“min”版本中各声源的相对电平在 0 到 5 dB 之间均匀采样。<sup>[6](https://ar5iv.labs.arxiv.org/html/2202.02884)</sup> 噪声更多的基准将相同的混合信号与真实录音配对：WHAM! 加入在日常场所录制的环境噪声，<sup>[12](https://www.isca-archive.org/interspeech_2019/wichern19_interspeech.pdf)</sup> 而 WHAMR! 进一步对信号施加混响。<sup>[6](https://ar5iv.labs.arxiv.org/html/2202.02884)</sup>

## 起源

[听觉场景分析](https://www.edgepedia.org/zh/auditory-scene-analysis)（auditory scene analysis, ASA）是一种按声源对声能进行分组的知觉过程，分为同时性组织和顺序性组织。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC6586438/)</sup> 沿袭 ASA 传统的计算听觉场景分析（computational auditory scene analysis, CASA）方法提出了理想二值掩码，后者成为监督式分离中最早的训练目标；Wang 与 Wang 用深度神经网络在频谱特征上预测理想二值掩码以进行语音增强，成为一项突破。<sup>[4](https://www.merl.com/publications/docs/TR2025-036.pdf)</sup>

现代深度学习路线始于深度聚类（deep clustering），由 Hershey 及其同事于 2015 年在 arXiv 上报告，它训练网络为时频区域分配嵌入向量，使得对嵌入进行聚类即可得到分离结果，且无需处理排列问题。<sup>[10](https://doi.org/10.48550/arxiv.1508.04306)</sup> 排列不变训练由 Yu 及其同事于 2016 年在 arXiv 上报告，用于与说话人无关的多说话人分离。<sup>[13](https://doi.org/10.48550/arxiv.1607.00325)</sup> 随后，Luo 与 Mesgarani 于 2017 年用 TasNet 将分离迁移到波形域，<sup>[14](https://doi.org/10.48550/arxiv.1711.00541)</sup> 并将其改进为全卷积的 Conv-TasNet，于 2019 年发表在 IEEE/ACM TASLP 上。<sup>[9](https://doi.org/10.1109/taslp.2019.2915167)</sup>

## 变体

Conv-TasNet 用由堆叠的一维膨胀卷积块构成的时间卷积网络（temporal convolutional network, TCN）估计掩码，并使用深度可分离卷积以保持模型小巧。<sup>[9](https://doi.org/10.1109/taslp.2019.2915167)</sup> 后来的架构提升了容量：Subakan 及其同事于 2020 年在 arXiv 上报告的 SepFormer 引入了 transformer 自注意力；<sup>[7](https://arxiv.org/pdf/2010.13154)</sup> Zeghidour 与 Grangier 于 2021 年提出的 Wavesplit 通过说话人聚类实现端到端分离；<sup>[15](https://doi.org/10.1109/taslp.2021.3099291)</sup> TF-GridNet 则堆叠帧内频谱、子带时序和全带自注意力模块，在时频域进行复频谱映射。<sup>[8](https://ieeexplore.ieee.org/document/10094992)</sup>

对于说话人数未知的情形，“一与其余”（one-and-rest, OR-PIT）模型先分离出最主导的说话人，再将残差递归地送回，直到检测不到更多说话人为止；这类递归分离由 Takahashi 及其同事于 2019 年在 arXiv 上报告，<sup>[16](https://doi.org/10.48550/arxiv.1904.03065)</sup> 而逐次消除式的 DExFormer 将 OR-PIT 与受 SepFormer 启发的主干以及一个终止判据相结合，在声源数量不作为输入给定的情况下估计其数目。<sup>[17](https://www.mdpi.com/1424-8220/25/16/4905)</sup> 一种互补的表述是目标说话人提取，它以目标说话人几秒钟的注册语音片段为条件；Wang 及其同事于 2018 年在 arXiv 上报告的 VoiceFilter 使用一个产生 256 维 d-vector 的说话人编码器，为一个频谱图掩码网络提供条件。<sup>[18](https://doi.org/10.48550/arxiv.1810.04826)</sup>

## 应用

语音分离与增强服务于 ASR、移动语音通信和助听器设计。<sup>[1](https://link.springer.com/article/10.1007/s10462-023-10612-2)</sup> 对于听障听众，基于 DNN 的分离在目标信号与干扰信号之比分别为 −3、−6 和 −9 dB 时，将可懂度分别提升了 42.5、49.2 和 58.7 个百分点。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC6586438/)</sup> 作为 ASR 前端，在 [LibriSpeech](https://www.edgepedia.org/zh/librispeech) 上训练的 VoiceFilter 在双说话人场景下将识别词错误率从 55.9% 降至 23.4%，而单说话人词错误率基本不变。<sup>[18](https://doi.org/10.48550/arxiv.1810.04826)</sup> Conv-TasNet 模型小巧、最小延迟短，因此既适合离线使用，也适合实时使用。<sup>[9](https://doi.org/10.1109/taslp.2019.2915167)</sup> 在 WSJ0-2mix 上，已报告的 SI-SNRi 数值勾勒出该领域的进展：SepFormer 在采用动态混合时达到 22.3 dB SI-SNRi 和 22.4 dB SDRi，<sup>[7](https://arxiv.org/pdf/2010.13154)</sup> TF-GridNet 在未采用动态混合时达到 23.4 dB SI-SDRi。<sup>[8](https://ieeexplore.ieee.org/document/10094992)</sup>

## 局限与替代方案

若干失效模式反复出现。Conv-TasNet 对含噪和混响条件的泛化能力在原论文中未做测试。<sup>[9](https://doi.org/10.1109/taslp.2019.2915167)</sup> [去混响](https://www.edgepedia.org/zh/dereverberation)比去噪更难，因为单声道基于掩码的分离所依赖的稀疏性和正交性假设在混响下不再成立。<sup>[1](https://link.springer.com/article/10.1007/s10462-023-10612-2)</sup> 时域模型使用较短的帧长，这使其只能在低混响条件下实现恰当分离；在混响环境中，用 STFT/iSTFT 取代可学习的编码器/解码器更为有效。<sup>[19](https://link.springer.com/article/10.1186/s13636-025-00404-7)</sup> 当推理时的说话人数与训练时不同时，PIT 无法处理输出维度不匹配的问题。<sup>[1](https://link.springer.com/article/10.1007/s10462-023-10612-2)</sup> 逐次消除式方法和 OR-PIT 方法会累积提取误差，因此随着说话人数增加，性能会下降。<sup>[17](https://www.mdpi.com/1424-8220/25/16/4905)</sup>

替代方案与补充方案在各自的前提假设上有所不同。多麦克风处理利用空间分集：大多数智能手机和车载免提系统配有两到三个麦克风，助听器通常每耳两个，而两个麦克风所能达到的最大质量提升已远大于单个麦克风。<sup>[20](https://www.eng.biu.ac.il/gannot/files/2012/05/A-Consolidated-Perspective-on-Multi-Microphone-Speech-Enhancement-and-Source-Separation.pdf)</sup> [说话人日志](https://www.edgepedia.org/zh/speaker-diarization)（speaker diarization）回答的是“谁在何时说话”，而非重建信号；对于数量未知且随时间变化的声源进行分离，越来越多地被表述为需要声源活动检测，例如说话人日志或[声音事件检测](https://www.edgepedia.org/zh/sound-event-detection)。<sup>[4](https://www.merl.com/publications/docs/TR2025-036.pdf)</sup>

在模拟基准上的性能已经饱和，学界已转向 CHiME-7 和 CHiME-8 中的真实录制对话语音；由于模拟训练数据与真实录音之间存在失配，基于 DNN 的分离在这些场景中成效有限。<sup>[4](https://www.merl.com/publications/docs/TR2025-036.pdf)</sup> 生成式建模已直接进入分离领域：Xu 及其同事于 2025 年在 arXiv 上报告的 ArrayDPS，使用仅在单说话人语音上训练的扩散先验，执行无监督、与阵列无关的盲分离；它在 SDR 上优于基线无监督方法，并与监督方法相当。<sup>[21](https://doi.org/10.48550/arxiv.2505.05657)</sup>

## References

1. [Deep neural network techniques for monaural speech enhancement and separation: state of the art analysis (Artificial Intelligence Review, Springer)](https://link.springer.com/article/10.1007/s10462-023-10612-2)
2. [torchaudio.models.ConvTasNet, PyTorch documentation](https://docs.pytorch.org/audio/main/generated/torchaudio.models.ConvTasNet.html)
3. [Supervised Speech Separation Based on Deep Learning: An Overview (Wang & Chen, IEEE/ACM TASLP 2018; author-copy excerpts from pnlwang.github.io merged)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6586438/)
4. [30+ Years of Source Separation Research: Achievements and Future Challenges (MERL TR2025-036, March 2025)](https://www.merl.com/publications/docs/TR2025-036.pdf)
5. [Train End-to-End Speaker Separation Model (MATLAB & Simulink documentation)](https://www.mathworks.com/help/audio/ug/end-to-end-deep-speech-separation.html)
6. [Exploring Self-Attention Mechanisms for Speech Separation (arXiv:2202.02884, IEEE TASLP extension)](https://ar5iv.labs.arxiv.org/html/2202.02884)
7. [Attention Is All You Need For Speech Separation (SepFormer)](https://arxiv.org/pdf/2010.13154)
8. [TF-GridNet: Making Time-Frequency Domain Models Great Again for Monaural Speaker Separation (ICASSP 2023, IEEE)](https://ieeexplore.ieee.org/document/10094992)
9. [Yi Luo, Nima Mesgarani (2019). Conv-TasNet: Surpassing Ideal Time–Frequency Magnitude Masking for Speech Separation. IEEE/ACM Transactions on Audio Speech and Language Processing.](https://doi.org/10.1109/taslp.2019.2915167)
10. [Hershey, John R. and colleagues (2015). Deep clustering: Discriminative embeddings for segmentation and separation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1508.04306)
11. [kaituoxu/Conv-TasNet, PyTorch reference implementation](https://github.com/kaituoxu/conv-tasnet)
12. [WHAM!: Extending Speech Separation to Noisy Environments (Interspeech 2019)](https://www.isca-archive.org/interspeech_2019/wichern19_interspeech.pdf)
13. [Yu, Dong and colleagues (2016). Permutation Invariant Training of Deep Models for Speaker-Independent Multi-talker Speech Separation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1607.00325)
14. [Luo, Yi, Mesgarani, Nima (2017). TasNet: time-domain audio separation network for real-time, single-channel speech separation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1711.00541)
15. [Neil Zeghidour, David Grangier (2021). Wavesplit: End-to-End Speech Separation by Speaker Clustering. IEEE/ACM Transactions on Audio Speech and Language Processing.](https://doi.org/10.1109/taslp.2021.3099291)
16. [Takahashi, Naoya and colleagues (2019). Recursive speech separation for unknown number of speakers. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1904.03065)
17. [Deflationary Extraction Transformer for Speech Separation with Unknown Number of Talkers (Sensors, MDPI)](https://www.mdpi.com/1424-8220/25/16/4905)
18. [Wang, Quan and colleagues (2018). VoiceFilter: Targeted Voice Separation by Speaker-Conditioned Spectrogram Masking. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1810.04826)
19. [Single-microphone speaker separation and voice activity detection in noisy and reverberant environments (EURASIP Journal on Audio, Speech, and Music Processing)](https://link.springer.com/article/10.1186/s13636-025-00404-7)
20. [A Consolidated Perspective on Multi-Microphone Speech Enhancement and Source Separation](https://www.eng.biu.ac.il/gannot/files/2012/05/A-Consolidated-Perspective-on-Multi-Microphone-Speech-Enhancement-and-Source-Separation.pdf)
21. [Xu, Zhongweiyang and colleagues (2025). ArrayDPS: Unsupervised Blind Speech Separation with a Diffusion Prior. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2505.05657)

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

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/speech-separation

English original: https://www.edgepedia.org/speech-separation
