Trust the Model: Compact VLMs as In-Context Judges for Image-Text Data Quality

Daulet Toibazar, Kesen Wang, Sherif Mohamed, Abdulaziz Al-Badawi, Abdulrahman Alfulayt +1 more
7/27/2025
cs.CVcs.AI

Official code: daulettoibazar/Compact_VLM_Filter (2 stars, last commit 2026-02-17).

Abstract

Vision-language models (VLMs) extend the conventional large language models by integrating visual data, enabling richer multimodal reasoning and significantly broadens the practical applications of AI. However, including visual inputs also brings new challenges in maintaining data quality. Empirical evidence consistently shows that carefully curated and representative training examples often yield superior results compared to simply increasing the quantity of data. Inspired by this observation, we introduce a streamlined data filtration framework that employs a compact VLM, fine-tuned on a high-quality image-caption annotated dataset. This model effectively evaluates and filters potential training samples based on caption and image quality and alignment. Unlike previous approaches, which typically add auxiliary filtration modules on top of existing full-scale VLMs, our method exclusively utilizes the inherent evaluative capability of a purpose-built small VLM. This strategy eliminates the need for extra modules and reduces training overhead. Our lightweight model efficiently filters out inaccurate, noisy web data, improving image-text alignment and caption linguistic fluency. Experimental results show that datasets underwent high-precision filtration using our compact VLM perform on par with, or even surpass, larger and noisier datasets gathered through high-volume web crawling. Thus, our method provides a lightweight yet robust solution for building high-quality vision-language training corpora. \\ \textbf{Availability and implementation:} Our compact VLM filtration model, training data, utility scripts, and Supplementary data (Appendices) are freely available at https://github.com/daulettoibazar/Compact_VLM_Filter.

View on arXivView PDF

Code Implementations(1)

21PythonJul 6, 20258 months ago

Cite this paper

@article{toibazar2025trust,
  title  = {Trust the Model: Compact VLMs as In-Context Judges for Image-Text Data Quality},
  author = {Daulet Toibazar and Kesen Wang and Sherif Mohamed and Abdulaziz Al-Badawi and Abdulrahman Alfulayt and Pedro J. Moreno},
  year   = {2025},
  eprint = {2507.20156},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.20156v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.20156.svg)](https://codeofpaper.com/paper/2507.20156)

Discussion