Instructions to use valayy03/dual-agent-vos-corrector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use valayy03/dual-agent-vos-corrector with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-VL-4B-Instruct") model = PeftModel.from_pretrained(base_model, "valayy03/dual-agent-vos-corrector") - Notebooks
- Google Colab
- Kaggle
Dual-Agent corrector (LoRA for Qwen3-VL-4B-Instruct)
The corrector of Dual-Agent, from the NeurIPS 2026 paper When Trackers Fail: VLM-Guided Verification and Recovery for Robust Video Object Segmentation. Code: https://github.com/Valaybundele/dual-agent-vos
Dual-Agent runs SAM 3 as the tracker. When the assessor (Qwen3-VL-8B-Thinking, zero-shot) judges a track wrong, this corrector sees exemplar frames with the target's GREEN box, context frames with the tracker's RED box, and the query frame. It answers with the target's box on the query frame, or reports that the target is not visible:
<answer>{"visible": true, "box_2d": [x1, y1, x2, y2]}</answer> # 0-1000 normalised
<answer>{"visible": false, "box_2d": [0, 0, 0, 0]}</answer>
Use
Download this repository to a local folder and pass it as CORRECTOR_ADAPTER to
scripts/run_secvos.sh in the code repository. The base model Qwen/Qwen3-VL-4B-Instruct is
loaded from the Hugging Face hub. Run it with greedy decoding (no thinking), images resized to
at most 401,408 pixels.
Training
- LoRA on all attention and MLP projections (q, k, v, o, gate, up, down): rank 16, alpha 32, dropout 0.05. Vision tower frozen.
- Supervised fine-tuning, 2 epochs (9,418 steps), learning rate 2e-5 with cosine schedule and 5 % warm-up, effective batch size 16, bf16.
- Data: 75,341 correction examples built from SAM 3 tracking runs on SA-V training videos. Each example has 7 images (2 exemplar, 2 uniform context, 2 recent context, 1 query frame).
License
CC BY-NC 4.0 (non-commercial use). The base model keeps its own license.
Citation
@inproceedings{bundele2026trackersfail,
title = {When Trackers Fail: {VLM}-Guided Verification and Recovery for Robust Video Object Segmentation},
author = {Bundele, Valay and Agrawal, Susmit and Hosseinzadeh, Mehran and Nguyen, The Nam and Lensch, Hendrik P. A.},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
year = {2026}
}
- Downloads last month
- -
Model tree for valayy03/dual-agent-vos-corrector
Base model
Qwen/Qwen3-VL-4B-Instruct