TL;DR
This paper introduces a novel framework for multi-talker speech recognition and alignment by modeling overlapping speech streams using the mathematical concept of shuffles. By representing all possible interleavings of concurrent speech as a finite-state automaton (FSA), the authors create a flexible training loss and deliver the first single-pass forced alignment algorithm capable of handling multi-talker recordings.
What Problem Does This Paper Address?
When two or more people speak at the same time, standard Automatic Speech Recognition (ASR) systems break down. To transcribe overlapped speech, models must not only recognize what was said, but also who said it (speaker attribution).
Current end-to-end approaches usually rely on Serialized Output Training (SOT), which flattens multi-speaker transcripts into a single sequence. SOT typically forces a strict ordering—either transcribing one speaker entirely before the next (utterance-level SOT) or sorting tokens strictly by their acoustic start times (token-level SOT).
However, these deterministic orderings are problematic. Utterance-level SOT ignores the actual temporal dynamics of the audio, while token-level SOT requires highly accurate, word-level time alignments—something rarely available for "in-the-wild" data like YouTube videos or meetings.
Methods
The authors propose a more elegant solution: instead of forcing the network to learn a single, potentially flawed serialization, why not let it explore all valid ways the words could interleave?
The Shuffle Product
To do this, they leverage the shuffle product ($\sqcup$). If Speaker 1 says abc and Speaker 2 says xy, the shuffle product $abc \sqcup xy$ generates the set of all 10 possible interleavings that preserve the internal order of each speaker's phrase (e.g., abxcy, xabcy, abcxy).
This set of valid sequences can be compactly represented as a Finite-State Automaton (FSA).
As seen in Figure 1(a), the full shuffle product creates a grid-like FSA. However, for long sentences, the number of states grows exponentially ($O(N^k)$ for $k$ speakers). To keep this computationally tractable, the authors introduce Partial Order Constraints using a time "collar" ($\kappa$). By estimating approximate token start times (via simple linear interpolation between utterance start and end times), they prune away highly unlikely paths where the word order violates the acoustic timeline, resulting in the streamlined graph shown in Figure 1(b).
CTC with Shuffles
The authors integrate this shuffle FSA directly into the Connectionist Temporal Classification (CTC) framework. Instead of calculating the loss against a single ground-truth text string, the forward algorithm marginalizes over all valid paths in the shuffle FSA.
To handle speaker attribution, the output vocabulary is expanded to model (token, speaker) tuples directly, using either a factored or a direct joint probability model.
Multi-Talker Forced Alignment
Because the entire space of interleavings is mapped out in the FSA, finding the most likely sequence is straightforward. By running the Viterbi algorithm through the shuffle graph, the system can perform single-pass forced alignment on overlapped speech, mapping overlapping words to their exact time frames in a single step.
Datasets
The approach was evaluated using synthetic mixtures generated from the LibriSpeech corpus:
- Synth: A development set of fully overlapped two-speaker mixtures mixed at 0 dB.
- 2spk Ovlp / 3spk Ovlp: Longer evaluation sets containing up to 8 segments from 2 or 3 speakers, with high overlap percentages (42.9% and 55.0%).
- Libri2Mix / Libri3Mix: Standard benchmarks for multi-talker speech processing.
Key Insights and Ideas
- Unifying Existing Methods: The authors show that previous serialization techniques are actually just extreme edge cases of their shuffle framework. Utterance-level SOT (Figure 1c) and token-level SOT (Figure 1d) represent rigid, total-order constraints ($\kappa = 0$), whereas the shuffle product offers a flexible continuum controlled by the collar parameter $\kappa$.
- SD-CTC as a Relaxation: The popular Speaker-Distinguishable CTC (SD-CTC) method treats speaker transcripts as conditionally independent. The authors mathematically demonstrate that SD-CTC is a relaxation of the shuffle loss, where non-target speaker tokens are simply absorbed into speaker-specific blank symbols.
- The Power of Flexibility: Giving the network the flexibility to choose its own alignment path during training (via a larger collar like $\kappa = 2s$ or $4s$) yields significantly better results than forcing a strict heuristic alignment.
Key Results
Transcription Performance
Using a pretrained WavLM Base encoder, the authors compared different token ordering strategies. Allowing temporal flexibility dramatically improved the time-constrained word error rate (tcpWER):
- Utterance-level SOT: 41.7% average tcpWER
- Strict Token-level SOT ($\kappa = 0s$): 36.3% average tcpWER
- Flexible Shuffle ($\kappa = 4s$): 26.0% average tcpWER
Additionally, when scaling up to a WavLM Large encoder, ordering speakers by their total speaking duration (length) rather than their order of appearance (start) dropped the average error rate from 22.5% to 17.2%.
Alignment Performance
For multi-talker forced alignment, the shuffle-trained models achieved remarkable accuracy. The average boundary error (BE) for a 2-speaker overlap was 66–70 milliseconds—nearly matching the 63 ms achieved by an "oracle" model that aligned each speaker's clean, unmixed audio track independently.
Limitations and Future Work
While highly effective for two-speaker scenarios, scaling to three or more overlapping speakers without known utterance boundaries causes the FSA search space to expand drastically. In experiments with 3-speaker overlaps and loose constraints ($\kappa = 32s$), the graph became too large to fit into GPU memory, causing the alignment to fail.
Future work will focus on evaluating this framework on highly overlapped, "in-the-wild" real-world data and exploring how the shuffle product can be extended to other popular architectures, such as RNN-Transducers or Attention-based Encoder-Decoders.
Summary updated