You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Android CV1 diarization recognizes only my voice and never learns anyone else #10434
Found a mechanism that produces exactly this — "my voice always, nobody else ever, no matter how often I teach them" — and opened #10453 for it.
extract_speaker_samples stores the speech sample, then extracts the speaker embedding inside a try/except that only logs. If that extraction fails, the person is left holding quality-verified samples with no embedding, and nothing ever recomputes it. The listen loader requires a stored embedding, so it skips that person on every later session — and maybe_migrate_person_samples returns early for anyone already at v3, so re-teaching doesn't rescue them either. Once a person lands in that state they are permanently invisible to matching.
What makes the symptom so lopsided is the asymmetry: your own profile already self-heals from exactly this state — if its stored embedding is missing, the loader re-extracts it from your profile audio and writes it back. People had no equivalent. Hence own voice recognised, everyone else never.
The fix gives people the same fallback, scoped to speech_samples_version >= 3 samples only — those already passed verify_and_transcribe_sample when stored, so it restores a lost embedding rather than resurrecting a rejected one. The migrations' deliberate dropping of embeddings for bad-quality samples is untouched, since the failure mode of getting that wrong is misidentification, which is worse than non-identification.
Scope, honestly: this closes the one deterministic path I could establish from the code; I can't see the reporter's account state to confirm it's the only contributor. A person can also stay unmatchable if migration repeatedly fails (maybe_migrate_person_samples returns the person unchanged on failure) — that raises a separate product question about whether quality-rejected samples should ever be retried, which I deliberately have not answered here.
If whoever triages this can check whether the affected people have speaker_embedding set and what their speech_samples_version is, that would confirm or rule out this path quickly.
Closing as resolved. The reported symptom — diarization recognizing only your own voice and never learning anyone else, no matter how many times you teach them — came from an asymmetry in backend/routers/listen/speakers.py. The teach path (extract_speaker_samples) stores a person's speech sample and then extracts the speaker embedding inside a try/except that only logs; if that extraction failed the person kept quality-verified samples with no embedding, and nothing ever recomputed it. The listen-session SpeakerMatcher loader requires a stored embedding, so it skipped that person on every later session — while your own profile already self-heals from the same state by re-extracting its embedding from profile audio. Hence "my voice always, nobody else ever."
That path is closed at HEAD (1ef0976ef9). In backend/routers/listen/speakers.py, SpeakerMatcher now gives people the same fallback: when a person has verified samples (speech_samples_version >= 3, which already passed verify_and_transcribe_sample when stored) but no stored speaker_embedding, _recover_person_embedding rebuilds it from their first stored sample and persists it, instead of skipping them forever. Failures stay contained so one unreadable sample can't break loading the other speakers.
Fix landed in #10453 (f33d1779dc), present in the current tree.
Activity
aryanorastar commentedon Jul 24, 2026
Found a mechanism that produces exactly this — "my voice always, nobody else ever, no matter how often I teach them" — and opened #10453 for it.
extract_speaker_samplesstores the speech sample, then extracts the speaker embedding inside atry/exceptthat only logs. If that extraction fails, the person is left holding quality-verified samples with no embedding, and nothing ever recomputes it. The listen loader requires a stored embedding, so it skips that person on every later session — andmaybe_migrate_person_samplesreturns early for anyone already at v3, so re-teaching doesn't rescue them either. Once a person lands in that state they are permanently invisible to matching.What makes the symptom so lopsided is the asymmetry: your own profile already self-heals from exactly this state — if its stored embedding is missing, the loader re-extracts it from your profile audio and writes it back. People had no equivalent. Hence own voice recognised, everyone else never.
The fix gives people the same fallback, scoped to
speech_samples_version >= 3samples only — those already passedverify_and_transcribe_samplewhen stored, so it restores a lost embedding rather than resurrecting a rejected one. The migrations' deliberate dropping of embeddings for bad-quality samples is untouched, since the failure mode of getting that wrong is misidentification, which is worse than non-identification.Scope, honestly: this closes the one deterministic path I could establish from the code; I can't see the reporter's account state to confirm it's the only contributor. A person can also stay unmatchable if migration repeatedly fails (
maybe_migrate_person_samplesreturns the person unchanged on failure) — that raises a separate product question about whether quality-rejected samples should ever be retried, which I deliberately have not answered here.If whoever triages this can check whether the affected people have
speaker_embeddingset and what theirspeech_samples_versionis, that would confirm or rule out this path quickly.fix(listen): recover a taught person's lost speaker embedding (#10453)
Git-on-my-level commentedon Jul 29, 2026
Closing as resolved. The reported symptom — diarization recognizing only your own voice and never learning anyone else, no matter how many times you teach them — came from an asymmetry in
backend/routers/listen/speakers.py. The teach path (extract_speaker_samples) stores a person's speech sample and then extracts the speaker embedding inside atry/exceptthat only logs; if that extraction failed the person kept quality-verified samples with no embedding, and nothing ever recomputed it. The listen-sessionSpeakerMatcherloader requires a stored embedding, so it skipped that person on every later session — while your own profile already self-heals from the same state by re-extracting its embedding from profile audio. Hence "my voice always, nobody else ever."That path is closed at HEAD (
1ef0976ef9). Inbackend/routers/listen/speakers.py,SpeakerMatchernow gives people the same fallback: when a person has verified samples (speech_samples_version >= 3, which already passedverify_and_transcribe_samplewhen stored) but no storedspeaker_embedding,_recover_person_embeddingrebuilds it from their first stored sample and persists it, instead of skipping them forever. Failures stay contained so one unreadable sample can't break loading the other speakers.Fix landed in #10453 (
f33d1779dc), present in the current tree.