Abstract
MLLM-DataEngine is a closed-loop system designed to iteratively improve Multimodal Large Language Models (MLLMs). By identifying specific model weaknesses through evaluation and generating targeted, high-quality training data to address them, the engine bridges the gap between evaluation and data generation. This approach achieves significant performance gains with minimal human intervention compared to traditional manual annotation methods.
Introduction
The development of Multimodal Large Language Models (MLLMs) typically follows a linear, open-loop path: large-scale data collection, model training, and benchmark evaluation. A significant limitation of this approach is the isolation of training from evaluation. When benchmarks reveal specific weaknesses—such as poor spatial reasoning or difficulty identifying small objects—there is no automated mechanism to feed these insights back into the data collection process. Consequently, improving the model often necessitates expensive and slow manual data curation. MLLM-DataEngine addresses this by transforming the training process into a "closed-loop" where the model's own failures guide the generation of subsequent training sets.
The MLLM-DataEngine Framework
The proposed MLLM-DataEngine operates through iterative loops consisting of four primary stages:
- Model Evaluation: The current MLLM is evaluated on benchmarks like MMBench and A-OKVQA to identify "bad cases"—instances where the model's predictions are incorrect.
- Adaptive Bad-case Sampling (ABS): Instead of random sampling, the system utilizes a "bad case pool" to select query images and in-context examples. If the model exhibits weakness in a specific category (e.g., "Action Recognition"), the ABS module increases the sampling probability for related images in the next data generation round.
- Data Generation (Interactive Prompt Optimization - IPO): GPT-4 generates new, high-quality QA pairs. To mitigate "hallucinations" and errors in spatial reasoning, the authors introduce IPO, a multi-round collaborative process between humans and GPT-4 to refine generation prompts.
- Model Training: The model is fine-tuned on the newly generated incremental dataset (GPTVQA) and then returns to the evaluation stage for the next iteration.
Key Components: ABS and IPO
The effectiveness of MLLM-DataEngine hinges on two core modules. Adaptive Bad-case Sampling (ABS) ensures that the generated data is targeted toward the model's current deficiencies, creating a natural curriculum that increases in difficulty as the model improves.
Interactive Prompt Optimization (IPO) addresses the "multimodal illusion"—the tendency of even powerful models like GPT-4 to struggle with generating accurate multimodal data from text descriptions alone (e.g., misinterpreting 2D bounding boxes in 3D scenes). Through iterative refinement, IPO significantly reduces errors in the generated data; in experimental trials, it reduced the number of "bad" generated QA pairs from 77 to just 5 in a test batch.
Experimental Results
The system was validated using a Vicuna-7B base model across several benchmarks, including MMBenchmark, A-OKVQA, and MME. Images were sourced from the COCO dataset, leveraging existing captions and object tags as metadata for GPT-4.
The results demonstrate that targeted data is superior to simply increasing data volume. MLLM-DataEngine outperformed models trained on the much larger LLaVA-150K dataset while using significantly less generated data. On MMBenchmark, the Vicuna-7B model improved its score from a baseline of 23.0 to 50.2 after two rounds of iterative refinement.
As shown in Figure 4, the iterative loop provided measurable boosts across nearly all 20+ evaluated ability dimensions, with particularly notable gains in complex reasoning tasks.
Conclusion
MLLM-DataEngine presents a scalable and efficient method for self-guided MLLM evolution. By closing the loop between evaluation and training, it allows models to systematically overcome their weaknesses. While currently reliant on GPT-4 and requiring initial human interaction for prompt optimization, the engine represents a significant step toward automated, high-quality multimodal data generation and model refinement. Future work will explore expanding the image pool beyond COCO to further enhance model robustness in diverse, real-world scenarios.
Summary updated