arXiv:2610.34413eess.ASOct 2026

Manuscript Offprint

arXiv:2610.34413

In-Context Adapter Generation for Compositional Generalization in Large Audio Language Models

Yiwei Guo, Siqi Huang, Bohan Li, Jing Peng, Hankun Wang, Zhihan Li, Kai Yu

Abstract

Large audio language models (LALMs) have achieved strong performance on standard speech and audio understanding tasks, yet their ability to systematically generalize to novel task compositions remains underexplored. Taking a meta-learning view, we extend Text-to-LoRA (T2L) to LALMs, generating instruction-conditioned LoRA adapters with a Transformer hypernetwork rather than learning a single fixed adapter shared across instructions. To exploit fine-grained task information, we introduce in-context adapter generation (ICAG), a token-level hypernetwork architecture; we call the resulting method T2L-ICAG. We evaluate this approach on two representative LALMs using SIFT-50M for supervised fine-tuning and construct a controlled compositional evaluation suite covering five task classes. Across two LALM backbones, T2L-ICAG consistently improves over static LoRA and also the global embedding-based T2L baseline. Coverage and capacity analyses further show that these gains are larger on structurally out-of-domain tasks and cannot be explained by parameter count alone. These results suggest that generating task-specific adapters from instructions is a promising direction for improving compositional generalization of LALMs.

Introduction

Large audio language models (LALMs) have achieved strong performance in general audio and speech understanding tasks, showing impressive perception and reasoning abilities (Peng et al. 2026; Luo et al. 2026). However, it remains unclear whether LALMs can systematically recombine familiar capabilities and task schemas into novel task compositions without direct training examples of the target compositions. This raises the question of compositional generalization, an important property of true intelligence.

Compositional generalization requires a model to transfer knowledge from familiar task components to novel task compositions (Fodor and Pylyshyn 1988; Lake and Baroni 2018). This capability is especially important for audio and speech understanding, where acoustic functionalities, such as gender perception, language identification and emotion recognition, are separable from task schemas. Here, a task schema refers to the structural form in which one or more acoustic functionalities are invoked over one or more audio inputs, such as single-input recognition, two-input comparison, selective execution, sequential execution, and so on. Together, these functionalities and schemas span a large compositional task space. LALMs with compositional generalization ability should generalize to unseen task compositions built from familiar components, even when those compositions are not explicitly observed during training. For example, a model that has learned gender recognition, duration comparison and pitch comparison should be able to understand comparison as a reusable task schema and naturally perform gender comparison. However, we find that existing open-source LALMs struggle with such compositional transfer, and the literature lacks systematic studies of this problem in the audio domain.

The problem of compositional generalization is not new and has long been studied in natural language processing (Fodor and Pylyshyn 1988). Although scaling LLMs has partially alleviated it (Yang et al. 2024; Sakai, Kami-gaito, and Watanabe 2025), audio introduces an additional cross-modal grounding challenge. Successful composition requires a LALM not only to interpret a novel instruction structure, but also to bind each requested functionality to the appropriate acoustic evidence and audio input. A model may therefore recognize gender or emotion in isolation yet fail when the same capability must be selected, ordered or applied across multiple inputs. Exhaustively enumerating task compositions during training may alleviate this problem, but is expensive and does not reflect human-like generalization. This motivates us to explore adaptation methods that generalize beyond explicit task coverage.

In modern LLMs, teaching a pretrained model to perform new tasks is usually done through supervised fine-tuning (SFT), often with low-rank adaptation (LoRA) (Hu et al. 2022). By decomposing parameter updates into low-rank matrices, LoRA provides efficient task adaptation with a small number of trainable parameters. However, a static LoRA adapter still stores adaptation knowledge in a fixed set of parameters optimized over the observed training task space. This perspective motivates a meta-learning view: instead of only learning task-specific parameters, the model can learn how adaptation should be performed for a new task. Hypernetworks provide a natural realization of this idea by generating model parameters conditioned on task information.

In this study, we extend Text-to-LoRA (T2L) (Charakorn et al. 2025) to LALMs to improve compositional generalization. Instead of training a static LoRA adapter, T2L generates instruction-conditioned LoRA weights with a hypernetwork.

We propose in-context adapter generation (ICAG), a bidirectional Transformer hypernetwork architecture, and call the resulting method T2L-ICAG. In this way, adapters are generated with fine-grained task-specific control from instruction tokens rather than from a single global task semantic. The LoRA parameters no longer need to be directly distributed over the observed training task space; instead, the hypernetwork can condition the generated adapters on each task description, providing a flexible parameterization for different combinations of acoustic skills and task schemas. Through ICAG, the hypernetwork attends to each instruction token when generating adapter weights, which preserves fine-grained instruction information when generating adapters for unseen task compositions.

We experiment with Kimi-Audio (Ding et al. 2025) and Qwen2.5-Omni (Xu et al. 2025) on the diverse instruction tuning dataset SIFT-50M (Pandey et al. 2025). The results show that generative LoRA adaptation significantly improves performance on unseen task compositions compared to static LoRA at the same rank. T2L-ICAG also outperforms T2L-emb, the global embedding-based architecture in Charakorn et al. (2025). In summary, our contributions are:

• To the best of our knowledge, we present the first empirical study of compositional generalization in LALMs.

• We extend T2L-based adapter generation to LALMs and propose ICAG, a token-level Transformer hypernetwork architecture that generates instruction-conditioned LoRA adapters.

• Across two LALM backbones, T2L-ICAG outperforms static LoRA and T2L-emb, with larger gains on structurally novel tasks that cannot be explained by training-data overlap or parameter count alone.