Overview
Mubit-Whisper-Large-v3-Turbo-AntiHallucination is a standalone encoder-decoder ASR checkpoint built from openai/whisper-large-v3-turbo via Mubit direct weight-space programming (multilingual covariance-balanced ROM-nullspace-projected 2D highway updates baked directly into standard .safetensors weights across 12 decoder projection sites — model.decoder.layers.{0..3}.{self_attn.out_proj, encoder_attn.out_proj, fc2}, rom_max_frob_error = 6.30e-08, bf16_hook_bake_cosine_sim = 0.999973 — no runtime adapter required). It eliminates phantom hallucinations on silence and non-speech noise while preserving clean English, Spanish, French, and Mandarin speech transcription.
Key Highlights (Paired Evaluation vs. Base & Ablations)
All evaluations use greedy decoding (do_sample=False) on identical held-out audio clips (n=60 disjoint non-speech clips across 8 silence/noise profiles with begin_suppress_tokens=[], plus n=24 utterances per language on google/fleurs test splits).
- Eliminates non-speech hallucinations completely (
100.0% → 0.0%): Drops phantom transcriptions across 60 disjoint silence and noise clips (pure_silence, white_noise, pink_noise, brown_noise, mains_hum_60_120hz, fan_hvac, impulse_clicks, bandpass_telephone_static) from 60/60 (100.0%) → 0/60 (0.0%).
- Zero English speech degradation: Clean English WER (
google/fleurs en_us, n=24) holds exactly at 3.98% → 3.98% (+0.00%), whereas an unprotected decoder fine-tune collapses English WER to 96.22%.
- Preserves multilingual ASR (
+0.10% macro delta): Non-English macro error (es_419 WER, fr_fr WER, cmn_hans_cn CER) holds at 6.31% → 6.41% (+0.10%), compared to 13.04% for English-only P_null and 97.72% for an unprotected decoder fine-tune.
Full Evaluation Table (greedy, do_sample=False)
Table with columns: Benchmark, Metric (direction), n, Base whisper-v3-turbo, Unprotected Fine-Tune, EN-only P_null, Mubit Multilingual P_null, Δ vs. Base| Benchmark | Metric (direction) | n | Base whisper-v3-turbo | Unprotected Fine-Tune | EN-only P_null | Mubit Multilingual P_null | Δ vs. Base |
|---|
Non-speech (8 noise/silence profiles, begin_suppress_tokens=[]) | Hallucination rate (↓ better) | 60 | 100.0% (60/60) | 0.0% (0/60) | 0.0% (0/60) | 0.0% (0/60) | -100.0 pp |
google/fleurs en_us (test) | WER (↓ better) | 24 | 3.98% | 96.22% | 3.98% | 3.98% | +0.00% |
google/fleurs es_419 (test) | WER (↓ better) | 24 | 3.26% | 96.74% | 6.53% | 3.26% | +0.00% |
google/fleurs fr_fr (test) | WER (↓ better) | 24 | 5.45% | 97.10% | 11.58% | 5.62% | +0.17% |
google/fleurs cmn_hans_cn (test) | CER (↓ better) | 24 | 10.23% | 99.32% | 21.02% | 10.34% | +0.11% |
Non-English macro (es/fr/zh) | Macro error (↓ better) | 72 | 6.31% | 97.72% | 13.04% | 6.41% | +0.10% |
Quickstart (Pass begin_suppress_tokens=[] for Silence Suppression)
Upstream generation_config.json is kept intact for drop-in compatibility. Pass begin_suppress_tokens=[] to model.generate(...) so Whisper permits immediate <|endoftext|> emission on silence and non-speech audio (the default begin_suppress_tokens list forces a non-EOS first token).
import numpy as npimport torchfrom transformers import AutoModelForSpeechSeq2Seq, AutoProcessor model_id = "MubitLabs/Mubit-Whisper-Large-v3-Turbo-AntiHallucination"processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=False)model = AutoModelForSpeechSeq2Seq.from_pretrained( model_id, dtype=torch.bfloat16, device_map="auto", trust_remote_code=False) # Example: 5 seconds of silence at 16 kHz -> emits "" when begin_suppress_tokens=[]audio = np.zeros(16000 * 5, dtype=np.float32)inputs = processor.feature_extractor(audio, sampling_rate=16000, return_tensors="pt")input_features = inputs.input_features.to(device=model.device, dtype=model.dtype) with torch.no_grad(): generated_ids = model.generate( input_features, language="english", task="transcribe", do_sample=False, max_new_tokens=40, begin_suppress_tokens=[], ) print(repr(processor.batch_decode(generated_ids, skip_special_tokens=True)[0].strip()))
Honest Notes & Limitations
begin_suppress_tokens=[] decoding requirement: Because upstream generation_config.json is intentionally preserved without modification, callers relying on default begin_suppress_tokens will still force a non-EOS first token. Always pass begin_suppress_tokens=[] when evaluating or serving non-speech/silence suppression.
- Evaluation sample size & synthetic noise profiles: Speech retention was measured on
n=24 held-out utterances per language from google/fleurs test splits (en_us, es_419, fr_fr, cmn_hans_cn), and non-speech hallucination was measured on n=60 disjoint synthetic clips across 8 acoustic profiles. Full-scale benchmarks (e.g., LibriSpeech, Common Voice, real-world noisy multi-speaker meetings) were not run on this checkpoint.
- Language coverage: Multilingual covariance-balanced nullspace calibration covered English, Spanish, French, and Mandarin; retention across the remaining Whisper languages was not explicitly measured.
- Intended use: Drop-in Whisper transcription with reduced phantom hallucinations on silent or noisy segments (still pair with VAD for long-form streaming production pipelines).
- License: Apache 2.0.