Test-Time-Adaptable Factorial Models for Overlapping Speech from Unseen Talkers

When two people talk at once over one microphone, most diarization systems (systems that label "who spoke when") and recognizers break down, and real conversations contain enough overlap for this to matter. About twenty years ago an older family of models handled overlap well. These are factorial hidden Markov models: one small state machine per talker, with the recorded sound explained as the louder-talker-wins combination of their outputs. On a benchmark with known speakers, such a system matched human listeners. It had one fatal restriction. It needed an acoustic model trained for every specific speaker, so it could not handle a voice it had never heard. Modern neural diarizers have the opposite profile. They handle new speakers, but when the amount of overlap in real data differs from their synthetic training mixtures, their error rates jump, and they have no principled way to correct themselves without labels.

We propose one factorial model whose per-talker chains share a single speaker-conditioned acoustic model. Each chain carries a continuous voice embedding, and the recording's own likelihood can be maximized at test time. Given an unlabeled recording from a new domain, the model re-estimates both who the talkers sound like and how often they overlap and take turns. It does this with plain expectation-maximization, meaning it alternates between inferring hidden states and refitting parameters, with no labels at any point. The claim to be tested is specific. Generative explaining-away under the "loudest source wins" rule, combined with unsupervised re-estimation of talker voices and turn-taking statistics, closes most of the simulation-to-real gap that currently requires labeled in-domain fine-tuning. It should also do this without the per-speaker model inventory that made earlier factorial systems impractical.

Core Claim

Three lines of evidence motivate the proposal. First, factorial models separate overlapping speech well when the speakers are known. Single Channel Speech Separation Using Factorial Dynamics paired per-talker Markov chains with the max interaction model and reached 22.6% WER on the PASCAL Speech Separation Challenge, against 22.3% for humans and 34.2% for the next computational system. The authors state that the system "performs best when it knows who the speakers are" and that it would need to be adapted to unknown voices. Speaker-dependent multipitch tracking using deep neural networks replaced the Gaussian emission models (the per-state distributions over acoustic frames) with neural networks. The cost was one network per speaker, or one per speaker pair, and that inventory cannot grow to an open speaker set.

Second, neural diarizers generalize across speakers but are fragile to the overlap regime. End-to-End Neural Speaker Diarization with Permutation-Free Objectives reports 12.28% DER on simulated mixtures with 27.3% overlap. Applied to CALLHOME, where overlap is 11.8%, the same model scored 31.01% DER. Labeled adaptation brought it to 23.07%. LibriMix found the same pattern for separation: Conv-TasNet performs worse than simple masks when overlap is sparse.

Third, the multichannel model in Exploiting the intermittency of speech for joint separation and diarization shows that explicit silence and activity states handle turn-taking cleanly. It relies on spatial cues from a microphone array, which a single-channel setting lacks.

In a factorial model, the overlap rate and turn-taking rhythm live in a handful of transition probabilities, separate from the acoustic model. Those probabilities can be refit on unlabeled test audio. A discriminative network has no likelihood of the observed audio to maximize, so it cannot be refit this way. Our proposal makes the acoustic side speaker-independent, which is exactly what Hershey et al. and Liu and Wang lacked. The result is a model that is both open-set and self-adapting.

Model

Each of $M$ chains is a talker slot. At frame $t$, the state $s_{t,m}$ of chain $m$ is either "silent" or one of $K$ acoustic classes. We obtain the classes by clustering features from WavLM, which was pre-trained with simulated overlap. Chain $m$ also carries a continuous voice embedding $e_m$. A single shared network $\mu(k, e)$ maps a class $k$ and an embedding $e$ to a log-mel spectral template. The joint model is

$$ p(Y, S, e) = \prod_m p(e_m) \prod_t \Big[\prod_m A_{s_{t-1,m}, s_{t,m}}\Big]\, \mathcal{N}\!\Big(y_t \,;\, \max\big(\{\mu(s_{t,m}, e_m) : s_{t,m}\neq \text{silent}\} \cup \{n\}\big), \Sigma\Big), $$

The symbols are as follows. $y_t$ is the observed log-mel frame. $A$ is a small transition matrix shared across chains, and it encodes speaking-turn durations and how often a second talker becomes active. $n$ is a learned noise floor. $\Sigma$ is a diagonal covariance. The max is taken per frequency band, following the masking argument in One Microphone Source Separation. We keep the max rule rather than the smoother log-sum approximation because Hershey et al. found the max rule gave better recognition.

Exact inference costs $(K{+}1)^M$ joint states per frame. We instead use structured variational inference: forward-backward runs within each chain, and the chains couple through expected max-interaction messages, in the style of Variational loopy belief propagation for multi-talker speech recognition. This makes the cost linear in $M$. As in Tight integration of neural- and clustering-based diarization through deep unfolding of infinite Gaussian mixture model, we unroll a fixed number of these inference iterations as network layers and train $\mu$, $n$, and the embedding encoder end to end on simulated mixtures. The difference from that work is the object being unrolled. Kinoshita et al. unroll a static clustering model with no temporal dynamics. We unroll a dynamic factorial model whose transition matrix remains an interpretable parameter.

At test time we freeze $\mu$. For each recording we then run expectation-maximization on the variational lower bound over $A$ and $\{e_m\}$ only. The embeddings are initialized from segments the model infers to have a single talker active. We take embeddings from intermediate encoder layers because Heard but Not Heeded found that speaker traits are discarded in the deeper layers of large audio encoders. The number of speakers is handled by allowing a chain to stay silent for the whole recording. We fix $M$ at a small upper bound (four, later six) rather than adopting the nonparametric construction of The Infinite Factorial Hidden Markov Model. We would adopt that construction only if many-speaker CALLHOME sessions demand it.

Research Program

The work proceeds in three stages. The first stage asks whether the shared speaker-conditioned acoustic model can replace speaker-specific ones. We rebuild a PASCAL/GRID-style two-talker task with a speaker-disjoint split, so that no test talker is seen in training. We then measure how much of the gap to a closed-set factorial system remains. The PASCAL figure of 22.6% WER comes from known speakers and a grid grammar, so it is an upper reference rather than a directly comparable number. For multipitch tracking on GRID, Liu and Wang report no numeric error rate that we could find on Lacuna.

The second stage trains the full diarization model on the simulated Switchboard/NIST SRE/MUSAN mixtures used by Fujita et al. It then evaluates the model on CALLHOME with no labeled adaptation, using test-time expectation-maximization only.

The third stage checks the separation side. We turn chain posteriors into time-frequency masks and evaluate them on SparseLibriMix, sweeping overlap from 0% to 100%. This is where Conv-TasNet is reported to lose to simple masks. The file gives this only qualitatively, so there is no reported SparseLibriMix SI-SDRi figure found on Lacuna.

Baselines

The naive reference points come from Fujita et al. on CALLHOME. The first is the x-vector clustering pipeline at 11.53% DER, which has no overlap handling. The second is BLSTM end-to-end neural diarization trained on simulation and applied without adaptation, at 31.01% DER. The second number is the gap our unsupervised adaptation targets. The same model after supervised adaptation on labeled CALLHOME data, at 23.07%, is the ceiling that labels buy for that architecture.

The strongest existing method in the file is EDA-TS-VAD from Target Speaker Voice Activity Detection with Transformers and Its Integration with End-to-End Neural Diarization. It generates speaker profiles with an attractor decoder and uses a joint detection module that handles overlapped frames better than a dot product. It reports 11.18% DER on CALLHOME, against 12.01% for EEND-EDA. That result uses CALLHOME adaptation data. We will therefore run it twice, retrained on our identical simulated data, compute budget, and hyperparameter search size. One run has no CALLHOME labels, which is the fair comparison for our method. The other has the standard labeled adaptation set, which we report as a reference for what labels buy.

We will also compare against EEND-VC-iGMM from Kinoshita et al. It reports 13.3% average DER and 26.9% on six-speaker sessions, and it is the most relevant structured-inference competitor for higher speaker counts. Scoring conventions such as the forgiveness collar around speaker boundaries vary between papers, so every baseline will be rescored under our pipeline.

Beating the baselines means two things in the no-label setting. We must achieve lower DER than retrained EDA-TS-VAD. We must also recover at least half of the gap between unadapted and label-adapted performance for the same training data.

The ablation that isolates the key ingredient has two parts. We run our model with test-time adaptation disabled, keeping the transition matrix and embeddings as trained. We run a second version that adapts only the embeddings, which separates the value of refitting turn-taking statistics from the value of refitting voices. A third ablation swaps the max rule for a log-sum interaction to test the masking assumption on open speakers.

Why not just…?

Why not just train an end-to-end neural diarizer on simulations with a broad or matched overlap distribution? This is the most serious threat. Much of the 31.01% versus 23.07% gap in Fujita et al. is attributed to the 27.3% versus 11.8% overlap mismatch, and resampling the simulation could remove it. We will train EDA-TS-VAD on a mixture of overlap ratios spanning the CALLHOME range. If it then matches our unsupervised adaptation, the factorial model's claim shrinks to robustness when the target overlap regime is unknown in advance. We will test that residual claim directly with a held-out domain whose overlap ratio lies outside the training range.

Why not just separate with Conv-TasNet and then run a single-speaker pipeline? Separation front ends trained on many speakers do generalize across talkers: LibriMix-trained Conv-TasNet loses only 0.8 dB on WHAM!. However, LibriMix reports that the same kind of network is worse than simple masks under sparse overlap, which is the dominant regime in conversation. Our SparseLibriMix overlap sweep compares the two directly at every overlap level.

Why not just put a factorial activity HMM on top of neural diarizer posteriors and refit its transitions by expectation-maximization? This cheaper hybrid keeps a neural acoustic model and gains adaptable turn-taking statistics, and it could plausibly capture most of our benefit. We include it as a baseline with the same adaptation procedure. If it matches our model, the generative speaker-conditioned emission model is not earning its cost, and we would report the hybrid as the recommended system. Our hypothesis is that it will fall short on speaker confusion. Refitting voice embeddings against the mixture likelihood is something frame posteriors cannot support.

Decisive Checks

The central experiment is CALLHOME DER with no in-domain labels, broken down into missed speech, false alarms, and speaker confusion, and reported by speaker count from two to six. It compares the full model, its no-adaptation ablation, the posterior-HMM hybrid, and retrained EDA-TS-VAD. A supporting diagnostic compares, for each recording, the overlap ratio each system predicts with the true ratio. If adaptation works as claimed, our model's predicted overlap should move from the simulated 27.3% toward CALLHOME's 11.8%, while the unadapted networks' predictions stay near the training rate.

The idea fails if either of two things happens. Test-time adaptation might recover less than a fifth of the label-adapted gain. Or the posterior-HMM hybrid might match the full model within noise across speaker counts.