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
| Formats | OGG, MP3, WAV |
| Samples per request | One or more recordings, in the samples field |
| Content | Natural 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.
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
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
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
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:
SNRVAD| Control | Fails when |
|---|---|
SNR | The signal-to-noise ratio is too low: background noise, music or other voices. |
VAD | Voice 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.