When to Stop Listening: Anytime Speaker Embeddings with Learned Stopping

A speaker verification system decides whether a stretch of speech comes from a known person. It does this by turning the audio into a fixed-length vector, called a speaker embedding, and comparing that vector with a stored one. These systems are very accurate on several seconds of speech and fail badly on half a second. Streaming products such as live captions with speaker labels, voice assistants, and meeting transcription all need an identity decision soon after someone starts talking. Today's answer is to wait a fixed amount: a fixed window, a fixed look-ahead, or a fixed number of words. Every decision then pays the same delay, whether the speech arrived clean and phonetically varied or as a mumbled "yeah" over noise.

We propose to stop treating the latency-accuracy trade-off as a single knob and instead let each decision choose its own latency. A single causal extractor emits an embedding and a learned confidence at every moment after speech onset. A sequential stopping rule commits to an identity as soon as the accumulated evidence is decisive, and keeps listening when it is not. The claim to test is this: at the same average waiting time, adaptive stopping on confidence-aware embeddings gives lower verification error than any fixed truncation. The gain should come from easy utterances releasing early, so the latency they save can be spent on hard ones.

Core Claim

Short-utterance failure in speaker embeddings has known causes. A brief clip is dominated by a few phonemes, so the embedding partly encodes what was said rather than who said it (Joint Speaker and Lexical Modeling for Short-Term Characterization of Speaker). Pooled means and variances over few frames are noisy (Minimax i-vector extractor for short duration speaker verification). Models trained on long crops also break on short ones (The ins and outs of speaker recognition: lessons from VoxSRC 2020).

The first two causes have an implication the literature has not acted on. The amount of identity evidence per second varies from utterance to utterance, because it depends on phonetic diversity and noise. If evidence per second varies, then waiting a fixed duration is the wrong policy. The right policy waits until evidence is sufficient, as in evidence-accumulation models of human decisions. That view is formalized in drift-diffusion treatments of the speed-accuracy trade-off, such as Crowdsourcing with the drift diffusion model of decision making, which we borrow as a lens and not as a method.

What is new here is the combination of three pieces. The first is an extractor trained to be good at every prefix length. The second is a per-frame confidence that is meant to track evidence and not merely elapsed time. The third is an evaluation that reports error against the distribution of decision latencies rather than against a fixed truncation.

Relation to Prior Work

Three lines of work motivate the problem but keep latency fixed.

ERes2NetV2 redesigns feature fusion in a convolutional speaker model and reaches 1.48% EER (equal error rate, the operating point where false accepts equal false rejects) on VoxCeleb1 test audio truncated to 2 s. Its evaluation uses pre-cut static clips, with no streaming and nothing below 2 s.

VoiceExtender uses a diffusion model (a generator that iteratively denoises random noise into spectrogram frames) to synthesize identity-consistent continuations of 0.5 s clips. This cuts EER from 17.29% to 9.32%, but the iterative generation is far slower than real time.

Streaming Speaker-Attributed ASR with Token-Level Speaker Embeddings extracts per-token speaker vectors at 0.16 s frame latency, then delays identity decisions by a fixed 2–8 words. The authors report that this fixed delay fails on short interjections. That failure is the most direct evidence that a fixed waiting rule is the bottleneck.

Two further papers supply techniques we reuse.

Multi-latency look-ahead for streaming speaker segmentation trains one causal network to serve several look-ahead latencies by shifting targets during training. It replaces non-causal instance normalization with gain augmentation, and gets close to offline quality at 1 s. Its scope is speech activity and change detection only, and it explicitly leaves speaker embeddings as future work. We carry its multi-latency training idea over to embeddings trained with an angular-margin classification loss, and reuse its causal normalization recipe.

Efficient Speaker Embedding Extraction Using a Twofold Sliding Window Algorithm splits frame encoding from pooling to avoid recomputation. It reduces computation, not waiting time. We adopt the same separation so that a prefix embedding can be updated cheaply.

Memory-based approaches do not transfer cleanly. In-Place Gestures Classification via Long-term Memory Augmented Network and the speaker cache in Streaming Sortformer let short windows query long-term context. In verification the enrollment vector already plays the role of that memory, so the missing ingredient is knowing when the test side has said enough.

Research Program

The extractor. We build a causal variant of ECAPA-TDNN (ECAPA-TDNN). Convolutions are left-padded only. Feature normalization uses running statistics instead of whole-utterance statistics, with gain augmentation following Rahou and Bredin. The attentive statistics pooling layer is rewritten as running weighted sums of first and second moments. As a result, the pooled embedding $e_t$ after $t$ frames of speech costs constant work per new frame.

A second head outputs a scalar concentration $\kappa_t > 0$, interpreted as how tightly the true identity direction is pinned down. This follows the von Mises–Fisher distribution, a Gaussian-like distribution on the unit sphere.

Training. We train on VoxCeleb2 with a multi-prefix objective. For each training crop of length $L$ we sample prefix lengths $t$ from a distribution that covers 0.2 s to 4 s, then apply the additive angular margin loss to $e_t$ at every sampled prefix. In parallel, a calibration loss trains $\kappa_t$ so that a calibrated verification score

$$ s_t = a\,\kappa_t \cos(e_t, e_{\text{enr}}) + b $$

is a log-likelihood ratio of same versus different speaker. Here $e_{\text{enr}}$ is the enrollment embedding, and $a$ and $b$ are learned scalars, fitted by binary cross-entropy on sampled target and non-target pairs at random prefix lengths. Calibration matters because stopping thresholds are only meaningful if scores at 0.3 s and at 3 s live on the same scale.

Stopping rule. At inference, the system commits at the first time

$$ \tau = \min\{t : s_t > A \ \text{or}\ s_t < B\}, $$

capped at a maximum wait $T_{\max}$. Here $A$ and $B$ are accept and reject thresholds. Sweeping $A$, $B$ and $T_{\max}$ traces an error-versus-latency frontier, where latency is measured from speech onset.

For identifying a speaker among several enrolled profiles, the same rule applies to the margin between the top two calibrated scores. That variant targets the interjection problem Kanda et al. describe: a short, clear "yeah" from a well-enrolled speaker can stop in 300 ms, whereas a fixed word-count rule never fires on it.

Baselines

Fixed truncation with the offline model. The naive reference is an off-the-shelf ECAPA-TDNN trained on full crops, run on the first $T$ seconds of each test utterance for $T$ in 0.25, 0.5, 1, 2 and 4 s, with a single global threshold. The offline ECAPA-TDNN reports 0.87% EER on full VoxCeleb1 (ECAPA-TDNN). VoiceExtender reports a 17.29% EER baseline at 0.5 s, the point we expect to be most informative.

Strongest fixed-latency competitor. This is ERes2NetV2 fine-tuned on short crops, evaluated at the same truncations. Its reported number is 1.48% EER at 2 s on truncated VoxCeleb1 (ERes2NetV2). It is the strongest because it is the best short-duration architecture in the file. We retrain it on VoxCeleb2 with the same augmentation (MUSAN noise and room impulse responses) and the same GPU budget as our model, and re-run it on prefixes rather than relying on numbers from a different protocol.

VoiceExtender. We report VoiceExtender's own number at 0.5 s (9.32% EER) as a reference point but do not rerun it. It is not a streaming competitor, because its generation cost alone exceeds the latencies we target.

Isolating the confidence head. Two ablations do this. The first is our extractor with $\kappa_t$ replaced by a function of elapsed speech duration only, with calibration fitted per duration bin. This is duration-aware stopping, with no content-dependent evidence. The second is the offline ECAPA recomputed on the growing prefix, stopped when the raw cosine margin crosses a threshold.

What counts as winning. All systems face the same test trials and the same latency accounting. Beating the baselines means lower EER and minDCF (the challenge-standard detection cost) at matched mean decision latency, without a worse 90th-percentile latency. We pre-register a margin of at least 15% relative EER reduction at a mean latency of 1 s. Below that, the idea is not worth its complexity.

Why not just…?

Why not just fine-tune the best short-utterance model on short crops and pick one window? This is the main threat. If evidence per second were roughly constant across utterances, a well-trained fixed-window model would sit on the same frontier as adaptive stopping. We do not assume that it is not. The duration-only ablation tests it directly. If duration-only stopping matches learned $\kappa_t$, the content-dependence premise drawn from Joint Speaker and Lexical Modeling is wrong for modern embeddings. In that case the contribution shrinks to a duration-calibrated multi-prefix extractor, and we would report it as such.

Why not just recompute the offline model on the growing prefix at every step? Recomputation is cheap enough on a server, so causality by itself is not our argument. The question is whether multi-prefix training and the learned confidence matter, or only the stopping rule. The prefix-recompute baseline with cosine-margin stopping separates the two. If it matches our system, the right recommendation is "keep your offline model, add a stopping rule." On-device cost would then be the only remaining advantage of the causal extractor, and we would report it in computation per second of audio.

Why not just use a fixed delayed decision, or more look-ahead, as in the streaming attribution and segmentation work? Kanda et al. already document that a fixed 2–8 word delay fails on interjections (Streaming Speaker-Attributed ASR). A fixed look-ahead buys accuracy only by delaying every output by the same amount, which is exactly the regime of Multi-latency look-ahead. Our turn-level experiment below reports error on turns shorter than 1 s separately, which is where a fixed rule should lose most clearly.

Why not just generate or repeat audio to fill the window? VoiceExtender reports that simple repetition of the 0.5 s clip fails to give similar gains, and that diffusion synthesis works but is far too slow for streaming (VoiceExtender). We therefore exclude these from the streaming comparison.

Proposed Experiments

Verification frontier. The primary experiment uses VoxCeleb1-O trials (VoxCeleb), with test utterances streamed from onset and enrollment from full utterances. For each system we plot EER and minDCF against mean decision latency and report the 90th-percentile latency.

Decisive check on what the confidence tracks. At a fixed elapsed duration, we bin utterances by learned $\kappa_t$ and test whether error falls monotonically across bins. If $\kappa_t$ carries no information beyond duration, the core claim fails. We also correlate $\kappa_t$ with phonetic diversity, using phone counts from an off-the-shelf recognizer, and with signal-to-noise ratio, to see whether it tracks the causes the literature names.

Turn-level attribution. A secondary experiment attributes oracle-segmented turns in the AMI meeting corpus to enrolled speakers, scoring all turns and separately those under 1 s. We compare against a fixed-window baseline and a fixed-word-delay baseline built on the same embeddings. No reported result was found on Lacuna for turn-level attribution error on short AMI turns, so all numbers here will be our own reproductions. For context only, Kanda et al.'s full ASR system reports 12.0% cpWER on LibriCSS at 0.16 s, a different task and metric.

Calibration check. We report calibration error of $s_t$ across prefix lengths. A stopping rule with miscalibrated scores would make the accept and reject thresholds meaningless.

Outcomes that would change our conclusions. If learned stopping fails to beat duration-only stopping on both the verification and turn-level experiments, we drop the content-adaptive claim. If the prefix-recompute baseline matches us, we recast the work as a stopping-rule paper.