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

02 方法研究:音訊相似度/說話人比對方法調查

本文件由研究用子代理(Claude Fable 5.1)於 2026-12-03 以網路檢索完成,原文為英文,保留原文以便查核引用。 結論摘要(中文): 1. 先做中繼資料與檔名比對,再做位元組雜湊;多數問題在這兩層就能定案。 2. 音訊層的強健比對(抗重新編碼、裁切、增益)首選 audfprint(MIT、純 Python、回報時間偏移)。Chromaprint 不適合短語音。 3. 說話人層首選 ReDimNet2-B6(MIT、torch.hub、VoxCeleb1-O EER 0.23–0.29%),以 SpeechBrain ECAPA-TDNN 當基線;門檻需用 Common Voice client_id 自行校準。 4. 內容型 embedding(CLAP、BEATs)不比指紋好,Common Voice 同句多人朗讀會造成誤判,僅作選用。


Detecting Common Voice re-uploads: methods and models (Dec 2026)

Summary recommendation

  1. Do metadata first. The dataset card of adi-gov-tw/Taiwan-Tongues-ASR-CE-dataset-zhtw never mentions Common Voice, is licensed "other" ("依照原專案授權條款釋出"), yet its per-row json field carries client_id, path (e.g. clips/common_voice_zh-TW_17567647.mp3), sentence, sentence_id, age, gender, locale — i.e. the Common Voice TSV schema verbatim. A join on path against CV validated.tsv/other.tsv is likely to settle most of the question before any audio is decoded.
  2. Audio format already hints at direct copies. ffprobe on files from the local copy of the dataset shows a mix of 48 kHz / 64 kbps and 32 kHz / 48 kbps mono MP3s. Common Voice recorded at 48 kHz until 2020 and switched to 32 kHz afterwards (community report on Mozilla Discourse). A mixed 32k/48k population is exactly what an un-re-encoded CV dump looks like.
  3. For audio-level proof, use byte MD5 → decoded-PCM MD5 → audfprint (landmark fingerprint, MIT, pure Python). Neural fingerprints and content embeddings are unnecessary for mild transforms (re-encode/trim/gain) and are harder for a reviewer to reproduce.
  4. For speaker-level evidence, use ReDimNet2-B6 (MIT, torch.hub) or WeSpeaker ResNet293-LM, calibrated on CV client_id pairs; treat speaker matches as corroborating, never conclusive on their own.

Fingerprinting tools comparison

Tool Type / license Install on our stack Robust to re-encode / gain / trim Evidence Verdict
Byte MD5 exact trivial no / no / no — Tier 1; proves verbatim copy
Decoded-PCM MD5 (16 kHz mono s16 + length) exact ffmpeg survives container/tag changes only Used as stage 1 of LAION-Audio-XL dedup (removed 151 M clips) Tier 1b
audfprint (Ellis) Shazam-style landmarks, MIT, Python pip + ffmpeg yes / yes / yes (reports time offset) On speech (VCTK): 91.0% hit rate under random temporal offset; "performs well on MP3 compressed audio", gap to neural methods negligible at 128 kbps, small at 64 kbps; 2.7 ms per audio-second Primary Tier 2
Olaf (Six) 2–3-peak landmarks, C/Zig, AGPL-3, patent notice make, Docker image yes / yes / yes (crop/pad); not pitch/speed LAION-Audio-XL ran it on 1.47 B clips; score q = m/√(nₐn_b) ≥ 0.50; removed 1.2 M near-dups Cross-check; licence is a reviewer burden
Panako landmarks + time/pitch invariance, Java, AGPL Java yes, also speed/pitch Found train/test leaks in SoundDesc (threshold: >50% of seconds with matches); last push 2024 Not needed
Chromaprint/fpcalc chroma bit-strings, LGPL apt poor for trimming (no offset search); needs ≥3–12 s Author: "not designed for matching this kind of audio" (short speech); R@1 0.066 as dedup baseline in a 2026 SFX paper Avoid
Dejavu landmarks, needs MySQL/Postgres unmaintained yes Beaten by BEATs/SelfClean (ESC-50 AUROC 0.86 vs 0.97) Avoid
NAFP (Chang 2021) contrastive CNN, MIT TF 2.4, Py 3.8, no pretrained weights n/a — Not reproducible on torch 2.9
GraFPrint GNN on peak constellations, MIT, PyTorch, HF checkpoint pip MP3 good, but worst offset robustness (80.9%), 130 ms/s speech paper above Over-kill
PTC (pretrained conformers) contrastive, 3 s segments code URL not found 96.7% offset; MP3 good same paper Unverified availability

Strongest practical tool for a 2026 reviewer: audfprint (one pip install, MIT, offset-aware, scored by count of time-consistent landmarks). Olaf is the stronger engineering tool at scale but AGPL + build step.

Speaker embedding models

Model HF / hub id Vox1-O EER License Notes for our stack
ReDimNet2-B6 (Interspeech 2026) torch.hub.load("PalabraAI/redimnet2","redimnet2",model_name="b6",train_type="lm"); also Wespeaker/wespeaker-voxceleb-redimnet2-B6-LM 0.29 (vox2); 0.23 (vb2+vox2 LM); 0.26 for vb2+vox2+cnc2_v0 (includes CN-Celeb — good for Mandarin) MIT 12.3 M params, 16 kHz, torch ≥ 2.0 — easiest SOTA option
ReDimNet-B6 (2024) IDRnD/ReDimNet torch.hub 0.40 (0.37 AS-norm) MIT superseded by ReDimNet2
WeSpeaker ResNet293-LM Wespeaker/wespeaker-voxceleb-resnet293-LM (.pt/.onnx) 0.447 weights "follow dataset license" → CC-BY-4.0 pip install git+…wespeaker; the model used by TidyVoice/Zhang 2025 to clean CV speaker labels
WeSpeaker SimAM-ResNet100 (VoxBlink2→Vox2, multilingual) ModelScope only 0.76 (third-party report) as above multilingual; no HF mirror
pyannote wrapper of WeSpeaker ResNet34-LM pyannote/wespeaker-voxceleb-resnet34-LM 0.723 (WeSpeaker README, LM+AS-norm) cc-by-4.0 works with pyannote.audio 3.3, no token
SpeechBrain ECAPA-TDNN speechbrain/spkrec-ecapa-voxceleb 0.80 Apache-2.0 already installed; baseline
3D-Speaker CAM++ zh-cn iic/speech_campplus_sv_zh-cn_16k-common (ModelScope; mirror funasr/campplus) not on Vox1-O; trained on 200 k Chinese speakers Apache-2.0 7 M params, default threshold 0.31; Mandarin-domain cross-check
NVIDIA TitaNet-L nvidia/speakerverification_en_titanet_large 0.66 CC-BY-4.0 needs NeMo (heavy)
WavLM-Base+ SV microsoft/wavlm-base-plus-sv 0.84 (UniSpeech README, frozen pretrain) UniSpeech LICENSE, unclear card suggests cosine 0.86 on its own scale; weaker than above

Caveat: all EERs are on English, full-length utterances. On 2 s trials ERes2NetV2 degrades 0.61% → 1.48%; expect ≥2× worse on our 2–10 s Mandarin clips.

Content embedding verdict

Not better than fingerprinting for copy detection. Evidence that BEATs/CLAP-style embeddings beat fingerprints comes from (a) noise/crop near-duplicates in environmental sound (SelfClean-audio), (b) synthetic "twins" of sound effects, and (c) LAION's semantic stage, which mainly caught sub-2 s wake-words that fingerprints cannot cover, and needed cosine ≥ 0.995 because of false positives. For Common Voice, where many speakers read the same sentence, a mean-pooled content embedding will link same-text/different-speaker pairs and same-speaker/different-text pairs — exactly the false positives we must avoid. Keep it as an optional Tier 4 on the residue only.

Tier 0 — metadata join. Join json.path and json.sentence_id/client_id to CV zh-TW and zh-CN TSVs (all versions you can obtain; CV 25 zh-TW has 2,317 speakers / 131 h). Supports: provenance claim. FP: ~none if filenames match the common_voice_<locale>_<id> pattern; FN: renamed files.

Tier 1 — exact hashes. SHA-256/MD5 of bytes; then MD5 of ffmpeg -ac 1 -ar 16000 -f s16le output plus sample count (decode both sides with the same ffmpeg build). Supports: bit-identical copy (bytes) or identical audio under re-tagging/re-containering (PCM). FP: none; FN: any re-encode, trim or gain change.

Tier 2 — audfprint. Index all CV clips (--density 40–70, --hashbits 20, --shifts 2 because clips are short); query every Tier-1 miss; record matched_hashes, query_hashes, offset. Calibrate: take Tier-1 positives as known-same pairs, and 10⁵ random CV×TT pairs as known-different; pick the minimum consistent-hash count giving zero negatives (expect ~10–20 for 3–8 s speech; random chance <1% of hashes are time-consistent). Optionally re-run with Olaf, q ≥ 0.50. Supports: same recording despite MP3 re-encode, resample, ±gain, trimming (non-zero offset). FP: near-zero with a ≥ 20-hash threshold; FN: heavy filtering/speed change (unlikely here).

Tier 3 — speaker embeddings. Resample to 16 kHz; embed with ReDimNet2-B6 (vb2+vox2+cnc2_v0, lm) and, as a second opinion, WeSpeaker ResNet293-LM or CAM++ zh-cn. Calibration: build trials from CV client_id — same-id/different-sentence vs different-id — with ≥ 50 k trials each, compute EER threshold and the threshold at FAR = 0.1%. Literature anchors for ResNet293-type cosine: 0.354 (human-labelled CV pairs, Zhang et al. 2025), 0.40 (TidyVoice cleaning), 0.405 (Vox1-H). Then aggregate: for each TT client_id, median cosine to the top CV speaker centroid. Supports: "same speakers present", i.e. derived data; FP: ~1–3% pairwise on 2–3 s clips, so only report at speaker-cluster level; FN: CV client_id is itself noisy (multiple people under one id, ~9% of multilingual ids).

Tier 4 (optional) — content embedding. For Tier-2 misses only: BEATs or Dasheng-base mean-pooled, FAISS cosine ≥ 0.995, then listen/inspect. Supports: candidate generation only.

Prior public write-ups

No public write-up about this dataset was found (its HF discussions contain only the Parquet-conversion bot), nor any CV re-upload exposed by fingerprinting. Related: Mozilla's own "splinter dataset" guidance (2023); Discourse threads on unverified third-party HF mirrors (fsicoli/*, fixie-ai/*); the Data Provenance Initiative (licence inconsistent with source for >55% of audited content); SoundDesc train/test leakage found with Panako; LAION-Audio-XL's three-stage dedup.

References