arXiv:2610.02941eess.ASOct 2026

Manuscript Offprint

arXiv:2610.02941

FASTDIAR: Frame-level speaker encoder for Streaming Diarization

Nikita Torgashov, Okan Köpüklü

ABSTRACT

Real-time conversational agents require speaker diarization that streams and runs on a CPU. Most systems apply an utterance-level speaker encoder to short, heavily overlapping chunks, which wastes computation and leaves the model optimized for the wrong task. We instead turn a state-of-the-art speaker recognition architecture into a causal frame-level encoder that reads the stream once and emits one embedding every 80 ms from a bounded two-second window of past audio, and pair it with online clustering that gates every update on the self-similarity of the stream. Trained only by distillation from an utterance-level teacher on simulated and out-of-domain mixtures, and evaluated with one fixed set of hyperparameters, the system is the most accurate streaming diarizer on low-overlap benchmarks at sub-second latency, degrades far less than cache-based systems as the number of speakers grows, and runs five times faster than real time on a single CPU thread.

Index Terms— Speaker Diarization, Speaker Recognition, Streaming Speaker Diarization

1. INTRODUCTION

Speaker diarization answers who speaks when and is a core component of spoken conversational systems. Personalized automatic speech recognition (ASR), voice activity detection (VAD), and speech enhancement all depend on knowing which speaker is active, and a live agent must decide while the conversation unfolds, so low-latency streaming is a key requirement. GPUs are often unavailable, either because the system runs on a low-power device or because the GPU is busy with ASR, a large language model, or speech synthesis, which makes CPU diarization desirable.

Most diarization systems are built around a speaker encoder [1, 2], applied off the shelf to short, heavily overlapping chunks. That is convenient but costly: consecutive windows re-encode every sample many times over, and verification training assumes one speaker per utterance, so the encoder is never asked to forget a speaker or localize a change.

Offline diarization is dominated by cascaded pipelines combining local segmentation with clustering, such as Pyanote [3] and DiariZen [4], while end-to-end models predict activities directly with permutation-invariant training [5], attractors [6] or arrival-time ordering [7]. All of them need the whole recording before emitting labels, so none can stream.

Existing streaming systems show recurring trade-offs. Streaming Sortformer [8] keeps an arrival-order speaker cache and is accurate, but it is capped at four speakers and its 117.7M parameters are too slow on CPU. The speaker-tracing buffer [9] re-processes buffered frames at every step, BW-EDA-EEND [10] is linear in time but degrades beyond two speakers, and EEND-GLA [11] lifts the speaker-count limit without reporting a CPU budget. On the cascaded side, diart [12] attains low latency on CPU with incremental clustering over local segmentation, but is less accurate.

The encoder in front of the clustering usually stays segment-level. UIS-RNN [13] makes clustering supervised but reads d-vectors from windows with 50% overlap, and Turn-to-Diarize [14] ties output resolution to a turn detector. Two works reach frame rate: [15] distils an utterance-level teacher into a student that pools over a centred window, and LS-EEND [16, 17] learns a causal frame-wise encoder jointly with its attractor decoder. Neither gives a streaming encoder with a bounded past: the first reads the future, the second carries the whole recording in its recurrent state.

In this work we present FASTDIAR (FrAme-level speaker encoder for STreaming DIARization). Our contributions are (i) a causal frame-level speaker encoder that needs no chunking, no temporal pooling and no recomputation, and summarizes a two-second past window, (ii) an extension of incremental online clustering where an embedding-confidence gate decides which frames may shape a speaker centroid, and (iii) FASTDIAR – the most accurate streaming diarizer on low-overlap benchmarks at sub-second latency, far more robust than cache-based systems as the speaker count grows, and five times faster than real time on one CPU thread with no real diarization corpus in training. The encoder is a drop-in front end whose embeddings can feed other speaker-aware models. Code and models are available at https://github.com/microsoft/fastdiar.

∗^{*}Work done during internship at Microsoft.

References (36)