SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.12501 · 2024

Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection

arXiv · PDF · Open in the Atlas

Code that ran

6 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 7 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.12501.json · badge: /api/ran/2402.12501.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
rayruibochen/self-filter canonical (classifier label)
classifier basis: census
6 ran · 7 no recorded run
FunctionStatusWhere it lives
get_input_text Ran
ran; our contract draft was wrong, not the code
rayruibochen/self-filter/data_process/preprocess.py
pointer only (licence: AGPL-3.0) · get_code("a9f557656b27e601")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_text_instruction Ran
ran; our contract draft was wrong, not the code
rayruibochen/self-filter/data_process/preprocess.py
pointer only (licence: AGPL-3.0) · get_code("c6d149d9ee4d25ca")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_scores Ran
ran; our contract draft was wrong, not the code
rayruibochen/self-filter/self_filter/stage2.py
pointer only (licence: AGPL-3.0) · get_code("17ea60a8bf7dc6fd")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

norm_scores Ran
ran; our contract draft was wrong, not the code
rayruibochen/self-filter/data_process/analysis_gpt.py
pointer only (licence: AGPL-3.0) · get_code("b6851106077336dd")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_to_even_chunks Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rayruibochen/self-filter/self_filter/self_filter_trainer.py
pointer only (licence: AGPL-3.0) · get_code("10893c4608c08075")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

warp_inst Ran
ran; our contract draft was wrong, not the code
rayruibochen/self-filter/data_process/query_gpt_text_models.py
pointer only (licence: AGPL-3.0) · get_code("562cce8b27dea629")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_mm_adapter_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/self_filter/self_filter_trainer.py
pointer only (licence: AGPL-3.0) · get_code("bb35e3ac741bb2c9")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_peft_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/self_filter/stage1.py
pointer only (licence: AGPL-3.0) · get_code("fa1225dfac92bc0d")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_peft_state_non_lora_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/self_filter/stage1.py
pointer only (licence: AGPL-3.0) · get_code("1c53657305b66e9f")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/self_filter/self_filter_trainer.py
pointer only (licence: AGPL-3.0) · get_code("735025744c1ab0cf")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/self_filter/stage1.py
pointer only (licence: AGPL-3.0) · get_code("616ffbdc154ed2d8")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

produce_scores_difficulty Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/self_filter/stage2.py
pointer only (licence: AGPL-3.0) · get_code("10d15d374cd997c3")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

query_gpt Not yet run
unverified (harvested, no recorded run)
rayruibochen/self-filter/data_process/query_gpt_text_models.py
pointer only (licence: AGPL-3.0) · get_code("841b22f7ec0e92b2")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, rayruibochen/self-filter, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 8 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 6 the same month, 8 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_mm_adapter_state_maybe_zero_3 43 other papers
8 dated earlier, 1 the same month, 34 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 40 more not named here
maybe_zero_3 42 other papers
8 dated earlier, 1 the same month, 33 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 39 more not named here
split_to_even_chunks 40 other papers
7 dated earlier, 1 the same month, 32 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 37 more not named here
maybe_zero_3 37 other papers
4 dated earlier, 2 the same month, 31 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2311.16839 (2023-11)
Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
and 34 more not named here
get_peft_state_maybe_zero_3 23 other papers
2 dated earlier, 1 the same month, 20 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
2402.18695 (2024-02)
Grounding Language Models for Visual Entity Recognition
and 20 more not named here
get_peft_state_non_lora_maybe_zero_3 23 other papers
3 dated earlier, 1 the same month, 19 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
and 20 more not named here
get_input_text 1 other paper
1 later
2510.17847 (2025-10)
COIDO: Efficient Data Selection for Visual Instruction Tuning via Coupled Importance-Diversity Optimization
load_scores 1 other paper
1 later
2510.17847 (2025-10)
COIDO: Efficient Data Selection for Visual Instruction Tuning via Coupled Importance-Diversity Optimization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Data selection in instruction tuning emerges as a pivotal process for acquiring high-quality data and training instruction-following large language models (LLMs), but it is still a new and unexplored research area for vision-language models (VLMs). Existing data selection approaches on LLMs either rely on single unreliable scores, or use downstream tasks for selection, which is time-consuming and can lead to potential over-fitting on the chosen evaluation datasets. To address this challenge, we introduce a novel dataset selection method, Self-Filter, that utilizes the VLM itself as a filter. This approach is inspired by the observation that VLMs benefit from training with the most challenging instructions. Self-Filter operates in two stages. In the first stage, we devise a scoring network to evaluate the difficulty of training instructions, which is co-trained with the VLM. In the second stage, we use the trained score net to measure the difficulty of each instruction, select the most challenging samples, and penalize similar samples to encourage diversity. Comprehensive experiments on LLaVA and MiniGPT-4 show that Self-Filter can reach better results compared to full data settings with merely about 15% samples, and can achieve superior performance against competitive baselines.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.12501")
get_code_for_paper("2402.12501")
have("2402.12501")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.12501.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.12501.svg)](https://syntology.ai/paper/2402.12501)

Connect an agent — have() is free.