PKU-VaLuE-Lab/OmniReasoning
Acerca de
Official Repository of paper OmniReasoning: Pushing the Limits of Audio-Visual Joint Reasoning
Diseño y multimediaCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -12
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
OmniReasoning
Pushing the Limits of Audio-Visual Joint Reasoning
OmniQA constructs audio-visual joint reasoning data. OmniReasoningBench evaluates reasoning over video and reasoning beyond video. The released datasets are OmniReasoning-SFT-112K (112,463 samples with synthesized thinking) and OmniReasoning-RL-19K (18,991 questions with evidence annotations),and the OmniReasoningBench has 1,150 questions.
OmniReasoningBench
OmniReasoningBench contains 750 reasoning over video questions (375 multiple-choice, 375 open-ended) and 400 reasoning beyond video questions (250 multiple-choice, 150 open-ended; 288 video + figure and 112 video + text inputs). Each has a reference answer and an annotated evidence chain.
Results on OmniReasoningBench
OmniReasoningBench accuracy (%). Our model is initialized by Qwen3-Omni-30B-A3B-Thinking.
| Model | Modality | Reasoning over video Multiple-choice |
Reasoning over video Open-ended |
Reasoning beyond video Multiple-choice |
Reasoning beyond video Open-ended |
Overall |
|---|---|---|---|---|---|---|
| Proprietary models | ||||||
| Omni | 57.6 | 47.7 | 72.0 | 58.0 | 57.6 | |
| Omni | 55.2 | 49.6 | 69.6 | 60.0 | 57.1 | |
| Omni | 53.5 | 47.2 | 66.4 | 51.3 | 54.0 | |
| Omni | 50.4 | 42.1 | 69.2 | 57.3 | 52.7 | |
| Omni | 51.9 | 47.2 | 64.0 | 49.3 | 52.7 | |
| Omni | 54.7 | 47.2 | 57.2 | 40.7 | 51.0 | |
| Omni | 42.9 | 42.2 | 60.4 | 40.7 | 46.2 | |
| Omni | 38.1 | 36.0 | 60.0 | 58.0 | 44.8 | |
| Omni | 36.4 | 35.9 | 56.0 | 46.0 | 41.8 | |
| Open-source models | ||||||
| Omni | 42.7 | 40.6 | 54.0 | 44.0 | 44.6 | |
| Visual | 21.4 | 11.7 | 50.8 | 35.3 | 26.5 | |
| Visual | 19.7 | 10.5 | 46.8 | 34.7 | 24.6 | |
| Visual | 17.2 | 8.7 | 46.0 | 30.0 | 22.5 | |
| Omni | 25.6 | 22.9 | 36.0 | 13.3 | 25.4 | |
| Omni | 31.9 | 25.9 | 46.4 | 32.0 | 33.2 | |
| Ours | ||||||
| Omni | 48.0 | 30.1 | 58.8 | 32.7 | 42.5 |
MFSD
Results of OmniReasoning-30B-A3B
Performance across benchmarks
| Model | OmniVideoBench | LVOmniBench | Video‑MMMU | Video‑MME‑v2 |
|---|---|---|---|---|
| Proprietary models | ||||
| 66.5 | 66.9 | 86.1 | 67.6 | |
| 60.7 | 60.9 | 84.3 | 53.4 | |
| 53.8 | 53.2 | 84.6 | 47.9 | |
| 55.8 | 52.3 | 85.2 | 59.5 | |
| 51.6 | 52.8 | 79.1 | 51.8 | |
| Open-source models | ||||
| 42.1 | 32.1 | 73.1 | 38.4 | |
| 29.3 | 32.0 | 53.9 | 25.3 | |
| 37.2 | 37.7 | 68.3 | 36.5 | |
| Ours | ||||
| 50.0 | 44.7 | 74.4 | 44.0 |
Performance by audio type and video duration at OmniVideoBench
Music, Sound, and Speech are audio types; duration intervals are in minutes.
| Model | Music | Sound | Speech | (0,1] minutes | (1,5] minutes | (5,10] minutes | (10,30] minutes | Average |
|---|---|---|---|---|---|---|---|---|
| Proprietary models | ||||||||
| 56.9 | 69.3 | 70.1 | 69.7 | 68.0 | 63.9 | 64.8 | 66.5 | |
| 51.1 | 65.8 | 61.9 | 67.3 | 64.2 | 59.5 | 53.0 | 60.7 | |
| 56.2 | 54.1 | 55.7 | 61.0 | 56.4 | 52.9 | 52.5 | 55.5 | |
| 42.3 | 64.9 | 53.3 | 55.8 | 55.2 | 50.7 | 53.4 | 53.8 | |
| 46.2 | 47.6 | 53.0 | 56.6 | 57.4 | 47.6 | 44.3 | 51.6 | |
| 29.7 | 40.3 | 43.2 | 49.4 | 43.2 | 41.1 | 34.9 | 41.5 | |
| Open-source models | ||||||||
| 33.0 | 42.9 | 43.0 | 48.8 | 41.7 | 41.5 | 38.9 | 42.1 | |
| 23.1 | 25.3 | 30.7 | 41.6 | 27.4 | 25.3 | 26.7 | 29.3 | |
| 26.4 | 37.2 | 38.5 | 46.8 | 35.6 | 35.5 | 35.2 | 37.2 | |
| Ours | ||||||||
| 39.6 | 46.3 | 52.0 | 52.4 | 49.9 | 49.8 | 48.9 | 50.0 |
Training method ablation
| Method | OmniReasoningBench | OmniVideoBench | LVOmniBench | Video‑MME‑v2 | Video‑MMMU |
|---|---|---|---|---|---|
| Qwen3‑Omni‑30B‑A3B‑Thinking | 33.2 | 37.2 | 37.7 | 36.5 | 68.3 |
| + SFT | 36.1 | 47.0 | 40.2 | 40.3 | 73.7 |
| + GRPO | 38.3 | 44.8 | 39.8 | 39.1 | 72.9 |
| + RLSD | 39.2 | 45.4 | 40.1 | 39.8 | 72.0 |
| + MFSD | 42.5 | 50.0 | 44.7 | 44.0 | 74.4 |
Installation
Run all commands from the repository root. Requires Python 3.10+ and ffmpeg / ffprobe.
python -m pip install '.[engine]'
This installs the omniqa and omnireasoning commands and the data-engine dependencies.
For local scene detection with --plan-segmenter scenedetect, install '.[engine,scenes]' instead.
Install ffmpeg / ffprobe separately; they are not Python dependencies.
| Stage | Service | Configuration |
|---|---|---|
| 1 caption | Gemini generateContent |
GEMINI_API_KEY, GEMINI_API_BASE, GEMINI_AUTH_PREFIX; --gemini-model |
| 2 generate / adapt | OpenAI-compatible chat (+ /images/generations for RBY figures) |
OPENAI_API_KEY, OPENAI_API_BASE; --openai-model, GEN_MODEL, IMAGE_MODEL |
| 3 verify / refine | OpenAI-compatible chat | DASHSCOPE_API_KEY, optional DASHSCOPE_BASE_URL |
| 3 gate | text model + audiovisual model | GATE_TEXT_*, GATE_AV_*, OPENAI_API_KEY |
| 4 think | OpenAI-compatible chat | OPENAI_API_KEY, OPENAI_API_BASE, SYNTH_MODEL |
| Benchmark inference | SGLang / OpenAI-compatible audiovisual server | SGLANG_BASE_URL, SGLANG_API_KEY, SGLANG_MODEL |
| Benchmark judge | OpenAI-compatible chat | JUDGE_API_BASE, JUDGE_API_KEY, JUDGE_MODEL |
Place source videos in data/videos/.
OmniQA Data Engine
Stage 1: Caption Generation
omniqa caption --data-path data/videos --output-dir data/caption/videos \
--gemini-model gemini-3.1-pro-preview \
--skip-upload --max-inline-video-mb 20 --max-events 64
Stage 2: QA Generation
Each route writes outputs/run/generation/accepted.jsonl with question, options, answer and a
reasoning_steps dependency chain.
Reasoning over video (ROV): task selection, question/answer/chain generation, structural and grounding checks, a caption-conditioned solver, and a question-only (priors) blind gate.
omniqa generate --caption-raw-dir data/caption/videos/raw \
--output-dir outputs/run/generation \
--openai-api-base "$OPENAI_API_BASE" --openai-model deepseek-v4-flash \
--questions-per-video 1
Reasoning beyond video (RBY), including generated question figures:
omniqa adapt --caption-dir data/caption/videos/raw --outdir outputs/run/generation --n 0
omniqa bridge-adaptation --outdir outputs/run/generation \
--output outputs/run/generation/accepted.jsonl
Direct video authoring (DYNAMIC): the author watches the video; subtype weights must first be
mined from benchmark result files with omniqa mine-queries (see --help).
omniqa dynamic --caption-raw-dir data/caption/videos/raw --output-dir outputs/run/generation
Stage 3: Verification
# 1. Verify timestamped clues against the actual clips (DashScope SDK).
omniqa verify --input outputs/run/generation/accepted.jsonl \
--output-dir outputs/run/verification
# 2. Repair or reject questions against the video (DashScope SDK).
omniqa refine --input outputs/run/verification/accepted_verified.jsonl \
--output-dir outputs/run/refinement
# 3. Modality shortcut screening.
omniqa gate --input outputs/run/refinement/refined_accepted.jsonl \
--caption-raw-dir data/caption/videos/raw --video-root data/videos \
--output-dir outputs/run/gate
Stage 4: Thinking Generation
omniqa think --input outputs/run/refinement/refined_accepted.jsonl \
--caption-root data/caption --output-dir outputs/run/thinking
Only reasoning with a closing conclusion matching the verified answer enters sft.jsonl.
Cached rows are checked again during export; inconsistent rows are retried on resume.
Evaluation
1. Prepare the benchmark and model service
Place the two benchmark files at data/benchmark/over_video.jsonl (750) and
data/benchmark/beyond_video.jsonl (400), with videos and figures under data/media/.
Start an audiovisual SGLang / OpenAI-compatible server and export SGLANG_*.
2. Run inference
for s in over_video beyond_video; do
omnireasoning infer --benchmark $s \
--data_json_file data/benchmark/$s.jsonl --video_dir data/media \
--output_file outputs/$s.jsonl --model "$SGLANG_MODEL"
done
Defaults: 2 fps, at most 512 frames, audio kept, --max_tokens 32768 --temperature 0.6 --top_p 0.95 --top_k 20.
3. Score
Multiple-choice answers are scored by rule-based option-letter matching (no LLM fallback; an
output without a parseable letter is wrong). Open-ended answers are judged by deepseek-v4-flash.
Scoring automatically uses the answer after </think> and never reads option letters from
the thinking block. An unfinished thinking block counts as a missing answer.
Every benchmark question stays in the denominator: missing outputs, service errors and judge
failures count as wrong.
for s in over_video beyond_video; do
omnireasoning score-judge --predictions outputs/$s.jsonl \
--references data/benchmark/$s.jsonl --out_dir outputs/${s}_judge
done
# Table row: over-video MCQ / OE, beyond-video MCQ / OE, Overall (pooled counts).
omnireasoning report-table \
--over_video_pred outputs/over_video_judge/predictions.jsonl --over_video_ref data/benchmark/over_video.jsonl \
--beyond_video_pred outputs/beyond_video_judge/predictions.jsonl --beyond_video_ref data/benchmark/beyond_video.jsonl
📚 Citation
If you find OmniReasoning useful, please cite:
@misc{lin2026omnireasoningpushinglimitsaudiovisual,
title={OmniReasoning: Pushing the Limits of Audio-Visual Joint Reasoning},
author={Junming Lin and Yuxuan Wang and Zhenxin Lei and Yuxin Liu and Ruixun Liu and Yinsong Yan and Ling Wang and Minghao Han and Yunfei Chu and Shun Lei and Xueyao Zhang and Qize Yang and Jin Xu and Yiwu Zhong},
year={2026},
eprint={2609.39490},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2609.39490},
}
📄 License
The OmniReasoning data is released for non-commercial research use under CC BY-NC 4.0.
Explorar proyectos relacionados
Cargando…



