ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalities

Peng Wang, Shijie Wang, Junyang Lin, Shuai Bai, Xiaohuan Zhou, Jingren Zhou, Xinggang Wang, Chang Zhou

Abstract

In this work, we explore a scalable way for building a general representation model toward unlimited modalities. We release ONE-PEACE, a highly extensible model with 4 billion parameters that can seamlessly align and integrate representations across vision, audio, and language modalities. The architecture of ONE-PEACE comprises modality adapters, shared self-attention layers, and modality-specific Feed-Forward Networks (FFNs). This design allows for the easy extension of new modalities by adding adapters and FFNs, while also enabling multi-modal fusion through self-attention layers. Without using any vision or language pretrained model for initialization, ONE-PEACE achieves leading results on a wide range of uni-modal and multi-modal tasks, including image classification, semantic segmentation, and audio-text retrieval.

Introduction: Moving Beyond Specialist Models

In the current AI landscape, most representation models are specialists. We have "vision-language" models (like CLIP) or "audio-language" models, but rarely one model that handles everything seamlessly. The authors identify three major hurdles in building a truly "universal" model:

  1. Architectural Rigidity: Most models use modality-specific structures that are hard to extend to new types of data (like 3D or sensors).
  2. Alignment Challenges: It is difficult to extract fine-grained details within a modality while simultaneously aligning that modality with others.
  3. Dependency on Teachers: Many multimodal models rely on "teacher" models (like a pretrained CLIP) to discretize data, which creates a bottleneck and limits scalability to modalities where such teachers don't exist.

ONE-PEACE aims to be a "generalist" that is highly extensible, trained from scratch, and capable of scaling to "unlimited" modalities.

Methods

1. The "Sharing-Separated" Architecture

The model consists of two primary parts designed for both flexibility and alignment:

  • Modality Adapters: Lightweight components (like a simple MLP for images or a convolutional extractor for audio) that convert raw signals into a unified feature sequence.
  • Modality Fusion Encoder: A massive Transformer-based backbone. Crucially, while the Self-Attention layers are shared across all modalities to enable cross-modal interaction, the Feed-Forward Networks (FFNs) are modality-specific. This allows the model to align different modalities in the attention space while preserving the unique characteristics of each modality in the FFNs.
The architecture of ONE-PEACE, featuring modality-specific adapters and FFNs with shared self-attention layers.

2. Modality-Agnostic Pretraining Tasks

Instead of standard masked language modeling or simple reconstruction, ONE-PEACE uses two novel tasks:

  • Cross-modal Aligning Contrast (CL): This aligns the "big picture" semantic space between pairs (e.g., making sure the representation of a picture of a dog is close to the word "dog").
  • Intra-modal Denoising Contrast (DCL): This is the "secret sauce." The model masks parts of the input (like patches of an image or tokens of text) and tries to reconstruct them. However, instead of just predicting pixels or words, it uses a contrastive loss to ensure the reconstructed feature is similar to the original unmasked feature while being distinct from other "negative" samples.
The pretraining framework of ONE-PEACE, illustrating cross-modal aligning contrast and intra-modal denoising contrast.

Key Insights and Ideas

  • Language as the Anchor: ONE-PEACE never sees an image-audio pair during training. However, because both vision and audio are aligned with language, the model "emergently" learns to align vision and audio. It can perform audio-to-image retrieval (e.g., hearing a "bird chirping" and finding a photo of a bird) without ever being explicitly taught to do so.
  • The Power of Separation: Ablation studies reveal that sharing everything (attention and FFNs) actually hurts performance. Separating the FFNs allows the model to capture modality-specific "fine-grained details" that would otherwise be lost in a fully shared architecture.
  • Denoising > Reconstruction: Using contrastive loss for denoising (DCL) proved significantly more effective than standard L1/L2 reconstruction losses. It forces the model to learn unique semantic meanings for every "unit" of data, leading to better transferability to downstream tasks.

Key Results

Despite being trained from scratch, ONE-PEACE achieved leading results across various benchmarks:

  • Vision: 89.8% top-1 accuracy on ImageNet-1k and 63.0 mIoU on ADE20K (semantic segmentation).
  • Audio: 91.8% zero-shot accuracy on ESC-50, outperforming specialized audio models.
  • Multimodal: SOTA results on AudioCaps and Clotho for audio-text retrieval, and highly competitive results on MSCOCO (84.1% I2T R@1) and RefCOCO (visual grounding).

Limitations and Future Work

While 6.4 billion pairs sounds like a lot, some competitors use significantly more data. The authors note that ONE-PEACE's zero-shot performance is slightly lower than models like CoCa, likely due to this data gap. Future work includes incorporating massive amounts of unpaired, raw text or images to further boost the model's "common sense" and reasoning. The team also plans to extend the model to video, 3D point clouds, and integrate it with Large Language Models (LLMs) to create a more interactive, multimodal assistant.

Summary updated

BibTeX
@misc{wang2023one,
  author = {Peng Wang and Shijie Wang and Junyang Lin and Shuai Bai and Xiaohuan Zhou and Jingren Zhou and Xinggang Wang and Chang Zhou},
  title = {{ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalities}},
  year = {2023},
  eprint = {2305.11172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.11172},
}
Figure