﻿# DIHARD evaluation regions: why an RTTM file does not define scored time

Preserve DIHARD UEM regions independently from diarization turns; inferred recording spans can change which silence and false alarms contribute to a score.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-dihard-uem-evaluation-region-not-rttm-duration/
Language: en

## Separate a speaker turn from an evaluation interval

An evaluator receives reference RTTM and system RTTM files and obtains a plausible diarization score without loading anything else. That does not establish that the intended recording regions were evaluated. Speech annotations describe activity attributed to speakers. A region specification answers a different question: where may the evaluator count activity, missing activity and silence? Keep both artifacts in an experiment manifest rather than deriving all boundaries from the first and last reference turn.

## Read onset and offset according to their formats

The historical [DIHARD evaluation plan](https://catalog.ldc.upenn.edu/docs/LDC2022S14/third_dihard_eval_plan_v1.2.pdf) documents UEM regions using recording identity, channel, onset and offset. An offset is an endpoint on the recording clock. RTTM speaker turns instead carry an onset and a duration. Reusing the same interval parser for both formats can silently extend or shrink a scoring region. Retain the original units and format name with any normalized representation used by a data loader.

## Make automatic region inference visible

The [dscore implementation documentation](https://github.com/nryant/dscore) explains that scoring regions are inferred from reference and system turns when a UEM file is absent. Explicit UEM input changes that contract by supplying the permitted regions. Consequently, a system turn outside the intended evaluation area can alter an automatically inferred region. Record whether UEM was supplied and inspect warnings about turns outside its regions instead of assuming a successful process exit proves protocol equivalence.

## Keep region selection separate from metric options

The [challenge website](https://dihardchallenge.github.io/dihard3/) locates this evaluation in its specific challenge context. Region selection is not interchangeable with an overlap policy or a boundary collar. A collar changes treatment near turn boundaries; overlap handling changes which simultaneous speech contributes. Neither repairs a wrong evaluation interval. Save these choices independently so that a score difference can be attributed to the model, the scoring population or an explicitly changed metric configuration.

## Test the boundary with controlled hypotheses

Take an existing prediction and add a diagnostic false alarm outside the declared UEM region. With the same explicit region specification, it should not acquire scored time merely because the hypothesis became longer. Then place a false alarm inside an evaluated silent interval and check its treatment. This is an integration check rather than a claim about model quality. The [audio time-label guide](/journal/data-guide-audio-resample-time-labels/) and [speaker evidence guide](/journal/pyannote-exclusive-diarization-speaker-identity/) help distinguish clock transformations from speaker-label interpretation when investigating a failure.
