Skip to main content
FireRed VAD is a DFSMN (Deep Feed-forward Sequential Memory Network) streaming model from the FireRed team at Ant Group. It uses Kaldi-compatible fbank feature extraction, CMVN normalization, and a 4-state postprocessor for precise speech boundary detection. Provider identifier: firered_vad

Source Location


How It Works

  1. Incoming LINEAR16 bytes are converted to int16 samples and buffered
  2. Complete frames are extracted: 400 samples (25 ms) with 160-sample shift (10 ms)
  3. For each frame: fbank features are extracted, CMVN normalization is applied, ONNX inference produces a raw speech probability
  4. The postprocessor smooths probabilities (moving average, window size 5) and runs a 4-state machine:
  1. Speech onset is confirmed only after MinSpeechFrame consecutive frames above threshold — this filters out short noise bursts
  2. Same packet emission: InterruptionPacket on confirmed onset, VadSpeechActivityPacket heartbeats during confirmed speech

Parameters

Internal Postprocessor Defaults

These are not configurable via assistant options — they are hardcoded in DefaultPostprocessorConfig():

Model Path


Local Source Setup

FireRed VAD requires ONNX Runtime (same as Silero VAD). The model file is checked into the repository.