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

Understand Token-and-Duration Transducer frame skipping in Parakeet, and keep duration predictions distinct from final word timestamps or a CTC-style decoding loop.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-parakeet-tdt-duration-frame-skip-decoding/
Language: en

## Identify the decoder family

The [NeMo model reference](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/asr/models.html) 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](https://arxiv.org/abs/2304.06795) 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](https://huggingface.co/nvidia/parakeet-tdt-0.6b-v2) 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](/journal/inference-benchmark-method/) and [tensor axes](/journal/tensor-axes-batch-sequence-hidden/) 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.
