When a separation network splits a long, live recording of overlapping talkers into output channels, the hard part is often not separating the voices. It is keeping each voice in the same channel for minutes at a time. Models trained to separate short chunks are free to pick any channel order in each chunk (the "label permutation problem"). Across pauses they silently swap speakers between channels, and stitching heuristics then have to repair the damage. We propose to handle this inside the network. Each chunk's output channels become nodes in a sparse graph that the model learns as it goes. Every new node connects only to a handful of past nodes that it predicts hold the same speaker, and information about "who is in which channel" flows along those edges. The model is trained with one channel assignment for the whole recording instead of a fresh one per chunk.
The bet is that one learned structure can address two problems at once: consistency of speaker identity over long streams, and the cost of long-range context. Dual-path Transformers get global context from attention across all chunks, which grows quadratically and needs the future. Dilated causal convolutions get long context cheaply, but they look back along a fixed geometric grid and ignore content. A causal top-$k$ graph over channel nodes costs linear time. It only looks backward, and it reaches back to wherever the relevant speaker last spoke, whether that was one second or forty seconds ago.
Where the real gap is
The file frames the permutation problem mostly in terms of the $O(S!)$ cost of permutation invariant training (PIT). PIT is a loss that scores every assignment of network outputs to reference speakers and keeps the best one. A skeptical reader will point out that the best assignment is a linear assignment problem, solvable in $O(S^3)$ with the Hungarian algorithm. Online Speaker Diarization with Graph-based Label Generation already uses Hungarian matching to fix frame-to-frame label flips. We therefore do not treat factorial cost as the open problem.
The open problem is temporal. Consider the documented failures. In Overlap Aware Continuous Speech Separation without Permutation Invariant Training, identity is fixed by anchoring on single-speaker regions found by an external overlap detector, and the method fails when overlap is dense and anchors are absent. Sortformer orders speakers by arrival time and has to fall back to PIT when talkers start together. Utterance-by-utterance overlap-aware neural diarization with Graph-PIT avoids chunk stitching by assigning whole utterances to channels, but it works on voice-activity labels, not waveforms. SHARC learns supervised same-speaker edge probabilities with a graph neural network, but over pre-extracted segment embeddings, as a clustering stage after the fact.
These papers motivate the proposal. They show that "is this the same speaker as that earlier piece?" is the right question, and that learning it with a graph works. None of them asks that question inside a streaming waveform separator.
Two further results constrain the design. LibriMix reports that fully-overlapped-trained convolutional separators do worse than a pass-through mask when overlap is sparse. Long-form conversational audio is exactly this regime, so the model must be trained on sparse overlap. Exploring Self-Attention Mechanisms for Speech Separation (SepFormer) reports two things about efficient attention. Low-rank projection (Linformer) destroys separation quality. Hash-bucket attention (Reformer) holds up but pays for scattered memory access. So we should compress which past items are attended to, not the resolution of the signal, and keep memory access contiguous.
Core Claim
A streaming separator whose cross-chunk context comes from a learned, causal, top-$k$ graph over per-chunk output-channel nodes should do two things better than the alternatives. First, it should cut speaker-swap errors on long recordings relative to per-chunk PIT with post-hoc stitching. Second, it should match or beat causal cross-chunk attention in separation quality at a fraction of its memory. The prerequisites are supervising the graph edges with same-speaker labels and training with a single recording-level channel assignment.
This differs from MTGNN (Connecting the Dots), from which we borrow the machinery: asymmetric embedding-product adjacency, row-wise top-$k$ sparsification, and dilated temporal convolutions. MTGNN learns one static graph over a fixed set of sensors. Here the nodes are created on the fly, their identities are exchangeable across recordings, and the graph is rebuilt for every input.
Research Program
The backbone is a dual-path model with the global stage replaced. The input is encoded and cut into chunks of length $K$. Within each chunk, a causal dilated convolutional block of the Conv-TasNet type estimates $S$ channel masks and produces $S$ channel summary vectors. This follows the finding in An Empirical Study of Conv-Tasnet that dilation helps in the separator but not in the encoder. Each summary vector $h_{c,s}$, for chunk $c$ and channel $s$, is a node.
For the newest chunk, we score each node against a bounded candidate set of past nodes. The candidates are the nodes from the last $W$ chunks plus a bank of $M$ "reliable" nodes. The bank is maintained by the model's own confidence that a node contains a single active speaker, which amounts to a learned, internal version of the anchors in the speaker-biased continuous separation work. Edge scores use MTGNN's asymmetric form, $a_{ij} = \mathrm{ReLU}(\tanh(\alpha(u_i^\top v_j - v_i^\top u_j)))$. Here $u$ and $v$ are two learned projections of the node vectors and $\alpha$ is a scale. We keep the top $k$ candidates per new node. A mix-hop message-passing step, again reused from MTGNN to limit over-smoothing, then updates the new nodes, and the updated nodes condition the next mask refinement. The cost per chunk is $O(S(W+M))$, independent of how long the recording has run.
Training has two parts. The main loss is scale-invariant signal-to-noise ratio (SI-SNR), with one channel assignment $\pi^\ast$ chosen by Hungarian matching over the whole training recording, which is minutes long. Per-chunk PIT is never used, so swaps are always penalized. The auxiliary loss is binary cross-entropy on each scored edge, with the target "same speaker under $\pi^\ast$," masked when either node is silent. This is SHARC's linkage supervision moved inside the separator.
To make long training sequences affordable, we use truncated backpropagation over windows of chunks while carrying node banks forward. We will also test whether that truncation reintroduces swaps at window boundaries.
Baselines
The naive reference points are two. The first is the unprocessed mixture, i.e. the pass-through mask, which LibriMix shows can beat a trained separator at low overlap. The second is the same causal intra-chunk convolutional separator trained with per-chunk PIT, whose outputs are then stitched by Hungarian matching of overlapping chunk regions, as in Online Speaker Diarization with Graph-based Label Generation. Stitching is the method our proposal claims to supersede, so it is the most important reference.
The strongest existing separator in the file is SepFormer (Exploring Self-Attention Mechanisms for Speech Separation). It reports 22.3 dB SI-SNRi on WSJ0-2mix with dynamic mixing and 14.0 dB SI-SNRi on WHAMR!. Those numbers are offline, non-causal and short-form. For a fair comparison we will run a causal SepFormer variant: inter-chunk attention masked to past chunks, plus a Longformer-style sliding-window version. Both get the same intra-chunk block, data, training steps, and hyperparameter search budget as our model. We found no reported result on Lacuna for causal, long-form SepFormer, so that number will be produced here.
A causal dilated convolutional baseline replaces the graph with a dilated causal convolution across chunk summaries, which gives the same receptive field without content-dependent routing. Conv-TasNet's reported 15.4 dB on WSJ0-2mix (An Empirical Study of Conv-Tasnet) anchors the short-form regime.
Ablations isolate the key ingredients. The first uses fixed cosine-similarity top-$k$ edges with no learned scorer and no edge loss. The second uses learned edges but drops the edge loss. The third reverts to per-chunk PIT while keeping the graph.
Beating the field means two things on long-form sparse-overlap audio. We need a lower speaker-swap rate than stitched per-chunk PIT and causal attention. We also need SI-SNRi within 0.5 dB of causal full attention, or better, at clearly lower peak memory.
Why not just…?
Why not just use causal cross-chunk attention with a sliding window? This is the main threat on separation quality, and SepFormer shows windowed and hashed attention can hold up. The weakness is structural. A window of fixed length forgets a speaker who has been silent longer than the window, and that is exactly when swaps happen in the documented stitching failures. Widening the window brings back quadratic memory. The experiment that settles it plots swap rate against the length of the silence before a speaker returns, for window sizes matched in compute to our $W+M$. If attention's swap rate stays flat as silences grow past its window, the graph is unnecessary.
Why not just run per-chunk PIT and stitch with Hungarian matching? It is cheap and already works for diarization labels. However, stitching only compares neighbouring chunks. It cannot use the separator's internal evidence, and it compounds errors across pauses, as the Graph-PIT paper and the speaker-biased continuous separation paper both note. The stitched baseline above measures this directly. If it matches our swap rate on LibriMix-based long recordings, the recording-level loss is the real contribution and the graph is not.
Why not just keep a running speaker-embedding centroid per channel and assign new chunks to the nearest one? This is a self-bootstrapped version of target speech extraction, where an enrollment cue fixes the channel (Žmolíková et al.), and it could plausibly work as well. Our fixed-cosine top-$k$ ablation is close to this, and we will also run an explicit centroid-memory baseline. The case for learned edges rests on two situations: dense overlap, where a chunk-level embedding is a mixture of speakers, and simultaneous onsets. There, a centroid is corrupted, while learned edges can decline to link. If the centroid baseline matches our model even on those subsets, we will report that the adaptive graph adds nothing beyond the recording-level loss.
Proposed Experiments
Training and short-form evaluation use WSJ0-2mix and WSJ0-3mix, Libri2Mix and Libri3Mix, and WHAMR!. Short-form SI-SNRi is a check that nothing breaks. For long-form evaluation, we will build recordings of several minutes by concatenating LibriMix sources on a conversational schedule, with overlap ratios spanning SparseLibriMix's 0–100% range, and with 2 to 5 speakers. The 5-speaker condition tests whether the node bank scales.
Metrics are SI-SNRi computed under the single recording-level assignment, which penalizes swaps; a speaker-swap rate, meaning the fraction of active chunks whose best local assignment disagrees with the global one; peak memory and latency per chunk as a function of elapsed recording length; and cross-corpus SI-SNRi on VCTK-2mix and LibriTTS, where Conv-TasNet is reported to drop over 6 dB.
The decisive checks are three. First, swap rate against the length of the preceding silence, compared with windowed attention and stitching. Second, dense-overlap and simultaneous-onset subsets, compared with the centroid memory. Third, memory flatness as recordings grow. If the graph wins only on the first check and loses the second to the centroid baseline, the paper's claim narrows to "recording-level training plus cheap memory," and we will write it that way.
References
- Online Speaker Diarization with Graph-based Label Generation
- Overlap Aware Continuous Speech Separation without Permutation Invariant Training
- Sortformer: A Novel Approach for Permutation-Resolved Speaker Supervision in Speech-to-Text Systems
- Utterance-by-utterance overlap-aware neural diarization with Graph-PIT
- Supervised Hierarchical Clustering Using Graph Neural Networks for Speaker Diarization
- LibriMix: An Open-Source Dataset for Generalizable Speech Separation
- Exploring Self-Attention Mechanisms for Speech Separation
- Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networks
- An Empirical Study of Conv-Tasnet
- Neural Target Speech Extraction: An overview