Clearline-VAD

Voice activity detection for LiveKit agents, a drop-in for silero.VAD. Runs inside the agent on one CPU thread (onnxruntime and numpy; no torch, no GPU): 16 kHz, one probability every 16 ms, wideband and telephone audio.

Mean frame ROC-AUC over the test sets against CPU per 32 ms of audio

Models

model load it with use it for
release, 55k parameters VAD.load() any agent, meetings: the most turns caught and ended on time
distilled, 127k parameters VAD.load(onnx_file_path="clearline_vad_distilled.onnx") noisy rooms, the phone, offline segmentation: the best frames
  • Both are trained on audio a noise filter has been through: a LiveKit agent runs its filter before its VAD.
  • window=256 gives a 16 ms update from the same weights (*_256.onnx).
  • Five more models that are not defaults: Candidates.
  • The distilled variant ranks frames better on 11 of the 13 test sets; the release keeps far-field meetings:

The distilled variant's frame ROC-AUC minus the release's, per test set

Use in a LiveKit agent

import sys
from huggingface_hub import snapshot_download

d = snapshot_download("Scicom-intl/Clearline-VAD")
sys.path.insert(0, d)
from clearline.livekit import VAD

def prewarm(proc):
    proc.userdata["vad"] = VAD.load()
    # the distilled variant: VAD.load(onnx_file_path=f"{d}/clearline_vad_distilled.onnx")

session = AgentSession(vad=ctx.proc.userdata["vad"], stt=..., llm=..., tts=...)
  • Threshold 0.825 by default, not Silero's 0.5 (0.875 with window=256). smoothing_alpha (0.35) is LiveKit's ExpFilter alpha; 0 turns it off.
  • At Silero's 0.5 the release fires twice as often (development sets, LiveKit's state machine):

False triggers per hour against the activation threshold, each plugin's default ringed

  • The distilled variant: the same defaults at 512 samples; activation_threshold=0.75, smoothing_alpha=0.5 with window=256.
  • Any room rate: the plugin resamples 8, 24, 32 and 48 kHz itself.
  • VAD.load(legacy_stream=True) is LiveKit's own stream loop around the same model.
  • From STT-API: ClearlineVAD.load(variant="distilled"). Without LiveKit: raw ONNX.

Results

13 test sets: meetings, broadcast, films, earnings calls, telephone calls, noisy read speech. Turns are LiveKit's own VAD state machine replayed, each model at the point it ships with.

Silero v6 Clearline-VAD Clearline-VAD, distilled
mean frame ROC-AUC, 13 test sets 0.912 0.920 (higher on 8) 0.921 (higher on 10)
LiveKit: turns detected / median onset 0.801 / 247 ms 0.835 / 261 ms 0.801 / 465 ms
LiveKit: turn ends on time 0.718 0.757 0.728
LiveKit: false triggers per hour, 10 sets 29.6 35.1 21.4
LiveKit: false triggers per hour, without the private telephone sets 28.1 23.6 14.3
telephone, frame ROC-AUC: FLEURS through 5 codecs 0.936 0.924 0.939
telephone, frame ROC-AUC: the dev sets on the phone 0.963 0.961 0.966
telephone, LiveKit on AMI dev: onsets / ends / false per hour 0.877 / 0.750 / 17.4 0.944 / 0.866 / 34.3 0.929 / 0.825 / 22.7

Frame ROC-AUC per test set

Turns detected per test set through LiveKit's state machine, each model at the point it ships with

False triggers per hour of non-speech per test set

  • Turns: the release detects more than Silero v6 on 7 of the 10 sets.
  • False triggers: fewer than Silero v6 on 6 of 10 (release) and 7 of 10 (distilled); more on the two private telephone sets.
  • Chosen on development sets only (AMI dev and VoxConverse dev, wideband and through a phone codec). No test corpus is in training.
  • Silero v6 runs at its own best point on the same development sets (threshold 0.70).
  • The distilled variant's median onset is mostly CHiME-6's dinner parties: 6% of turns caught, 2.7 s late (Silero v6 15%, at 0.5 s). Over the other nine sets, 220 ms, as Silero's.

CPU

One core of a Xeon server. Lower is better.

Silero v6 Clearline-VAD Clearline-VAD, distilled
model CPU per 32 ms, one core 103 ยตs 60 ยตs 83 ยตs
plugin CPU per stream, 16 kHz, 8 streams (% of a core) 1.36% 0.56% 0.68%
plugin CPU per stream, 48 kHz, 8 streams 1.54% 0.63% 0.74%
a call's two VAD streams at 24 kHz, CPU per 32 ms 887 ยตs 197 ยตs 245 ยตs
inside a LiveKit agent: the VAD's part of a call (% of a core) 4.3% 1.6% 2.1%

Share of one CPU core per stream through each LiveKit plugin, by room rate and number of streams

  • The plugin resamples in numpy, and two streams of one VAD on the same audio share one inference. An AgentSession whose STT does not stream opens that second stream on every call.
  • A call's own process in a LiveKit agent (livekit-agents 1.3.11; dummy STT, LLM and TTS): 6.9% of a core with Clearline-VAD, 9.6% with Silero v6, 5.3% with no VAD model.

One call's process inside a LiveKit agent, with no VAD model and with each VAD

  • An eight-core worker at LiveKit's 0.7 load limit: about 83 calls, 58 with Silero v6.

Cores an eight-core LiveKit worker uses against simultaneous calls

Languages

FLEURS test speech in 40 languages, 60 s streams from 30 to -5 dB SNR and through a phone path, under DEMAND (homes, offices, public places, transport) and TUT urban scenes (airports, metro, streets, malls).

Clearline-VAD minus Silero v6, per language, under each noise

ahead of Silero v6 in (of 40) noise 30 dB 10 dB 5 dB 0 dB -5 dB phone pooled
Clearline-VAD DEMAND 34 16 16 10 11 12 13
Clearline-VAD TUT 36 22 15 16 23 17 22
distilled DEMAND 39 32 22 14 14 26 24
distilled TUT 37 28 25 21 29 25 31
  • In quiet: ahead of Silero v6 in most languages.
  • In noise: the release is level with Silero under TUT and behind it under DEMAND from 10 dB down.
  • The distilled variant: ahead in most languages under both; under DEMAND ahead from 5 dB up, a little behind at 0 and -5 dB.
Frame ROC-AUC per language, conditions pooled ("training h": that language's hours in our simulated training pool)
language training h DEMAND: Silero v6 Clearline-VAD distilled TUT: Silero v6 Clearline-VAD distilled
German 421 0.961 0.971 0.973 0.960 0.980 0.980
English 404 0.943 0.931 0.935 0.951 0.938 0.944
French 214 0.987 0.991 0.992 0.989 0.990 0.989
Spanish 200 0.956 0.956 0.961 0.958 0.951 0.959
Dutch 91 0.889 0.889 0.889 0.893 0.893 0.901
Hausa 88 0.947 0.940 0.941 0.949 0.922 0.953
Italian 71 0.969 0.965 0.968 0.967 0.957 0.963
Mandarin 54 0.946 0.951 0.954 0.932 0.922 0.934
Malay 49 0.929 0.903 0.942 0.919 0.939 0.948
Portuguese 40 0.923 0.924 0.927 0.904 0.909 0.903
Swahili 32 0.903 0.878 0.898 0.961 0.965 0.971
Polish 29 0.981 0.982 0.987 0.977 0.985 0.988
Yoruba 27 0.927 0.911 0.925 0.985 0.982 0.979
Bengali 27 0.960 0.952 0.961 0.958 0.956 0.965
Georgian 21 0.972 0.977 0.980 0.970 0.975 0.978
Japanese 21 0.857 0.872 0.853 0.878 0.885 0.881
Thai 14 0.869 0.857 0.891 0.975 0.971 0.978
Tamil 8 0.946 0.949 0.954 0.949 0.952 0.954
Cantonese 7 0.950 0.961 0.965 0.946 0.944 0.947
Russian 7 0.905 0.903 0.928 0.987 0.984 0.985
Korean 6 0.923 0.901 0.906 0.912 0.892 0.895
Ukrainian 4 0.860 0.804 0.857 0.939 0.940 0.951
Javanese 4 0.944 0.919 0.937 0.885 0.869 0.912
Telugu 4 0.974 0.969 0.976 0.973 0.970 0.981
Burmese 4 0.947 0.938 0.943 0.913 0.925 0.936
Turkish 4 0.873 0.839 0.869 0.913 0.923 0.933
Khmer 3 0.870 0.857 0.880 0.878 0.895 0.891
Urdu 3 0.921 0.912 0.937 0.986 0.989 0.991
Mongolian 3 0.906 0.876 0.898 0.937 0.939 0.944
Persian 2 0.941 0.926 0.935 0.937 0.923 0.931
Arabic 2 0.977 0.975 0.981 0.968 0.970 0.977
Greek 1 0.952 0.969 0.973 0.951 0.972 0.972
Hebrew <1 0.936 0.952 0.957 0.917 0.927 0.938
Indonesian <1 0.975 0.960 0.967 0.975 0.970 0.973
Hindi <1 0.921 0.915 0.923 0.917 0.915 0.927
Amharic <1 0.990 0.992 0.994 0.974 0.977 0.983
Vietnamese <1 0.869 0.849 0.861 0.948 0.930 0.949
Lao <1 0.966 0.962 0.976 0.954 0.939 0.959
Zulu <1 0.957 0.957 0.959 0.962 0.964 0.964
Filipino 0 0.734 0.700 0.747 0.972 0.972 0.962
all 40, pooled 0.926 0.922 0.933 0.940 0.941 0.948

Noisy rooms and meetings

FLEURS development sentences under CochlScene (13 scenes recorded on smartphones), at 10, 5 and 0 dB:

Distilled variants minus Silero v6, per CochlScene scene

QUT-NOISE, a corpus recorded for testing voice activity detection (cafes, homes, streets, a car, reverberant rooms):

Clearline minus Silero v6, per QUT-NOISE place

  • The distilled variant leads Silero v6 at every SNR under QUT-NOISE and through the phone codecs. Its weak place there is a cafe.
  • Under DEMAND at 0 and -5 dB Silero v6 still leads by a little:

Frame ROC-AUC on FLEURS by noise condition

  • Far-field meetings: use the release (AliMeeting 0.908, level with Silero v6; the distilled variant 0.849). The distilled variant treats a voice well under the loudest one as someone else's: right in a cafe or behind a caller, wrong in a meeting.
  • No model we trained keeps both. Every checkpoint we scored, meetings against rooms full of other voices:

AliMeeting dev against FLEURS under CochlScene, every checkpoint

Behind a noise filter

A LiveKit agent runs its noise filter before its VAD.

mean frame ROC-AUC Silero v6 Clearline-VAD distilled
FLEURS under DEMAND, no filter 0.926 0.922 0.933
behind Clearline-NC, ASR mode (its default) 0.923 0.917 0.930
behind Clearline-NC, quality mode 0.907 0.909 0.918
behind GTCRN 0.902 0.904 0.911
eight development sets behind GTCRN (never heard in training) 0.933 0.932 0.939

Frame ROC-AUC on FLEURS under DEMAND behind each noise filter

  • Behind full suppression (the quality mode, GTCRN) both models lead Silero v6; with no filter or the ASR mode the release trails it under DEMAND.
  • With no filter the models are where the ones before them were.
  • The loss: distant talkers behind a filter (AliMeeting dev behind the quality mode: Silero v6 0.910, release 0.870, distilled 0.802).

Telephone

The same FLEURS streams at 10 dB through five codecs at 8 kHz (* never in training), and the two development sets through the training codecs.

frame ROC-AUC Silero v6 TEN VAD Clearline-VAD Clearline-VAD, distilled
G.711 0.940 0.913 0.927 0.941
GSM 0.935 0.900 0.929 0.941
Opus 0.939 0.913 0.924 0.940
AMR-NB* 0.931 0.909 0.919 0.934
G.723.1* 0.934 0.912 0.921 0.939
FLEURS, all five 0.936 0.903 0.924 0.939
dev sets on the phone 0.963 0.944 0.961 0.966

Frame ROC-AUC per telephone codec

  • The distilled variant is ahead of Silero v6 on every codec; the release a little behind.
  • The release catches more turns on the line, at more false triggers (the Results table's last row).

Candidates

Five models from the last two passes, in candidates/. None passed the rule that would make it a default, and the plugin never loads one unless asked. Each was distilled with Silero VAD (MIT) as one of its teachers.

Development sets only: frame ROC-AUC, and turns at each model's own point (LiveKit's state machine on AMI dev and VoxConverse dev, wideband and on the phone).

model file eight dev sets QUT's cafes AliMeeting dev turn onsets turn ends false/h release rule threshold / ExpFilter
Clearline-VAD (default) clearline_vad.onnx 0.9423 0.910 0.853 0.936 0.882 32.6 0.9090 0.825 / 0.35
the previous default (before 2026-10-29) 0.9412 0.908 0.869 0.936 0.884 33.5 0.9101 0.825 / 0.35
release size, distilled with Silero v5 candidates/clearline_vad_release_silero.onnx 0.9440 0.908 0.886 0.928 0.872 31.6 0.8997 0.7 / 0.35
the release, 1/4 of that mixed in candidates/clearline_vad_release_mix.onnx 0.9425 0.909 0.875 0.937 0.882 32.7 0.9094 0.8 / 0.35
Clearline-VAD, distilled clearline_vad_distilled.onnx 0.9485 0.921 0.797 0.923 0.860 25.9 0.8919 0.825 / 0.35
the previous distilled variant 0.9483 0.919 0.798 0.917 0.847 24.5 0.8817 0.85 / 0.2
distilled, with Silero v6 candidates/clearline_vad_distilled_silero.onnx 0.9493 0.920 0.799 0.915 0.854 22.7 0.8842 0.825 / 0.2
soup: that and the crowd run candidates/clearline_vad_distilled_soup.onnx 0.9495 0.922 0.779 0.918 0.855 23.6 0.8864 0.825 / 0.2
meetings: from scratch, with Silero v6 candidates/clearline_vad_meetings.onnx 0.9456 0.916 0.868 0.931 0.879 27.9 0.9048 0.825 / 0.2
Silero v6 0.9398 0.907 0.885 0.903 0.846 33.7 0.8748 0.7 / 0.35

The candidates and the defaults: the eight development sets against AliMeeting dev

  • release_silero: better frames than the release, in meetings most; fewer turn onsets and ends.
  • release_mix: the release's turns, a little better on frames and meetings.
  • distilled_silero: a little better than the distilled variant on AMI and VoxConverse; fewer false triggers.
  • distilled_soup: the best in cafes, weaker on AliMeeting.
  • meetings: keeps AliMeeting's distant talkers as the release does (0.868; the distilled variant 0.798) with fewer false triggers; behind the distilled variant in noise and on the phone.
from huggingface_hub import hf_hub_download
from clearline.livekit import VAD

path = hf_hub_download("Scicom-intl/Clearline-VAD", "candidates/clearline_vad_release_silero.onnx")
vad = VAD.load(onnx_file_path=path, activation_threshold=0.7, smoothing_alpha=0.35)  # the table's point, 512 samples

Raw ONNX

  • Inputs: x [1, 512] float32 at 16 kHz, ctx [1, 256], mean [1, 40] (start at the mean0 metadata value), h0, h1 [1, 1, 64]. Outputs: p [1, 2] and the new states.
  • The distilled graphs add floor [1, 40] (start at zero), with mean [1, 80] and h0, h1 [1, 1, 96]. The code reads the shapes from the graph, so it runs either.
import numpy as np, onnxruntime as ort

sess = ort.InferenceSession("clearline_vad.onnx", providers=["CPUExecutionProvider"])
names = [i.name for i in sess.get_inputs()][1:]
state = {i.name: np.zeros(i.shape, np.float32) for i in sess.get_inputs()[1:]}
state["mean"][:] = float(sess.get_modelmeta().custom_metadata_map["mean0"])

def step(chunk):                           # 512 float32 samples at 16 kHz
    global state
    p, *new = sess.run(None, {"x": chunk[None].astype(np.float32), **state})
    state = dict(zip(names, new))
    return p[0]                            # two probabilities, one per 16 ms

Files

file what
clearline_vad.onnx, clearline_vad_256.onnx release model, 512- or 256-sample chunks
clearline_vad_distilled.onnx, clearline_vad_distilled_256.onnx distilled variant (96 units, level trackers)
candidates/ the five candidates, ONNX and PyTorch
pytorch/*.pt PyTorch weights for clearline/vad_model.py
clearline/ the LiveKit plugin, release model bundled

Changes

Every upload is its own revision: pin one (STT-API's plugin does).

  • 2026-11-11: the plugin's own stream (numpy resampling, one inference for a session's two streams). Same weight files.
  • 2026-10-29: both defaults replaced by the same graphs fine-tuned behind a noise filter. The models before: revision 8bd11bca.

Limits

  • Line silence on telephone legs: more false triggers than Silero v6 on our private telephone sets. Raise activation_threshold there, or run Clearline-NC-CPU before it.
  • The distilled variant misses distant talkers in far-field meetings: use the release.
  • Heavy noise: Silero v6 leads by a little under DEMAND at 0 and -5 dB.
  • The distilled variant's 16 ms graph costs more than Silero v6.
  • License not set yet: some training data is CC BY-NC (Expresso, EARS, WHAM!).

Citation

Preprint pending.

@misc{zolkepli2026clearline,
  title  = {Clearline: Voice Activity Detection and Noise Cancellation for Voice Agents, on One CPU Core},
  author = {Zolkepli, Husein},
  year   = {2026},
  note   = {Preprint pending}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including Scicom-intl/Clearline-VAD