Papers › MM-IFEngine: Towards Multimodal Instruction Following

MM-IFEngine: Towards Multimodal Instruction Following

10 Apr 2025arXiv:2504.07957archive 2025-07-28

Shengyuan Ding, Shenxi Wu, Xiangyu Zhao, Yuhang Zang, Haodong Duan, Xiaoyi Dong, Pan Zhang, Yuhang Cao, Dahua Lin, Jiaqi Wang

The Instruction Following (IF) ability measures how well Multi-modal Large Language Models (MLLMs) understand exactly what users are telling them and whether they are doing it right. Existing multimodal instruction following training data is scarce, the benchmarks are simple with atomic instructions, and the evaluation strategies are imprecise for tasks demanding exact output constraints. To address this, we present MM-IFEngine, an effective pipeline to generate high-quality image-instruction pairs. Our MM-IFEngine pipeline yields large-scale, diverse, and high-quality training data MM-IFInstruct-23k, which is suitable for Supervised Fine-Tuning (SFT) and extended as MM-IFDPO-23k for Direct Preference Optimization (DPO). We further introduce MM-IFEval, a challenging and diverse multi-modal instruction-following benchmark that includes (1) both compose-level constraints for output responses and perception-level constraints tied to the input images, and (2) a comprehensive evaluation pipeline incorporating both rule-based assessment and judge model. We conduct SFT and DPO experiments and demonstrate that fine-tuning MLLMs on MM-IFInstruct-23k and MM-IFDPO-23k achieves notable gains on various IF benchmarks, such as MM-IFEval (+10.2%), MIA (+7.6%), and IFEval (+12.3%). The full data and evaluation code will be released on https://github.com/SYuan03/MM-IFEngine.

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="2504.07957")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

syuan03/mm-ifengine officialmentioned in papermentioned on GitHubpytorchApache-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

10 samples harvested; 0 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.

10unverified

Licence: 0 of the 10 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 SYuan03/MM-IFEngine. “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.

blend SYuan03/MM-IFEngine/data_gen/data_filter/gene_modified_multi.py official repository unverified Apache-2.0 (permissive) · 84c7395a12c7e1c6 · report
check_whether_each_paragraph_sentence_number_in_range SYuan03/MM-IFEngine/data_gen/utils/function_and_compare.py official repository unverified Apache-2.0 (permissive) · ac88bbff6adddd64 · report
check_whether_response_paragraph_number_in_range SYuan03/MM-IFEngine/data_gen/utils/function_and_compare.py official repository unverified Apache-2.0 (permissive) · 251e207ef99662b8 · report
check_whether_response_sentence_number_in_range SYuan03/MM-IFEngine/data_gen/utils/function_and_compare.py official repository unverified Apache-2.0 (permissive) · df99d5fd8c7abf1f · report
generate_cmp_pt SYuan03/MM-IFEngine/eval_mmifeval/score_multi_constraint_mp_with_image_v11.py official repository unverified Apache-2.0 (permissive) · 2f44e0bdacb86a19 · report
generate_eval_pt SYuan03/MM-IFEngine/eval_mmifeval/score_multi_constraint_mp_with_image_v11.py official repository unverified Apache-2.0 (permissive) · bfc1d1359defdfd7 · report
generate_eval_pt_vision SYuan03/MM-IFEngine/eval_mmifeval/score_multi_constraint_mp_with_image_v11.py official repository unverified Apache-2.0 (permissive) · 835e1fc79e60473f · report
get_logger SYuan03/MM-IFEngine/data_gen/utils/log.py official repository unverified Apache-2.0 (permissive) · 7886dadebf6b2bb6 · report
get_real_image_key SYuan03/MM-IFEngine/data_gen/utils/tools.py official repository unverified Apache-2.0 (permissive) · ffcf3b57894527a4 · report
infer_one_image SYuan03/MM-IFEngine/data_gen/data_filter/gene_modified_multi.py official repository unverified Apache-2.0 (permissive) · b60d3d0a9aefac4a · report

Tasks

Instruction Following

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DPOSFT

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