Frame-Level Internal Tool Use for Temporal Grounding in Audio LMs
Joesph An, Phillip Keung, Jiaqi Wang, Orevaoghene Ahia, Noah A. Smith
TL;DR
The paper addresses the challenge of precise temporal grounding in audio language models, where generating timestamps as text tokens leads to hallucinations and poor length generalization. It introduces frame-level internal tool use, attaching a lightweight prediction head to the model's internal audio representations to produce frame-level event distributions, and trains with either a binary frame-level loss or an inhomogeneous Poisson process (IHP) loss. Across word localization, speaker diarization, and audio event localization, Poisson-based frame-level training consistently outperforms token-based generation and binary loss baselines, delivering high accuracy and robustness to out-of-distribution durations, while enabling substantial inference speedups (often exceeding $50\times$, up to $60\times$). The approach leverages time-rescaling and posterior-mode inference for continuous-time event modeling and demonstrates strong generalization to multiple timestamps and longer sequences, representing a practical, efficient alternative to autoregressive timestamp generation in audio LMs.
Abstract
Large audio language models are increasingly used for complex audio understanding tasks, but they struggle with temporal tasks that require precise temporal grounding, such as word alignment and speaker diarization. The standard approach, where we generate timestamps as sequences of text tokens, is computationally expensive and prone to hallucination, especially when processing audio lengths outside the model's training distribution. In this work, we propose frame-level internal tool use, a method that trains audio LMs to use their own internal audio representations to perform temporal grounding directly. We introduce a lightweight prediction mechanism trained via two objectives: a binary frame classifier and a novel inhomogeneous Poisson process (IHP) loss that models temporal event intensity. Across word localization, speaker diarization, and event localization tasks, our approach outperforms token-based baselines. Most notably, it achieves a >50x inference speedup and demonstrates robust length generalization, maintaining high accuracy on out-of-distribution audio durations where standard token-based models collapse completely.
