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 · Submission to ICLR 2024 · Rejected

TL;DR

ONE-PEACE is a 4-billion-parameter multimodal representation model that unifies vision, audio, and language within a single Transformer backbone. By combining shared self-attention layers with modality-specific feed-forward networks (FFNs) and adapters, it achieves state-of-the-art results across unimodal and cross-modal benchmarks from scratch—without relying on pre-trained vision or text foundation models. Crucially, it displays powerful emergent cross-modal retrieval, seamlessly aligning modalities (such as audio and image) that were never paired during pretraining.

What Problem Does This Paper Address?

Most modern multimodal models focus narrowly on paired modalities (like vision-language in CLIP or audio-language in CLAP), or they rely on completely isolated encoders for each modality (like ImageBind), which hinders fine-grained multi-modal fusion in tasks such as visual grounding. Moreover, scaling unified architectures to support new modalities typically triggers catastrophic forgetting or degrades performance on existing modalities. ONE-PEACE introduces an extensible architecture and training strategy that allows progressive addition of new modalities without retraining or harming existing representations.

Methods

ONE-PEACE decouples feature processing into dedicated modules and a shared fusion backbone:

  • Modality Adapters: Convert raw sensory inputs into unified token embeddings. It uses an hMLP for images, a lightweight convolutional feature extractor (initialized from WavLM) with convolutional relative position encoding for raw audio, and Byte-Pair Encoding (BPE) with absolute positional embeddings for text.
  • Modality Fusion Encoder: A 40-layer Transformer where the self-attention layers are shared across all modalities (facilitating cross-modal interaction), but the Feed-Forward Networks (FFNs) are separate for each modality (preserving modality-specific patterns). It incorporates Sub-LayerNorm, GeGLU activations, LayerScale, and 1D/2D relative position biases for stabilization.
  • Dual Modality-Agnostic Pretraining Tasks:
    1. Cross-Modal Contrastive Learning ($\mathcal{L}_{CL}$): InfoNCE loss on global representations using text as an anchor to align semantic spaces (image–text and audio–text).
  • Intra-Modal Denoising Contrastive Learning ($\mathcal{L}_{DCL}$): Randomly masks inputs (e.g., 75% image patches, ~55% audio time steps, 15% text tokens) and trains a lightweight 2-layer decoder to predict masked representations, optimizing a contrastive loss against unmasked target features extracted with a stop-gradient.
  • Progressive Scaling Pipeline: The model is first trained on image–text data. When adding audio, vision, language, and shared self-attention parameters are frozen; only audio-specific parameters (Audio Adapter and Audio FFN) are trained on audio–text pairs.

Datasets

  • Pretraining Data:
    • Vision-Language: ~1.5 billion filtered image–text pairs from LAION-2B.
  • Audio-Language: ~2.4 million audio–text pairs (~8,000 hours) drawn from open-source environmental sound datasets including AudioSet, FreeSound, Epidemic Sound, AudioCaps, Clotho, SoundDescs, MACS, AudioStock, and WavText5K (using T5 to rewrite raw tags into captions where needed).
  • Downstream Evaluation:
    • Vision: ImageNet-1K / ImageNet-21k, ADE20k, COCO-stuff, MSCOCO, Kinetics-400.
  • Audio & Audio-Language: AudioCaps, Clotho, ESC-50, FSD50K, VGGSound, AVQA.
  • Vision-Language: MSCOCO, Flickr30K, RefCOCO / RefCOCO+ / RefCOCOg, VQAv2, NLVR2.

Key Insights and Ideas

  • Share Attention, Separate FFNs: Ablations demonstrate that sharing self-attention is essential for cross-modal interaction, while isolating FFNs prevents modality conflict and dramatically speeds up convergence.
  • Denoising Contrast Beats Reconstruction: Rather than using $L_1$, $L_2$, or cosine regression to reconstruct masked tokens, contrastive denoising ($\mathcal{L}_{DCL}$) yields substantially larger gains in both zero-shot retrieval and downstream fine-tuning.
  • Language as the Universal Anchor: By aligning vision-to-language and subsequently audio-to-language, ONE-PEACE exhibits emergent zero-shot cross-retrieval. The model successfully retrieves images using audio queries (e.g., audio of a car horn retrieving street scenes) or compositional queries (e.g., audio of birds chirping + text "snow" retrieving birds in winter) despite never having seen audio-image pairs.

Key Results

  • Vision Benchmarks: Reaches 89.8% top-1 accuracy on ImageNet-1K, achieves a new state-of-the-art 63.0 mIoU on ADE20k semantic segmentation, and reaches 88.1% top-1 accuracy on Kinetics-400 video recognition with frozen backbone weights.
  • Audio Benchmarks: Outperforms prior audio models by substantial margins on audio-text retrieval (AudioCaps Text$\to$Audio R@1 of 42.5% vs. prior SOTA of 36.1%; Clotho Text$\to$Audio R@1 of 22.4% vs. 18.2%), and attains 91.8% zero-shot accuracy on ESC-50.
  • Vision-Language Grounding: Sets new SOTAs across RefCOCO (92.58 val), RefCOCO+ (88.77 val), and RefCOCOg (89.22 val) without requiring visual grounding task pretraining.

Limitations and Future Work

  • Heterogeneous Modalities: The authors have validated the architecture on vision, audio, and language, but have not yet demonstrated scaling to more disparate sensor streams (e.g., IMU data, tactile sensors).
  • Pure Text / VQA Performance: While competitive on VQA (82.6 test-dev) and NLVR2 (88.3 test-P), ONE-PEACE trails BEiT-3, likely because BEiT-3 includes unimodal text corpora and task-specific in-domain pretraining.
  • LLM Integration: Future iterations aim to pair ONE-PEACE’s early-fusion multimodal encoder directly with Large Language Models (LLMs) to serve as a unified multimodal perception front-end.

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},
}

Loading related content...

Figure