Optimising VLM Harnesses to Localise Errors in Generated Videos
Organizations: Australian Institute for Machine Learning, University of Adelaide
Abstract
Identifying subtle errors in generated videos is an important step toward automated video generation, where errors must be detected to assess and refine generated clips. Recent work shows that pretrained vision-language models (VLMs) can localise such errors, but their effectiveness depends strongly on the workflow used: choices about which frames to inspect, which tools and model calls to make, and how to combine predictions can lead to substantially different results. We study VLM harnesses for video error localisation. Instead of relying on manually designed harnesses, we propose Harness Search and Merge (HSM), an algorithm that automatically constructs them by searching over executable evaluation programs. An LLM orchestrator refines candidate harnesses independently on random training subsets, records findings in a memory, and constructively merges complementary candidates. We evaluate HSM on Spotlight, a recently proposed benchmark for localising errors in generated videos. HSM achieves 0.234 0.012 F1, exceeding the strongest benchmark strategy (0.173 0.016), and retains its lead on an unseen video generator (0.213 0.008 versus 0.140 0.003). On IPV-Bench, it achieves strong localisation performance with lower false-alarm rates than existing optimisation baselines. Together, these results show that searching over complete VLM harnesses can outperform existing evaluation strategies, transfer to an unseen video generator, and reduce false alarms on real videos.
Figures & tables
| ID | Baseline | Adapted | Data used (objective) |
| A1–A2 | Spotlight prompts: ZS, MA, Seq, SW, CoT [ 4 ] | none (released prompts) | none |
| A6 / A7 | ZS, MA with Qwen3-VL-8B; ZS with Qwen3-VL-30B | none (released prompts) | none |
| A8 / A8b | Gemini 2.5 Pro / DeepSeek V4.1 Flash, ZS on frames | none (released prompt) | none |
| A8c / A8d | GLM 5.3 Flash / MiniMax M3.1 Flash, ZS on frames | none (released prompt) | none |
| A3 | LoRA [ 5 ] | VLM weights | 280 pool clips (supervised labels) |
| A4 | MIPROv2 [ 13 ] | ZS prompt | 320 pool clips (scalar) |
| Qwen3.5-9B | ||||
| F1 | pred/clip | |||
| Method | Test | OOD | Test | OOD |
| ZS (A1) | .141 | .125 | 3.0 | 3.3 |
| MA (A2) | .130 | .139 | 13.8 | 14.3 |
| Seq (A2) | .155 | .122 | 3.9 | 3.7 |
| SW (A2) | .132 | .133 | 9.2 | 10.8 |
| Test F1 | OOD (LTX-2) F1 | |||||
|---|---|---|---|---|---|---|
| VLM | Zero-shot | MA | HSM | Zero-shot | MA | HSM |
| Qwen3.5-9B | .141 | .130 | .234 | .125 | .139 | .213 |
| Kimi-VL-A3B-Instruct | .066 | .088 | .219 | .063 | .097 | .202 |
| InternVL3.5-8B | .117 | .119 | .175 | .118 | .129 | .180 |
| Gemma 4 E4B | .132 | .105 | .217 | .154 | .126 | .186 |
| Orchestrator / VLM | Qwen3.5-9B | Kimi-VL-A3B-Instruct | InternVL3.5-8B | Gemma 4 E4B |
|---|---|---|---|---|
| DeepSeek V4.1 Flash | 0.234 / 0.213 | 0.219 / 0.202 | 0.175 / 0.180 | 0.217 / 0.186 |
| GLM 5.3 Flash | 0.164 / 0.168 | 0.215 / 0.203 | 0.164 / 0.144 | 0.157 / 0.149 |
| MiniMax M3.1 Flash | 0.170 / 0.175 | 0.178 / 0.182 | 0.166 / 0.176 | 0.134 / 0.135 |
| all test clips (899) | real clips (400) | |
| Method (Qwen3.5-9B) | F1 ∗ | false alarms |
| Fixed prompts | ||
| ZS (A1) | .231 | 99.0 % |
| MA (A2) | .291 | 72.0 % |
| Seq (A2) | .204 | 99.5 % |
| SW (A2) | .183 | 100 % |
| HSM search design | Single split | Multi split | Merge | Test F1 |
|---|---|---|---|---|
| Single split, no merge | ✓ | 0.166 0.031 | ||
| Multi split, no merge | ✓ | 0.191 0.077 | ||
| Multi split and merge (HSM) | ✓ | ✓ | 0.234 0.012 |
| Scalar | M% | Prec | F1 | #pred | |||||||||||
| Method | Test | OOD | OOD-40 | Test | OOD | OOD-40 | Test | OOD | OOD-40 | Test | OOD | OOD-40 | Test | OOD | OOD-40 |
| Qwen3-VL-8B | |||||||||||||||
| ZS (A6) | .172 .030 | .241 .003 | .222 .013 | .130 .027 | .165 .004 | .169 .015 | .133 .019 | .144 .002 | .125 .013 | .119 .020 | .132 .001 | .130 .008 | 249 | 737 | 166 |
| MA (A6) | .436 .012 | .457 .005 | .468 .014 | .383 .012 | .375 .007 | .405 .017 | .114 .006 | .115 .001 | .099 .004 | .164 .008 | .163 .001 | .149 .005 | 702 | 1953 | 417 |
| Qwen3-VL-30B | |||||||||||||||
| ZS (A7) | .245 .017 | .304 .004 | .280 .018 | .192 .013 | .229 .007 | .215 .016 | .093 .014 | .119 .003 | .087 .008 | .107 .012 | .135 .003 | .117 .008 | 655 | 1623 | 361 |
| Scalar | M% | Prec | F1 | pred/clip | ||||||
| Method (Qwen3.5-9B) | Test | OOD | Test | OOD | Test | OOD | Test | OOD | Test | OOD |
| ZS (A1) | .207 | .226 | .171 | .153 | .135 | .132 | .141 | .125 | 3.0 | 3.3 |
| MA (A2) | .434 | .457 | .373 | .384 | .090 | .105 | .130 | .139 | 13.8 | 14.3 |
| Seq (A2) | .236 | .207 | .175 | .144 | .160 | .129 | .155 | .122 | 3.9 | 3.7 |
| SW (A2) | .399 | .416 | .324 | .322 | .090 | .092 | .132 | .133 | 9.2 | 10.8 |
| CoT (A2) | .271 | .242 | .218 | .175 | .171 | .144 | .173 | .140 | 3.3 | 3.4 |
| Test | OOD | |||||||
|---|---|---|---|---|---|---|---|---|
| Error category | Annotated | Matched | Missed | Recall | Annotated | Matched | Missed | Recall |
| Prompt adherence | 54 | 17 | 37 | 31.5 % | 191 | 53 | 138 | 27.7 % |
| Physical violation | 45 | 19 | 26 | 42.2 % | 80 | 21 | 59 | 26.2 % |
| Appear / disappear | 36 | 8 | 28 | 22.2 % | 92 | 12 | 80 | 13.0 % |
| Motion | 24 | 7 | 17 | 29.2 % | 76 | 14 | 62 | 18.4 % |
| Anatomy / body pose | 28 | 4 | 24 | 14.3 % | 84 | 16 | 68 | 19.0 % |
| F1 by error category | ||||||||
| Method (Qwen3.5-9B) | Adherence | Physical | Appear / disappear | Motion | Anatomy | Logical | All | pred/clip |
| (54) | (45) | (36) | (24) | (28) | (18) | (205) | ||
| ZS (A1) | .062 | .082 | .017 | .040 | .034 | .021 | .145 | 3.0 |
| MA (A2) | .040 | .040 | .019 | .018 | .011 | .008 | .114 | 13.8 |
| Seq (A2) | .065 | .071 | .030 | .020 | .020 | .016 | .139 | 3.9 |
| SW (A2) | .058 | .038 | .021 | .025 | .013 | .010 | .128 | 9.2 |
| all test clips (899) | real clips (400) | ||||||
| Method (Qwen3.5-9B) | Prec ∗ | F1 ∗ | F1 | pred./clip | false alarms | pred./clip | |
| Fixed prompts | |||||||
| ZS (A1) | 51.5 | .149 | .231 | .166 | 2.9 | 99.0 % | 2.8 |
| MA (A2) | 72.3 | .182 | .291 | .132 | 7.7 | 72.0 % | 5.7 |
| Seq (A2) | 45.9 | .131 | .204 | .143 | 2.8 | 99.5 % | 2.8 |
| SW (A2) | 65.1 | .107 | .183 | .116 | 6.5 | 100 % | 6.7 |
| Spotlight-50 budget | full pool | |
| Search | ||
| training set | 50 videos | 200 videos |
| rounds | 2 | 3 |
| subsets per round (videos per subset) | 5 (10) | 10 (20) |
| lineages per subset | 3 | 3 |
| refinement steps per lineage | 3 | 3 |
| Test | OOD | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | Qwen-orch | DeepSeek V4.1 Flash | Qwen-orch | |||||||
| Error category | Annotated | Matched | Recall | Matched | Recall | Annotated | Matched | Recall | Matched | Recall |
| Prompt adherence | 54 | 17 | 31.5 % | 29 | 53.7 % | 191 | 53 | 27.7 % | 110 | 57.6 % |
| Physical violation | 45 | 19 | 42.2 % | 23 | 51.1 % | 80 | 21 | 26.2 % | 54 | 67.5 % |
| Appear / disappear | 36 | 8 | 22.2 % | 16 | 44.4 % | 92 | 12 | 13.0 % | 28 | 30.4 % |
| Motion | 24 | 7 | 29.2 % | 8 | 33.3 % | 76 | 14 | 18.4 % | 34 | 44.7 % |
| VLM calls | Run 1 | Run 2 | Run 3 | mean sd |
|---|---|---|---|---|
| Test | ||||
| Qwen3.5-9B (as searched) | .231 | .224 | .247 | .234 .012 |
| Removed, empty answer | .000 | .000 | .000 | .000 |
| Removed, constant answer | .000 | .000 | .000 | .000 |
| Swapped to Kimi-VL | .081 | .222 | .159 | .154 .071 |
| OOD | ||||
| search / training | inference per clip | |||||
|---|---|---|---|---|---|---|
| Method (Qwen3.5-9B) | GPU-h | API (US$) | VLM calls | tool calls | prompt tokens | seconds |
| ZS (A1) | — | — | 1 | 0 | 6.9k | 9 |
| MA (A2) | — | — | 6 | 0 | 39.7k | 50 |
| Seq (A2) | — | — | 5 | 0 | 33.0k | 31 |
| SW (A2) | — | — | 42.4 | 0 | 30.2k | 44 |
| CoT (A2) | — | — | 1 | 0 | 7.1k | 16 |
| Call | Shown to the orchestrator | Returns |
|---|---|---|
| Plan | search memory, the subset’s training clips with annotations | plans |
| Create | its plan, all plans, search memory, archive results, the subset’s clips | one harness |
| Reflect | the lineage’s current harness, its results and earlier steps | a critique |
| Rewrite | the critique and the same lineage view | a revised harness |
| Merge plan | finalists, complementarity table, merges so far, archive results | merge plans |
| Merge | its merge plan, the parents, complementarity table | one merged harness |
Video Generation Evaluation
Video generation evaluation measures visual quality, prompt adherence, temporal consistency, physical plausibility, and task-specific behavior in synthesized videos.
See all 221 papers