TL;DR
Large Audio-Language Models often miss brief, transient acoustic events because they over-rely on smooth linguistic context and language priors. This paper introduces Temporal Contrastive Decoding (TCD), a training-free inference method that contrasts original audio with a temporally blurred version to amplify short-lived audio cues. TCD consistently boosts performance on audio reasoning benchmarks with virtually zero decoding-time latency penalty.
What Problem Does This Paper Address?
Unified Large Audio-Language Models (LALMs) process speech, sound, and music by generating text conditioned on continuous audio features. However, during autoregressive decoding, these models often exhibit a temporal smoothing bias. Because they are heavily guided by text history and language priors, they tend to favor long-term, temporally smooth context over brief, transient acoustic cues.
For instance, if asked "How many times does the phone ring?", a model might rely on typical conversational patterns or language context rather than precisely counting the short, localized ring onsets. Existing decoding interventions either contrast audio vs. no-audio or focus entirely on vision/text modalities, failing to address this multi-timescale temporal imbalance in audio processing.
Methods
The authors propose Temporal Contrastive Decoding (TCD), a training-free, inference-time logit adjustment method that requires no parameter updates.
The pipeline operates through four key mechanisms:
- Contrastive Audio Views: TCD creates a "slow-path" reference by smoothing the input audio waveform with a normalized Hann window and re-encoding it. This blurred view retains coarse acoustic context but strips out transient details.
- Logit Contrasting: At each decoding step, the model computes logits for both the original audio ($z_t$) and the blurred audio ($\tilde{z}_t$). The rectified difference ($d_t^+ = \max(z_t - \tilde{z}_t, 0)$) isolates tokens specifically supported by transient cues.
- Stability-Guided Adaptation: A self-normalized stability score ($S$) is calculated directly from the encoder's hidden states to dynamically adjust the blur window size ($W$) and the contrastive update scale ($\lambda$).
- Gated Fusion: To keep the intervention conservative, updates are restricted to a small candidate set (Top-K) and scaled by a step-wise gate ($g_t$). This gate activates only when the model is both uncertain (high entropy) and highly reliant on audio tokens (measured via decoder attention mass).
Datasets
The method was evaluated on two major public benchmarks:
- MMAU (test-mini split): A massive multi-task audio understanding benchmark covering Sound, Music, and Speech domains in a multiple-choice setting.
- AIR-Bench: Evaluated on the Foundation benchmark (general speech/sound tasks) and three specific temporally structured tasks: SLURP (intent classification), CochlScene (acoustic scene classification), and Clotho-AQA (environmental sound question answering).
Key Insights and Ideas
- The Memory-Bound Bonus: Even though TCD processes two streams (original and blurred) during decoding, it introduces negligible decoding overhead (~1.00x speed). This is because LLM decoding at small batch sizes is memory-bound (dominated by loading weights from High Bandwidth Memory), meaning the extra parallel computation is essentially "free."
- Architectural Specificity: TCD only works on unified LALMs where the decoder directly attends to a temporally ordered sequence of audio tokens (like Qwen2-Audio). It fails to provide benefits on models with "semantic bottlenecks" (like SALMONN or Audio Flamingo) because those architectures strip away the frame-level temporal structure before the decoder ever sees it.
- Positive-Difference Matters: Restricting the contrastive signal to positive differences ($z_t - \tilde{z}_t > 0$) prevents the model from broadly suppressing valid tokens supported by language priors, keeping the decoding stable.
Key Results
- MMAU Improvements: TCD consistently improved strong unified LALMs. For example, Qwen2.5-Omni's average accuracy rose from 71.5% to 73.2%, with a notable +5.1% jump in the Music domain where transient cues (rhythm, chords) are vital (see Figure 2).
- AIR-Bench Foundation: Qwen2.5-Omni + TCD achieved a total accuracy of 66.7% (up from 64.8%), showing stronger gains in Sound (+2.9%) than Speech (+1.4%) (see Figure 3).
- Temporally Structured Tasks: On tasks explicitly requiring fine-grained temporal tracking, TCD delivered substantial gains: +6.0% on SLURP and +7.7% on CochlScene (see Figure 4).
Limitations and Future Work
- Prefill Overhead: Because TCD requires encoding the original audio first to compute stability before generating the blurred view, it incurs a ~2.04x latency overhead during the initial prefill phase.
- Architecture Constraints: It is strictly limited to unified, time-resolved audio token streams and cannot be directly applied to heavily compressed or bottlenecked audio representations.
- Future Directions: The authors suggest extending contrastive decoding to streaming audio settings and finding ways to reduce prefill overhead, such as reusing cached activations.
Summary updated