﻿# AliMeeting near and far annotations: speaker identity comes from different places

Prepare AliMeeting headset and array recordings without applying the near-field filename speaker parser to far-field TextGrid tiers or multiplying meeting events.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-alimeeting-near-far-speaker-identity-parser-contract/
Language: en

## Inspect the microphone view before parsing an identity

An importer successfully reads headset files and extracts a participant identifier from each filename. Reusing that parser for microphone-array recordings can assign the entire meeting a fabricated speaker or collapse all turns into a recording name. The audio files may decode correctly while the supervision becomes wrong. Make the recording view an explicit input to annotation parsing rather than guessing it after a generic filename split has already created speaker labels.

## Preserve the relation between the views

The [OpenSLR AliMeeting entry](https://www.openslr.org/119/) distinguishes far-field microphone-array speech from near-field participant headset speech. They are observations of meeting activity through different recording paths. Their existence does not automatically add independent conversations or guarantee an identical filename grammar. Keep meeting identity, signal identity and speaker identity in separate fields so that a richer set of observations does not become a larger count of unrelated linguistic events during training or evaluation.

## Follow an explicit importer rather than an assumed naming rule

The [Lhotse recipe source](https://lhotse.readthedocs.io/en/latest/_modules/lhotse/recipes/ali_meeting.html) illustrates the relevant distinction: near-field speaker information is parsed from the filename, whereas far-field speaker information is obtained from TextGrid content. This is evidence about that implementation, not a promise that every derivative archive has the same layout. Pin the recipe and inspect the actual files used. If importing a converted release, preserve its mapping back to original meeting and annotation identities.

## Keep task-specific supervision recognizable

The [organizers' baseline repository](https://github.com/yufan-aslp/AliMeeting) separates recognition and speaker-diarization workflows. A transcript row, a speaker activity interval and a waveform channel are not interchangeable supervision units. In an overlapping interval, multiple speaker annotations can refer to the same array recording without implying duplicated independent audio. Store the association rather than forcing an artificial single-speaker label onto the complete far-field signal just because a downstream table expects a speaker column.

## Trace a participant through both import paths

Choose a meeting and follow a participant from the headset filename to the corresponding far-field annotation tier. Check that labels remain scoped to the intended identity system and that the signal path is recorded independently. Count meeting events before and after expansion into views. The [entity-group split guide](/journal/data-guide-entity-group-split-design/) and [meeting evidence guide](/journal/meeting-search-transcript-speaker-evidence/) help with related checks. Report unresolved mappings explicitly; dropping them silently can change which speakers and difficult overlap conditions remain in the evaluation sample.
