Sample-efficient Integration of New Modalities into Large Language Models

Osman Batur İnce, André F. T. Martins, Oisin Mac Aodha, Edoardo M. Ponti
9/4/2025
cs.CLcs.AIcs.CV

No official code found. Best implementation: ospanbatyr/sample-efficient-multimodality (18 stars, BSD-3-Clause, last commit 2025-09-08).

Abstract

Multimodal foundation models can process several modalities. However, since the space of possible modalities is large and evolving over time, training a model from scratch to encompass all modalities is unfeasible. Moreover, integrating a modality into a pre-existing foundation model currently requires a significant amount of paired data, which is often not available for low-resource modalities. In this paper, we introduce a method for sample-efficient modality integration (SEMI) into Large Language Models (LLMs). To this end, we devise a hypernetwork that can adapt a shared projector -- placed between modality-specific encoders and an LLM -- to any modality. The hypernetwork, trained on high-resource modalities (i.e., text, speech, audio, video), is conditioned on a few samples from any arbitrary modality at inference time to generate a suitable adapter. To increase the diversity of training modalities, we artificially multiply the number of encoders through isometric transformations. We find that SEMI achieves a significant boost in sample efficiency during few-shot integration of new modalities (i.e., satellite images, astronomical images, inertial measurements, and molecules) with encoders of arbitrary embedding dimensionality. For instance, to reach the same accuracy as 32-shot SEMI, training the projector from scratch needs 64$\times$ more data. As a result, SEMI holds promise to extend the modality coverage of foundation models.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Code for the "Sample-efficient Integration of New Modalities into Large Language Models" paper

182Shell, PythonJun 14, 20251 years agoBSD-3-Clause
cross-modal-learningdata-efficiencyfoundation-modelshypernetworksmultimodal-learning+1 more

Similar Papers

Cite this paper

@article{ince2025sampleefficient,
  title  = {Sample-efficient Integration of New Modalities into Large Language Models},
  author = {Osman Batur İnce and André F. T. Martins and Oisin Mac Aodha and Edoardo M. Ponti},
  year   = {2025},
  eprint = {2509.04606},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.04606v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.04606.svg)](https://codeofpaper.com/paper/2509.04606)

Discussion