--- license: cc-by-4.0 language: - en pretty_name: TokenSwap-Bench size_categories: - 1KTokenSwap: Benchmarking and Reducing the Modality Gap in Multimodal LLMs

Andong Hua1, Colton Bishop2, Igor Mordatch2, Arian Hosseini2, Jindong Gu2, Aleksandra Faust2, Rebecca Roelofs2, Yao Qin1,2

1University of California, Santa Barbara    2Google DeepMind

NeurIPS 2026

Project Page Paper Code BibTeX

---

Same question as text vs. with images: the model answer flips from right to wrong

Across **42 MLLMs**, we observe a pervasive modality gap, with performance decreasing by **4.2% to 47.4%** when moving from text-only to image-interleaved inputs. --- ## TokenSwap-Bench TokenSwap operates at the **concept level**: it replaces individual textual concepts with semantically aligned natural images while preserving the surrounding context and structure. We apply TokenSwap to MMLU to construct TokenSwap-Bench, which contains **1,516 samples** with **6,946 image replacements**, averaging 4.58 replacements per sample. | Config | Input | |---|---| | `text` | Text-only (original MMLU) | | `img` | Image-interleaved | The two configs are paired by `doc_id`. **Modality gap** = Acc(`text`) − Acc(`img`). ```python from datasets import load_dataset text = load_dataset("dongx1997/TokenSwap-Bench", "text", split="test") img = load_dataset("dongx1997/TokenSwap-Bench", "img", split="test") ``` | Field | Description | |---|---| | `question`, `choices` | In `img`, concepts are replaced by `` placeholders (in the question and/or the choices) | | `answer` | Index of the correct choice (0–3) | | `subject` | MMLU subject | | `doc_id` | Index in the MMLU test set | | `replaced_words` | `img` only: the original concept for ``, ``, … | | `image_1` … `image_20` | `img` only: `image_N` fills ``; unused slots are `None` | For evaluation with lmms-eval, see the [code](https://github.com/DongXzz/TokenSwap). --- ## BibTeX ```bibtex @inproceedings{hua2026tokenswap, title = {TokenSwap: Benchmarking and Reducing the Modality Gap in Multimodal LLMs}, author = {Hua, Andong and Bishop, Colton and Mordatch, Igor and Hosseini, Arian and Gu, Jindong and Faust, Aleksandra and Roelofs, Rebecca and Qin, Yao}, booktitle = {NeurIPS}, year = {2026} } ``` --- ## License This dataset is released under the [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/) license.