Model Merging Improves Zero-Shot Generalization in Bioacoustic Foundation Models

Davide Marincione, Donato Crisostomi, Roberto Dessi, Emanuele Rodolà, Emanuele Rossi

TL;DR

Intensive domain-specific fine-tuning can severely degrade an audio-language model's instruction-following abilities, causing failures on multi-part prompts and closed-set constraints. By linearly merging the bioacoustic foundation model NatureLM-Audio with its base language model (LLaMA-3.1-8B-Instruct)—which mathematically reduces to rescaling the LoRA adapter—the authors recover lost instruction-following skills without sacrificing domain expertise. This simple interpolation yields an over 200% relative improvement (F1 jumps from 0.09 to 0.28) in closed-set zero-shot classification of unseen species.

What Problem Does This Paper Address?

In bioacoustics, researchers have increasingly moved toward multi-modal foundation models capable of zero-shot transfer across vocalizations, taxa, and tasks. A leading model in this space, NatureLM-Audio, couples an audio encoder with a LoRA fine-tuned LLaMA-3.1-8B-Instruct backbone.

However, heavy domain-specific fine-tuning creates severe instruction-following brittleness:

  • When prompted for a focal species' common name or scientific name separately, NatureLM-Audio performs well (60–80% accuracy).
  • When prompted to output both names together, accuracy collapses to just 6–12%, with the model drifting into free-form captions or irrelevant context (e.g., adding "male courtship behavior" or "52 Hz pulses").
  • When tasked with zero-shot classification from a candidate list, the model frequently ignores instructions and outputs out-of-set labels.

Methods

The authors resolve this trade-off using model merging via linear weight interpolation between the fine-tuned model $\Theta^{(2)}$ and the base model $\Theta^{(1)}$:

$$\Theta^{(\text{merge})} = (1 - \alpha)\Theta^{(1)} + \alpha\Theta^{(2)}$$

Because NatureLM-Audio is trained via Low-Rank Adaptation (LoRA) where $W_{\text{ft}} = W_{\text{base}} + AB$, linear interpolation with the base model ($W_{\text{base}}$) neatly simplifies to:

$$(1 - \alpha)W_{\text{base}} + \alpha(W_{\text{base}} + AB) = W_{\text{base}} + \alpha AB$$

This means merging can be achieved simply at inference time by tuning the LoRA scaling coefficient $\alpha \in [0, 1]$. Varying $\alpha$ provides a continuous dial between general instruction-following ($\alpha \to 0$) and domain-specific bioacoustic knowledge ($\alpha \to 1$).

Datasets

The authors evaluated models across several benchmarks (largely drawn from the BEANS-ZERO suite):

  • WATKINS & CBI: Used to evaluate combined prompt instruction-following on marine mammals and birds, respectively.
  • UNSEEN-FAMILY-CMN: A 40-class dataset (425 samples) designed so that no taxonomic families in the test set appeared during pretraining/fine-tuning. Evaluated in a closed-set format where all candidate species names are provided in the prompt. A 2-class subset (125 samples of Spotted Elachura and Dall's Porpoise) was used for error breakdown.
  • ZF-INDIV: A downstream audio counting dataset (determining whether one or multiple Zebra Finches are vocalizing), used to inspect prompt sensitivity.

Key Insights and Ideas

  • LoRA scaling as a capability knob: Setting $\alpha \approx 0.7$ retains enough acoustic representation to identify species while re-engaging the base LLM’s instruction compliance.
  • The bottleneck is language, not audio: Analysis of the error modes in unseen species classification revealed that high $\alpha$ values rarely confused the classes; instead, errors were dominated by out-of-set predictions (violating formatting constraints). The audio encoder already captures discriminative features for unseen taxa; the language decoder simply failed to output valid class tokens.
  • Fragility of apparent zero-shot generalization: Evaluating NatureLM-Audio on the ZF-INDIV dataset showed that the reported 66% accuracy dropped to near-random (52%) when merely reversing the class order in the prompt or removing explicit labels, demonstrating that benchmark numbers were driven largely by prompt artifacts rather than genuine task understanding.
  • Few-shot multimodal ICL does not help: Attempting in-context learning by feeding audio token demonstrations ($k=1, 5$) failed to improve performance and introduced noisy predictions, aligning with broader findings that current LLMs struggle with multi-audio contexts.

Key Results

  • Combined Prompt Recovery:
  • On Watkins, combined-prompt accuracy climbed from 6% ($\alpha = 1.0$) to 45% ($\alpha \approx 0.7$).
  • On CBI, accuracy surged from 12% ($\alpha = 1.0$) to 63% ($\alpha \approx 0.7$).
  • Zero-Shot Classification of Unseen Species:
  • On the 40-class closed-set task (UNSEEN-FAMILY-CMN), the merged model at $\alpha = 0.4$ achieved an F1 score of 0.28, compared to 0.09 for default NatureLM-Audio ($\alpha = 1.0$)—a >200% relative improvement and a new state-of-the-art.
  • On the binary subset, out-of-set prediction errors dropped near zero as $\alpha$ approached $0.4$.

Limitations and Future Work

  • Evaluation Scope: Experiments were restricted to a subset of the BEANS-ZERO benchmark; broader verification across diverse bioacoustic tasks is needed.
  • Merging Strategy: Only uniform linear interpolation of the LoRA weights was explored. Advanced merging methods (e.g., TIES-merging, task singular vectors via SVD, evolutionary search) or activation steering could yield higher Pareto frontiers.
  • Multi-Audio Limitations: The model struggles with multi-audio input prompts, highlighting that in-context learning for bioacoustic audio remains an open challenge.

Summary updated

BibTeX
@inproceedings{marincione2025model,
  author = {Davide Marincione and Donato Crisostomi and Roberto Dessi and Emanuele Rodolà and Emanuele Rossi},
  title = {{Model Merging Improves Zero-Shot Generalization in Bioacoustic Foundation Models}},
  booktitle = {AiForAnimalComms @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=8YmupGWwvl},
}
Figure