Encode Once, Decode Never: Reusing Audio LM Internals for Efficient Temporal Localization

Joseph An, Phillip Keung, Jiaqi Wang, Orevaoghene Ahia, Noah A. Smith

TL;DR

Researchers from the University of Washington and AI2 have developed a way to make audio language models (LMs) localize events—like a dog barking or a specific word being spoken—up to 60x faster and with far greater reliability. By reusing the model's internal frame-level representations instead of generating timestamps as text tokens, their "internal frame-level reuse" method eliminates autoregressive hallucinations and maintains high accuracy even on audio durations much longer than those seen during training.

What Problem Does This Paper Address?

Current state-of-the-art audio LMs (like Gemini or Qwen-Omni) typically handle temporal localization by "talking" about time. If you ask, "When did the laughter start?", the model autoregressively generates a text string like {"start": 12.5}.

This approach has three major flaws:

  1. Efficiency: Generating text tokens is slow and sequential. A long audio file with many events might require thousands of tokens, leading to massive inference latency.
  2. Hallucination: Because the text decoder is unconstrained, it can generate timestamps that look syntactically correct but are completely ungrounded in the actual audio.
  3. Length Generalization: These models tend to memorize the audio lengths they saw during training. If a model was trained on 30-second clips, it often fails catastrophically when asked to localize an event 45 seconds into a new clip, simply because it hasn't learned to "write" timestamps that high.

Methods

The authors propose internal frame-level reuse. Instead of throwing away the rich, frame-by-frame audio features computed inside the LM to generate text, they attach a lightweight "prediction head" directly to these internal representations.

They explored two training objectives for this head:

  • Binary Frame Classification: A simple approach where each audio frame is treated as a yes/no classification task (did the event happen here?).
  • Inhomogeneous Poisson Process (IHP) Loss: A more sophisticated, novel approach that models the continuous-time intensity of events. It treats timestamps as "arrival times" in a stochastic process, providing a principled probabilistic framework that handles sparse events and temporal dependencies better than simple classification.

At inference time, the model performs a single parallel pass over the audio frames. For the Poisson model, they use a mode-finding heuristic to extract the most likely timestamps from the predicted intensity function.

Datasets

The method was evaluated across three distinct temporal tasks:

  • Word Localization: Using LibriSpeech, where the goal is to align specific words to their exact start/end times in speech.
  • Speaker Diarization: Using Libricount, a synthetic "cocktail party" dataset where the model must identify when each of up to 10 overlapping speakers starts talking.
  • Audio Event Localization: Using the human sounds subset of AudioSet, focusing on strongly-labeled clips (e.g., "Male singing") with precise start/end times.

Key Insights and Ideas

  • Don't Decode, Just Point: The most significant insight is that the audio LM has already done the hard work of aligning features to time during the encoding phase. Forcing it to re-encode that information into text tokens is redundant and introduces errors.
  • Grounding via Frames: By forcing the model to pick a specific audio frame, the "hallucination" of impossible timestamps is physically impossible. The prediction is naturally grounded in the input data.
  • The Power of Poisson: The IHP loss outperformed the binary loss. By modeling the intensity of an event rather than just a binary label, the model becomes more robust to "fuzzy" or imprecise human annotations.
  • Breaking the Length Barrier: Because the frame-level head operates on the relative position of features rather than the absolute value of a text token, it generalizes to long audio effortlessly.

Key Results

  • Massive Speedups: The frame-level approach achieved a >50x speedup (and up to 60x in some configurations) over token-based decoding for long sequences. Figure 3: Speed-up factor between token-based and Poisson-based timestamp generation across batch sizes. Efficiency gains are larger when the timestamp sequences are long.

  • Robustness to OOD Lengths: In "mismatched" scenarios (e.g., training on 0-8s audio but testing on 8-12s), token-based models collapsed to near 0% accuracy. In contrast, the Poisson-based model maintained over 85% accuracy. Table 1: Librispeech word alignment accuracies showing the collapse of token-only models on mismatched distributions compared to the robustness of Poisson/Binary methods.

  • Competitive Accuracy: Despite being much faster, the Poisson-based models actually achieved better Mean Absolute Deviation (MAD) and accuracy than finetuned token-based baselines across almost all tasks.

Figure 3: Speed-up factor between token- based and Poisson-based timestamp gener- ation across batch sizes. Efficiency gains are larger when the timestamp sequences are long. Poisson frame-level timestamps are as much 60× faster than token-based timestamps.
Table 1: Librispeech word alignment accuracies showing the collapse of token-only models on mismatched distributions compared to the robustness of Poisson/Binary methods.

Limitations and Future Work

  • Multi-Timestamp Heuristics: While the single-event localization is mathematically elegant, the multi-timestamp case (e.g., localizing every word in a sentence) currently relies on an iterative mode-finding heuristic. The authors suggest more integrated multi-event modeling as a next step.
  • Finetuning Required: The authors noted that zero-shot performance for temporal localization is currently poor across all major audio LMs, meaning their method still requires task-specific finetuning to be effective.
  • Beyond Audio: The authors suggest this framework could be naturally extended to video temporal localization, where similar "token-based" bottlenecks currently exist.

Summary updated

BibTeX
@inproceedings{an2026encode,
  author = {Joseph An and Phillip Keung and Jiaqi Wang and Orevaoghene Ahia and Noah A. Smith},
  title = {{Encode Once, Decode Never: Reusing Audio LM Internals for Efficient Temporal Localization}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=e1PUtarKPS},
}
Figure