SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.07230 · NeurIPS · 2024

Needle In A Multimodal Haystack

Wenqi Shao, Ping Luo, Xizhou Zhu, Lewei Lu, Jifeng Dai, Yu Qiao, Wenhai Wang, Zhe Chen, Yuchen Duan, Kaipeng Zhang, Mengkang Hu, Weiyun Wang, and 4 more

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 5 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.07230.json · badge: /api/ran/2406.07230.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
opengvlab/mm-niah canonical (classifier label)
classifier basis: census
5 ran · 5 no recorded run
OpenGVLab/MM-NIAH canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
build_transform Ran
ran; our contract draft was wrong, not the code
opengvlab/mm-niah/eval_internvl.py
pointer only (licence: NONE) · get_code("57e95166ade5f25c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dynamic_preprocess Ran
ran; our contract draft was wrong, not the code
OpenGVLab/MM-NIAH/eval_internvl.py
pointer only (licence: NONE) · get_code("d610b5eabe0c9db1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OpenGVLab/MM-NIAH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_closest_aspect_ratio Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
OpenGVLab/MM-NIAH/eval_internvl.py
pointer only (licence: NONE) · get_code("bd77f5f8067f18e9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, OpenGVLab/MM-NIAH when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_input Ran
ran; our contract draft was wrong, not the code
opengvlab/mm-niah/utils/tools.py
pointer only (licence: NONE) · get_code("d95b50a3f56470ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_word Ran
ran, violated the contract we drafted
opengvlab/mm-niah/val_mmniah.py
pointer only (licence: NONE) · get_code("acb002c8cfa36ce4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image Ran
ran, honoured the contract we drafted
opengvlab/mm-niah/prepare_rag.py
pointer only (licence: NONE) · get_code("210abccc49444195")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_images Ran
ran; our contract draft was wrong, not the code
opengvlab/mm-niah/prepare_rag.py
pointer only (licence: NONE) · get_code("2de5f4fd2cd84a03")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_model Not yet run
unverified (harvested, no recorded run)
opengvlab/mm-niah/prepare_rag.py
pointer only (licence: NONE) · get_code("60c8c56f09b202d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_conv_template Not yet run
unverified (harvested, no recorded run)
opengvlab/mm-niah/utils/conversation.py
pointer only (licence: NONE) · get_code("d701841310923e61")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

image_to_mdstring Not yet run
unverified (harvested, no recorded run)
opengvlab/mm-niah/visualization.py
pointer only (licence: NONE) · get_code("3e43891bd4e2356e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

is_correct Not yet run
unverified (harvested, no recorded run)
opengvlab/mm-niah/val_mmniah.py
pointer only (licence: NONE) · get_code("cf772b6df6ac2f48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_item Not yet run
unverified (harvested, no recorded run)
opengvlab/mm-niah/visualization.py
pointer only (licence: NONE) · get_code("28f7f0fe58d8ed3e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, opengvlab/mm-niah when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 5 the same month, 5 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_conv_template 69 other papers
28 dated earlier, 8 the same month, 28 later, 4 same year, order not determinable, 1 undated
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
find_closest_aspect_ratio 43 other papers
4 dated earlier, 3 the same month, 36 later
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 40 more not named here
build_transform 31 other papers
4 dated earlier, 2 the same month, 25 later
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 28 more not named here
load_images 20 other papers
3 dated earlier, 2 the same month, 14 later, 1 same year, order not determinable
2312.14867 (2023-12)
VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluation
2024.findings-emnlp.268 (2024 (year only))
Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models
2403.13805 (2024-03)
RAR: Retrieving And Ranking Augmented MLLMs for Visual Recognition
and 17 more not named here
dynamic_preprocess 13 other papers
2 dated earlier, 1 the same month, 10 later
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2405.14156 (2024-05)
Unveiling the Tapestry of Consistency in Large Vision-Language Models
2406.11833 (2024-06)
MMDU: A Multi-Turn Multi-Image Dialog Understanding Benchmark and Instruction-Tuning Dataset for LVLMs
and 10 more not named here
has_word 1 other paper
1 dated earlier
2403.09346 (2024-03)
B-AVIBench: Towards Evaluating the Robustness of Large Vision-Language Model on Black-box Adversarial Visual-Instructions

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

With the rapid advancement of multimodal large language models (MLLMs), their evaluation has become increasingly comprehensive. However, understanding long multimodal content, as a foundational ability for real-world applications, remains underexplored. In this work, we present Needle In A Multimodal Haystack (MM-NIAH), the first benchmark specifically designed to systematically evaluate the capability of existing MLLMs to comprehend long multimodal documents. Our benchmark includes three types of evaluation tasks: multimodal retrieval, counting, and reasoning. In each task, the model is required to answer the questions according to different key information scattered throughout the given multimodal document. Evaluating the leading MLLMs on MM-NIAH, we observe that existing models still have significant room for improvement on these tasks, especially on vision-centric evaluation. We hope this work can provide a platform for further research on long multimodal document comprehension and contribute to the advancement of MLLMs. Code and benchmark are released at https://github.com/OpenGVLab/MM-NIAH.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.07230")
get_code_for_paper("2406.07230")
have("2406.07230")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.07230.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.07230.svg)](https://syntology.ai/paper/2406.07230)

Connect an agent — have() is free.