Manuscript Offprint

arXiv:2610.19932

Instruction Mining From Images: Constructing a Synthetic Dataset for Multimodal Learning ILSP DCVLR Competition Submission

Eleni E. Kasoura, Dimitrios Damianos, Georgios Paraskevopoulos, Vassilios Katsouros

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

This work presents a compact and reproducible pipeline for synthesizing and curating image-based instruction-response pairs for DCVLR. We draw from the Cauldron collection and use Magpie-style instruction and response synthesis with Qwen2.5-VL-7B-Instruct to create concise, image-conditioned instruction pairs. The pipeline consists of instruction synthesis, conditioned on input images and controlled via a system prompt, sanitization, tagging, and filtering of the instructions based on the score obtained by a reward model (DeBERTa-v3). We retain samples with positive scores to maximize the quality of the generated instructions. We observe that score distributions have a median and mean reward score of ∼1.53\sim 1.53 and ∼1.75\sim 1.75 respectively, indicating that most generated instructions are of good quality. The resulting dataset contains diverse instructions in the math, spatial, and social reasoning domains.

1 Introduction

Multimodal systems increasingly rely on image-grounded instruction–response data to elicit robust visual reasoning. However, existing resources often prioritize scale over coverage, cleanliness, and reproducibility, which are equally critical for the DCVLR competition. We ask: Can we build a compact, high-quality, and fully traceable image–instruction corpus that reliably triggers visual reasoning without sacrificing efficiency?

Here, we present a single-pass, compute-efficient pipeline that synthesizes concise, vision-aware instructions and high-fidelity responses with explicit traceability and tunable quality control.

Our approach adapts recent synthesis pipelines (i.e., Magpie Xu et al.) to vision–language models (VLMs). Starting from the Cauldron collection Laurençon et al. [2024], we condition the Magpie synthesis pipeline on the images to generate instructions and corresponding answers using Qwen2.5-VL-7B-Instruct Bai et al. [2025] under input formatting and san-

∗^{*}Use footnote for providing further information...

Preprint. Under review.

itization. The instructions are then tagged, and scored using a reward model to keep only instructions with high reward scores, as a quality control step.

Concretely, the pipeline proceeds through five stages: (1) loading and optional subsampling; (2) instruction synthesis; (3) response generation with vision-aware decoding; (4) instruction sanitization; and (5) reward-model scoring. For multi-image conditioning, we introduce a Magpie-inspired formatting strategy that packs vision tokens to yield concise, grounded interactions without bloated context.

Contributions.

• Magpie-style pipeline: We use a system prompt and an image-only pre-query; the model first synthesizes the user instruction from the image, then generates the paired assistant response—yielding grounded instruction-response pairs.

• Vision-aware formatting for multi-image inputs. A Magpie-inspired scheme for conditioning on multiple images (via vision tokens) that preserves grounding while keeping interactions concise.

• Automated, tunable quality control. A reward-model scoring stage with a tunable threshold t. Stricter thresholds lead to higher rejection rates, but increase the final instruction quality

References (12)

  • Qwen2.5-VL Technical Report
  • Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback
  • Instructblip: Towards general-purpose vision-language models with instruction tuning
  • Alpacafarm: A simulation framework for methods that learn from human feedback
  • Debertav3: Improving deberta using electra-style pre-training with gradient-disentangled embedding sharing
  • What matters when building vision-language models? Advances in Neural Information Processing Systems, 37:87874–87907, 2024
  • Visual instruction tuning
  • Advances in neural information processing systems, 35:27730–27744, 2022
  • Self-instruct: Aligning language models with self-generated instructions
  • Wizardlm: Empowering large pre-trained language models to follow complex instructions
  • Magpie: Alignment data synthesis from scratch by prompting aligned llms with nothing
  • Minigpt-4: Enhancing vision-language understanding with advanced large language models