Voice Enrollment (Speaker Recognition)
Voice Enrollment (Speaker Recognition)
Section titled “Voice Enrollment (Speaker Recognition)”Status: Beta. The Enroll My Voice page and its navigation entry are marked Beta in the web UI. Enrolling and matching both require the ASR MicroVM speech engine, which is deployed by default (
EnableMicrovmAsr=true) in Regions with AWS Lambda MicroVMs, built from a model bundle that has a speaker model. The default bundle has none; see which model bundles support enrollment. Amazon Transcribe is the default transcription engine for every meeting source, so matching also needs an admin to move the meeting sources it should apply to onto the ASR MicroVM engine in the Transcription Engine section of the Configuration page.
Off by default, and off unless you deliberately turn it on. A voiceprint is biometric data about a person.
EnableVoiceEnrollmentdefaults tofalse, and while it is false the enrollment table, the consent log, the portal route and the matching code path do not exist in the deployment at all — not merely hidden, not deployed.Turning it on creates obligations that are yours, not this project’s. Biometric data is separately regulated in many jurisdictions (Illinois BIPA, Texas CUBI, the EU GDPR’s Article 9, and others), typically requiring informed written consent before collection, a published retention schedule, and deletion on request. This feature is built to make those obligations possible to meet — it captures consent explicitly and keeps an append-only record of it — but deciding that you may lawfully collect voiceprints from the people in your meetings is a decision for you and your legal counsel.
Table of Contents
Section titled “Table of Contents”- What it does
- The consent model
- What is stored, and where
- The audit trail
- Who can enroll
- Enrolling a voice
- How a match is used
- Withdrawing consent
- Retention
- Limits we hold deliberately
- Deploying it
- Related Documentation
What it does
Section titled “What it does”Speaker separation
can tell voices apart but not who they are, so a conference-room transcript reads
Other Participant (spk_0). Naming the voices
lets you fix that by hand, and
finding the names automatically
reads the transcript for introductions.
Both of those start from zero in every meeting. Voice enrollment lets somebody record a short voice sample once, with their explicit consent, so that afterwards they are labelled by name from their first word in every meeting — including meetings where nobody introduced themselves.
The consent model
Section titled “The consent model”The hard part of this feature is not the matching. It is that a voiceprint is biometric data about a person, and letting anybody else assert “they agreed” on their behalf would make the consent record worthless.
So consent is first-party and self-service. Nobody can enroll anybody else, and there is no administrative action that creates a voiceprint:
- An LMA user opens Enroll My Voice (marked Beta) in the navigation (or
goes straight to
/#/voice-enrollment) and is shown the consent terms in full, including what is stored, what it is used for, how long it is kept and how to withdraw. - They consent by an explicit affirmative action — a checkbox they must tick plus a button they must press. There is no pre-ticked box and no implied consent from continuing.
- Only then does the portal offer to record voice samples.
Enrollment is limited to people who already have an account in the deployment. Somebody attending from another company cannot currently enroll, because doing so would mean giving them an account here; see limits we hold deliberately.
Consent is recorded before any audio is captured, so a record exists even if the person abandons the recording step. Declining is a normal outcome: the portal is a dead end with nothing stored.
What is stored, and where
Section titled “What is stored, and where”Two separate tables, for two different reasons.
VoiceEnrollmentTable — the current state, and the only place biometric data
lives:
| Field | Purpose |
|---|---|
SubjectId | The enrollee’s Cognito sub, rather than an email, so the key carries no contact details. |
DisplayName | The name to label transcripts with, as the enrollee typed it. |
Centroid | The voiceprint: a vector of floats. This is the biometric. |
Status | pending, active or revoked. |
SampleCount, EnrolledAt, ConsentExpiresAt | Operational metadata. |
VoiceConsentLogTable — an append-only history, holding no biometric data
at all:
| Field | Purpose |
|---|---|
SubjectId (PK) | Who the record is about. |
RecordedAt (SK) | ISO timestamp, so the history is ordered and unique per event. |
Action | GRANTED, RE_CONSENTED, REVOKED, EXPIRED, DELETED. |
TermsVersion, TermsSha256 | Which terms text, and its exact hash. Both are absent where the row records no terms — an admin revoking for somebody who never enrolled. An absent field means “not recorded”; a row never asserts terms it has no basis for. |
ActorSub, ActorEmail | The authenticated identity that performed the action. |
SourceIp, UserAgent | Where from. |
The split is the point. Revoking consent deletes the voiceprint but keeps the record that consent was given and then withdrawn — which is exactly what an auditor needs and exactly what the person asking to be forgotten should not have to leave behind.
The audit trail
Section titled “The audit trail”Three properties make the log an audit trail rather than a logfile:
It is append-only in IAM, not by convention. The application role is granted
dynamodb:PutItem and dynamodb:Query on the consent log and is not granted
UpdateItem or DeleteItem. The application cannot rewrite its own history even
if its code is wrong or compromised. Only an operator with separate privileges
can.
The terms are pinned by hash, and the hash is compared. TermsSha256 is the
SHA-256 of the exact text the person was shown, stored both in the consent log
and on the enrollment itself. An active enrollment stops being used for
matching, and the portal asks its owner to agree again, as soon as either the
TermsVersion or the text behind it changes. Previous consents still prove what
was agreed to.
Comparing the text and not only the version matters because the retention
period appears in the terms: the text says how many days a consent stands. So
changing VoiceEnrollmentRetentionDays changes what people agreed to, and
everybody is asked to agree again at the new period — without an operator having
to remember to bump VoiceEnrollmentTermsVersion as well. Until they do, their
voiceprints are not used; they are not deleted, and agreeing again and
re-recording restores them. Plan a retention change accordingly: it asks every
enrolled person to repeat the enrollment, so it is not a parameter to tune
casually once people have enrolled.
Point-in-time recovery is on for the consent log, for 35 days, so the log can
be restored to any moment in that window. The voice enrollment table’s
point-in-time recovery follows the MeetingDataPointInTimeRecoveryDays stack
parameter (35 days by default), so a withdrawn or expired voiceprint stays
restorable for that many days; set it to 0 for a withdrawal to leave no
restorable copy. See
Point-in-time recovery of the DynamoDB tables.
Both tables survive stack deletion (DeletionPolicy: Retain), and that cuts
both ways, so it is worth being explicit. It means a stack deleted by accident,
or replaced, does not take the consent history with it — an audit record that a
cdk destroy can erase is not much of an audit record. It also means deleting
the stack leaves the voiceprints behind, in a table nothing is managing any
more. If you are decommissioning a deployment and people have enrolled, delete
those two tables deliberately after the stack, or ask people to withdraw first,
which destroys the voiceprints and leaves only the log.
Who can enroll
Section titled “Who can enroll”Anyone with an account in the deployment can enroll their own voice, and nobody
can enroll anybody else’s. Enroll My Voice appears in the navigation for every
Admin and User when EnableVoiceEnrollment is true.
A Participant can enroll their own
voice too, and delete it: Voice enrollment is in the navigation of every
Participant when EnableVoiceEnrollment is true (the Participant’s pages
learn this from whether voiceEnrollmentTerms answers, since they do not read
the deployment settings), and its page says when enrollment is not available in
the deployment. That is all a Participant can do here, as for every role: read the
terms, give consent, record the enrollment script, and withdraw consent, which
deletes the voiceprint. They cannot revoke anybody else’s, which only an Admin
can do. The operations (voiceEnrollmentTerms, grantVoiceConsent,
enrolMyVoice, revokeVoiceConsent) name all three roles, and each acts only on
the caller’s own enrollment.
There is no administrative enrollment action, and that is a property of the design rather than a gap in the UI: a consent somebody else gives on your behalf is not consent. An admin can revoke on somebody’s behalf — for a person who has left — which is recorded with the admin as the actor.
People without an account in the deployment cannot enroll. The participant from another company or the contractor in a meeting room can enroll once they hold a Participant account, which a meeting’s owner can create for the people on its participant list (see Participant accounts for a meeting), and which gives them no access to meetings that are not shared with them. See limits we hold deliberately.
Enrolling a voice
Section titled “Enrolling a voice”The portal records a short, fixed script — enough speech for a stable voiceprint,
which in practice is about 20–30 seconds across several utterances. The audio is
streamed to an ASR MicroVM session in embed mode, which
returns one embedding per utterance; those are averaged into the stored centroid.
The session is acquired for the enrollment and released as soon as it finishes,
including when it fails. It is the same engine and the same short-lived MicroVM
a meeting uses, so enrolling requires the ASR MicroVM engine to be deployed
(EnableMicrovmAsr=true, the default, in a Region with AWS Lambda MicroVMs): the
embedding model lives in that image and Amazon Transcribe exposes no speaker
embedding. In a deployment with enrollment on but that engine absent, the portal
says so as soon as it opens, before any consent is given or anything is
recorded: it shows the terms with the reason, and both agreeing and recording
are refused.
Which model bundles support enrollment
Section titled “Which model bundles support enrollment”The engine is not enough on its own: the model bundle
baked into its image has to carry a speaker-embedding model (speakerModelId
in lma-asr-microvm-stack/source/catalog.json). Enrolling computes one embedding
per recording with that model, and matching compares the embeddings of meeting
speech against the stored voiceprints with it, so a bundle without one can do
neither.
| Supports enrollment and matching (TitaNet-small speaker model) | Does not (no speaker model) |
|---|---|
fastconformer-titanet-small | parakeet-tdt-v3-live-nemotron35-sortformer (the default) |
nemotron35-titanet-small | parakeet-tdt-v3-sortformer |
nemotron-titanet-small | parakeet-tdt-v2-sortformer |
parakeet-tdt-v3-titanet-small | parakeet-tdt-v3-live-sortformer |
parakeet-tdt-v2-titanet-small | parakeet-tdt-v3-live-kroko-sortformer |
qwen3-asr-titanet-small | fastconformer-transcription-only |
cohere-transcribe-titanet-small | qwen3-asr-transcription-only |
parakeet-tdt-v3-live-titanet-small | |
parakeet-tdt-v3-live-nemotron35-titanet-small |
The -sortformer bundles, the default among them, label speakers with an
end-to-end diarizer that works frame by frame and produces no per-utterance
embedding, so they carry no speaker model. With the default bundle, voice
enrollment is therefore unavailable. To use it, set ModelBundle in the
AsrDefaults mapping of lma-main.yaml to one of the bundles in the left-hand
column and update the stack; the closest to the default is
parakeet-tdt-v3-live-nemotron35-titanet-small, which has the same ASR models
with TitaNet-small in place of the Sortformer diarizer. Changing the bundle
rebuilds the MicroVM image (about 20 minutes) and changes how every meeting on
the ASR MicroVM engine is diarized, not only enrollment; see
Model bundles.
On a bundle without a speaker model, Enroll My Voice shows
“Voice enrollment needs an ASR model bundle with a speaker model; the active
bundle <id> has none”. It still displays the terms and still lets an enrolled
person delete their voiceprint, but it does not accept a new consent or offer to
record, so no consent row is written for an enrollment that cannot finish. The
backend reads the bundle from the stack, so the check happens before any audio
is recorded. Where the speaker model is not known to it (a direct development
endpoint, or an AI stack deployed without the AsrSpeakerModelId parameter),
the ASR MicroVM’s own refusal to compute embeddings is reported with the same
message.
The sample audio is not kept. It is held in memory for the length of the request and never written to S3 or to a table. What persists is the centroid, which is a one-way summary: it is enough to recognise the voice and not enough to reconstruct the speech.
How a match is used
Section titled “How a match is used”Matching happens only in meetings the ASR MicroVM engine transcribes. Amazon Transcribe is the default engine for every meeting source, so an admin moves the sources that should be matched (Stream Audio/Video, the Chrome extension and the Desktop Capture app together, and Virtual Participants separately) onto the ASR MicroVM engine in the Transcription Engine section of the Configuration page. A meeting on Amazon Transcribe is labelled the way it would be without enrollment.
When a meeting on that engine starts in a deployment with enrollment on, the
transcription session is seeded with the active centroids it is allowed to use, each labelled
with its DisplayName. From then on the engine assigns speech to those names
directly instead of minting spk_0.
A match is written as the segment’s speaker, in place of the voice id the segment would otherwise have carried. It is not currently marked as a match rather than a name somebody typed, and it is not offered for confirmation the way a name inferred from the transcript is. Correcting one is therefore the same job as renaming any other speaker, from the Speakers panel on the meeting page.
Nothing is named on a guess. A seeded voice is only ever assigned speech whose similarity score clears the engine’s threshold — it is never the nearest remaining option when a speaker cap is reached, and it does not consume cap room, because a deployment having more enrolled people than a meeting has participants is the normal case.
Which voices a meeting is given
Section titled “Which voices a meeting is given”A meeting cannot know who is in the room. A transcript captured from a browser
tab or a desktop app has no attendee list — that is the whole reason the Speakers
panel offers a pasted one — so a starting session is given every enrollment that
consent currently permits, up to 32 of them. An enrollment counts only while all
five of these hold: it is active, it has a voiceprint, its TermsVersion is
the one in force, the hash of the terms it agreed to matches the terms in force,
and its consent has not lapsed. The transcriber asks for the
list at the start of every meeting and keeps no copy, so a withdrawal applies to
the very next meeting.
A voiceprint that is sent and never speaks does nothing. Matching is a similarity comparison against the voices actually heard, and a score below the threshold produces no name, so sending somebody’s centroid to a meeting they are not in produces no label for them.
Where more than 32 enrollments are permitted, the most recently enrolled are sent; the rest of the meeting’s voices are named the way they would be without enrollment. The bound exists so session setup stays quick, not as a limit on how many people may enroll.
If the lookup fails or is slow, the meeting starts with voice ids instead. A transcript matters more than a label, so nothing about this step can stop a meeting being transcribed.
Withdrawing consent
Section titled “Withdrawing consent”The enrollee can withdraw at any time from the same portal, without asking
anyone. Withdrawal is immediate and does three things: the centroid is deleted,
the status becomes revoked, and a REVOKED row is appended to the log. No
future meeting can match the voice, because there is no longer a voiceprint to
match against.
Transcripts already produced keep the names they were given. Those are ordinary speaker labels on a stored transcript, not biometric data, and they are editable on the meeting page like any other name.
An admin can also revoke on somebody’s behalf — for a person who has left, say — which records the admin as the actor.
Retention
Section titled “Retention”VoiceEnrollmentRetentionDays (default 365) bounds how long a consent stands
without being renewed. A nightly pass deletes the centroid of any enrollment
whose consent is older than that, sets it to revoked and appends an EXPIRED
row. Consent that never expires is not meaningfully informed, and an
organisation that wants a shorter cycle can set one.
Limits we hold deliberately
Section titled “Limits we hold deliberately”- Meeting audio is never enrolled. A voiceprint is only ever created from audio somebody recorded in the portal after consenting. The system does not build a voiceprint from a meeting, however much speech it has, and there is no setting that makes it do so.
- Enrollment is never implied. Attending a meeting, being named in a transcript, or having an LMA account does not enroll anybody.
- The sample audio is discarded, as above.
- An admin cannot consent for somebody else. An admin can revoke; only the enrollee can grant, and there is no administrative action that creates a voiceprint.
- No cross-deployment sharing. A centroid stays in the account and table it was created in.
- People outside the deployment enroll only with a Participant account. Enrolling requires an account here. The external participant and the contractor in a meeting room can be given a Participant account, which reads only the meetings shared with it; issuing one is a decision for the meeting’s owner or an Admin, not something enrollment does. Without one, their voices are named the way they were before: by hand on the Speakers panel, or from what they say in the meeting.
- A match is not yet distinguishable from a typed name. See how a match is used.
Deploying it
Section titled “Deploying it”| Parameter | Default | Effect |
|---|---|---|
EnableVoiceEnrollment | false | Creates the tables, the portal and the matching step, and adds Enroll My Voice to the navigation. While false, none of it exists. |
VoiceEnrollmentRetentionDays | 365 | How long a consent stands before it must be renewed. |
VoiceEnrollmentTermsVersion | 1 | Bump to require everybody to re-consent to new terms. |
Both enrolling and matching need the
ASR MicroVM engine (EnableMicrovmAsr=true, the default, in a
Region with AWS Lambda MicroVMs), because that is
the engine that computes speaker embeddings — one to build a voiceprint, the
other to compare against it. Amazon Transcribe exposes none. The engine’s model
bundle also has to carry a speaker model, which the default bundle does not: see
which model bundles support enrollment.
With enrollment on and either of those missing, the tables and the portal exist,
but the portal shows the terms with the reason enrollment is unavailable, and
grantVoiceConsent and enrolMyVoice both refuse with that reason, so no
consent row is written and no voiceprint is created. An existing voiceprint can
still be deleted.
With the engine deployed, matching still applies only to the meeting
sources an admin has moved onto it in the Transcription Engine section of
the Configuration page; every source ships on Amazon Transcribe.
Related Documentation
Section titled “Related Documentation”- Transcription & Translation — speaker separation and naming voices by hand
- On-demand ASR & Speaker Diarization (MicroVM) — the engine that produces the embeddings
- User Management — Cognito groups and invitations
- Infrastructure & Security — encryption and key management