← Fri, Nov 13 digest

Show HN: RealtimeVAD – trading false positives for 110ms earlier end-of-speech

read article ↗ hn thread ↗

RealtimeVAD is a Python library that pairs with Silero VAD to detect pauses 92 to 130 milliseconds earlier, enabling speculative voice assistant generation.

summary is enough The GitHub readme provides clear benchmarks and code examples for reducing voice assistant latency via speculative execution.

summary

RealtimeVAD addresses voice assistant latency by providing an early pause signal that fires roughly 90 to 130 milliseconds before standard Silero VAD detects the end of speech. By trading false positives for speed, it allows pipelines to initiate speculative ASR, LLM, or TTS generation during short conversational gaps. If the speaker continues, a fast resume event cancels the work, keeping the final end-of-speech marker accurate. The library runs efficiently on a single CPU thread using ONNX runtime without requiring PyTorch.

key points

  1. RealtimeVAD detects conversational pauses 92 to 130 ms earlier than Silero VAD alone by comparing audio levels against room noise and speaker volume.
  2. It is designed exclusively for speculative pipelines that can quickly start and cancel downstream work like LLM generation.
  3. The library bundles the Silero model, requires only numpy and onnxruntime, and consumes about 8 ms of CPU time per second of audio.

who should read it

Voice assistant developers and engineers looking to optimize end-to-end conversational latency.

discussion positive

consensus

Commenters note that speculative generation and early end-of-speech detection are effective ways to slash voice assistant latency, with some suggesting semantic turn detection using tiny LLMs as an alternative or complementary approach.

best comment by com2kid ↗

This is the 3rd or so time I've posted this -

Run a tiny shitty llm, one that is super fast. Or better yet try out a decision model now days.

Feed it the previous conversation turn and all the STT (ASR output) you have so far and just ask it for a probability that the user is done speaking.

Use that probability to shorten your VAD time.

It isn't as good as a true speech to speech model but this will cut a few hundred ms compared to pure VAD. Oh as a bonus it also lets you wait longer when the user isn't done talking yet.

Suggests using a small decision model or tiny LLM on the transcription history to calculate the exact probability of turn completion.

Generated by an LLM from the article and thread. Check the sources before relying on it.