﻿# VoiceGuard and AASIST: latency is not live-call detection evidence

VoiceGuard reports AASIST latency by device. Buffering, timing boundaries, trained-weight loading and upstream-versus-deployed error rates need separate checks.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/voiceguard-aasist-streaming-latency-weight-readiness/
Language: en

VoiceGuard integrates AASIST audio anti-spoofing models into a streaming service. Its published latency table is a project-maintainer claim, useful for identifying configurations to inspect. It does not by itself establish end-to-end detection delay or the error rate of the complete integration on live calls.

## The reported table separates model and pipeline work

The [VoiceGuard README](https://github.com/TiElixir/VoiceGuard) labels its approximate timings as P95 latency. It reports the following model-only values:

| Model | V100 | RTX 3060 | i7-12700 CPU |
| --- | --- | --- | --- |
| AASIST-L | 25 ms | 40 ms | 160 ms |
| AASIST | 50 ms | 80 ms | 300 ms |

The README also distinguishes preprocessing and an optional ensemble from the model-only configuration. The table does not attach a complete audio-length distribution, software environment or timing trace. Its approximate percentile values are therefore not independently reproduced measurements here, nor a hardware sizing rule for every audio workload.

## Buffering is outside a short model invocation

The documented service accumulates audio before analysis, with a default buffer duration of 6 seconds. A model invocation lasting milliseconds does not mean a reliable decision arrives that many milliseconds after the beginning of a call. Capture, buffering, preprocessing, queueing and transport can all precede or follow it.

The [benchmark guide](/journal/inference-benchmark-method/) explains why the measurement boundary belongs beside a latency value. A streaming evaluation would need a declared event such as sufficient audio arriving, analysis starting or the result reaching the consumer. Those clocks answer different operational questions.

## The actual engine exposes two timing boundaries

The [reviewed inference implementation](https://raw.githubusercontent.com/TiElixir/VoiceGuard/master/core/inference_engine.py) has an audio path that preprocesses inputs and a tensor path that skips preprocessing. Both measure elapsed time around model execution and score extraction; the reported timer ends before converting the returned embedding into a CPU list.

That source reading identifies what these particular fields include. It does not recover the missing procedure behind every README table cell. A comparison should preserve the selected path and include response construction if the claimed metric is full request latency. We did not run inference or the benchmark script.

## Loaded architecture is not verified pretrained state

The engine also logs a warning and continues with random initialization if the expected weight file is absent. It subsequently sets its loaded flag. Consequently, that flag alone does not establish that the intended trained detector is present.

A meaningful acceptance record would identify the actual weight artifact and successful loading, then compare known inputs. A fast output from randomly initialized weights cannot substantiate anti-spoofing quality. This is a concrete property of the reviewed integration code, not a claim that all deployments of the project omit their weights.

## Upstream accuracy and application confidence differ

The [original AASIST repository](https://github.com/clovaai/aasist) provides pretrained models and reports EER of 0.83% for AASIST and 0.99% for AASIST-L under its evaluation protocol. Those upstream scores do not certify the modified preprocessing, call codecs, languages or thresholds of a new streaming deployment.

Similarly, applying softmax to two logits produces a score; it does not independently calibrate the probability that a particular caller is synthetic. The [calibration guide](/journal/neural-confidence-calibration-bins/) explains that distinction. VoiceGuard is therefore a specific integration case to inspect with paired speed and error measurements, rather than evidence that selecting its fastest model preserves a known live-call detection guarantee.
