File size: 9,296 Bytes
927370a
c364bf2
927370a
 
c364bf2
 
927370a
 
 
 
 
c364bf2
 
 
927370a
c364bf2
927370a
 
c364bf2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
927370a
484ba9b
c364bf2
927370a
 
c364bf2
927370a
 
 
c364bf2
 
 
 
 
 
927370a
484ba9b
c364bf2
 
 
484ba9b
c364bf2
d82c458
c364bf2
484ba9b
c364bf2
 
 
 
484ba9b
c364bf2
 
 
 
484ba9b
c364bf2
 
 
 
 
 
 
 
484ba9b
c364bf2
484ba9b
c364bf2
 
 
 
 
ca4b074
c364bf2
 
 
484ba9b
 
ca4b074
 
 
 
 
 
c364bf2
abbe20e
ca4b074
 
 
 
 
 
 
 
 
 
c364bf2
 
abbe20e
c364bf2
 
abbe20e
c364bf2
 
abbe20e
ca4b074
 
abbe20e
 
ca4b074
 
 
c364bf2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
484ba9b
 
c364bf2
 
 
484ba9b
c364bf2
484ba9b
c364bf2
 
 
 
 
 
 
 
484ba9b
c364bf2
 
484ba9b
c364bf2
484ba9b
c364bf2
 
 
484ba9b
c364bf2
484ba9b
c364bf2
 
 
484ba9b
c364bf2
 
 
484ba9b
c364bf2
 
484ba9b
c364bf2
 
 
484ba9b
 
c364bf2
 
484ba9b
c364bf2
484ba9b
c364bf2
484ba9b
c364bf2
 
 
 
 
 
484ba9b
c364bf2
 
 
484ba9b
ca4b074
 
 
 
 
 
 
 
c364bf2
484ba9b
c364bf2
 
 
484ba9b
c364bf2
484ba9b
 
c364bf2
 
 
 
 
 
484ba9b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
---
license: mit
task_categories:
- multiple-choice
- audio-classification
- visual-question-answering
language:
- en
- zh
tags:
- audio-visual
- omni-modality
- cross-modal
- consistency
- benchmark
pretty_name: XModBench
size_categories:
- 10K<n<100K
configs:
- config_name: audio_text
  data_files: data/audio_text.jsonl
- config_name: text_audio
  data_files: data/text_audio.jsonl
- config_name: audio_image
  data_files: data/audio_image.jsonl
- config_name: image_audio
  data_files: data/image_audio.jsonl
- config_name: image_text
  data_files: data/image_text.jsonl
- config_name: text_image
  data_files: data/text_image.jsonl
- config_name: audio_video
  data_files: data/audio_video.jsonl
- config_name: text_video
  data_files: data/text_video.jsonl
- config_name: video_audio
  data_files: data/video_audio.jsonl
- config_name: video_text
  data_files: data/video_text.jsonl
- config_name: lite_a2t
  data_files: data_lite/a2t.jsonl
- config_name: lite_a2v
  data_files: data_lite/a2v.jsonl
- config_name: lite_t2a
  data_files: data_lite/t2a.jsonl
- config_name: lite_t2v
  data_files: data_lite/t2v.jsonl
- config_name: lite_v2a
  data_files: data_lite/v2a.jsonl
- config_name: lite_v2t
  data_files: data_lite/v2t.jsonl
---

<h1 align="center">XModBench</h1>

<p align="center">
  <b>Benchmarking Cross-Modal Capabilities and Consistency in Omni-Language Models</b>
</p>

<p align="center">
  <a href="https://iclr.cc/Conferences/2026"><img src="https://img.shields.io/badge/ICLR-2026-8e44ad.svg" alt="ICLR 2026"></a>
  <a href="https://arxiv.org/abs/2510.15148"><img src="https://img.shields.io/badge/arXiv-2510.15148-b31b1b.svg" alt="Paper"></a>
  <a href="https://xingruiwang.github.io/projects/XModBench/"><img src="https://img.shields.io/badge/Website-Page-0a7aca?logo=globe&logoColor=white" alt="Website"></a>
  <a href="https://github.com/XingruiWang/XModBench"><img src="https://img.shields.io/badge/GitHub-Code-181717?logo=github&logoColor=white" alt="GitHub"></a>
  <a href="https://github.com/XingruiWang/lmms-eval"><img src="https://img.shields.io/badge/lmms--eval-Integration-4b9cd3.svg" alt="lmms-eval"></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License: MIT"></a>
</p>

<p align="center">
  <img src="https://xingruiwang.github.io/projects/XModBench/static/images/teaser.png" width="92%" alt="XModBench teaser">
</p>

<p align="center"><i>πŸŽ‰ Accepted at <b>ICLR 2026</b></i></p>

## What is XModBench?

**XModBench** is the first tri-modal (audio / vision / text) multiple-choice
QA benchmark explicitly designed to measure **cross-modal consistency** β€” does
an omni-language model give the same correct answer when the *same* semantic
content is presented in different modalities?

Each item is a 4-choice question with a `<context>` (question stem) and four
`<candidates>` (options). By permuting which modality carries the context vs.
the candidates, every question is instantiated in **six modality
configurations**, so no single modality is privileged.

| | |
|---|---|
| **Samples** | 61,320 QA pairs |
| **Task families** | 5 β€” Perception, Spatial, Temporal, Linguistic, Knowledge |
| **Subtasks** | 17 |
| **Modality configs** | 6 — A→T, A→V, T→A, T→V, V→A, V→T |
| **Lite split** | 6,000 β€” balanced 5 families Γ— 6 configs Γ— 200 |
| **Languages** | English, Chinese (speech translation) |

## Repository layout

```
RyanWW/XModBench/
β”œβ”€β”€ data/            # 10 JSONL files, one per raw modality combination
β”‚   β”œβ”€β”€ audio_text.jsonl  text_audio.jsonl  audio_image.jsonl  ...
β”œβ”€β”€ data_lite/       # 6 JSONL β€” XModBench-Lite (a2t,a2v,t2a,t2v,v2a,v2t)
β”œβ”€β”€ Data.zip         # ALL media (audio/image/video) β€” download + unzip β†’ Data/
β”œβ”€β”€ tasks/           # original per-subtask task definitions (JSON)
└── eval_logs/       # released per-sample model outputs (reproduced via lmms-eval)
    └── <model>/<lite|full>/  samples_*.jsonl + summary.json
```

> **Media live in `Data.zip`.** The JSONL question files (`data/`,
> `data_lite/`) reference media by repo-relative paths like
> `Data/vggss_audio_bench/xxx.wav`. Download and unzip `Data.zip` once so
> those paths resolve. (`Data.zip` was rebuilt with Chapter-stripped
> `emotions/` clips β€” a fix for a moviepy parsing crash; see Changelog.)

## Loading the data

**1. Get the media** (one-time, ~30 GB):

```bash
huggingface-cli download RyanWW/XModBench Data.zip \
    --repo-type dataset --local-dir .
unzip Data.zip          # β†’ ./Data/...   (matches the JSONL paths)
```

**2. Load the questions**:

```python
from datasets import load_dataset

# one modality configuration (full set)
ds = load_dataset("RyanWW/XModBench", "audio_text", split="train")

# XModBench-Lite (balanced 6k)
lite = load_dataset("RyanWW/XModBench", "lite_a2t", split="train")

# media path for the first item (resolve against the unzipped Data/)
print(ds[0]["conditions"]["input"])   # e.g. Data/vggss_audio_bench/....wav
```

The [lmms-eval port](https://github.com/XingruiWang/lmms-eval) handles the
download + path resolution automatically β€” no manual unzip needed there.

### Sample schema

```json
{
  "index": 1,
  "subtask": "01_perception/finegrained",
  "question": "Listen to this audio clip. Which text description best matches the sound you hear? Answer with A, B, C, or D",
  "conditions": { "modality": "Audio", "input": "Data/vggss_audio_bench/ymuNh7Cwhrs_000040.wav" },
  "options": {
    "A": { "modality": "Text", "input": "dog howling" },
    "B": { "modality": "Text", "input": "chicken clucking" },
    "C": { "modality": "Text", "input": "alligators, crocodiles hissing" },
    "D": { "modality": "Text", "input": "cuckoo bird calling" }
  },
  "correct_answer": "A",
  "category": "Animal Sounds"
}
```

- `conditions.input` / `options[*].input` are **repo-relative media paths**
  (`Data/...`) for non-text modalities, or the literal text for `Text`.
- `correct_answer` ∈ {A, B, C, D}; `subtask` is `NN_family/subtask`.

## Modality configurations

| Code | Context β†’ Candidates |
|------|----------------------|
| A→T | Audio → Text |
| A→V | Audio → Vision (image/video) |
| T→A | Text → Audio |
| T→V | Text → Vision |
| V→A | Vision → Audio |
| V→T | Vision → Text |

`data/` keeps Image and Video separate (10 files) for efficient loading;
`data_lite/` merges Vision = Image βˆͺ Video into the 6 canonical configs.

## XModBench-Lite

A 6,000-sample split, **balanced** across 5 task families Γ— 6 configs Γ— 200,
for fast, low-cost evaluation. It tracks full-set model rankings closely
(see leaderboard) and is the recommended quick-eval target.

## Evaluate with lmms-eval

XModBench is pre-integrated in
[**XingruiWang/lmms-eval**](https://github.com/XingruiWang/lmms-eval); the
dataset auto-downloads on first run.

```bash
git clone https://github.com/XingruiWang/lmms-eval.git
cd lmms-eval && pip install -e ".[all]"

# XModBench-Lite, all 6 configs (resource-aware GPU profile)
./submit_lite.sh qwen2_5_omni_interleave Qwen/Qwen2.5-Omni-7B qwenomni3

# Level-2 metrics: by-config / by-family / disparity / imbalance
python lmms_eval/tasks/xmod_bench/summarize.py \
    --logs logs/xmod_bench_lite/results_qwen2_5_omni_interleave/
```

Per-sample model outputs we reproduced are released here under
[`eval_logs/`](https://huggingface.co/datasets/RyanWW/XModBench/tree/main/eval_logs).

## Leaderboard β€” XModBench-Lite (reproduced via lmms-eval)

By-config accuracy (%); **Avg.** is the mean over the six configs.

| Model | A→T | A→V | T→A | T→V | V→A | V→T | Avg. |
|-------|----:|----:|----:|----:|----:|----:|-----:|
| Qwen3-Omni-30B | 71.6 | 52.0 | 62.5 | 67.0 | 55.6 | 83.1 | **65.3** |
| Qwen2.5-Omni-7B | 63.1 | 49.8 | 59.2 | 62.5 | 50.3 | 76.4 | 60.2 |
| Baichuan-Omni-1.5 | 52.5 | 32.0 | 47.6 | 56.6 | 47.0 | 77.7 | 52.2 |
| OmniVinci | 62.2 | β€” | β€” | β€” | β€” | 78.8 | β€” |

Qwen2.5-Omni matches its full-set paper numbers within 5 points on every
configuration. Full-set numbers for all 14 paper models are on the
[project website](https://xingruiwang.github.io/projects/XModBench/#leaderboard).

## Changelog

- **2026-05**: `Data.zip` rebuilt β€” the `emotions/` MELD clips had MP4
  *Chapter* metadata that crashed `moviepy`'s parser (used by some
  evaluation backends). All emotion clips were re-muxed with
  `ffmpeg -map_chapters -1` (video/audio streams untouched). Frame content
  is identical; only the Chapter atom was removed. No other media changed.

## License

Released under the **MIT License**. Media are redistributed for research use;
please also respect the licenses of the underlying source datasets
(VGG-Sound, STARSS23, GTZAN, URMP, MELD, URBANSAS, and others).

## Citation

```bibtex
@inproceedings{wang2026xmodbench,
  title     = {XModBench: Benchmarking Cross-Modal Capabilities and Consistency in Omni-Language Models},
  author    = {Wang, Xingrui and Liu, Jiang and Huang, Chao and Yu, Xiaodong and Wang, Ze and Sun, Ximeng and Wu, Jialian and Yuille, Alan and Barsoum, Emad and Liu, Zicheng},
  booktitle = {International Conference on Learning Representations (ICLR)},
  year      = {2026},
  url       = {https://arxiv.org/abs/2510.15148}
}
```