Skip to content
advancedaudio

Indic DiarBench Joint Diarization and Transcript Correction

Correct speaker turns and draft transcripts with tiered_annotation and speech_transcript. Items are illustrative, with synthetic audio and invented text.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/audio/indic-diarbench-joint-diarization-asr
potato start config.yaml

About this dataset

Indic DiarBench is a speaker diarization and speech recognition benchmark from Mehendale, Mehndiratta, Rathi, Bhogale, and Khapra, published at Interspeech 2026. The corpus holds about 108 hours of natural multi-speaker audio in all 22 scheduled languages of India, drawn from near-field meetings, far-field meetings, and in-the-wild YouTube conversations. Annotations are human-corrected, time-aligned, and attributed to speakers, and the data captures English code-mixing, dialectal variation, and frequent overlap.

The annotation protocol starts from machine drafts. Several independent ASR systems produce initial transcripts, annotators edit the drafts as editable hypotheses, and no machine-generated annotation is kept without human validation. The design reproduces the annotator stage with two schemes on the same recording. A tiered_annotation scheme holds the speaker turns, pre-filled from the draft, and a speech_transcript scheme flags each wrong turn and collects the corrected text in the normalized form, with English words in Roman script and numerals as digits. The checker stage (two to three quality checkers per language) is not built. In Potato the stage would be a second task that reads the first task's output through pre_annotation or assignment_strategy model_review. All ten items are illustrative. The audio is synthetic tones, one pitch per speaker, released under CC0, and the transcript text is invented English that does not match what is heard. Replace both with a real recording and draft before a study. From Potato 2.15.0, the pre_annotation export format writes the answers of one stage as the predictions_file of the next stage; answers of the tiered_annotation, speech_transcript schemes are left out.

The config enables model_training with writeback for both schemes. The diarization trainer fine-tunes a speech encoder to find who speaks when from the corrected speaker tier, and the whisper-asr trainer fine-tunes Whisper on the turns annotators corrected and suggests corrections for the remaining turns. Neither trainer uses or fine-tunes pyannote, and neither serves or deploys a model. Ten synthetic items exercise the loop but cannot teach a model anything about speech.

Audio
About 108 hours
Languages
All 22 scheduled languages of India
Near-field meetings
About 53 hours
Far-field meetings
About 27 hours
In-the-wild audio
About 28 hours, 10 languages
Unique meeting speakers
485 from 189 districts
Items in the design
10 illustrative items

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
#
# Indic DiarBench: joint speaker diarization and transcript correction
#
# Paper: Mehendale, Mehndiratta, Rathi, Bhogale and Khapra, "Indic DiarBench: A
#   Multilingual Joint Diarization and ASR Benchmark for Indian Languages",
#   Interspeech 2026, pp. 4212-4216, DOI 10.21437/interspeech.2026-2484
#   (https://www.isca-archive.org/interspeech_2026/mehendale26_interspeech.html;
#   arXiv preprint: https://arxiv.org/abs/2607.23808, DOI 10.48550/arXiv.2607.23808).
# DOI: 10.21437/interspeech.2026-2484
# Dataset: https://huggingface.co/datasets/sarvamai/indic-diarbench (CC BY 4.0 on
#   the dataset card). The in-the-wild subset is YouTube audio, and the card does
#   not state the source licenses, so no benchmark audio or text is shipped here.
#
# Protocol (paper, annotation section): initial transcripts "are generated using
#   multiple independent ASR systems"; "Annotators are presented with these
#   hypotheses as editable drafts"; "No machine-generated annotation is retained
#   without human validation." For meetings annotators "may adjust timestamps or
#   speaker labels but cannot introduce new speakers"; for in-the-wild audio they
#   "may add, merge, or remove speaker labels". Annotators produce two
#   transcription formats, a native-script form and a "normalized form in which
#   English words are written using Roman script and numerals using Arabic
#   digits".
#
# Adaptations:
#   - Every item is illustrative. The audio is synthetic (tones in two to four
#     pitches that change at the turn boundaries, CC0, see media/LICENSE-media.txt)
#     and contains no speech. The transcript text is invented, short, plain
#     English, and does not match what is heard. The benchmark covers Indian
#     languages, which these items do not.
#   - Speaker turns are marked on a tier whose labels are generic Speaker_1 to
#     Speaker_4, because the paper gives no speaker IDs for the in-the-wild subset.
#   - Only the normalized transcript format is collected, not the native-script one.
#   - The transcript is corrected turn by turn with the ASR-error flag. The review
#     by two to three quality checkers per language and the final expert pass are
#     not modeled.
#
# Multi-stage protocol: the original workflow is a pipeline. ASR drafts come first,
#   then annotators edit them, then checkers verify. This design reproduces the
#   annotator edit stage. In Potato the checker stage would be a second task that
#   reads the first task's output through pre_annotation, or assignment_strategy
#   model_review, with a different annotator group.
#   From Potato 2.15.0, the pre_annotation export format (python -m potato.export --format pre_annotation)
#   writes stage 1's answers as the next stage's predictions_file. Answers of the tiered_annotation,
#   speech_transcript schemes are left out with a warning.
#
# Model-assisted loop. Open /admin/training with the admin key below and pick a
#   trainer per scheme:
#   - diarization learns who speaks when from the speaker tier. It fine-tunes a
#     speech encoder (WavLM by default) with a frame head. It does not use or
#     fine-tune pyannote, and it names speakers locally per recording. It needs 4
#     annotated recordings in its training split (min_instances).
#   - whisper-asr fine-tunes Whisper on the turns annotators corrected in the
#     transcript_review scheme, and suggests corrections for the remaining turns.
#     Turns nobody corrected are not training examples. It needs 10 corrected
#     turns in its training split.
#   Both need pip install "potato-annotation[train-audio]". Ten synthetic tones
#   exercise the loop and do not teach a model anything about speech. Neither
#   trainer serves or deploys a model.
#
# Run: potato start config.yaml -p 8000

port: 8000
annotation_task_name: "Indic DiarBench: Diarization and Transcript Correction"
task_dir: "."

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: title

media_directory: media

output_annotation_dir: annotation_output/
export_annotation_format: jsonl

require_password: false
# Replace the admin key before any real study.
admin_api_key: "demo-admin-key"

user_config:
  allow_all_users: true
  users: []

annotation_instructions: |
  ## Who speaks when, and what was said

  The recording comes with a draft transcript from automatic speech recognition.
  Check each turn against the audio. Fix the speaker label and the timing, then
  correct the text. Write English words in Roman script and numerals as digits
  (the paper's normalized form). Overlapping speech needs a second look. For a
  meeting recording, do not add speakers beyond the ones already present.

annotation_schemes:
  - annotation_type: tiered_annotation
    name: speaker_turns
    description: "Mark who speaks when. The draft turns are pre-filled; fix labels and boundaries."
    source_field: audio
    media_type: audio
    transcript_field: segments
    transcript_tier: speaker
    tiers:
      - name: speaker
        tier_type: independent
        description: "Speaker turns"
        labels:
          - name: Speaker_1
            color: "#4ECDC4"
          - name: Speaker_2
            color: "#FF6B6B"
          - name: Speaker_3
            color: "#F39C12"
          - name: Speaker_4
            color: "#95A5A6"
    tier_height: 50
    zoom_enabled: true
    playback_rate_control: true

  - annotation_type: speech_transcript
    name: transcript_review
    description: "Flag each wrong turn and type the corrected text."
    segments_key: segments
    audio_key: audio
    error_types: [asr_error]
    allow_correction: true

model_training:
  enabled: true
  writeback:
    # Show predicted speaker turns and suggested corrections as pre-labels.
    schemas: ["speaker_turns", "transcript_review"]
    include_unlabeled: true
    min_confidence: 0.5

Sample Data

json
[
  {
    "id": "diar_001",
    "title": "Meeting excerpt 1 (illustrative)",
    "audio": "/media/call_1.wav",
    "segments": [
      {
        "start": 0,
        "end": 6.5,
        "speaker": "Speaker_1",
        "text": "Let us start with the budget for the next quarter."
      },
      {
        "start": 6.5,
        "end": 12,
        "speaker": "Speaker_2",
        "text": "I think we should wait for the survey results first."
      },
      {
        "start": 12,
        "end": 18,
        "speaker": "Speaker_1",
        "text": "That is fine, we can return to it on Friday."
      }
    ]
  },
  {
    "id": "diar_002",
    "title": "Interview excerpt 2 (illustrative)",
    "audio": "/media/call_2.wav",
    "segments": [
      {
        "start": 0,
        "end": 8,
        "speaker": "Speaker_1",
        "text": "Can you tell me how the project began?"
      },
      {
        "start": 8,
        "end": 16,
        "speaker": "Speaker_2",
        "text": "It started as a small pilot in two villages."
      },
      {
        "start": 16,
        "end": 22,
        "speaker": "Speaker_1",
        "text": "And how many people joined later?"
      }
    ]
  }
]

// ... and 8 more items

Dataset & paper

Mehendale et al., Interspeech 2026

Paper DOI
10.21437/interspeech.2026-2484

Citation (BibTeX)

bibtex
@inproceedings{Mehendale_2026,
  title = {Indic DiarBench: A Multilingual Joint Diarization and ASR Benchmark for Indian Languages},
  url = {http://dx.doi.org/10.21437/interspeech.2026-2484},
  doi = {10.21437/interspeech.2026-2484},
  booktitle = {Interspeech 2026},
  publisher = {ISCA},
  author = {Mehendale, Deovrat and Mehndiratta, Aditya and Rathi, Dhruv Subhash and Bhogale, Kaushal and Khapra, Mitesh M},
  year = {2026},
  month = sep,
  pages = {4212--4216}
}

Details

Annotation Types

tiered_annotationspeech_transcript

Domain

Speech ProcessingSpeaker DiarizationMultilingual ASR

Use Cases

Speaker DiarizationTranscript CorrectionSpeech Recognition Benchmarking

Tags

indic diarbenchdiarizationasrindian languagescode-mixinginterspeech 2026whisperspeaker turns

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)