Skip to main content
QUICK REVIEW

[Paper Review] OneLLM: One Framework to Align All Modalities with Language

Jiaming Han, Kaixiong Gong|arXiv (Cornell University)|Dec 6, 2023
Multimodal Machine Learning ApplicationsComputer Science4 citations
TL;DR

OneLLM introduces a unified framework to align eight diverse modalities—image, video, audio, point cloud, depth/normal maps, IMU, and fMRI—with large language models using a single universal encoder and projection module. By leveraging a universal projection module with dynamic routing and modality tokens, it achieves state-of-the-art performance across 25 multimodal benchmarks with minimal parameter overhead, demonstrating the feasibility of a scalable, unified MLLM architecture.

ABSTRACT

Multimodal large language models (MLLMs) have gained significant attention due to their strong multimodal understanding capability. However, existing works rely heavily on modality-specific encoders, which usually differ in architecture and are limited to common modalities. In this paper, we present OneLLM, an MLLM that aligns eight modalities to language using a unified framework. We achieve this through a unified multimodal encoder and a progressive multimodal alignment pipeline. In detail, we first train an image projection module to connect a vision encoder with LLM. Then, we build a universal projection module (UPM) by mixing multiple image projection modules and dynamic routing. Finally, we progressively align more modalities to LLM with the UPM. To fully leverage the potential of OneLLM in following instructions, we also curated a comprehensive multimodal instruction dataset, including 2M items from image, audio, video, point cloud, depth/normal map, IMU and fMRI brain activity. OneLLM is evaluated on 25 diverse benchmarks, encompassing tasks such as multimodal captioning, question answering and reasoning, where it delivers excellent performance. Code, data, model and online demo are available at https://github.com/csuhan/OneLLM

Motivation & Objective

  • To address the limitation of modality-specific encoders in existing multimodal LLMs, which restrict scalability and require separate architectures for each modality.
  • To explore whether a single, universal encoder and projection module can effectively align diverse modalities to a large language model.
  • To develop a scalable, unified framework that supports a broad range of modalities without architectural re-design for each.
  • To curate and leverage a comprehensive 2M-sample multimodal instruction dataset spanning eight modalities for effective instruction tuning.
  • To demonstrate that joint training across multiple modalities, including low-resource ones, improves performance through parameter sharing and knowledge transfer.

Proposed method

  • A lightweight modality tokenizer with a single convolutional layer converts each input modality into a sequence of tokens.
  • Learnable modality tokens are introduced to enable modality switching and normalize variable-length inputs to a fixed sequence length.
  • A universal encoder based on a frozen CLIP-ViT backbone serves as a shared representation learner across all modalities.
  • A universal projection module (UPM) is constructed by mixing multiple image projection experts and using a dynamic router to gate expert contributions, forming a soft mixture-of-experts.
  • The model is trained progressively: first pretraining a vision LLM, then extending to other modalities using the UPM and modality-specific tuning.
  • A large-scale, diverse instruction dataset of 2 million samples across eight modalities is curated for end-to-end instruction tuning.
Figure 1 : Comparisons of Different Multimodal LLMs. Vision LLM: one image encoder and projection module. Multimodal (MM) LLM: modality-specific encoder and projection module. OneLLM : a universal encoder, a universal projection module and modality tokens $\{\mathrm{modal}\}$ to switch between modal
Figure 1 : Comparisons of Different Multimodal LLMs. Vision LLM: one image encoder and projection module. Multimodal (MM) LLM: modality-specific encoder and projection module. OneLLM : a universal encoder, a universal projection module and modality tokens $\{\mathrm{modal}\}$ to switch between modal

Experimental results

Research questions

  • RQ1Can a single universal encoder effectively represent and align diverse, non-visual modalities such as audio, video, point clouds, IMU, and fMRI with a large language model?
  • RQ2Does a unified projection module with dynamic routing outperform modality-specific projection heads in terms of parameter efficiency and generalization?
  • RQ3Can joint training across multiple modalities, including low-data ones like fMRI and IMU, improve performance through knowledge transfer?
  • RQ4To what extent does a unified framework with shared components reduce architectural complexity while maintaining or improving performance across diverse benchmarks?
  • RQ5How does the proposed framework compare to existing MLLMs in terms of scalability, parameter efficiency, and modality coverage?

Key findings

  • OneLLM achieves state-of-the-art performance on 25 diverse multimodal benchmarks, including captioning, question answering, and reasoning tasks, across eight modalities.
  • The model achieves strong performance on low-resource modalities such as fMRI and IMU, demonstrating the benefit of parameter sharing and joint training.
  • The ablation study confirms that training all modalities jointly with the unified framework improves performance, especially for data-scarce modalities.
  • OneLLM uses only 0.6B parameters in the encoder and a single projection module, significantly fewer than prior models with modality-specific components.
  • The universal projection module with dynamic routing enables effective cross-modality adaptation, outperforming fixed or modality-specific projection heads.
  • The curated 2M-sample instruction dataset enables strong instruction-following capabilities across all eight modalities, with consistent performance across diverse tasks.
Figure 2 : The Architecture of OneLLM . OneLLM consists of modality tokenizers, a universal encoder, a universal projection module (UPM) and an LLM. The modality tokenizer is a 2D/1D convolution layer to transform the input signal into a sequence of tokens. For simplicity, we omit video, depth/norma
Figure 2 : The Architecture of OneLLM . OneLLM consists of modality tokenizers, a universal encoder, a universal projection module (UPM) and an LLM. The modality tokenizer is a 2D/1D convolution layer to transform the input signal into a sequence of tokens. For simplicity, we omit video, depth/norma

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.