← Latest papers
⚡ electrical engineering

Bangla-WhisperDiar: Fine-Tuning Whisper and PyAnnote for Bangla Long-Form Speech Recognition and Speaker Diarization

This paper presents Bangla-WhisperDiar, a robust system that fine-tunes Whisper and PyAnnote models with extensive data augmentation and a custom pipeline to achieve state-of-the-art performance in Bangla long-form speech recognition and speaker diarization, attaining a Word Error Rate of 0.2441 and a Diarization Error Rate of 0.2392.

Original authors: Mohammed Aman Bhuiyan, Md Sazzad Hossain Adib, Samiul Basir Bhuiyan, Amit Chakraborty, Aritra Islam Saswato, Ahmed Faizul Haque Dhrubo, Mohammad Ashrafuzzaman Khan

Published 2026-05-12
📖 4 min read☕ Coffee break read

Original authors: Mohammed Aman Bhuiyan, Md Sazzad Hossain Adib, Samiul Basir Bhuiyan, Amit Chakraborty, Aritra Islam Saswato, Ahmed Faizul Haque Dhrubo, Mohammad Ashrafuzzaman Khan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a very long, messy recording of a Bangla conversation—maybe a radio drama, a news debate, or a family gathering. It's full of background noise, people talking over each other, and different accents. Your goal is to do two things:

  1. Transcribe it: Turn the spoken words into written text.
  2. Identify the speakers: Figure out exactly who said what and when.

This paper, titled "Bangla-WhisperDiar," is a report from a team of researchers at North South University in Bangladesh. They built a system to solve these two problems specifically for the Bangla language, which is often overlooked by big AI tools designed for English.

Here is how they did it, explained with everyday analogies:

The Two Main Problems

Think of the recording as a giant, tangled ball of yarn.

  • Problem 1 (ASR): You need to untangle the yarn and write down every word clearly.
  • Problem 2 (Diarization): You need to sort the yarn by color, so you know which strand belongs to "Speaker A" and which belongs to "Speaker B."

The Solution: A Two-Part Machine

Part 1: The Transcriber (ASR)

The team started with a pre-made AI brain called Whisper (specifically a version already tweaked for Bangla). However, the standard version wasn't perfect for their specific, noisy, long-form recordings.

  • The "Training Camp" (Fine-Tuning): Imagine taking a student who already knows the alphabet and putting them through a rigorous training camp. The researchers fed the AI thousands of hours of Bangla audio.
  • The "Stress Test" (Data Augmentation): To make the AI tough, they didn't just give it clean audio. They artificially added noise, echoes, and reverb (like talking in a bathroom or a busy street) to the training data. It's like training a marathon runner by making them run in the rain and mud so they can handle any weather on race day.
  • The "Editor" (Text Normalization): The AI sometimes gets confused by numbers (e.g., writing "1990" instead of "nineteen ninety"). The team added a rulebook to the AI that forces it to convert numbers into words and clean up messy punctuation, ensuring the final text looks like a proper book.
  • The Result: Their system made far fewer mistakes than the standard version. They reduced the error rate significantly, meaning the written text is much more accurate.

Part 2: The Speaker Detective (Diarization)

Now, the team needed to figure out who is speaking. They used a tool called PyAnnote, which is like a smart camera that detects when people start and stop talking.

  • The "Specialist" Approach: Instead of retraining the whole camera system, they realized they only needed to teach the camera to recognize Bangla speaking patterns.
  • The "Swap" Strategy: They took the "brain" of the PyAnnote system that detects speech segments and replaced it with their own version, which they had trained specifically on Bangla conversations. They kept the rest of the system (the part that groups voices together) exactly as it was.
  • The "Cleanup Crew" (Post-Processing): Sometimes the AI gets jittery and thinks a split-second of silence is a new speaker. The team added a filter to ignore any "speaker" who talks for less than 0.3 seconds, removing those false alarms.
  • The Result: Their system was much better at separating the voices than the standard tools, correctly identifying who spoke when in about 76% of the cases (a 23.92% error rate, which is a huge improvement over the baseline).

The "Secret Sauce"

What made this work better than just using the off-the-shelf tools?

  1. Custom Training: They didn't just use the default settings; they fed the AI specific Bangla data.
  2. Simulated Chaos: By training the AI on noisy, echoey, distorted audio, it learned to ignore real-world messiness.
  3. Smart Editing: They didn't just let the AI output raw text; they added a "spell-checker" step to fix repetitive hallucinations (where the AI repeats phrases) and standardize numbers.

The Bottom Line

The team successfully built a pipeline that can take a long, messy Bangla recording and turn it into clean text with accurate speaker labels.

  • For Transcription: They cut the error rate by nearly 30% compared to the standard model.
  • For Speaker ID: They cut the error rate by over 40% compared to the standard model.

They made their code public so others can use it, proving that with the right training and a little bit of "stress testing," AI can handle the complexities of the Bangla language just as well as it handles English.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →