Papers › mPLUG-2: A Modularized Multi-modal Foundation Model Across Text, Image and Video

mPLUG-2: A Modularized Multi-modal Foundation Model Across Text, Image and Video

1 Feb 2023arXiv:2302.00402archive 2025-07-28

Haiyang Xu, Qinghao Ye, Ming Yan, Yaya Shi, Jiabo Ye, Yuanhong Xu, Chenliang Li, Bin Bi, Qi Qian, Wei Wang, Guohai Xu, Ji Zhang, Songfang Huang, Fei Huang, Jingren Zhou

Recent years have witnessed a big convergence of language, vision, and multi-modal pretraining. In this work, we present mPLUG-2, a new unified paradigm with modularized design for multi-modal pretraining, which can benefit from modality collaboration while addressing the problem of modality entanglement. In contrast to predominant paradigms of solely relying on sequence-to-sequence generation or encoder-based instance discrimination, mPLUG-2 introduces a multi-module composition network by sharing common universal modules for modality collaboration and disentangling different modality modules to deal with modality entanglement. It is flexible to select different modules for different understanding and generation tasks across all modalities including text, image, and video. Empirical study shows that mPLUG-2 achieves state-of-the-art or competitive results on a broad range of over 30 downstream tasks, spanning multi-modal tasks of image-text and video-text understanding and generation, and uni-modal tasks of text-only, image-only, and video-only understanding. Notably, mPLUG-2 shows new state-of-the-art results of 48.0 top-1 accuracy and 80.3 CIDEr on the challenging MSRVTT video QA and video caption tasks with a far smaller model size and data scale. It also demonstrates strong zero-shot transferability on vision-language and video-language tasks. Code and models will be released in https://github.com/alibaba/AliceMind.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2302.00402")

Code

Syntology Ran 9 of 19 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 3 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: community (archive-listed): 19 samples from 2 repositories, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

alibaba/AliceMind officialmentioned in paperpytorch report
X-PLUG/mPLUG-2 mentioned on GitHubpytorchApache-2.0 report
x-plug/mplug-owl mentioned on GitHubpytorchMIT report
modelscope/modelscope pytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 9 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · our draft was wrong
3ran · fixture could not drive it
1ran
10unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

whitespace_tokenize X-PLUG/mPLUG-2/models/tokenization_bert.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · cf9ffa02a42184af · report
compute_acc X-PLUG/mPLUG-2/utils.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · aa81d03f07735ab8 · report
compute_n_params X-PLUG/mPLUG-2/utils.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · ad12a494674d23fb · report
drop_path X-PLUG/mPLUG-2/models/clip_video.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 3ac6b7d76e8e3584 · report
get_ltor_masks_and_position_ids_from_embeddings x-plug/mplug-owl/mPLUG-Owl/mplug_owl/modeling_mplug_owl.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 45567e61fe09093a · report
get_media_indices x-plug/mplug-owl/mPLUG-Owl/mplug_owl/modeling_mplug_owl.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 265f4d55ccd60d18 · report
interpolate_pos_embed X-PLUG/mPLUG-2/models/vit.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · c6ec173f19f5c34d · report
load_vocab X-PLUG/mPLUG-2/models/tokenization_bert.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · e7fbc7a74a3457c7 · report
tile X-PLUG/mPLUG-2/models/model_video_caption_mplug.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · aa5a91226269bf75 · report
build_predictor X-PLUG/mPLUG-2/models/predictor.py community (archive-listed) unverified Apache-2.0 (permissive) · e496506b4b6756a4 · report
clamp_inf X-PLUG/mPLUG-2/models/modeling_mplug2.py community (archive-listed) unverified Apache-2.0 (permissive) · 21aff36aa456493f · report
decode_int32 X-PLUG/mPLUG-2/dataset/caption_dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 96590457ad0c455c · report
initialize_clip X-PLUG/mPLUG-2/models/visual_transformers.py community (archive-listed) unverified Apache-2.0 (permissive) · 3295906672ecb8a4 · report
initialize_clip_video X-PLUG/mPLUG-2/models/visual_transformers.py community (archive-listed) unverified Apache-2.0 (permissive) · 53b733b2695e4c7f · report
load_tf_weights_in_bert X-PLUG/mPLUG-2/models/modeling_mplug2.py community (archive-listed) unverified Apache-2.0 (permissive) · 26be70dca3249c0b · report
resize_pos_embed X-PLUG/mPLUG-2/models/visual_transformers.py community (archive-listed) unverified Apache-2.0 (permissive) · 01b33ff330828e1e · report
test_collect_fn X-PLUG/mPLUG-2/video_caption_mplug2.py community (archive-listed) unverified Apache-2.0 (permissive) · cfb25231bfbf746c · report
tile X-PLUG/mPLUG-2/models/predictor.py community (archive-listed) unverified Apache-2.0 (permissive) · 69b8b31e44791260 · report
top_k_top_p_filtering X-PLUG/mPLUG-2/models/predictor.py community (archive-listed) unverified Apache-2.0 (permissive) · 63e2cc5fb0616ee9 · report

Tasks

Action ClassificationImage ClassificationImage RetrievalTGIF-FrameVideo CaptioningVideo Question AnsweringVideo RetrievalVisual GroundingVisual Question AnsweringVisual Question Answering (VQA)Zero-Shot Video Retrieval

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Action Classification Kinetics-400 mPLUG-2 Acc@1 87.1 #41 of 207 Archive leaderboard report
Action Classification Kinetics-400 mPLUG-2 Acc@5 97.7 #41 of 207 Archive leaderboard report
Action Classification Kinetics-600 mPLUG-2 Top-1 Accuracy 89.8 #12 of 65 Archive leaderboard report
Action Classification Kinetics-600 mPLUG-2 Top-5 Accuracy 98.3 #12 of 65 Archive leaderboard report
Action Classification Kinetics-700 mPLUG-2 Top-1 Accuracy 80.4 #13 of 36 Archive leaderboard report
Action Classification Kinetics-700 mPLUG-2 Top-5 Accuracy 94.9 #13 of 36 Archive leaderboard report
Video Captioning MSR-VTT mPLUG-2 BLEU-4 57.8 #1 of 24 Archive leaderboard report
Video Captioning MSR-VTT mPLUG-2 CIDEr 80.0 #1 of 24 Archive leaderboard report
Video Captioning MSR-VTT mPLUG-2 METEOR 34.9 #1 of 24 Archive leaderboard report
Video Captioning MSR-VTT mPLUG-2 ROUGE-L 70.1 #1 of 24 Archive leaderboard report
Video Captioning MSVD mPLUG-2 BLEU-4 70.5 #5 of 16 Archive leaderboard report
Video Captioning MSVD mPLUG-2 CIDEr 165.8 #5 of 16 Archive leaderboard report
Video Captioning MSVD mPLUG-2 METEOR 48.4 #5 of 16 Archive leaderboard report
Video Captioning MSVD mPLUG-2 ROUGE-L 85.3 #5 of 16 Archive leaderboard report
Video Question Answering MSRVTT-QA mPLUG-2 Accuracy 48.0 #6 of 14 Archive leaderboard report
Video Retrieval DiDeMo mPLUG-2 text-to-video R@1 56.4 #15 of 40 Archive leaderboard report
Video Retrieval DiDeMo mPLUG-2 text-to-video R@10 85.2 #15 of 40 Archive leaderboard report
Video Retrieval DiDeMo mPLUG-2 text-to-video R@5 79.1 #15 of 40 Archive leaderboard report
Video Retrieval LSMDC mPLUG-2 text-to-video R@1 34.4 #6 of 38 Archive leaderboard report
Video Retrieval LSMDC mPLUG-2 text-to-video R@10 65.1 #6 of 38 Archive leaderboard report
Video Retrieval LSMDC mPLUG-2 text-to-video R@5 55.2 #6 of 38 Archive leaderboard report
Video Retrieval MSR-VTT-1kA mPLUG-2 text-to-video R@1 53.1 #12 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA mPLUG-2 text-to-video R@10 84.7 #12 of 63 Archive leaderboard report
Video Retrieval MSR-VTT-1kA mPLUG-2 text-to-video R@5 77.6 #12 of 63 Archive leaderboard report
Visual Grounding RefCOCO+ test B mPLUG-2 Accuracy (%) 86.05 #2 of 6 Archive leaderboard report
Visual Grounding RefCOCO+ testA mPLUG-2 Accuracy (%) 92.8 #2 of 7 Archive leaderboard report
Visual Grounding RefCOCO+ val mPLUG-2 Accuracy (%) 90.33 #2 of 6 Archive leaderboard report
Visual Question Answering VQA v2 test-dev mPLUG-2 Accuracy 81.11 #6 of 11 Archive leaderboard report
Visual Question Answering (VQA) MSRVTT-QA mPLUG-2 Accuracy 0.480 #3 of 34 Archive leaderboard report
Visual Question Answering (VQA) MSVD-QA mPLUG-2 Accuracy 0.581 #7 of 36 Archive leaderboard report
Zero-Shot Video Retrieval DiDeMo mPLUG-2 text-to-video R@1 45.7 #7 of 26 Archive leaderboard report
Zero-Shot Video Retrieval DiDeMo mPLUG-2 text-to-video R@10 79.2 #7 of 26 Archive leaderboard report
Zero-Shot Video Retrieval DiDeMo mPLUG-2 text-to-video R@5 71.1 #7 of 26 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC mPLUG-2 text-to-video R@1 24.1 #5 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC mPLUG-2 text-to-video R@10 52.0 #5 of 16 Archive leaderboard report
Zero-Shot Video Retrieval LSMDC mPLUG-2 text-to-video R@5 43.8 #5 of 16 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT mPLUG-2 text-to-video R@1 47.1 #7 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT mPLUG-2 text-to-video R@10 79.0 #7 of 41 Archive leaderboard report
Zero-Shot Video Retrieval MSR-VTT mPLUG-2 text-to-video R@5 69.7 #7 of 41 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections