Skip to content
ExplainableMLPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

VERVE: Verified Visual Search

Project Page Paper Models VERVE-MCQ VERVE-Binary Training Data

Authors: Rui Xiao*, Yiran Huang*, Stephan Alaniz†, Zeynep Akata†

* equal contribution, † equal advising

News

  • [2026-11] ⭐️ Training code, models, the VERVE-MCQ benchmark and training data released.

Abstract

Recent visual search methods improve perception in high-resolution images, but these gains can come at a cost: reduced ability to recognize when no target satisfies the query (hallucination). We introduce Verified Visual Search (VERVE), a framework for measuring and mitigating this perception-hallucination trade-off. Our VERVE-MCQ benchmark pairs positive visual search queries with minimally edited negative counterparts for which no matching target exists, testing both target identification and query verification. We find that state-of-the-art visual search methods surprisingly underperform their own base models on VERVE-MCQ. To diagnose the root cause, VERVE-Binary simplifies the queries into a yes/no task. Yet the failure persists for open methods, indicating a broader loss of discriminativeness. To tackle this, we propose VERVE-Train, a GRPO-based method that trains models to verify rather than assume target existence, adding negative queries (plain mode) and further on-policy self-verification rewards (OPSV mode). Notably, our trained Qwen3.5-9B surpasses Gemini-3.7-Flash by 13.8% on VERVE-MCQ. Crucially, VERVE-Train effectively reduces hallucinations across six benchmarks and remains competitive on eight perception benchmarks. Furthermore, these improvements broadly extend to seven external benchmarks across tasks, domains, and modalities.

Methodology

We refer to our project page, where we walk you through our paper.

Models

All checkpoints are in the VERVE-Models collection. Paired accuracy on VERVE-MCQ, and average scores on eight perception and six hallucination benchmarks:

Checkpoint Backbone Mode VERVE-MCQ Perception Hallucination
VERVE-9B-plain Qwen3.5-9B plain 49.7 71.5 84.1
VERVE-9B-opsv Qwen3.5-9B OPSV 55.3 71.1 82.9
VERVE-8B-plain Qwen3-VL-8B plain 41.8 65.8 80.8
VERVE-8B-opsv Qwen3-VL-8B OPSV 42.2 67.2 80.8
VERVE-7B-plain Qwen2.5-VL-7B plain 33.5 60.8 75.9
VERVE-7B-opsv Qwen2.5-VL-7B OPSV 40.8 60.2 75.1
VERVE-MiMo-7B-plain MiMo-VL-7B plain 41.2 63.2 79.4
VERVE-MiMo-7B-opsv MiMo-VL-7B OPSV 45.0 63.7 77.7

For reference, Gemini-3.7-Flash scores 41.5 on VERVE-MCQ. Full results are in the paper.

Training

Training lives in EasyR1/, a fork of hiyouga/EasyR1 (GRPO on top of veRL) at upstream commit dd71bbd plus PR #11001 for Qwen3.5. One tree trains every backbone:

MODEL Backbone
qwen25vl Qwen/Qwen2.5-VL-7B-Instruct
qwen3vl Qwen/Qwen3-VL-8B-Instruct
qwen35 Qwen/Qwen3.5-9B
mimo XiaomiMiMo/MiMo-VL-7B-SFT-2508

and both modes:

MODE Reward Prompt
plain examples/reward_function/perception_multinode.py examples/format_prompt/perception.jinja
opsv examples/reward_function/perception_verify.py examples/format_prompt/perception_verify2_1.jinja

Setup

cd EasyR1
pip install -r requirements.txt     # vllm 0.18, torch 2.10
pip install transformers==5.5.3     # after vllm, which declares transformers<5

This is the environment we tested (Python 3.12). verl is imported from the EasyR1/ directory, so there is nothing else to install.

Download VERVE-Data and extract the image archives as its card describes. The policy and judge models must be in the local Hugging Face cache (HF_HOME).

Run

train_verve.sh is a SLURM launcher for 7 nodes with 4 GPUs each: 6 nodes train, 1 node serves the reward judge (Qwen/Qwen3-30B-A3B-Instruct-2507). Set your account and partition in its header, then:

cd EasyR1
MODEL=qwen3vl MODE=opsv \
TRAIN_PARQUET=/data/VERVE-Data/train_s57_opsv.parquet \
IMAGE_DIR=/data/VERVE-Data/images \
HF_HOME=/path/to/hf_cache \
sbatch train_verve.sh

Use train_s57_plain.parquet with MODE=plain. The shared cluster logic (Ray cluster, judge servers, resume across the walltime limit) is in train_common.sh; every hyperparameter is a config override there or in examples/perception_config.yaml.

ANNEAL="START END" (OPSV only) retires the verification terms of the reward linearly between the two steps, so training ends on the plain accuracy reward. It defaults to "40 80" for qwen35 and is off for the other backbones, which matches the released checkpoints.

Merging a checkpoint

python scripts/model_merger.py --local_dir verl_exp/<run>/global_step_<N>/actor

For Qwen3.5, also run python scripts/fix_qwen35_merged_keys.py --hf_dir <...>/actor/huggingface afterwards.

Acknowledgements

Built on EasyR1 and veRL; the training recipe starts from Zooming without Zooming.

Citation

@article{xiao2026verve,
  title   = {VERVE: Verified Visual Search},
  author  = {Xiao, Rui and Huang, Yiran and Alaniz, Stephan and Akata, Zeynep},
  journal = {arXiv preprint},
  year    = {2026}
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages