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

Peng Wang, Shijie Wang, Junyang Lin, Shuai Bai, Xiaohuan Zhou +3 more
5/18/2023
cs.CVcs.CLcs.SD

Official code: OFA-Sys/ONE-PEACE (1,062 stars, Apache-2.0, last commit 2024-10-06).

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 4B 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 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. To pretrain ONE-PEACE, we develop two modality-agnostic pretraining tasks, cross-modal aligning contrast and intra-modal denoising contrast, which align the semantic space of different modalities and capture fine-grained details within modalities concurrently. With the scaling-friendly architecture and pretraining tasks, ONE-PEACE has the potential to expand to unlimited modalities. 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 (ImageNet), semantic segmentation (ADE20K), audio-text retrieval (AudioCaps, Clotho), audio classification (ESC-50, FSD50K, VGGSound), audio question answering (AVQA), image-text retrieval (MSCOCO, Flickr30K), and visual grounding (RefCOCO/+/g). Code is available at https://github.com/OFA-Sys/ONE-PEACE.

View on arXivView PDF

Code Implementations(1)

OFA-Sys/ONE-PEACEOfficial100%
Apache-2.0

A general representation model across vision, audio, language modalities. Paper: ONE-PEACE: Exploring One General Representation Model Toward Unlimited Modalities

1,06271C, C++May 18, 20232 years agoApache-2.0
audio-languagecontrastive-lossfoundation-modelsmultimodalrepresentation-learning+3 more

Similar Papers

Cite this paper

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

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/2305.11172.svg)](https://codeofpaper.com/paper/2305.11172)

Discussion