Speech & Audio AI Lab

Interactive labs for speech recognition, speech synthesis, and audio in general: in-browser DSP experiments, algorithms, datasets, and a learning path, without storing any recording.

43experiments

Speaker Recognition

Speaker Recognition

Advanced14 minStage 5

Learning Objectives

  • Distinguish Verification from Identification
  • Explain the concept of a speaker embedding
  • Understand the educational use and its ethical limits

Speaker recognition analyzes the voice characteristics that distinguish the speaker, not the spoken content. It has two tasks: verification, which is answering yes or no to whether the speaker is the claimed person, and identification, which is choosing the speaker from a known set. There is also the diarization task, which is dividing a recording into segments for each speaker.

Modern systems rely on a model that converts a segment into a fixed-length embedding vector: examples are x-vectors and ECAPA-TDNN. Two embedding vectors are compared with the cosine similarity measure $\cos\theta=\frac{\mathbf{a}\cdot\mathbf{b}}{\|\mathbf{a}\|\,\|\mathbf{b}\|}$, and then compared against a threshold. If the value is 1, the direction is the same, and if it is 0, the two vectors are orthogonal.

Quality is measured by the equal error rate (EER), which is the point at which the false acceptance rate equals the false rejection rate. Choosing the threshold is a trade-off between the two errors depending on the application.

An important ethical note: the content of this lesson is educational only, and is not intended to identify real people. Using speaker recognition to surveil or identify people without their consent is unacceptable, and accuracy is affected by language, channel, noise, and the speaker's condition. In the Lab you can compare MFCC similarity between your own clips only to understand the idea.

References

  1. Snyder, Garcia-Romero, Sell, Povey, Khudanpur. X-Vectors: Robust DNN Embeddings for Speaker Recognition. 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (2018). DOI
  2. Desplanques et al.. ECAPA-TDNN: Emphasized Channel Attention, Propagation and Aggregation in TDNN Based Speaker Verification. arXiv (2020). DOI
  3. Reynolds, Quatieri, Dunn. Speaker Verification Using Adapted Gaussian Mixture Models. Digital Signal Processing (2000). DOI

Audio processing in the experiments takes place inside your browser. Audio, texts, and conversations are not saved on the server. Privacy Policy