TL;DR
The authors introduce MAGIC, a training-free, forward-only data selection method that slashes the data needed for visual instruction tuning of Large Vision-Language Models (LVLMs) down to just 20%. Despite using a fraction of the data, MAGIC matches or exceeds full-dataset training performance while reducing wall-clock compute time by nearly 74%.
What Problem Does This Paper Address?
Visual instruction tuning—training Large Vision-Language Models (LVLMs) to follow human instructions based on images—is incredibly effective but increasingly expensive. Modern datasets contain hundreds of thousands of image-text pairs. However, these massive corpora suffer from three major flaws:
- High redundancy: Many samples repeat the same patterns or concepts.
- Low visual dependency: A surprising number of questions can be answered using text-based world knowledge alone, meaning the image is essentially useless overhead.
- Imbalanced skill coverage: The datasets heavily favor dominant data modes, leaving niche reasoning behaviors underrepresented.
Existing data selection (or "coreset") methods try to solve this but fall short. Simple scoring metrics often over-select narrow, repetitive slices of data. More sophisticated methods require expensive backward passes (gradients), training auxiliary "selector" models, or performing heavy clustering in continuous activation spaces.
The authors propose MAGIC to bridge this gap: a lightweight, highly effective selection framework that requires no training and operates entirely during a single forward pass.
Methods
MAGIC characterizes the utility of each training sample using three complementary, intrinsic signals extracted directly from a pretrained VLM:
- Multimodal Gain (MG): Measures how much the presence of the image actually helps the model. It calculates the difference in token prediction error (cross-entropy loss) when the model is given the full multimodal input versus a text-only input.
- Bridging Relevance (BR): Evaluates visual grounding. It analyzes attention maps to see if the model's answer tokens sharply focus on specific, localized visual tokens rather than diffusing across the entire image.
- Skill-Neuron Signature (SN): Captures the type of computation a sample triggers. By tracking the top-activated neurons in the model's feed-forward networks (FFNs), MAGIC creates a discrete "fingerprint" or behavioral signature for each sample.
The Three-Stage Pipeline
Using these signals, MAGIC filters and selects data through a structured pipeline:
- Stage 1: Eligibility Filtering. Samples with low Multimodal Gain (where the image doesn't help) are filtered out.
- Stage 2: Quality Shortlisting. The remaining samples are ranked using a joint quality score combining normalized Multimodal Gain and Bridging Relevance.
- Stage 3: Behavior-Aware Grouping & Allocation. To ensure diversity, samples are partitioned into discrete "buckets" based on their Skill-Neuron Signatures. Budget is allocated across these buckets using a temperature-scaled quality mass, ensuring rare but computationally unique skills aren't drowned out by dominant data modes.
Datasets
The method was validated by selecting 20% coresets from two major visual instruction tuning datasets:
- LLaVA-665K: A massive, diverse multimodal instruction corpus.
- Vision-Flan-186K: A dataset containing 191 distinct vision-language tasks with expert-annotated instructions.
Models were evaluated across a comprehensive suite of benchmarks including MMBench, MME, POPE, VQAv2, GQA, VizWiz, TextVQA, ScienceQA, LLaVA-W Bench, and MM-Vet. To test out-of-distribution robustness, they also evaluated on unseen tasks like AI2D, ChartQA, DocVQA, InfoVQA, NaturalBench, RealWorldQA, and CMMMU.
Key Insights and Ideas
- Image Utility $\neq$ Text Difficulty: Traditional data pruning often looks at language perplexity or loss. MAGIC shows that for multimodal models, you must explicitly measure the interaction between modalities (how much the image reduces text uncertainty).
- Discrete Bucketing Beats Continuous Clustering: Instead of running expensive clustering algorithms (like K-Means) in high-dimensional continuous activation spaces, MAGIC leverages the fact that top-activated FFN neurons act as discrete keys for specific concepts. Grouping by these discrete neuron signatures is computationally trivial yet perfectly preserves latent skill coverage.
- Cross-Model Transferability: Coresets selected using a small, lightweight reference model (TinyLLaVA-2B) transfer remarkably well to larger target models (LLaVA-1.5-7B and -13B). This implies that MAGIC captures fundamental properties of multimodal data rather than just overfitting to a specific model's quirks.
Key Results
- Performance Match/Boost: Under a strict 20% data budget, MAGIC achieved 100.3% relative performance compared to full-data fine-tuning on LLaVA-665K, and 101.6% on Vision-Flan-186K.
- Massive Compute Savings: MAGIC delivered a 73.7% reduction in wall-clock run time for the end-to-end training pipeline.
- Superior Generalization: On unseen tasks, the MAGIC coreset significantly outperformed random sampling and other strong baselines, notably achieving a 114.5% relative performance boost on the college-level CMMMU benchmark compared to full training.
Limitations and Future Work
Despite its strengths, the authors note a couple of limitations:
- Reference Model Dependence: The quality of the coreset depends on the capabilities of the pretrained reference model used to extract the initial signals. If the reference model has blind spots, the data selection might inherit them.
- Forward Pass Overhead: MAGIC still requires a dataset-wide forward pass to compute the initial scores. While this is significantly cheaper than backward passes or training a separate proxy model, it remains a necessary upfront cost.
Future Directions: The authors suggest that MAGIC's diversity-aware bucketing strategy provides an excellent foundation for future work incorporating explicit fairness, safety, or de-biasing constraints directly into the data selection process.
Summary updated