Choosing speech-recognition chunk size: balance latency and accuracy
Speech chunking divides continuous audio into frame groups for a streaming recognizer. Shorter chunks can produce updates sooner but provide less future context; longer chunks or look-ahead can increase waiting. Distinguish model chunks from transport buffers and compare settings under the same conditions.
Chunking splits continuous audio into groups of frames for model inference. Do not confuse a transport block, model input chunk, future look-ahead context, and user-facing update interval; they may differ. Capture and network buffers are separate settings.
A chunk-based recognizer may use past context and wait for future frames. That context can help recognition, while waiting increases latency. Li et al. (2022) report weaker performance near chunk boundaries and accuracy loss as chunks shrink in their tested streaming methods. Their results use Librispeech and a particular wav2vec 2.0/CTC setup, so they do not establish a universal chunk size. Li et al. (2022)
For an illustrative calculation, 40 frames at a 10 ms frame hop take up to 400 ms to collect; with uniform arrivals, average accumulation wait is about 200 ms, before model compute, look-ahead, and scheduling. Document frame hop, chunk length, look-ahead, inference cadence, and update cadence. Compare shorter and longer settings on the same recordings, including words at boundaries, fast speech, pauses, and short commands. Track first-partial and final latency, WER/CER, boundary insertions/deletions, revision amount, p50/p90, and device load. Change one variable at a time. Check cached state, overlap handling, growing queues, and final short chunks. Choose based on the latency-quality trade-off for your model and task; paper-specific values are not universal recommendations.