Controlled damage on LibriSpeech#

The VoxCeleb flags cover too much of every clip to show whether a model depends on damaged audio. The second dataset therefore has known damage instead of a detector’s estimate. It is 60 LibriSpeech test-clean utterances (5 to 10 s, seed 8001), each with one degradation inserted into one 2 s window at a random position by AADD’s v3 synthesiser. There are ten clips per class: pink noise at 0 dB SNR, reverberation, clipping, low-pass, mains hum and clicks. The audio outside the window is bit-identical to the clean twin. Each model scored every clip clean and degraded, and tokens were matched between the two transcripts. “In-window tokens” are those that drew at least half their evidence from the window when the audio was clean.

Three panels per degradation class and model: the rise in word error rate from clean to degraded, the change in the share of an in-window token's evidence that sits inside the window, and the rise in surprisal of in-window tokens

  • Damage increases the share of evidence inside the damaged window. For in-window tokens the share inside the window rises from 0.73 to 0.82 for whisper-base (paired +0.088 [+0.067, +0.110]), from 0.76 to 0.83 for whisper-tiny and from 0.76 to 0.84 for moonshine-base. Out-of-window tokens also draw more from it (paired +0.056 [+0.041, +0.074] for whisper-base), so only part of the rise is specific to the tokens of the window. In-window tokens become 0.10 nats more surprising to whisper-base and out-of-window tokens 0.02, so the evidence concentrates where the transcript is least certain.

  • AADD finds the inserted damage. It flags 100 % of frames inside a noise or reverb window and 3 to 20 % outside, with the right class. Clicks are the hardest class (70 % inside).

  • Noise and reverberation raise the word error rate, and the other four classes barely do. whisper-tiny goes from 0.09 to 0.24 WER under noise and from 0.15 to 0.37 under reverb. whisper-base loses about half as much. Hum and clicks move WER by at most 0.03 and the evidence shares by at most 0.04. A degradation that does not change the transcript also leaves the maps almost unchanged.

Stats for nerds (per model and per kind of damage)

model

WER clean

WER degraded

paired rise

tokens kept

in-window tokens: mass in window, clean -> degraded

paired change

surprisal rise in / out

whisper-tiny

0.08 [0.06, 0.11]

0.15 [0.11, 0.20]

+0.066 [+0.029, +0.109]

0.88 [0.84, 0.92]

0.76 [0.74, 0.78] -> 0.83 [0.81, 0.85]

+0.066 [+0.045, +0.087]

0.13 [0.08, 0.18] / 0.03 [0.02, 0.05]

whisper-base

0.06 [0.04, 0.08]

0.09 [0.06, 0.11]

+0.029 [+0.014, +0.046]

0.93 [0.91, 0.95]

0.73 [0.72, 0.75] -> 0.82 [0.80, 0.84]

+0.088 [+0.067, +0.110]

0.10 [0.06, 0.14] / 0.02 [0.01, 0.03]

moonshine-base

0.05 [0.03, 0.07]

0.09 [0.06, 0.12]

+0.037 [+0.016, +0.061]

0.94 [0.92, 0.97]

0.76 [0.74, 0.78] -> 0.84 [0.81, 0.86]

+0.072 [+0.047, +0.099]

0.09 [0.05, 0.13] / 0.01 [-0.00, 0.02]

degradation

AADD flags inside

outside

right class inside

whisper-tiny: WER clean -> deg, mass-in clean -> deg

whisper-base: WER clean -> deg, mass-in clean -> deg

moonshine-base: WER clean -> deg, mass-in clean -> deg

noise

1.00

0.03

1.00

0.09 -> 0.24, 0.73 -> 0.90

0.08 -> 0.16, 0.72 -> 0.89

0.07 -> 0.19, 0.73 -> 0.92

reverb

1.00

0.20

1.00

0.15 -> 0.37, 0.76 -> 0.84

0.07 -> 0.14, 0.75 -> 0.90

0.06 -> 0.16, 0.76 -> 0.88

clipping

0.90

0.15

0.89

0.06 -> 0.08, 0.75 -> 0.82

0.05 -> 0.07, 0.73 -> 0.81

0.07 -> 0.06, 0.77 -> 0.84

lowpass

1.00

0.05

1.00

0.04 -> 0.07, 0.77 -> 0.84

0.04 -> 0.03, 0.73 -> 0.83

0.02 -> 0.04, 0.76 -> 0.84

hum

0.92

0.23

0.91

0.11 -> 0.08, 0.79 -> 0.79

0.07 -> 0.07, 0.75 -> 0.75

0.05 -> 0.05, 0.77 -> 0.76

clicks

0.70

0.10

0.68

0.06 -> 0.07, 0.77 -> 0.77

0.04 -> 0.04, 0.71 -> 0.75

0.04 -> 0.04, 0.79 -> 0.79

Reverberation uses synthetic room impulse responses with RT60 0.6 to 1.0 s, and 88 to 94 % of tokens survive the degradation unchanged. On clean LibriSpeech all three models sit at 0.05 to 0.08 WER.

A LibriSpeech clip with pink noise inserted at 0.6 to 2.6 s, through the three models: the boxes of the tokens spoken in that window sit inside it
LibriSpeech 2094-142345-0024 with pink noise at 0 dB inserted at 0.6 to 2.6 s (dashed). The clean twin is figures/controlled_noise_clean__2094-142345-0024.png.