Taiwan-Tongues ↔ Common Voice 來源查核研究報告研究計畫背景方法調查重現步驟Tier 0 結果Tier 1 結果Tier 2 結果Tier 3 結果

Tier 3: speaker-embedding comparison (TT voices vs CV client_ids on held-out CV audio)

本頁為腳本自動產生的英文技術明細。名詞說明:TT = Taiwan-Tongues 資料集(adi-gov-tw/Taiwan-Tongues-ASR-CE-dataset-zhtw);CV = Mozilla Common Voice。中文總結請見研究報告。

Question. Are the speakers in adi-gov-tw/Taiwan-Tongues-ASR-CE-dataset-zhtw (TT) the same people as the Common Voice (CV) client_id they carry, measured on CV recordings that are not in TT? An independent recording effort would not reproduce CV speakers on held-out CV clips. Judged at the speaker-cluster level (10-clip centroids), never per clip.

Data

Models

(a) Calibration on CV-only trials

Targets: same-client_id pairs within B_cv_heldout (different clips). Non-targets: different-client_id pairs across all 200 CV speakers. No TT audio involved.

model #target #non-target EER thr @EER thr @FAR 1 % (FRR) thr @FAR 0.1 % (FRR) target mean±sd non-target mean±sd
redimnet2 4,500 1,990,000 3.62 % 0.434 0.491 (5.98 %) 0.569 (11.98 %) 0.716±0.124 0.248±0.100
ecapa 4,500 1,990,000 9.11 % 0.267 0.392 (26.62 %) 0.485 (47.40 %) 0.479±0.149 0.133±0.097

(b-i) Test: TT clip vs CV held-out clip scores

Every TT clip (1,000) against every CV held-out clip (1,000). 'Same' = same client_id.

model same mean±sd different mean±sd same > thr@EER(cal) different > thr@EER(cal) EER of these trials
redimnet2 0.712±0.126 0.243±0.103 96.34 % 3.75 % 3.70 %
ecapa 0.475±0.151 0.143±0.099 90.34 % 11.03 % 10.21 %

(b-ii, b-iii) Speaker level: TT centroid vs 200 CV speaker centroids

model top-1 = own client_id worst true rank margin top1-top2 (mean / median / min) own - best impostor (min) median own-clip cosine > thr@EER > thr@FAR 1 % > thr@FAR 0.1 % clip-level top-1 (vs 2,000 CV clips)
redimnet2 100/100 1 0.341 / 0.341 / 0.019 0.019 98/100 98/100 90/100 97.60 %
ecapa 99/100 2 0.295 / 0.307 / 0.003 -0.003 95/100 86/100 52/100 87.70 %

(c) Sanity control: shuffled labels

Weakest TT speakers (lowest own-centroid minus best-impostor cosine)

redimnet2

client_id (16) own centroid cos best impostor cos true rank median own-clip cos min own-clip cos
a551182b23d52029 0.926 0.907 1 0.520 0.335
48c59b79d2c6eb2e 0.922 0.873 1 0.607 0.392
27611abdbb1bedb6 0.971 0.913 1 0.801 0.602
7837e1cb853541c4 0.979 0.906 1 0.775 0.594
179f002dbbaee593 0.837 0.630 1 0.383 0.126

ecapa

client_id (16) own centroid cos best impostor cos true rank median own-clip cos min own-clip cos
cb0f7f0efd912b14 0.635 0.638 2 0.192 -0.053
a551182b23d52029 0.880 0.868 1 0.373 0.046
48c59b79d2c6eb2e 0.881 0.864 1 0.415 0.087
27611abdbb1bedb6 0.929 0.882 1 0.598 0.374
7837e1cb853541c4 0.947 0.863 1 0.606 0.349

Data-quality notes (CV client_id noise visible in both corpora)

Speaker centroids closer than 0.8 cosine are almost certainly the same person under two client_ids; speakers whose own CV held-out clips cohere below the EER threshold likely mix voices or devices.

Interpretation

Outputs

emb_<model>.npz (L2-normalised embeddings + manifest columns), scores_<model>.csv (all same-client_id TT->CV-heldout trials + up to 50,000 random different-client_id trials), score_matrices_<model>.npz (full TT x CV-held-out clip matrix and TT-speaker x CV-speaker centroid matrix), speaker_match_<model>.csv (one row per TT speaker), hist_<model>.png, speaker_scatter_<model>.png, summary.json.

Runtime: total 98 s (decode 2 s; redimnet2 67 s; ecapa 28 s).

Command: scripts/04_speaker_embedding.py --sample data/sample --out results/04_speaker --models redimnet2,ecapa