# x-vector

x-vector 是一种固定维度的说话人嵌入，由经过训练以区分不同说话人的深度神经网络产生，将变长语音段映射为表示说话人声音的定长向量。该方法由 David Snyder、Daniel Garcia-Romero、Gregory Sell、Daniel Povey 和 Sanjeev Khudanpur 在 ICASSP 2018 的论文《X-Vectors: Robust DNN Embeddings for Speaker Recognition》中提出，它取代了早期的 i-vector 框架，成为文本无关说话人识别中的主导表示。<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup><sup> • </sup><sup>[2](https://dblp.org/rec/conf/icassp/SnyderGSPK18)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 由经过训练以区分说话人的 DNN 产生的固定维度嵌入，将变长语音段映射为定长向量<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup> |
| 原始论文 | Snyder、Garcia-Romero、Sell、Povey 和 Khudanpur，ICASSP 2018，加拿大艾伯塔省卡尔加里<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup><sup> • </sup><sup>[2](https://dblp.org/rec/conf/icassp/SnyderGSPK18)</sup> |
| 架构 | 五层 TDNN 用于帧级处理，一个统计池化层聚合帧级输出，以及两层全连接层用于语音段级处理<sup>[3](https://www.sciencedirect.com/science/article/pii/S0925231220310675)</sup> |
| 数据增强 | 添加噪声和混响能以低成本倍增训练数据；增强对 PLDA 分类器有帮助但对 i-vector 提取器无益，而监督式 x-vector DNN 能利用它<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup> |
| 评估 | 在 Speakers in the Wild 和 NIST SRE 2016 粤语集上优于 i-vector 基线<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup> |
| 后继者 | ResNet、DenseNet 和 ECAPA-TDNN 嵌入建立在 x-vector 设计之上；ECAPA-TDNN 优于 x-vector 模型<sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC11243859/)</sup> |
| 应用 | 说话人验证、说话人日志、语音活动检测和基于语音的临床评估<sup>[5](https://github.com/bbc/bbc-speech-segmenter)</sup><sup> • </sup><sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7935511/)</sup> |

## 架构

x-vector 网络分三个阶段处理一段语音。首先，五层时延神经网络（TDNN）层——即对帧进行一维卷积——在帧级别运行以捕捉局部频谱上下文。其次，一个统计池化层在整个音频段上聚合帧级输出，产生段级表示。第三，两层全连接层后接一个 softmax 层，输出训练说话人上的后验概率；该语音段级部分的中间层即作为提取的嵌入。<sup>[3](https://www.sciencedirect.com/science/article/pii/S0925231220310675)</sup><sup> • </sup><sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC10824834/)</sup>

由于池化层在所有帧上聚合，网络接受任意长度的语音段，同时始终输出相同维度的嵌入。

## 与 i-vector 的关系

i-vector 和 x-vector 都将一段语音录音转换为表示说话人的定长向量，提取的 x-vector 可以像 i-vector 一样进行比较，通常使用概率线性判别分析（PLDA）或余弦相似度打分。区别在于向量的获取方式：i-vector 方法对基于[高斯混合模型](https://www.edgepedia.org/zh/gaussian-mixture-model)的总变异性空间进行因子分解，而 x-vector 方法使用前馈 DNN。<sup>[8](https://oxfordwaveresearch.com/wp-content/uploads/2020/02/IAFPA19_xvectors_Kelly_et_al_paper.pdf)</sup>

原始 ICASSP 2018 论文在 Speakers in the Wild 和 NIST SRE 2016 [粤语](https://www.edgepedia.org/zh/cantonese)评估集上比较了 x-vector 与 i-vector 基线，发现 x-vector 性能更优，作者将其归因于监督式 DNN 利用数据增强的能力。<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup> 在 NFI-FRIDA 数据库上进行的一项司法鉴定评估——该数据库包含 250 名荷兰语母语男性说话人在多台设备上同时录制的录音——在失配条件下显示了相同的模式：对于 d4-d4、d1-d5 和 d4-d5 设备对比，x-vector 系统相对于 i-vector 系统将等错误率大约减半。x-vector 系统在超过 100,000 条语音录音（含增强）上训练，而 i-vector 系统使用约 47,000 条无增强录音，融合两个系统的分数在失配对比上带来了进一步改善。<sup>[8](https://oxfordwaveresearch.com/wp-content/uploads/2020/02/IAFPA19_xvectors_Kelly_et_al_paper.pdf)</sup>

## 数据增强

收集大量有标注的说话人数据很困难，因此原始作者使用数据增强——包括添加噪声和混响——作为一种低成本倍增训练数据量并提高鲁棒性的方法。他们的实验发现了一种分工：增强在 PLDA 分类器中有益但在 i-vector 提取器中无帮助，而 x-vector DNN 因其监督式训练能有效利用它。<sup>[1](https://ieeexplore.ieee.org/document/8461375)</sup>

## 应用

**说话人日志与分割。** 说话人日志——即标注语音信号每一部分由哪个说话人产生的任务——通常从每个短段中提取说话人嵌入并对嵌入进行聚类。通过统计池化帧级表示，x-vector 在段级别捕捉说话人特征，它是最常用于日志的深度说话人嵌入之一。<sup>[9](https://arxiv.org/abs/2105.07367)</sup> BBC 的语音分割器使用 Kaldi 和 x-vector 在多类型广播语音中进行语音活动检测和说话人日志，Ogura 和 Haynes（2021）描述了一个基于 x-vector 的语音活动检测系统。<sup>[5](https://github.com/bbc/bbc-speech-segmenter)</sup> 一种多尺度聚合变体——在网络多个帧级层应用统计池化层——在 CALLHOME 数据集上对日志任务相对基线 x-vector 带来了显著改善。<sup>[9](https://arxiv.org/abs/2105.07367)</sup>

**临床语音分析。** 由于 x-vector 是变长语音段的定长表示，它们可以作为说话人身份之外任务的特征。在从语音早期检测帕金森病的研究中，提取 x-vector 并使用余弦相似度、LDA 加余弦相似度和 PLDA 根据说话人的[帕金森病](https://www.edgepedia.org/zh/parkinsons-disease)状态进行分类。同一工作指出，DNN 训练与 x-vector 提取之间的语言不匹配不是问题，因为据报道 x-vector 在说话人识别中对这种域不匹配具有鲁棒性。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC7935511/)</sup>

## 后继者与现状

x-vector 设计催生了一系列改进的嵌入架构。增强包括添加残差连接的 ResNet 嵌入、利用层间连接的 DenseNet 嵌入，以及对通道相互依赖建模并利用多尺度特征的 ECAPA-TDNN；ECAPA-TDNN 在比较评估中优于 x-vector 模型。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC10824834/)</sup><sup> • </sup><sup>[4](https://pmc.ncbi.nlm.nih.gov/articles/PMC11243859/)</sup> TDNN 主干本身的变体包括扩展 TDNN（E-TDNN）、因子化 TDNN（F-TDNN）和密集连接 TDNN（D-TDNN），因子化 TDNN 拓扑被带入 x-vector 说话人识别用于 NIST SRE18 和 Speakers in the Wild 评估。<sup>[10](https://arxiv.org/abs/2109.08839)</sup><sup> • </sup><sup>[11](https://www.sciencedirect.com/science/article/pii/S0885230819302700)</sup>

此后[神经架构搜索](https://www.edgepedia.org/zh/neural-architecture-search)进一步推动了基于 TDNN 的系统：SpeechNAS 在基于 TDNN 的空间中搜索，包含高阶统计池化、多分支机制、D-TDNN 和角度加性边际 softmax 损失，发现了一种在标准 VoxCeleb1 测试集上达到 1.02% 等错误率的架构。<sup>[10](https://arxiv.org/abs/2109.08839)</sup> 尽管有这些后继者，x-vector 仍在积极使用，包括作为语音合成流水线中的预训练说话人嵌入和日志系统的组件。<sup>[5](https://github.com/bbc/bbc-speech-segmenter)</sup>

## References

1. [David Snyder, Daniel Garcia-Romero, Gregory Sell, Daniel Povey, Sanjeev Khudanpur (2018). X-Vectors: Robust DNN Embeddings for Speaker Recognition. ICASSP 2018, IEEE.](https://ieeexplore.ieee.org/document/8461375)
2. [dblp record: X-Vectors: Robust DNN Embeddings for Speaker Recognition](https://dblp.org/rec/conf/icassp/SnyderGSPK18)
3. [Dilated residual networks with multi-level attention for speaker verification, Neurocomputing](https://www.sciencedirect.com/science/article/pii/S0925231220310675)
4. [Multisensory Fusion for Unsupervised Spatiotemporal Speaker Diarization, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC11243859/)
5. [bbc/bbc-speech-segmenter, GitHub](https://github.com/bbc/bbc-speech-segmenter)
6. [X-Vectors: New Quantitative Biomarkers for Early Parkinson's Disease Detection From Speech, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7935511/)
7. [Speaker-turn aware diarization for speech-based cognitive assessments, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC10824834/)
8. [Finnian Kelly, Anil Alexander, Oscar Forth, David van der Vloed (2019). From i-vectors to x-vectors – a generational change in speaker recognition illustrated on the NFI-FRIDA database, IAFPA](https://oxfordwaveresearch.com/wp-content/uploads/2020/02/IAFPA19_xvectors_Kelly_et_al_paper.pdf)
9. [Myungjong Kim, Vijendra Raj Apsingekar, Divya Neelagiri (2021). X-Vectors with Multi-Scale Aggregation for Speaker Diarization, arXiv:2105.07367](https://arxiv.org/abs/2105.07367)
10. [Wentao Zhu et al. (2021). SpeechNAS: Towards Better Trade-off between Latency and Accuracy for Large-Scale Speaker Verification, arXiv:2109.08839](https://arxiv.org/abs/2109.08839)
11. [State-of-the-art speaker recognition with neural network embeddings in NIST SRE18 and Speakers in the Wild evaluations, Speech Communication](https://www.sciencedirect.com/science/article/pii/S0885230819302700)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Titles I to Z

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/x-vector

English original: https://www.edgepedia.org/x-vector
