--- license: apache-2.0 base_model: Qwen/Qwen2.5-VL-7B-Instruct tags: [deepeyes, thinking-with-images, ablation, grpo] --- # DeepEyes TWI ablations (demystify-twi) — fixed `toolstop` batch 21 RL checkpoints = **7 training conditions × 3 runs**, each trained 100 GRPO steps from Qwen2.5-VL-7B-Instruct on the official DeepEyes 47k data, with the `custom_stop=['']` fix (without it the upstream recipe lets the model write past `` and the env terminates on the same-turn ``, so ~83% of tool calls are never executed and tool use collapses to ~0 — the previous contents of this repo were that collapsed batch; they remain in the git history). ## Layout (per experiment) ``` agent_vlagent/deepeyes_7b_v1v8_thinklite_/ global_step_100/actor/huggingface/ merged HF weights (4 safetensors + config/tokenizer) — load with transformers eval// raw eval outputs: result__*.jsonl (per-row prediction + full trajectory), *_acc.jsonl (per-row score), *_meta.json, final_acc*.json eval/logs/ eval run logs training/metrics.csv per-step training metrics (score, loss, grad_norm, clipfrac, resp len, ...) training/train_step_lines.log the per-step summary lines from the trainer console (no rollout dumps) training/SOURCES.txt where the metrics came from (wandb history / trainer logs) + step coverage ``` FSDP/optimizer shards are not included (resume state only; weights above are complete). ## Conditions | condition | runs (exp names) | eval ablation (diagonal) | |---|---|---| | M_full (baseline TWI loop) | toolstop, toolstop_run2, toolstop_run3 | none (+ all 8 ablations) | | M_no-crop (tool returns full image) | nocrop_toolstop{,_run2,_run3} | no_crop (+ all 8) | | M_no23 (bbox only, text observation) | only-ground_toolstop{,_run2,_run3} | no_image (+ all 8) | | M_no123, impl. A (no tools, plain path) | notool, notool2, notool3 | no_tool | | M_no123, impl. B (no tools, agent path) | notool_agent{,2,3} | no_tool | | rethink, voluntary (model decides rounds) | rethink_voluntary{,_run2,_run3} | rethink_voluntary_r5 | | M_no123-match-round (forced 3 rounds) | rethink_forced{,_run2,_run3} | rethink_forced_r3 | `notool3` was trained under the name `notool4` (a replacement for a run that destabilised late); its eval logs and wandb history carry the old name. ## Evaluation protocol 13 benchmarks (mmbench_en_dev, mmmu_val, mmstar, realworldqa, vstar_bench, mme_realworld_lite, mmvet, mathvision_mini, mathvista_mini, hr_bench_4k, hr_bench_8k, seed_bench, pope) on **300-row capped subsets** (Icey444/tsv_sample; V* and MM-Vet are full sets) — absolute numbers are NOT comparable to papers' full-set numbers. Judge: Qwen3-30B-A3B-Instruct-2507, temperature 0, letter pre-mapping before the judge. Primary metric = rows that stop mid tool-loop without a final answer score 0. Known caveats: no explicit seed was set in any recipe, so the 3 "runs" differ only by nondeterminism (seed variance may be understated); mathvision_mini is systematically lower in the October-trained runs (unexplained). A full-set HR-Bench (800 rows, official 4-cycle protocol) re-evaluation of base + toolstop ×3 reproduces the paper (toolstop run1 4K 75.00 vs paper 75.1). ## Additional conditions (trained and evaluated at a second site) | condition | runs (exp names) | eval ablation (diagonal) | |---|---|---| | reduced initial resolution, long side 256 / 512 / 1024 (crops still taken from the original) | lowres256_toolstop_run3, lowres512_toolstop_run3, lowres1024_toolstop_run3 | none (original-resolution input) | | blackout (tool returns a full-size canvas, black outside the bbox) | blackout_toolstop_run4, blackout_toolstop_run5, blackout_toolstop_run6 (pending) | none + blackout | | draw_bbox (tool returns the full original image with the bbox drawn in red) | draw_bbox_toolstop_run4, draw_bbox_toolstop_run5, draw_bbox_toolstop_run6 | none + draw_bbox | | black_crop (tool returns a black image at crop size) | black_crop_toolstop_run4, black_crop_toolstop_run5, black_crop_toolstop_run6 | none + black_crop | Differences from the batch above: the eval judge is **Qwen3.8-27B** (not Qwen3-30B-A3B-Instruct-2507), so absolute scores are not directly comparable across the two tables; same 13 benchmarks / 300-row subsets otherwise. The training-time judge for these runs was also Qwen3.8-27B. `_run5` differs from `_run4` by `data.seed=2` (`_run4` uses the default `data.seed=1`); the lowres runs were trained once each. `_run6` uses `data.seed=3`. Note on `draw_bbox_toolstop_run6` (eval kept as produced, no rerun): - `errors`: `none` 1 row (`mmmu_val` index 3431), `draw_bbox` 2 rows (`mmmu_val` index 3414, 3431). Cause: vLLM rejected the request with `At most 12 image(s) may be provided in one request`; these rows are scored 0. - `no_answer`: `none` 87 rows, `draw_bbox` 80 rows (of 3695), mostly rows that ran the full 11 rounds without giving ``; scored 0 under the existing protocol.