Unstable behavior in SAA mode on French conversational audio — wrong-language hallucination and repetitive loop generation

#7
by KiraGrudinina - opened

We observe unstable behavior when using granite-speech-4.1-2b-plus in Speaker Attributed ASR (SAA) mode on French conversational meeting audio. Two failure modes appear on some files:

Bug 1 — Wrong-language hallucination
French input is occasionally transcribed into English-like content, despite explicit instructions to transcribe in French.

Bug 2 — Repetitive loop generation
The decoder sometimes repeats words or short phrases many times until hitting max_new_tokens.

Environment

Model: ibm-granite/granite-speech-4.1-2b-plus
Mode: Speaker Attributed ASR (SAA)
Backend: vLLM 0.23.0, OpenAI-compatible chat endpoint
Audio: SUMM-RE French meetings — https://huggingface.co/datasets/linagora/SUMM-RE — spontaneous multi-speaker speech, ~20–26 min per track
Source audio format: 48 kHz mono
Inference audio format: resampled to 16 kHz mono before decoding

Prompt used:

prompt=( "<|audio|> La langue est le français. Transcris uniquement en français. " "Ne génère jamais de texte en anglais. " "Attribution des locuteurs : transcris et indique qui parle " "en ajoutant les balises [Speaker 1]: et [Speaker 2]: avant chaque tour de parole. " "Génère uniquement la transcription avec les balises de locuteurs." )

Chunked decoding: 120s chunks with 10s overlap (pipeline hard cap: 480s), with prefix_text carry-over between chunks

Notes

The same files are transcribed correctly by another production STT system (ElevenLabsScribe2), suggesting the inputs are not unusable.

Issues are consistent across files and runs.

Questions

Is wrong-language output a known limitation of SAA mode on non-English conversational audio?
Is repetitive generation a known failure mode, and is repetition_penalty a supported mitigation?

Suggestions

Preferred SAA prompt wording for multilingual audio
Recommended chunk length and overlap settings for long-form audio
Audio preprocessing for low-SNR or low-loudness starts (normalization, silence trimming)

IBM Granite org

Hi,
We've tested the model for French SAA and it performed well in our tests.
The first thing I would suggest is to use only the English system prompt and SAA prompt: SAA_PROMPT = "<|audio|> Speaker attribution: Transcribe and denote who is speaking by adding [Speaker 1]: and [Speaker 2]: tags before speaker turns."
This is not a general chat model so it might not follow other prompts or prompts in other languages.

Please let me know if this doesn't work and I'll try to help.

Thank you for the suggestion. We applied it and tested additional mitigations. Here is a summary of what we tried and what we observed.

What we changed

  • Prompting
    Switched to English-only SAA prompt as recommended:
    "<|audio|> Speaker attribution: Transcribe and denote who is speaking by adding [Speaker 1]: and [Speaker 2]: tags before speaker turns."

  • Backend
    Tested both vLLM 0.23.0 and Transformers backend. Current tests are running on Transformers.

  • Audio preprocessing
    Input normalized to mono 16 kHz
    Added silence detection (RMS/voiced-ratio based skip for mostly-silent chunks)
    VAD-based chunking (Silero VAD) with:
    threshold: 0.35 / min_silence_duration_ms: 400 / speech_pad_ms: 350
    chunk target range: 30–120 seconds

Loop detection (consecutive token + 3-gram heuristic) with automatic retry:

repetition_penalty: 2.0 / no_repeat_ngram_size: 2

What did NOT solve the issue
Switching to the English-only SAA prompt did not fully resolve wrong-language output or word repetition on these French meeting recordings.

We still observe:

  1. Occasional mixed-language fragments
  2. Content that does not match the audio, even when the recording start is clear (e.g. a known "Bonjour" opening)

Our hypothesis is that both failures are triggered by long pauses, overlapping speakers, and background noise — conditions often observed in spontaneous meeting recordings, rather than by prompt language alone. The model appears more stable on clean single-speaker audio (e.g. podcasts) but struggles on realistic multi-speaker meeting conditions.

We are attaching a 150s audio extract (007a_ECRH_021_from_90s_len_150s_16k.wav, 16kHz mono) from the SUMM-RE dataset that consistently reproduces both failures. The full dataset is available at https://huggingface.co/datasets/linagora/SUMM-RE.

IBM Granite org

Hi,
Thanks for your input. We're currently working to improve the model and improve problems similar to what you described. I hope to have more updates in the near future.

Thank you for the update! Do you have a rough timeline for the next release, or is there a release page we can follow to stay informed?

IBM Granite org

We don't have a timeline currently. I'll try to keep this page updated of new releases.

Sign up or log in to comment