Expose generated-token log probabilities in STT results
Several autoregressive STT adapters receive a full log-probability vector from generate_step() or stream_generate(), but their high-level generate() paths discard it. This currently affects Qwen3-ASR, Qwen2-Audio, Voxtral, GLM-ASR, VibeVoice-ASR, Granite Speech, Fun-ASR, MOSS Transcribe/Diarize, and Higgs Audio 3 paths.
This makes it impossible to inspect or calibrate model uncertainty from the normal STTOutput, even though inference already computed the data. Whisper exposes avg_logprob in its segments, and FireRedASR exposes a segment confidence.
I propose that autoregressive adapters preserve selected-token log probabilities in each segment and include summary fields such as avg_logprob and min_logprob. The existing low-level streaming APIs can continue to expose the full vocabulary distribution.
I am preparing a focused Qwen3-ASR PR first, including its sequential and batched decode paths, so the result shape can be reviewed before applying it to the other adapters.
Source: Blaizzy/mlx-audio