WTForbes commited on
Commit
bf370b5
·
verified ·
1 Parent(s): ea7addf

VITW context-selected subset v1 (strict/prefix; original audio, no added noise)

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # Upstream dataset card states no license; verify upstream terms before making this public.
3
+ license: unknown
4
+ language:
5
+ - en
6
+ task_categories:
7
+ - automatic-speech-recognition
8
+ pretty_name: VITW Context-Select (EN)
9
+ tags:
10
+ - speech
11
+ - asr
12
+ - context
13
+ - robustness
14
+ configs:
15
+ - config_name: strict
16
+ default: true
17
+ data_files:
18
+ - split: validation
19
+ path: data/strict/validation-*.parquet
20
+ - split: test
21
+ path: data/strict/test-*.parquet
22
+ - config_name: prefix
23
+ data_files:
24
+ - split: validation
25
+ path: data/prefix/validation-*.parquet
26
+ - split: test
27
+ path: data/prefix/test-*.parquet
28
+ ---
29
+
30
+ # VITW Context-Select (EN)
31
+
32
+ A **selected subset of the original English audio** of
33
+ [`zhifeixie/Voices-in-the-Wild-Bench`](https://huggingface.co/datasets/zhifeixie/Voices-in-the-Wild-Bench)
34
+ (revision `788f5d72c6b0e9091b5c2e432370923b6f9f0660`). **No noise or other processing was added**;
35
+ audio bytes are the upstream WAV files (24 kHz mono PCM16), SHA-256 checked.
36
+
37
+ Purpose: test whether an ASR system (e.g. an MoE-fusion ASR with an LLM branch) uses **preceding
38
+ sentence context** to recover words that are **acoustically hard to recognise**.
39
+
40
+ ## Configs
41
+
42
+ | config | rule (per target word; an utterance is kept if ≥1 word qualifies) | validation | test |
43
+ |---|---|---|---|
44
+ | `strict` (default) | acoustically ambiguous vs a near-sounding word **and** the disambiguating context is in the prefix **and** Whisper large-v3 (no prompt) actually misrecognised the word (number-format / spelling variants such as 7/seven, centre/center are not counted as errors) | 85 utts / 0.20 h / 84 groups | 372 utts / 0.90 h / 365 groups |
45
+ | `prefix` | acoustically ambiguous **and** context in the prefix (no Whisper-error requirement) | 283 utts / 0.65 h / 266 groups | 1,076 utts / 2.61 h / 990 groups |
46
+
47
+ `validation` = dev partition (used for threshold design); `test` = held-out partition. Splits are made at
48
+ **template-group** level (near-duplicate sentences never cross splits), seed 20261108.
49
+
50
+ ```python
51
+ from datasets import load_dataset
52
+ test = load_dataset("ytdata/vitw-context-select", "strict", split="test")
53
+ # only the test files:
54
+ test = load_dataset("ytdata/vitw-context-select", data_files={"test": "data/strict/test-*.parquet"}, split="test")
55
+ ```
56
+
57
+ ## How words were selected (machine screening, no human listening yet)
58
+
59
+ 1. **Candidates (text only):** every reference word with a homophone / near-phone alternative from CMUdict
60
+ (e.g. *leak / league*, *seats / seeds*), alternatives with wordfreq zipf ≥ 2.5. Function words excluded.
61
+ 2. **Acoustic ambiguity:** Whisper large-v3 forced-choice on a ±0.3 s crop around the word; ambiguous if the
62
+ best near-sounding alternative is within e^1 of the target, or Whisper's free decoding got the word wrong.
63
+ Exact homophones are not counted as acoustic evidence.
64
+ 3. **Context:** Qwen2.5-7B-Instruct scores the reference word vs alternatives given the **prefix**
65
+ (and full sentence); kept when the reference is ≥10× more likely than the hardest alternative and the
66
+ context adds ≥e^1 beyond the word's prior.
67
+
68
+ Rule file and all scores are in the build repo (`configs/selection_rules.yaml`, selection v1).
69
+
70
+ ## Columns
71
+
72
+ `audio`, `sample_id`, `name`, `file_name`, `original_split` (`real_*`/`syn_*` condition), `source_type`,
73
+ `condition`, `mixed_components`, `reference_raw`, `reference_normalized`, `group_id`, `partition`,
74
+ `duration_sec`, `audio_sha256`, `n_targets`, `selector_hypothesis` (Whisper large-v3 greedy output), and
75
+ `targets`: JSON list, one entry per qualifying word with `target_text`, `target_char_span` /
76
+ `target_word_span` (half-open), `target_time_sec` (approximate, from Whisper word timestamps, unverified),
77
+ `alternatives`, `selector_target_word`, `crop_margin`, `context_availability`, `prefix_margin`, `prefix_shift`,
78
+ `full_margin`, `hardest_alternative_prefix`.
79
+
80
+ ## Limitations
81
+
82
+ - Labels are **provisional (machine-screened)**; nobody has listened to the audio yet.
83
+ - `strict` is enriched for errors of one specific model (Whisper large-v3); it is "hard for that selector",
84
+ not representative of all ASR or of the full benchmark. Report full-benchmark results separately.
85
+ - Whisper has an internal LM, so "acoustic ambiguity" is a proxy, not ground truth.
86
+ - Text overlap was checked only against the Voices-in-the-Wild-2M English text manifest (no exact or
87
+ near matches found); overlap with other training data is unknown.
88
+ - Source sentences are short, highly predictable everyday sentences; low-context counterexamples are rare.
89
+ - One truncated upstream clip (`vitw_04834_real_en_far_field`, 0.08 s) is excluded.
90
+
91
+ ## 中文摘要
92
+
93
+ 從 Voices-in-the-Wild-Bench 英文原始音檔(**未加任何噪音**)挑出「目標詞聽起來易混淆、但前文上下文可判斷」
94
+ 的句子。`strict` 另要求 Whisper large-v3 實際聽錯該詞(test 372 句);`prefix` 較寬(test 1,076 句)。
95
+ validation 為 dev(已用於門檻設計),結論請以 test 報告。標籤為機器初篩,尚無人工聽音驗證。
STATS.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "stats": {
3
+ "strict/validation": {
4
+ "utterances": 60,
5
+ "targets": 78,
6
+ "groups": 59,
7
+ "hours": 0.142,
8
+ "real": 21
9
+ },
10
+ "strict/test": {
11
+ "utterances": 284,
12
+ "targets": 396,
13
+ "groups": 277,
14
+ "hours": 0.693,
15
+ "real": 63
16
+ },
17
+ "prefix/validation": {
18
+ "utterances": 258,
19
+ "targets": 387,
20
+ "groups": 241,
21
+ "hours": 0.586,
22
+ "real": 78
23
+ },
24
+ "prefix/test": {
25
+ "utterances": 988,
26
+ "targets": 1631,
27
+ "groups": 902,
28
+ "hours": 2.402,
29
+ "real": 270
30
+ }
31
+ },
32
+ "files": {
33
+ "hf_release/vitw_context_select/data/strict/validation-00000-of-00001.parquet": {
34
+ "sha256": "50752eaf5212d3c233e6dc706d6242a3dc1146045ac146118b18dc4c34ab9247",
35
+ "bytes": 19554865
36
+ },
37
+ "hf_release/vitw_context_select/data/strict/test-00000-of-00001.parquet": {
38
+ "sha256": "0bd3f56a9ea80c4a97c8aa8de1de5f26be1cc99a588b9640f45b440a49cff2b3",
39
+ "bytes": 95772293
40
+ },
41
+ "hf_release/vitw_context_select/data/prefix/validation-00000-of-00001.parquet": {
42
+ "sha256": "2817087d441481f54dd0515121806d7933a1e2b1cf3e384c5ca8fa28230689ee",
43
+ "bytes": 78013803
44
+ },
45
+ "hf_release/vitw_context_select/data/prefix/test-00000-of-00001.parquet": {
46
+ "sha256": "87093b64e9ea2250f7452a58b0c4a329878aecbd3c3dfed644075a6f1593569f",
47
+ "bytes": 324689761
48
+ }
49
+ }
50
+ }
data/prefix/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87093b64e9ea2250f7452a58b0c4a329878aecbd3c3dfed644075a6f1593569f
3
+ size 324689761
data/prefix/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2817087d441481f54dd0515121806d7933a1e2b1cf3e384c5ca8fa28230689ee
3
+ size 78013803
data/strict/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bd3f56a9ea80c4a97c8aa8de1de5f26be1cc99a588b9640f45b440a49cff2b3
3
+ size 95772293
data/strict/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50752eaf5212d3c233e6dc706d6242a3dc1146045ac146118b18dc4c34ab9247
3
+ size 19554865
selection_rules.yaml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Selection rules v1 (provisional_machine_screened). Frozen once subsets are built;
2
+ # any change must bump selection_version and keep the old manifests.
3
+ selection_version: v1
4
+ annotation_status_default: provisional_machine_screened # no human listening yet
5
+ normalizer: vitw_en_norm_v1
6
+ candidate_generator: cmudict_homophone_nearphone_v2 # alt zipf >= 2.5, max 6 alts
7
+ exclude_function_words_from_buckets: true
8
+
9
+ selector:
10
+ model: openai/whisper-large-v3@06f233fe06e710322aca913c1bc4249a0d71fce1
11
+ decode: {greedy: true, language: en, prompt: null, fp16: true, word_timestamps: true}
12
+ note: >
13
+ Whisper has an internal decoder LM; it is NOT a pure acoustic oracle.
14
+ HF beam N-best was dropped (transformers 5.4.0 under python -I returned identical beams and OOMed).
15
+
16
+ acoustic:
17
+ # crop = approximate target window (greedy word timestamps; interpolated from
18
+ # neighbours if the target was deleted) +/- 0.3 s; decoder sees only the task
19
+ # prefix + candidate word (no sentence context).
20
+ crop_margin: "min over NON-homophone alts a of [lp_whisper(target|crop) - lp_whisper(alt|crop)]"
21
+ crop_margin_all: "same over all alts incl. homophones (diagnostic only; homophone gap = spelling prior)"
22
+ homophone_only: "target whose alternatives are all homophones -> acoustic_label homophone_only (crop cannot separate them)"
23
+ ambiguous_if: "selector top-1 target wrong OR crop_margin < 1.0"
24
+ clear_if: "selector top-1 target correct AND crop_margin >= 3.0"
25
+ unknown_if: "otherwise, or window_source == interpolated_too_short"
26
+ thresholds: {ambiguous_margin: 1.0, clear_margin: 3.0, max_selector_utt_wer: 0.5}
27
+ unreliable_if: "selector utterance WER > 0.5 (hallucination / unintelligible) -> acoustic unknown"
28
+
29
+ context:
30
+ lm: Qwen/Qwen2.5-7B-Instruct (raw text, no chat template) -- nomination only, not ground truth
31
+ # margins are natural-log probabilities; min over all alternatives (hardest alternative)
32
+ prefix_margin: "min_a [lp(target|prefix) - lp(alt|prefix)]"
33
+ prior_margin: "min_a [lp(target|BOS) - lp(alt|BOS)] (context-free word prior)"
34
+ prefix_shift: "min_a [(lp(t|prefix)-lp(a|prefix)) - (lp(t|BOS)-lp(a|BOS))]"
35
+ full_margin: "min_a [lp(sentence_t) - lp(sentence_a)] # oracle bidirectional diagnostic"
36
+ full_shift: "min_a [(lp(sent_t)-lp(sent_a)) - (lp(t|BOS)-lp(a|BOS))]"
37
+ high_margin: 2.3 # ~10x odds for the reference over the hardest alternative
38
+ high_shift: 1.0 # context must add >= e^1 odds beyond the word prior
39
+ low_margin: 0.7 # below this for BOTH prefix and full -> low / undeterminable
40
+ availability:
41
+ both: prefix high and full high
42
+ prefix_available: prefix high, full not high
43
+ suffix_only: prefix not high, full high
44
+ none: neither high
45
+
46
+ buckets:
47
+ main_challenge: acoustic ambiguous AND context high (any availability)
48
+ ambiguous_negative: acoustic ambiguous AND context low
49
+ clear_control: acoustic clear AND context high
50
+ general_control: acoustic clear AND context low
51
+ homophone_semantic: acoustic_label homophone_only AND context high (semantic word choice; NOT evidence that acoustic degradation drives routing)
52
+ unassigned: everything else (medium context, alignment unknown, function word) -- kept with reason
53
+
54
+ baseline_error_enriched: "selector top-1 aligned target word != reference, ignoring surface variants (numbers 7/seven, ordinals, British/American spelling, cannot/can't; surface_equiv_v1)"
55
+ inclusion_never_uses: [MoE outputs, MoE routing, MoE accuracy]
56
+ partition: {seed: 20261108, dev_frac: 0.2, unit: template group}
57
+
58
+ decision_log:
59
+ - date: 2026-11-09
60
+ change: homophone alternatives removed from acoustic crop margin; homophone-only targets moved to separate bucket homophone_semantic
61
+ reason: 720 dev homophone targets were labelled acoustically clear only through Whisper spelling prior (plan sec 2.3 requires homophones as a separate class)
62
+ data_used: dev distributions only; no MoE outputs
63
+ - date: 2026-11-09
64
+ change: low_margin kept at 0.7 after dev sweep (0.7/1.0/1.5/2.3 -> low 33/40/55/71 of 3115 dev targets)
65
+ reason: low-context targets are rare in this corpus under any threshold; keep conservative definition, report low-context buckets as exploratory
66
+ - date: 2026-11-11
67
+ change: baseline_error_enriched ignores surface-form variants (surface_equiv_v1)
68
+ reason: root review of strict subset found 44 number-format and spelling variants (seven->7, center->centre) counted as selector errors
69
+ data_used: strict subset audit only; no MoE outputs
70
+ - date: 2026-11-11
71
+ change: surface_equiv_v2 (toward/towards, compounds like break room/breakroom); selector utterance WER > 0.5 -> acoustic unknown
72
+ reason: root spot-check of 8 random strict-test rows found 2 whole-utterance hallucinations ("Thank you for watching.") and 2 surface variants
73
+ data_used: strict subset audit only; no MoE outputs