WeVisForensics treats AI-generated video detection as an investigation. A main agent, the investigator, watches a coarse overview and decides which artifact to examine, over which window, and when to conclude. It dispatches each inspection to a self-evolving library of forensic sub-agents, the inspectors, that cover visual appearance, physical consistency, common sense, on-screen text, and the audio track.
- ๐ต๏ธ Adaptive investigation: the investigator calls only the inspectors a video needs, at the moments that matter, and stops as soon as the evidence is decisive.
- ๐งฐ Omni-modal inspector library: four trained visual inspectors plus speech and speaker tools, so the same agent catches rendering artifacts, broken physics, impossible events, warped text, and mismatched voices.
- ๐ Self-evolving training (DTPO): the investigator and its inspectors co-evolve from shared interactions, with fast reinforcement learning for the investigator and slower refinement of the inspectors.
- ๐ State of the art: 95.2% average accuracy across in-domain, out-of-domain, and agentic benchmarks, 9.0 points above the strongest prior detector.
- [2026-11] ๐ We release WeVisForensics: the technical report, the 4B LoRA weights, the inference package and the Gradio demo.
- Inference package
- Gradio demo
- Evaluation pipeline
- Technical report on arXiv
- Model weights on Hugging Face
- AgenticCue benchmark
Headline detection accuracy (%) of WeVisForensics-4B against the strongest prior method on each benchmark (such as Qwen3.5-397B, Gemini-3.1-Pro, and MLLM-based video forgery detectors like BusterX++, Skyra and VideoVeritas).
| Split | Benchmark | Best Baseline | WeVisForensics |
|---|---|---|---|
| ๐ In-domain | GenBuster-Bench | 94.3 | 97.7 |
| ๐ Out-of-domain | GenBuster-Bench++ | 91.4 | 97.5 |
| ๐ Out-of-domain | MintVid General | 82.2 | 88.0 |
| ๐งฉ Agentic | AgenticCue | 79.3 | 97.8 |
| โญ | Average | 86.2 | 95.2 |
Each benchmark row reports the strongest prior detector on that benchmark. The Average row is the best average over prior detectors.
๐ Full results (click to expand)
| Method | GB | GB++ | MintVid General | AgenticCue | Avg. | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hailuo | Jimeng | Kling | Seedance | Sora2 | Wan2.5 | Visual | Physical | OCR | Common | Audio | ||||
| Binary detectors | ||||||||||||||
| NSG-VD | 46.4 | 53.7 | 57.1 | 48.5 | 52.6 | 54.7 | 57.1 | 51.0 | 41.7 | 43.2 | 41.7 | 34.2 | 44.4 | 48.7 |
| ReStraV | 51.9 | 66.9 | 59.5 | 56.8 | 55.6 | 64.0 | 50.8 | 54.9 | 55.5 | 54.6 | 51.6 | 47.0 | 51.8 | 57.0 |
| Generic MLLMs | ||||||||||||||
| Qwen3.5-4B | 82.9 | 73.2 | 63.5 | 56.5 | 65.1 | 73.8 | 57.0 | 73.2 | 73.7 | 71.8 | 83.8 | 94.4 | 58.1 | 74.3 |
| Qwen3.5-397B | 65.1 | 66.7 | 54.7 | 52.0 | 55.8 | 63.0 | 51.4 | 63.4 | 69.2 | 66.7 | 86.0 | 94.5 | 54.1 | 65.7 |
| Qwen3-VL-8B | 44.8 | 55.2 | 52.0 | 50.4 | 50.5 | 63.0 | 52.6 | 55.9 | 61.7 | 58.6 | 72.2 | 91.9 | 47.8 | 55.1 |
| Qwen3-Omni-30B-A3B | 50.7 | 55.2 | 51.7 | 51.9 | 52.9 | 61.4 | 54.6 | 56.3 | 57.5 | 54.8 | 70.6 | 85.6 | 43.1 | 55.8 |
| Gemini-3.1-Pro | 69.4 | 54.3 | 55.1 | 54.4 | 54.6 | 45.3 | 48.6 | 54.9 | 61.8 | 61.6 | 63.4 | 63.4 | 63.1 | 59.6 |
| MLLM-based video forgery detectors | ||||||||||||||
| BusterX++ | 70.1 | 79.6 | 70.4 | 71.7 | 82.3 | 71.8 | 58.7 | 87.3 | 64.4 | 65.1 | 71.1 | 87.1 | 49.9 | 72.7 |
| DeepTraceReward | 76.4 | 58.8 | 64.5 | 64.1 | 63.9 | 56.5 | 59.3 | 65.5 | 55.5 | 54.2 | 51.9 | 55.4 | 53.5 | 62.9 |
| Skyra-RL | 68.2 | 55.7 | 51.7 | 51.7 | 53.5 | 63.4 | 50.6 | 59.6 | 83.4 | 83.8 | 74.0 | 86.9 | 68.5 | 64.6 |
| VideoVeritas | 94.3 | 91.4 | 85.8 | 80.8 | 86.0 | 86.6 | 67.6 | 86.3 | 72.4 | 75.3 | 76.0 | 91.5 | 69.3 | 86.2 |
| ARGUS | 86.4 | 78.9 | 61.8 | 56.5 | 65.1 | 67.6 | 56.1 | 73.5 | 73.3 | 71.1 | 80.4 | 90.5 | 64.2 | 76.2 |
| Agentic investigation | ||||||||||||||
| WeVisForensics-SFT | 93.9 | 94.2 | 83.8 | 77.9 | 82.1 | 95.6 | 75.9 | 82.5 | 92.4 | 94.2 | 93.6 | 96.0 | 95.2 | 91.3 |
| WeVisForensics-DTPO | 97.7 | 97.5 | 88.9 | 82.9 | 89.6 | 98.6 | 82.4 | 85.6 | 97.3 | 98.0 | 98.0 | 98.8 | 97.0 | 95.2 |
1. Investigator. The main agent reads a 1 FPS overview of up to 16 frames and, at each step, emits one JSON action: call an inspector on a time window, or answer real / fake. It reads each observation before deciding what to examine next, and concludes within five steps.
2. Forensic sub-agent library. Each inspector focuses on one artifact type, decodes its own window at 2 FPS and returns a verdict, a confidence, and a short report of what it saw.
| Inspector | Looks at | Checks |
|---|---|---|
๐จ visual_appearance |
a time window | texture, boundaries, flicker, lighting |
โ๏ธ physical_consistency |
a time window | motion, anatomy, contact, materials |
๐ง common_sense |
a time window | causality, affordance, event order |
๐ค ocr_consistency |
one moment | text detection, then a glyph check on each crop |
๐ฃ๏ธ voice_profile |
the audio track | speaker age, gender, and affect against the visible speaker |
๐ asr_analysis |
the audio track | transcript content and timing |
3. Dual-timescale co-evolution (DTPO). Interactions feed both levels: the investigator learns fast, through reinforcement learning with call-level credit for inspections worth making; the inspectors refine slowly, guided by annotated artifact intervals, to report subtle artifacts they once dismissed.
git clone https://github.com/Tencent/WeVisForensics.git && cd WeVisForensics
conda create -n wevisforensics python=3.10 -y && conda activate wevisforensics
conda install -c conda-forge ffmpeg -y
pip install -r requirements.txt && pip install -e .WeVisForensics can be deployed in three ways. The multi-GPU setup gives each inspector its own vLLM server and suits large-scale evaluation. The single-GPU setup runs everything on one card and is the easiest way to try it locally. The Transformers setup needs no vLLM and backs the Gradio demo and the Hugging Face Space.
Merge the adapters, serve each inspector on its own GPU, and run the investigator in-process:
python scripts/merge_lora.py --base Qwen/Qwen3.5-4B \
--adapters weights/WeVisForensics-4B-LoRA --output weights/WeVisForensics-4B-merged
MODEL_ROOT=weights/WeVisForensics-4B-merged ASR_MODEL=Qwen/Qwen3.5-4B \
GPUS=0,1,2,3,4 bash scripts/serve_full.shPoint engine.model in configs/multi_server.json at weights/WeVisForensics-4B-merged/main, then run:
python scripts/infer.py demo/examples/c04559bab78f9a8b5b7e.mp4See docs/deployment.md for details.
Here the investigator and all inspectors share one base model, switching between LoRA adapters inside a single vLLM process, so no merge step is needed. A single 24 GB GPU is enough:
BASE=Qwen/Qwen3.5-4B ADAPTERS=weights/WeVisForensics-4B-LoRA \
GPU_MEMORY_UTILIZATION=0.66 bash scripts/serve_lora.sh
python scripts/infer.py demo/examples/c04559bab78f9a8b5b7e.mp4 \
--config configs/lora_single_server.json --main-backend httpThe whole agent runs in-process with Transformers on one GPU with at least 24 GB. The investigator and the four visual inspectors share one copy of the base model, and the active role's adapter is merged into its weights before each call. OCR runs on CPU, so the same code also fits ZeroGPU. It pins its own PyTorch, so use a separate environment:
pip install -r demo/requirements.txt "gradio>=6.0"
WVF_ADAPTERS=weights/WeVisForensics-4B-LoRA python demo/app.pyUpload a video, pick a window of up to 16 s, and follow the investigation step by step. To deploy it as a Space, upload the contents of demo/ as the Space root; settings are listed in demo/README.md.
import asyncio
from main_agent import build_agent, load_config
agent = build_agent(load_config("configs/multi_server.json"))
# Single GPU: build_agent(load_config("configs/lora_single_server.json"), main_backend="http")
trajectory = asyncio.run(agent.run("demo/examples/c04559bab78f9a8b5b7e.mp4"))
print(trajectory.answer) # "real" or "fake"
for step in trajectory.steps: # every action, inspector call, and observation
print(step["action"], step.get("observation"))Live analysis runs on the Transformers backend of Option 3. To browse the ten recorded investigations in demo/examples/ without a GPU:
pip install "gradio>=6.0"
WVF_LOCAL=0 python demo/app.pySee evaluation/README.md.
Turn-by-turn rollouts of WeVisForensics on held-out videos, covering visual appearance, physical consistency, OCR, common sense, voice profile and real videos, are available on our project page.
If WeVisForensics is helpful to your work, please consider giving us a โญ and citing:
@misc{du2026wevisforensicsselfevolvingagentomni,
title={WeVisForensics: Self-Evolving Agent for Omni AI-Generated Video Detection},
author={Yipeng Du and Yuxi Li and Ying Zhang and Chong Sun and Chen Li and Jing Lyu and Ying Tai},
year={2026},
eprint={2611.21373},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2611.21373},
}WeVisForensics is released under the Apache-2.0 License. Third-party components keep their original licenses.


