+ All Categories
Home > Documents > DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi...

DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi...

Date post: 19-Jul-2020
Category:
Upload: others
View: 16 times
Download: 0 times
Share this document with a friend
36
DT2118 Speech and Speaker Recognition Speaker Recognition Giampiero Salvi KTH/CSC/TMH [email protected] VT 2015 1 / 35
Transcript
Page 1: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

DT2118Speech and Speaker Recognition

Speaker Recognition

Giampiero Salvi

KTH/CSC/TMH [email protected]

VT 2015

1 / 35

Page 2: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Outline

Introduction

Challenges and MethodsWithin and Across Speaker VariabilityText DependenceModelling TechniquesEvaluation

Multi-Speaker Recordings

Forensic Speaker Recognition

2 / 35

Page 3: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Outline

Introduction

Challenges and MethodsWithin and Across Speaker VariabilityText DependenceModelling TechniquesEvaluation

Multi-Speaker Recordings

Forensic Speaker Recognition

3 / 35

Page 4: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Person Identification

Methods rely on:

I something you posses:key, magnetic card, . . .

I something you know:PIN-code, password, . . .

I something you are:physical attributes, behaviour (biometrics)

4 / 35

Page 5: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Biometric identification features

physical attributes activity/behaviourheight and weight

finger print handwritinghand shape typing patterns

retina gesturesface facial expressions

speechvocal tract size speech ratenasal cavities intonationglottal folds vocabulary, grammar

5 / 35

Page 6: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Recognition, Verification, IdentificationRecognition: general termSpeaker verification:

I an identity is claimed and is verified by voice

I binary decision (accept/reject)

I performance independent of number of users

Speaker identification:

I choose one of N speakers

I close set: voice belongs to one of the Nspeakers

I open set: any person can access the system

I problem difficulty increases with N

6 / 35

Page 7: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Speaker Recognition: Advantages

I speech is natural

I simple to record (cheap equipment)

I speech may already be used in the application

7 / 35

Page 8: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Speaker Recognition: Limitations

I not 100% security (but that’s true for othertechniques)

I large variability in speech

I behaviour, different microphones, physical andmental condition

8 / 35

Page 9: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Outline

Introduction

Challenges and MethodsWithin and Across Speaker VariabilityText DependenceModelling TechniquesEvaluation

Multi-Speaker Recordings

Forensic Speaker Recognition

9 / 35

Page 10: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

The Speaker Space

S3

S4S1

S2

a

b2

b1

10 / 35

Page 11: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Voice Variability in Time

Within-speaker variability (identical utterance)average over 9 male speakers [1]

[1] S. Furui. “Research of individuality features in speech waves and automatic speaker recognition techniques”.In: Speech Communication 5.2 (1986)

11 / 35

Page 12: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Influence of the Channel

I different microphones (e.g.: telephones)

I transmission: line, equipment, coding, noise

I little control over the speaker and environmentif remotely connected

Challenge: separate speaker characteristics fromenvironment (both are long-time properties of thesignal)

12 / 35

Page 13: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Representations

Speech Recognition:

I represent speech content

I disregard speaker identity

Speaker Recognition:

I represent speaker identity

I disregard speech content

Surprisingly:

I MFCCs used for both

I suggests that feature extraction could beimproved

13 / 35

Page 14: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Representations

Speech Recognition:

I represent speech content

I disregard speaker identity

Speaker Recognition:

I represent speaker identity

I disregard speech content

Surprisingly:

I MFCCs used for both

I suggests that feature extraction could beimproved

13 / 35

Page 15: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Text Dependence

Either fix the content or recognise it. Examples:

I Fixed password (text dependent)

I User-specific password

I System prompts the text (preventsimpostors from recording and playingback the password)

I any word is allowed (text independent)

text

inde

pen

dent

14 / 35

Page 16: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Modelling Techniques

HMMs

I Text dependent systems

I state sequence represents allowed utterance

GMMs (Gaussian Mixture Models)

I Text independent systems

I large number of Gaussian components

I sequential information not used

SVM (Support Vector Machines)

Combined models

15 / 35

Page 17: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Speaker Verification

Registration (training, enrolment)

Spectralanalysis

Training utterancesfrom a new client

Trainmodel q1 q2 q7

a2 2,

Trained speaker model

Verification

Spectralanalysis MatchingAccess utterance

Claimed identity

Accept / Reject

Problem: The matching scorebetween the client model and theutterance is sensitive todistortion, utterance duration, etc.

16 / 35

Page 18: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Probabilistic Approach

Bayes decision theory (C : client, C : not client)

client sounds like this

anybody sounds like this=

P(C |O)

P(C |O)=

=P(O|θC )P(C )

P(O|θC )P(C )> R

Optimal Threshold:

R =Cost of False Accept

Cost of False Reject

17 / 35

Page 19: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Standard System

Backgroundmodelmatching

Backgroundmodelmatching

DecisionDecisionSpectralanalysis

Clientmatching

Utterance

q1 q2 q7

a2 2,

q1 q2 q7

a2 2,

Speaker model (HMM or GMM)

Background model(-s) (HMM or GMM)from many speakers

Claimed identity

)|(log( ClientOP

)|(log( clientNonOP −(MFCC)Threshold

+

-

Score

LLR

LLR: Log Likelihood Ratio

18 / 35

Page 20: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Client model estimation intext-independent system

Not realistic to train the GMM for each client

I risk of unreliable estimation

Instead adaptation of background model(multi-speaker)

I non-observed components in adaptation areunchanged

I they do not contribute in the matchingprobability ratio

I only well trained components contribute

19 / 35

Page 21: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Evaluation

Claimed Decision:Identity Accept Reject

True OK False Reject (FR)

False False Accept (FA) OK

20 / 35

Page 22: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Score Distribution and Error Balance

( )speaker"true"sf

( )speaker"false"sf

P("false accept")

P("false reject")

$s

Decision threshold

21 / 35

Page 23: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Performance Measures

I False Rejection Rate (FR)

I False Acceptance Rate (FA)

I Half Total Error Rate (HTER = (FR+FA)/2)

I Equal Error Rate (EER)

I Detection Error Trade-off (DET) Curve

22 / 35

Page 24: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Application-Dependent Operating Point

False Accept [%]

False Reject [%]

Telephone call charges:The FA cost is lowThe customer can accept a fewfalse accepts for high convenience

Bank transactions:The FA cost is highThe customer can accept a fewfalse rejects to achieve high security

High security

High convenience

The appropriate operating point(balance FA/FR) depends onthe costs of each error type

0.1 1.0 10

0.1

1.0

10

DET curve

EER

23 / 35

Page 25: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Performance in Different Applications

False Accept [%]

Text independentTelephone (several types)Medium training size

Text dependent(e.g. digit strings)Telephone (several types)Small training size

Text dependent(system combinations)HiFi speechKnown microphoneLarge training size

0.1 1.0 10

False Reject [%]

24 / 35

Page 26: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

In-House Example

Created by Hakan Melin

25 / 35

Page 27: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

PER vs Commercial System

2 5 10 20

2

5

10

20

False Accept Rate (in %)

FalseRejectRate(in%)

PER eval02, es=E2a_G8, ts=S2b_G8

commercial_system_with_adaptationCTT:combo,originalCTT:combo,retrained

Retrained:Background modeltrained on PER speech

Original:Background model trained ontelephone speech

26 / 35

Page 28: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

The Animal Park

Categorisation of speakers by the systemperformance

Sheep: “harmless” users with low error rate

Goats: “non-reliable”, high variability, high errorrate

Lambs: vulnerable, easy to impersonate

Wolves: potentially successful impostors

27 / 35

Page 29: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Impostors

I Performance usually measured on randomspeakers as impostors

I how different are real impostors?

I might have knowledge of client’s voice

I technical impostors

28 / 35

Page 30: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Technical impostorsVarying technical sophistication

I Playback of recorded speechI Concatenative synthesisI Voice transformationI Trainable speaker dependent speech synthesis

Preventive techniques

I Detect artificial features (typical features of speechsynthesis)

I Detect if repetitions of the same text are identical

Competition development race between imposture andprevention techniques

29 / 35

Page 31: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Outline

Introduction

Challenges and MethodsWithin and Across Speaker VariabilityText DependenceModelling TechniquesEvaluation

Multi-Speaker Recordings

Forensic Speaker Recognition

30 / 35

Page 32: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Multi-Speaker Recordings

n-speaker detection: is a speaker present in aconversation

speaker tracking: same as above plus timepositioning

speaker segmentation: determine the number ofspeakers and when they speak

31 / 35

Page 33: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Outline

Introduction

Challenges and MethodsWithin and Across Speaker VariabilityText DependenceModelling TechniquesEvaluation

Multi-Speaker Recordings

Forensic Speaker Recognition

32 / 35

Page 34: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Forensic Speaker Recognition

Determine if a suspect of a crime has spoken therecorded utterance

33 / 35

Page 35: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Difficulties

I Unknown and uncontrollable recordingconditions

I High degree of variability

I Incooperative speakers: The speaker does notwant to be identified as the target speaker, theopposite to speaker verification

I May try to disguise his/her voice

34 / 35

Page 36: DT2118 Speech and Speaker Recognition - Speaker Recognition · Recognition, Veri cation, Identi cation Recognition: general term Speaker veri cation: I an identity is claimed and

Risk of Incorrect Use

Example:

I False Acceptance Rate = 1%

I possible prosecutor conclusion: 99% probabilitythe suspect is guilty

I possible defense conclusion: if in the city thereare 100.000 inhabitants, 1000 would match.0.1% probability the suspect is guilty

Neither is right. Use Bayesian decision theory(similar to differential diagnosis)

35 / 35


Recommended