Skip to content

Bug: Android CV1 diarization recognizes only my voice and never learns anyone else #10434

Closed

Description

@hugoaap-code

Summary

On the Omi CV1 Android app, diarization recognizes only my own voice.

It does not learn or identify any other speakers, no matter how many times I try to teach it.

Problem

The app consistently recognizes only me.

Anyone else in the conversation is not properly identified as a learned speaker, even after repeated correction or training attempts.

Expected behavior

After teaching the app about other people multiple times, diarization should learn and identify those speakers correctly.

Actual behavior

Only my voice is recognized.

No other speakers are learned or identified properly, regardless of how many times I try to teach the app.

Impact

This makes diarization unusable for multi-person conversations and reduces the reliability of transcripts, memories, and summaries.

Reproduction

  1. Use the Omi CV1 Android app in conversations with multiple people
  2. Repeatedly try to teach or correct speaker identities for other participants
  3. Check later diarization results
  4. Observe that only my own voice is recognized and no one else is learned

Suggested investigation

  • Check whether speaker training data for non-primary voices is being saved correctly
  • Check whether diarization updates from user corrections are applied to future conversations
  • Check whether Android CV1 is failing to sync or use learned speaker profiles for anyone except the primary user
  • Check whether the model or pipeline is collapsing all non-user speakers into an unlearned fallback state

Environment

  • Omi CV1
  • Android app
  • Production environment

Activity

  1. added
    bug
    on Jul 23, 2026
  2. aryanorastar commented on Jul 24, 2026

    @aryanorastar
    Collaborator

    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.

  3. Git-on-my-level commented on Jul 29, 2026

    @Git-on-my-level
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions