# Poster 30702

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30702

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, I'm Patrick from UC Berkeley. Today I'm happy to present our work, Visual Haze Deck, a vision-centric needle-in-a-haze deck benchmark. So there are a lot of vision problems requires long context reasoning, like answering the problems about large sets of images for photo albums, for medical, satellite, surveillance images, and so on and so forth.
So after 2023, with the success of large language model, a lot of LMMs coming out, and even in 2024, people are more interested in making the context length longer and longer. But the question is still there. Does taking more visual tokens really leads to improved performance? Not necessarily, right? We really need a benchmark to give us a number.
So need a haystack is a pretty common evaluation protocol in long context modeling. In the field of NLP, people usually...
Insert random sentence to a very long essay and see if the models can retrieve and answer these questions. So we can bring the same idea to the visual world. In 24, the Gemini people just built a preliminary benchmark by inserting the transcript to the long video and resulting these results. As you can see, it's very saturated because it's too artificial and overemphasize the OCR rather than the visual thing.
things. So that's why we build Visual Haystack, the first visual-centric medium haystack benchmark with the anchor objects asking the model to do retrieval and the target objects is only for QA. And as you can see, even the benchmark is pretty easy, it already crushed a lot of baselines, even with 10 images.
So with a closer look, we have single needle track, we have multi-needle track, all of them are come from Coco, because we believe it should be the unit test, and all of them should be in domain, and the model should all pass this unit test. Without further ado, let's take a look at the analysis. Finding one, we found model are not good at like handling distractors. We include two non-element baselines which you can check it out in our paper.
So here are those elements results. First, none of them can handle more than 100 images on four A100 GPUs or through API call last May. And the performance drops significantly. So it's bad news for all the models.
And the second finding, the models are actually not good at cross -image reasoning. Recall that we have multi-modal track, and if we feed only those relevant images to the models, the models still drop significantly when there are more than one images. And if we bring those like distractors back, the performance drop even further. With the open source models are actually like 50 to 60% accuracy, it's almost like random guess.
The final thing is about positional biases. Previously we only discussed about the haystack size, which is the x-axis number of images as input. But we can also discuss like where we put the needle. So we just break it down to the one-dimensional plot to see what's happened.
So after a closer look, we found Gemini models actually prefers if the image, the needle image, is at the beginning of the haystack. And GPT-4L, on the other hand, have a lost in the middle phenomenon with a very low performance if the needle image is somewhere in between.
So knowing those limitations, we ask, can we do better on this large-scale multi -image QA? The answer is yes. We propose MIRAGE, the first visual-rag framework that can scale to tens of thousands of images like this one. Here are three keys. One, we have a compressor compress 18 times visual tokens so we can feed more images into our model.
And then we have a receiver trained in line with the LM during the fine -tuning. So during the inference, we can dynamically drop those irrelevant images. And finally, we open source and curate instruction -tuning data sets to support all the community. So we revisit the visual haystack and obviously we are the only methods that can scale to 10K images and surpass all the existing methods over 50 images.
And for the multinator track, although we are not a state-of-the-art, we still be the best for all the open source models, but we believe there is still room for improvement. So here's the takeaway. We create a vision-centric, visual-in-hashtag data sets for the LLMs as a unit test. And with this unit test, we found three key findings, including visual destructors, bad at cross-image reasoning, and also the position of biases.
With those limitations, we then present Mirage to mitigate the problem and it's the first visual rec framework can scale up to 10k images. Finally, we invite people to keep building upon visual haystacks and Mirage to dive deeper into this problem. So that's all. Thanks for listening.
