International Journal of Computer Vision (IJCV), 2026
Meng Luo1, Shengqiong Wu1, Liqiang Jing2, Tianjie Ju1, Li Zheng3, Jinxiang Lai4, Tianlong Wu1, Xinya Du2, Jian Li5, Siyuan Yan6, Jiebo Luo7, William Yang Wang8, Hao Fei1, Mong-Li Lee1, Wynne Hsu1
1NUS 2UTD 3WHU 4HKUST 5NJU 6Monash 7UR 8UCSB
This repository provides an implementation-oriented public release for the paper:
"Dr.V: A Hierarchical Perception-Temporal-Cognition Framework to Diagnose Video Hallucination by Fine-Grained Spatial-Temporal Grounding"
It includes the Dr.V-Agent diagnosis pipeline as a runnable Python package and retains only the components necessary for reproducing the paper’s workflow.
The dataset is available at: https://huggingface.co/datasets/Eureka-Leo/Dr.V-Bench
Dr.V-Agent follows the six-stage procedure described in the paper:
- hallucination type classification
- perceptive grounding
- temporal grounding
- cognitive verification
- reasoning
- feedback generation
The tool mapping in this release is:
- perceptive grounding:
Grounded-SAM-2andYOLO-World - temporal grounding:
CG-STVGandGrounded-Video-LLM - cognitive verification:
InternVL2andQwen2-VL - reasoning: DeepSeek-R1-compatible model
- classification and feedback: GPT-4o-compatible model
drv_agent/: orchestration, schemas, config loading, prompts, and adaptersscripts/: concrete runners forCG-STVG,InternVL2, andQwen2-VLCGSTVG/: minimal vendored runtime subset for temporal groundingGrounded-SAM-2/: minimal vendored runtime subset for perceptive groundingGrounded-Video-LLM/: minimal vendored runtime subset for temporal groundingexamples/real_config.example.toml: real deployment templateexamples/request.example.json: request payload example
YOLO-World is used through the external runtime expected by ultralytics.YOLO; a vendored source copy is not required by this release.
Install the project package:
pip install -e .Then prepare the external runtime dependencies and checkpoints required by the paper tools:
- OpenAI-compatible endpoint for classification and feedback
- DeepSeek-R1-compatible endpoint for reasoning
- Grounded-SAM-2 checkpoints
- YOLO-World checkpoint compatible with
ultralytics - CG-STVG checkpoint
- Grounded-Video-LLM checkpoint set
- InternVL2 checkpoint
- Qwen2-VL checkpoint
Use examples/real_config.example.toml as the reference configuration.
Important runtime entrypoints:
Grounded-SAM-2: direct Python integration from the vendored runtimeCG-STVG:scripts/cgstvg_runner.pyGrounded-Video-LLM: wrapped fromGrounded-Video-LLM/inference.pyInternVL2:scripts/internvl2_caption_runner.pyQwen2-VL:scripts/qwen2vl_caption_runner.py
Example:
python3 -m drv_agent.cli run \
--config examples/real_config.example.toml \
--input examples/request.example.jsonThe input JSON must provide:
video_pathquestionoptionslvm_answer
The output report contains:
classificationevidence.perceptiveevidence.temporalevidence.cognitiveassessmentfeedbackwarnings
- Third-party dependencies included in this repository have been reduced to the minimal subset required for runtime.
- Model weights are intentionally not included.
- Exact reproduction of experiments requires access to the same checkpoints and service endpoints used in the original environment.