Skip to main content

Voice biometrics

Voice biometrics recognises people by the characteristics of their voice. It is suited to channels where there is a microphone but no camera, or where the conversation is already the channel: phone calls, voice assistants and contact centres. It can also be combined with the face for stronger authentication.

In MobbID, voice biometrics is available through the Server API: your app or channel records the user and your backend sends the audio. All operations are supported: enrolment, verification, identification and matching, with samples or with templates.

Recordings​

FormatsOGG, MP3, WAV
Samples per requestOne or more recordings, in the samples field
ContentNatural speech from the user, with no other voices

Ask the user to speak in a quiet place, close to the microphone, and make sure the recording contains enough speech: a recording with too little speech is rejected with NO_SAMPLE_DETECTED. If the API needs more audio to complete an operation, it responds with 202 and the progress of the operation; send further recordings with the same operationId. See Operation lifecycle.

Liveness​

Voice liveness detects two kinds of attack: replay, a recording of the user played back to the microphone (physical access), and synthetic voice, a voice generated with AI by text-to-speech or voice conversion (logical access). Send livenessMethod 0 (VOICE_PLA) with the recordings to apply it. Like face liveness, it is passive: the user only speaks. A failed check returns 400 with NO_LIVENESS_DETECTED.

Bona fide

Live speaker

The user speaks directly to the microphone of the device.

  • Natural variation of pitch, rhythm and energy
  • Acoustics consistent with a person close to the microphone
AttackPhysical access

Replay

A recording of the user, obtained without their knowledge, is played back to the microphone through a loudspeaker.

  • Loudspeaker response and room reverberation
  • Band limitation and compression of the original recording
AttackLogical access

Synthetic voice

A voice generated with AI, by text-to-speech or voice conversion, imitates the user. It can be played back or injected directly into the audio sent to the server.

  • Spectral and temporal artefacts of the generation model
  • Prosody that is too regular
FigurePresentation attacks against voice biometrics, next to a live speaker. Voice liveness analyses the recording itself to detect replayed and synthetic speech.
Always enable liveness for voice

A voice is easy to record without the speaker noticing, and AI can imitate it. Apply liveness in every voice operation, and consider combining voice with another factor for high-risk operations. See Attack detection.

Quality controls​

Every recording is checked before it is compared:

✓Clear speechEnough speech, little background noise
✕Background noiseLow signal-to-noise ratioSNR
✕Too little speechMostly silenceVAD
FigureThe quality controls MobbID applies to every voice recording, with the code reported in qaControls.
ControlFails when
SNRThe signal-to-noise ratio is too low: background noise, music or other voices.
VADVoice activity detection finds too little speech in the recording.

Failed controls are listed in the qaControls of the operation, and a sample that fails returns 400 with BAD_SAMPLE_QUALITY.

Performance​

The accuracy of voice biometrics depends to a large extent on the channel, the language and the length of the recordings. Contact Mobbeel to evaluate it on your own use case.