TECHNOLOGY

Parakeet TDT decoding: predicted duration advances encoder frames, not word time directly

In this article
THE QUICK TAKE

TDT predicts token and duration distributions together; the duration controls movement along encoded input, while user-facing word timing needs its documented conversion path.

Identify the decoder family

The NeMo model reference distinguishes Parakeet variants with CTC, conventional transducer, and TDT decoders. The family name alone therefore does not specify how logits are consumed. A deployment that substitutes a familiar greedy CTC routine for every Parakeet artifact can change the task computation. Select the supported decoder together with the checkpoint, rather than treating decoding as an independent formatting step after the encoder finishes.

Explain the duration output

The Token-and-Duration Transducer paper introduces separately normalized token and duration outputs. During inference, the duration prediction can advance over encoded input frames instead of processing each through the same conventional transducer progression. This is an algorithmic change in traversal, not simply removing silence from the original waveform. The original audio and its sample clock remain distinct from the model’s subsampled encoder positions and the decisions made by the decoder.

Keep frame units distinct from displayed seconds

A predicted duration is expressed in the model’s encoded-time setting, not automatically a ready-made word timestamp. Mapping to user-facing timing needs the selected model’s temporal conversion and token-to-word handling. The official Parakeet checkpoint card exposes a supported timestamp request. Prefer that documented route over inventing seconds from raw duration integers. A text token may also cover only part of a word, so token traversal and word boundaries answer different questions.

Diagnose an apparent speed improvement

Consider a custom port that runs faster but drops speech around rapid transitions. Compare its TDT traversal decisions and supported decoding configuration with the reference before changing acoustic precision. Retain the original recording and decoded token sequence. Fewer decoder evaluations are not independently evidence of correct duration handling; an implementation that advances incorrectly can be fast because it skips necessary evidence rather than because it faithfully reproduces the intended method.

Evaluate transcript and timing separately

Record checkpoint variant, decoder implementation, input preparation, timing configuration, transcript, and timestamp outputs. Guides to inference evaluation and tensor axes support comparison. Measure full-request runtime on representative recordings instead of copying paper speedups onto another GPU. Acceptance should establish both valid TDT traversal and useful requested outputs, with word accuracy and time-boundary quality assessed independently rather than inferred from a low count of decoding steps.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles