TLDR: This research introduces two key innovations to extend the audio context window of Large Audio-Language Models (LALMs): Partial YaRN and Virtual Longform Audio Training (VLAT). Partial YaRN is a training-free method that modifies only audio token positions to preserve the base LLM’s text capabilities. VLAT is a training strategy that uses Partial YaRN as a positional augmentation to simulate diverse audio lengths, enabling LALMs to generalize effectively to unseen, long audio inputs. Experiments show these methods significantly improve performance on long-form audio understanding.
Large Audio-Language Models, often called LALMs, are at the forefront of AI’s ability to understand and interact with audio. These sophisticated models combine an audio encoder with a text-based language model, allowing them to leverage the vast knowledge of text-trained AI for complex audio tasks. However, a significant hurdle has limited their practical application: their inability to process and understand long audio inputs effectively.
Typically, LALMs are trained on short audio segments, often 30 seconds or less. While their text counterparts can handle extensive contexts, LALMs struggle to generalize to longer audio, leading to a breakdown in understanding when faced with extended conversations, lectures, or music. This limitation prevents them from fully realizing their potential in real-world scenarios that involve long-form audio.
Introducing Partial YaRN: A Targeted Approach to Audio Context Extension
To tackle this challenge, researchers have explored adapting context extension methods originally designed for unimodal Large Language Models (LLMs), such as Positional Interpolation (PI) and YaRN. However, a straightforward application of these methods to LALMs risks degrading the base LLM’s sophisticated text capabilities, as they alter positional information across the entire sequence, including text tokens.
This research introduces a novel solution called Partial YaRN. This method is specifically designed for LALMs and focuses exclusively on extending the audio context without affecting the text’s positional encodings. By modifying only the audio tokens’ positional information, Partial YaRN aims to stretch the audio window while preserving the base model’s strong text understanding. It achieves this by intelligently interpolating low-frequency dimensions of the Rotary Positional Encoding (RoPE) and extrapolating high-frequency dimensions, along with attention temperature scaling, to accommodate longer audio inputs.
Virtual Longform Audio Training (VLAT): Learning to Generalize
While training-free methods like Partial YaRN offer immediate benefits, the paper also proposes a more robust, training-based strategy: Virtual Longform Audio Training (VLAT). VLAT repurposes Partial YaRN as a positional augmentation technique during the fine-tuning process. The core idea is to expose LALMs to a diverse range of simulated audio lengths during training, even if the actual training data consists of shorter segments.
VLAT works by randomly sampling a ‘virtual’ source length for each audio sample and then using Partial YaRN to stretch or compress the audio’s positional window to match this virtual length. This process effectively teaches the model to generalize beyond the audio lengths it has explicitly seen in the training dataset, significantly improving its robustness for understanding genuinely long audio at inference time. Unlike some previous methods that use sparse sampling, VLAT creates a dense, continuous space of positions, and it’s bidirectional, teaching the model through both compressed and stretched contexts.
Also Read:
- OmniVinci: A Unified AI Model for Vision, Audio, and Language Understanding
- Optimizing Large Language Model Training: A New Approach to Hyperparameter Scaling
Key Findings and Impact
The researchers conducted experiments on two widely-used LALMs, SALMONN and Qwen2-Audio, using a custom dataset called YODAS2-MCQA. The results were compelling:
- Training-free methods like Partial YaRN consistently outperformed original models across various long audio settings.
- A crucial insight was that extending from an ‘observed’ innate audio context (e.g., 2 minutes) rather than the default 30-second training context yielded significantly better performance, especially for large extension ratios.
- Fine-tuning LALMs with context extension methods dramatically improved performance, particularly for longer audio lengths.
- VLAT proved highly effective in enabling models to generalize to unseen audio lengths. For instance, a Qwen2-Audio model trained with VLAT showed a substantial accuracy increase on 10-minute audio, demonstrating its capacity to handle audio far exceeding its training data length. VLAT’s benefits were also found to be complementary to inference-time extensions, leading to the most robust long-context performance when combined.
This work marks a significant step towards developing LALMs with superior long-form audio understanding. By introducing Partial YaRN and the VLAT training strategy, the research provides practical and effective pathways to overcome the limitations of short audio context windows. Future work could explore similar modality-bound extension strategies for video models, extending these benefits to another complex data type.
For more in-depth technical details, you can read the full research paper here.


