File size: 9,027 Bytes
027984f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
---
license: cc-by-4.0
pretty_name: Small Overlapping Speech Bench
task_categories:
- automatic-speech-recognition
language:
- de
- fr
- es
- it
- nl
- pt
tags:
- overlapping-speech
- multilingual
- speaker-diarization
- asr-benchmark
- cocktail-party
- speech
size_categories:
- n<1K
configs:
- config_name: default
  data_files:
  - split: test
    path: data/**
---

# Small Overlapping Speech Bench

A tiny, fully-reproducible benchmark for **multilingual overlapping speech**. Each of the
**100 clips** contains **three people speaking at the same time, each in a different European
language**, with **ground-truth** per-speaker timestamps, languages, and transcripts.

It is a deliberately hard "cocktail-party" stress test: how much of each simultaneous speaker can
an ASR (speech-to-text) model recover, and can a model tell *how many* people are talking?

- **100 clips**, 3 simultaneous speakers / 3 languages each (~15–26 s, mono, 16 kHz MP3)
- Languages: **German, French, Spanish, Italian, Dutch, Portuguese**
- Built from [`facebook/multilingual_librispeech`](https://huggingface.co/datasets/facebook/multilingual_librispeech) (CC-BY-4.0)
- Ground truth + evaluation scripts + results for 6 ASR models included

> Companion project: the [Universal Audio Annotation Pipeline](https://github.com/LAION-AI/univeral-audio-annotation-pipeline).

---

## What's in the repo

```
data/
  clip_000.mp3 … clip_099.mp3     # the 100 overlapping-speech clips
  metadata.jsonl                  # ground truth, one row per clip (HF AudioFolder format)
ground_truth.jsonl                # same ground truth, with an "audio_file" path field
scripts/                          # everything needed to rebuild + evaluate (see "Reproduce")
metrics.json                      # benchmark scores for 6 ASR models
RESULTS.md / benchmark_report.html# human-readable results write-up
```

### Ground-truth schema (per clip)

```json
{
  "clip_id": "clip_000",
  "duration": 26.18,
  "num_speakers": 3,
  "languages": ["italian", "portuguese", "french"],
  "speakers": [
    {"id": "S1", "language": "italian",    "code": "it", "src_speaker_id": 280,
     "start_time": 0.0,   "end_time": 12.98, "transcript": "chiamando buon vulcano …"},
    {"id": "S2", "language": "portuguese", "code": "pt", "src_speaker_id": 12287,
     "start_time": 6.717, "end_time": 17.097,"transcript": "constituíam uma destas …"},
    {"id": "S3", "language": "french",     "code": "fr", "src_speaker_id": 1406,
     "start_time": 12.59, "end_time": 26.18, "transcript": "s'écria d'abord le génie …"}
  ]
}
```

`start_time`/`end_time` are the exact placement of each source utterance inside the mix, so the
file also doubles as a **diarization** ground truth.

---

## How to use

### With `datasets` (audio auto-decoded)

```python
from datasets import load_dataset
ds = load_dataset("laion/small-overlapping-speech-bench", split="test")
ex = ds[0]
ex["audio"]      # {'array': np.ndarray (16 kHz mono), 'sampling_rate': 16000}
ex["speakers"]   # list of 3 dicts: language, code, start_time, end_time, transcript
```

### Without `datasets` (just files)

```python
from huggingface_hub import snapshot_download
import json, librosa, os

root = snapshot_download("laion/small-overlapping-speech-bench", repo_type="dataset")
gt = [json.loads(l) for l in open(os.path.join(root, "ground_truth.jsonl"))]
for clip in gt:
    wav, sr = librosa.load(os.path.join(root, clip["audio_file"]), sr=16000, mono=True)
    for spk in clip["speakers"]:
        print(clip["clip_id"], spk["code"], spk["start_time"], spk["transcript"][:40])
```

---

## How it was made

1. **Source pool.** Stream the **test** split of `facebook/multilingual_librispeech` for 6
   languages (de, fr, es, it, nl, pt). Keep single-speaker utterances of **5–14 s**, at most
   **6 per speaker** for speaker variety (`scripts/collect_pool.py`, `seed=11`). ~55 clips per
   language (Dutch is smaller in MLS → 18).
2. **Mixing.** For each of 100 clips (`scripts/build_clips.py`, `seed=2024`):
   - pick **3 distinct languages**, one utterance (one speaker) each;
   - RMS-normalize each utterance to equal loudness;
   - place them at **staggered, overlapping** start times — speaker 1 at 0 s, speaker 2 starts
     while speaker 1 is still talking, speaker 3 while speaker 2 is talking — so there is a region
     where all three overlap;
   - sum the three tracks, peak-limit to avoid clipping;
   - export **16 kHz mono MP3 @ 128 kbps** and write the ground-truth JSON.

All randomness is seeded, so the set rebuilds bit-for-bit.

---

## The metric

Overlapping, multi-language speech makes the usual **Word Error Rate** ill-defined (word order is
undefined when three people talk over each other in three languages). So we score **content-word
recall**: for each ground-truth utterance, the fraction of its **content words (≥ 3 letters)** that
appear *anywhere* in the model's transcript. Short function words are dropped so words shared across
languages don't give free points. We report it overall, per language, and as best/worst of the 3
overlapping speakers; `capt/3` = how many of the 3 speakers were "captured" (recall ≥ 30 %). For
diarizing models we also report predicted speaker count vs. the true 3.

See `RESULTS.md` / `benchmark_report.html` for a freshman-friendly explanation with a worked example.

---

## Results

Six ASR models, content-word recall % (100 clips × 3 speakers = 300 utterances):

| model | overall | best/3 | worst/3 | capt/3 |
|-------|:------:|:-----:|:------:|:-----:|
| **Nemotron 3.5 ASR — 1.12 s chunk** | **38.8** | **65.4** | **10.4** | **1.86** |
| **Nemotron 3.5 ASR — 80 ms chunk** | 33.8 | 60.4 | 7.9 | 1.62 |
| Qwen3-ASR-1.7B | 25.5 | 62.1 | 1.1 | 1.03 |
| VibeVoice-ASR | 25.3 | 43.8 | 5.4 | 1.27 |
| Chorus-v1 \* | 16.3 | 37.7 | 1.2 | 0.55 |
| Parakeet TDT v3 | 11.6 | 30.6 | 0.2 | 0.48 |

Speaker counting (truth = 3): **Parakeet + Sortformer 3.1 mean, 90 % exactly 3** (best);
VibeVoice's built-in diarization collapses (mean 0.78, never 3); Chorus is fixed at 2 by design.

\* Chorus-v1 is **English-only & 2-speaker by design** — run here out of domain.

**Takeaways:** (1) no model transcribes all three voices — each locks onto one; (2) **Nemotron 3.5
is the strongest transcriber**, and **longer streaming chunks beat shorter ones** (33.8 → 38.8 %);
(3) **Sortformer is the best speaker counter**. Full discussion in `RESULTS.md`.

---

## Reproduce

```bash
# 1. build the test set (needs: datasets, soundfile, numpy, ffmpeg)
python scripts/collect_pool.py          # streams MLS -> pool/ (seed 11)
python scripts/build_clips.py           # mixes 100 clips + ground truth (seed 2024)

# 2. run each ASR model (each in its own env — they pin conflicting deps)
python scripts/eval_parakeet.py         # NeMo: Parakeet TDT v3 + Sortformer
python scripts/eval_qwen.py             # qwen-asr
python scripts/eval_vv.py               # VibeVoice-ASR (github.com/microsoft/VibeVoice)
python scripts/eval_nemotron.py         # NeMo (main): nemotron-3.5 short & long chunks
python scripts/eval_chorus.py           # transformers: Trelis/Chorus-v1

# 3. score
python scripts/compute_metrics.py       # -> metrics.json + printed tables
```

The eval scripts use absolute paths from the original run — adjust the `BASE`/path constants at the
top to your checkout. Model sources: `nvidia/parakeet-tdt-0.6b-v3`, `nvidia/diar_sortformer_4spk-v1`,
`Qwen/Qwen3-ASR-1.7B`, `microsoft/VibeVoice-ASR`, `nvidia/nemotron-3.5-asr-streaming-0.6b`
(needs NeMo from `main`), `Trelis/Chorus-v1`.

### Nemotron chunk size (short vs long)

```python
model.encoder.set_default_att_context_size([56, 0])    # 80 ms  (low latency)
model.encoder.set_default_att_context_size([56, 13])   # 1.12 s (higher accuracy)
# force auto language detection on the prompt-conditioned model:
from nemo.collections.asr.data.audio_to_text_lhotse_prompt_index import LhotseSpeechToTextBpeDatasetWithPromptIndex as DS
DS._get_prompt_index_for_cut = lambda self, cut: self.auto_index
```

---

## Limitations & notes

- **Read speech, not conversational.** Source audio is audiobook reading (MLS), so prosody/overlap
  is synthetic, not natural turn-taking.
- **Dutch pool is small** (MLS Dutch test has few speakers) → Dutch appears in fewer clips.
- **Small (100 clips).** Meant as a quick, cheap stress test, not a large eval set.
- Equal-loudness mixing; real cocktail-party audio has varied levels, reverb, and noise.

## License & attribution

Released under **CC-BY-4.0**, inheriting the license of the source corpus
**Multilingual LibriSpeech** (Pratap et al., 2020, *MLS: A Large-Scale Multilingual Dataset for
Speech Research*). Please cite MLS if you use this benchmark.

```bibtex
@inproceedings{pratap2020mls,
  title={MLS: A Large-Scale Multilingual Dataset for Speech Research},
  author={Pratap, Vineel and Xu, Qiantong and Sriram, Anuroop and Synnaeve, Gabriel and Collobert, Ronan},
  booktitle={Interspeech}, year={2020}
}
```