Speech Technology 2025
Лекция #8
Speaker Recognition
Георгий Господинов
Plan
Tasks
Tasks
Tasks
KeyWord Spotting
Speech Recognition
Language Identification
Speaker Recognition
Emotion Recognition
Linguistic
Paralinguistic
Tasks
Tasks
KeyWord Spotting
Speech Recognition
Language Identification
Speaker Recognition
Emotion Recognition
Speaker Identification
Speaker Verification
Speaker Diarization
Linguistic
Paralinguistic
which member from a group is speaking
confirm that a speaker matches a known
segmenting audio recordings by speaker labels
Tasks
Tasks
KeyWord Spotting
Speech Recognition
Language Identification
Speaker Recognition
Emotion Recognition
Speaker Identification
Speaker Verification
Speaker Diarization
Linguistic
Paralinguistic
Text
Dependent
Text-
Independent
Vector Space Model
5.77 |
1.61 |
... |
-0.96 |
-0.87 |
-0.74 |
0.11 |
... |
-1.00 |
-0.92 |
Vector Space Model
5.77 |
1.61 |
... |
-0.96 |
-0.87 |
-0.74 |
0.11 |
... |
-1.00 |
-0.92 |
Feature Extraction &
Speaker Encoder
Vector Space Model
5.77 |
1.61 |
... |
-0.96 |
-0.87 |
-0.74 |
0.11 |
... |
-1.00 |
-0.92 |
Feature Extraction &
Speaker Encoder
Applications
Applications
Applications
Applications
Applications
Applications
Applications
Metrics
Events (FaceNet images)
True Positive
False Negative
False Positive
👍
👍
👎
Model
Prediction
Score Distribution
Score Distribution
matching threshold
Detection Error Tradeoff
Detection Error Tradeoff
Detection Error Tradeoff
secure, not user-friendly
biometry
Detection Error Tradeoff
secure, not user-friendly
biometry
user-friendly, not secure
archive search
Workflow
Enrollment Stage
Feature Extraction
Feature Extraction
Feature Extraction
Speaker Encoder
Speaker Encoder
Speaker Encoder
Aggregation
User Profile
Enrollment Stage
Feature Extraction
Feature Extraction
Feature Extraction
Speaker Encoder
Speaker Encoder
Speaker Encoder
Aggregation
User Profile
Runtime Stage
Feature Extraction
Speaker Encoder
Matching
User Profile 1
User Profile 2
User Profile 3
Recognition Result
Deployment
User Device
Model
Speech Engine
User Profile
Deployment
User Device
Model
Speech Engine
User Device
Frontend Server
Database
Cloud Server
Model
Speech Engine
User Profile
User Profile
Deployment
User Device
Model
Speech Engine
User Device
Frontend Server
Database
Cloud Server
Model
Speech Engine
User Profile
User Profile
User Device
Frontend Server
Cloud Server
Model
Speech Engine
User Profile
Deployment: Model update, v1
5.77 |
1.61 |
... |
-0.96 |
-0.87 |
-0.74 |
0.11 |
... |
-1.00 |
-0.92 |
Deployment: Model update, v2
8.41 |
20.7 |
... |
6.53 |
-34.8 |
-0.65 |
-1.52 |
... |
-3.66 |
-7.77 |
Deployment: stateful system
Deployment: stateful system
User Device
Frontend Server
Database
Cloud Server
Model V2
Speech Engine
User Profile V1
User Profile V2
Cloud Server
Model V3
Speech Engine
user ids
Recognition Result
Recognition Result
user ids
version
replace
Model Training
Cross-Entropy
|
|
|
|
|
|
|
Cross-Entropy
|
|
|
|
|
|
|
Cross-Entropy
|
|
|
|
|
|
|
Cross-Entropy
|
|
|
|
|
|
|
Nearest Neighbours
Cross-Entropy:
Modified Softmax
Modified Softmax
Modified Softmax
SphereFace (Angular Softmax)
SphereFace (Angular Softmax)
SphereFace (Angular Softmax)
*Face*
*Face*
Finally, we took inspiration from the face recognition literature, SphereFace2, and incorporated ideas from a novel binary classification training framework into our training loss function. This helped bridge the gap between how speaker embedding extractors are typically trained as a multiclass classifier via cross-entropy loss and how they are used at inference—to make a binary accept/reject decisions.
Voice Trigger System for Siri (Apple, 2023)
Open Set Problem
Does society place too much importance on sports?
How do sports contribute to the society?
How do you get a book published?
What are the good ways to write and publish a book?
Triplet Loss
Speaker Encoder
Speaker Encoder
Speaker Encoder
anchor
positive
negative
A
P
N
Triplet Loss
A
hard negative
P
N
N
N
semi hard negative
easy negative
α
Encoders
ECAPA-TDNN
ECAPA-TDNN
ECAPA-TDNN
ECAPA-TDNN
ECAPA-TDNN
ECAPA-TDNN
ECAPA-TDNN
ECAPA-TDNN
MFA-Conformer
MFA-Conformer
FeedForward
+
Multi-Head
Self-Attention
+
Convolution
Module
+
FeedForward
+
LayerNorm
MFA-Conformer
MFA-Conformer
Layer Knowledge
Self-Supervised Pre-training
Speaker tasks
Content tasks
ASR Pre-training
Datasets
VoxCeleb
VoxTube
Спасибо за внимание!
@georgygospodinov