PRIMA: Multi-Image Vision-Language Models for Reasoning Segmentation
Organizations: University of Illinois Urbana-Champaign
Abstract
Despite significant advancements in Large Vision-Language Models (LVLMs)' capabilities, existing pixel-grounding models primarily operate in single-image settings, limiting their ability to perform detailed, fine-grained comparisons across multiple images. Conversely, current multi-image understanding models lack pixel-level grounding. We introduce the task of multi-image pixel-grounded reasoning alongside PRIMA, an LVLM that integrates reasoning segmentation with robust multi-image reasoning to produce contextually rich, pixel-grounded explanations. Central to PRIMA is SQuARE, a vision module that injects cross-image relational context into compact query-based visual tokens before fusing them with the language backbone. To support training and evaluation, we curate , a new multi-image reasoning segmentation benchmark consisting of ~750K question-answer pairs that require fine-grained visual understanding across multiple images. PRIMA outperforms state-of-the-art baselines, yielding absolute gains of 11.8 and 12.2 points in Recall and S-IoU, respectively. Ablations further demonstrate SQuARE's effectiveness in capturing cross-image relationships.
Figures & tables
| Dataset (Model, Venue) | Bounding Boxes | Seg. Masks | Multi-Image | General Reasoning | |
|---|---|---|---|---|---|
| Image-level | CompBench (—, NeurIPS-24) [ 31 ] | ✗ | ✗ | ✓ | ✗ |
| M4-Instruct (LLaVA-NeXT-Interleave, arXiv-24) [ 36 ] | ✗ | ✗ | ✓ | ✓ | |
| MANTIS-INSTRUCT (MANTIS, TMLR-24) [ 28 ] | ✗ | ✗ | ✓ | ✓ | |
| MMRA (—, arXiv-24) [ 87 ] | ✗ | ✗ | ✓ | ✗ | |
| ReMI (—, NeurIPS-24) [ 30 ] | ✗ | ✗ | ✓ | ✗ | |
| MMDU (—, NeurIPS-24) [ 50 ] | ✗ | ✗ | ✓ | ✓ |
| Model | mIoU | Recall | I-SS | I-SIoU | SS | S-IoU | METEOR |
|---|---|---|---|---|---|---|---|
| Open-Source LVLMs (post-hoc grounding) † | |||||||
| Qwen3-VL-8B | 26.73 | 17.57 | 25.13 | 19.17 | 75.22 | 59.45 | 22.14 |
| NVIDIA-Nemotron-Nano-12B-v2-VL | 15.78 | 10.00 | 14.04 | 11.03 | 66.31 | 51.33 | 21.39 |
| Qwen3-VL-235B-A22B | 30.69 | 21.05 | 27.96 | 19.25 | 76.89 | 56.32 | 23.72 |
| InternVL3-78B | 24.32 | 15.87 | 26.81 | 22.43 | 68.03 | 52.18 | 20.59 |
| Pixtral-Large-124B | 34.22 | 20.80 | 33.42 | 26.28 | 77.68 | 60.39 | 23.61 |
| Model | MSRC | iCoseg | ||
|---|---|---|---|---|
| Rubinstein et al . [ 71 ] | 92.2 | 74.7 | 89.6 | 70.2 |
| Jerripothula et al . [ 26 ] | 88.7 | 71.0 | 91.9 | 74.0 |
| Wang et al . [ 77 ] | 93.6 | 76.0 | 93.8 | 77.0 |
| Faktor and Irani [ 16 ] | 92.0 | 77.0 | 94.4 | 78.2 |
| Li et al . [ 40 ] | 95.2 | 82.9 | 95.1 | 84.2 |
| Ground Truth | Prima | GLaMM | |||
| Q: Which object in the living room is best for holding drinks or snacks during a gathering, and what is the alternative in the laundry room for placing small items? | |||||
| In the living room setup, the coffee table is most suitable for holding drinks or snacks. In a laundry room setting, the table offers an alternate option for placing smaller items temporarily. | In a living room setup, the most suitable object for holding drinks or snacks is the coffee table . In a laundry room setting, the most suitable option for placing smaller items temporarily is the table . | In a living room setup, the coffee table is most suitable for holding drinks or snacks during social gatherings. In a laundry room setting, the cabinet can serve as an alternative for placing smaller items temporarily. | |||
| Q: In which image can we find the highest number of bicycles? | |||||
| In Image 1, there is one bicycle . On the other hand, Image 2 has 2 bicycles ( bicycle , bicycle ) in it. And, finally, Image 3 contains a single bicycle . So, the image with the highest number of bicycles is Image 2. | Image 1 has one bicycle in it. And, Image 2 contains 2 bicycles ( bicycle , bicycle ). And, finally, Image 3 features one bicycle . That means the image with the highest number of bicycles is Image 2. | Image 1 contains 2 bicycles ( bicycle , bicycle ). And, Image 2 contains a single bicycle . That means the image with the highest number of bicycles is Image 2. | |||
| Model | mIoU | Recall | I-SS | I-SIoU | SS | S-IoU | METEOR |
|---|---|---|---|---|---|---|---|
| ✗ SQuARE ✓ Pooling | 48.56 | 32.13 | 49.67 | 39.6 | 71.73 | 58.17 | 28.79 |
| ✗ SQuARE ✓ Projection | 48.98 | 34.86 | 55.67 | 51.87 | 78.81 | 72.61 | 28.73 |
| Prima (ours) | 54.95 | 41.33 | 64.49 | 61.48 | 83.19 | 78.76 | 28.81 |
| Ours - 2nd best | + 5.97 | + 6.47 | + 8.82 | + 9.61 | + 4.38 | + 6.15 | + 0.02 |
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | bear2 | brownbear | cheetah | elephant | helicopter | hotballoon | panda1 | panda2 | Average |
|---|---|---|---|---|---|---|---|---|---|
| Rubinstein et al. [71] | 65.3 | 73.6 | 69.7 | 68.8 | 80.3 | 65.7 | 75.9 | 62.5 | 70.2 |
| Jerripothula et al. [25] | 70.1 | 66.2 | 75.4 | 73.5 | 76.6 | 76.3 | 80.6 | 71.8 | 73.8 |
| Jerripothula et al. [26] | 67.5 | 72.5 | 78.0 | 79.9 | 80.3 | 80.2 | 72.2 | 61.4 | 74.0 |
| Faktor and Irani [16] | 72.0 | 92.0 | 67.0 | 67.0 | 82.0 | 88.0 | 70.0 | 55.0 | 78.2 |
| Li et al. [40] | 88.7 | 91.5 | 71.5 | 85.1 | 73.1 | 91.1 | 87.5 | 84.7 | 84.2 |
| Zhang et al. [98] | 91.1 | 89.6 | 88.6 | 90.9 | 76.4 | 94.2 | 90.4 | 87.5 | 89.2 |
| Models | Spontaneous Grounding | Referential Grounding | Avg. | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Difference | Similarity | Visual Reference | Textual | Visual+Textual | |||||||
| Static | Robust | Common | OT | MV | Region | Refer | GG | Reason | Co-Re | ||
| Mantis | 1.52 | 0.00 | 3.31 | 12.18 | 2.08 | 1.00 | 1.01 | 10.02 | 0.00 | 0.85 | 3.20 |
| LLaVA-OV-7B | 6.06 | 3.19 | 3.43 | 0.18 | 1.04 | 1.08 | 9.09 | 15.43 | 6.93 | 0.85 | 4.73 |
| Minicpm2.6 | 14.58 | 2.13 | 14.34 | 9.82 | 6.25 | 1.75 | 11.11 | 10.02 | 2.97 | 2.56 | 7.55 |
| mPLUG-Owl3 | 18.56 | 6.38 | 34.93 | 8.55 | 7.64 | 2.41 | 7.07 | 22.85 | 9.09 | 5.98 | 12.35 |
| Method | Validation | Test | ||||||
|---|---|---|---|---|---|---|---|---|
| Obj. & Part | Obj. | Part | Obj. & Part | |||||
| gIoU | cIoU | gIoU | cIoU | gIoU | cIoU | gIoU | cIoU | |
| LISA-7B | 13.8 | 18.3 | 23.5 | 25.1 | 6.6 | 7.9 | 14.5 | 17.9 |
| GSVA-7B | 14.6 | 25.1 | 26.4 | 34.3 | 6.0 | 11.6 | 15.5 | 24.8 |
| GLaMM | 12.6 | 19.2 | 23.7 | 31.9 | 3.9 | 6.4 | 13.3 | 18.7 |
| LISA-Llama2-13B | 15.4 | 20.0 | 26.1 | 27.9 | 7.4 | 8.4 | 16.1 | 19.8 |
| Metric (%) | All | 2 img. | 3 img. |
|---|---|---|---|
| Assignment F1 | 90.79 | 95.63 | 81.17 |
| Exact image set | 73.30 | 84.26 | 50.00 |
| All answer images covered | 81.00 | 90.59 | 60.63 |
| Order-aligned assignment | 75.80 | 81.84 | 62.66 |
| Exact per-image count | 37.90 | 46.32 | 20.00 |
| Exact identifier sequence | 34.70 | 43.09 | 16.88 |
| Metric | Counting | Functional | Open-ended | Spatial |
|---|---|---|---|---|
| Assignment F1 | 99.22 | 90.25 | 88.49 | 84.02 |
| Exact image set | 98.40 | 66.00 | 67.20 | 61.60 |
| All answer images covered | 98.40 | 77.20 | 77.60 | 70.80 |
| Exact per-image count | 81.60 | 28.00 | 21.20 | 20.80 |
| Open-Ended Q: In a dimly lit environment, which type of lighting fixture might provide more direct illumination across both spaces? | |||||
|---|---|---|---|---|---|
| Ground Truth | Prima | ||||
| In a dimly lit environment, the sconce fixtures in Image 2 (such as sconce and sconce ) might provide more direct illumination compared to the chandelier in Image 1. This is because sconces typically provide concentrated light against the wall, enhancing ambient lighting, whereas a chandelier often disperses light across a larger area and may need additional fixtures to create focused lighting. | In a dimly lit environment, the chandelier in Image 1 might provide more direct illumination due to its multiple light sources, compared to the sconce in Image 2, which is designed for localized lighting. | ||||
| GLaMM | LISA | ||||
| In a dimly lit environment, the lights from light and light in Image 1 might provide more direct illumination due to their positioning and size, compared to the smaller lights like light and light in Image 2. | In Image 1, the chandelier provides more direct illumination due to its central position and multiple light sources. In Image 2, the lamp offers a more focused lighting option due to its smaller size and likely direct lighting design. | ||||
| Functional Q: Which object would allow for better maneuverability in crowded areas? | |||||
| Ground Truth | Prima | ||||
| Numerical Q: Which image has the largest count of sheep? | |||||
| Ground Truth | Prima | ||||
| There is one sheep in Image 1. And, 2 sheep ( sheep , sheep ) are present in Image 2. Finally, there is one sheep in Image 3. Therefore, the image with the largest count of sheep is Image 2. | Image 1 has one sheep in it. And, Image 2 has 2 sheep ( sheep , sheep ) in it. Finally, Image 3 includes one sheep . Thus, the image with the largest count of sheep is Image 2. | ||||
| GLaMM | LISA | ||||
| Image 1 has 2 sheep ( sheep , sheep ) in it. And, Image 2 contains a single sheep . Finally, Image 3 contains a single sheep . Hence, the image with the largest count of sheep is Image 2. | Image 1 includes 2 sheep ( sheep , sheep ). And, Image 2 has one sheep in it. That means the image with the largest count of sheep is Image 2. | ||||
| Functional Q: Which furniture item has a more practical storage solution for clothing or personal items, the chest of drawers in the second image or the drawer in the desk from the first image? | |||||
| Ground Truth | Prima | ||||
| Spatial Q: Considering the arrangement of the sofa and its immediate surroundings, which sofa setup would allow for easier access to a side table from a seated position? | |||||
| Ground Truth | Prima | ||||
| The sofa in Image 1, sofa , allows for easier access to the side table, table , given its closer proximity. In Image 2, sofa is placed farther from the nearest table, making access less convenient. | In Image 1, the sofa is positioned near the coffee table , allowing for easy access to the table from a seated position. In Image 2, the sofa is not directly adjacent to a side table, making it less convenient for access. | ||||
| GLaMM | LISA | ||||
| In Image 1, the sofa is positioned near the coffee table , allowing for easier access to the table from a seated position. In Image 2, the sofa is not directly adjacent to a side table, as the coffee table is placed further away. | In Image 1, the sofa is positioned with its sofa’s arm and sofa’s back pillow providing a clear path to the coffee table . In Image 2, the sofa is positioned with its sofa’s arm and sofa’s back pillow offering access to the coffee table . Both setups allow for easy access to a side table from a seated position, but Image 2’s coffee table is more centrally located, making it more convenient for seated individuals. | ||||
| Failure case Open-Ended Q: Considering the various configurations of car parts seen across the images, which car is positioned in a way that impedes typical access to its components and why? | |||||
| Ground Truth | Prima | ||||
| Q: Which image shows a single serving portion rather than the entire dish? | |||||
|---|---|---|---|---|---|
| Prima | GLaMM | LISA | |||
| Image 1 shows a single serving portion, pizza , which is smaller compared to the larger dish in Image 2, pizza . | Image 2 shows a single serving portion of pizza , as it only includes a single slice, unlike Image 1, where pizza is shown with multiple slices. | Image 1 shows a single serving portion with pizza , whereas Image 2 shows a dish with multiple portions, including pizza , pizza , and pizza . | |||
| Q: Which accessory is more appropriate for carrying small personal items to a formal event? | |||||
| Prima | GLaMM | LISA | |||
| Q: Considering the presence of multiple dogs across the images, which scenario seems to involve active participation from the dogs in a task? | Q: Which animal has a longer tail, possibly aiding balance or swatting insects? | ||
| In Image 2, the dogs ( dog and dog ) seem actively involved in a task, as they appear to be pulling or moving actively. In contrast, in Image 1, the dog is stationary near the car and person . | The horse in Image 1 has a longer tail compared to the dog ’s tail in Image 2, aiding in balance and swatting insects. | ||
| Q: Which image presents a more space-efficient sink and faucet arrangement for a compact room? | Q: Which windowpane across all images provides the best view of the outside environment? | ||
| Image 3 presents a more space-efficient arrangement with sink and faucet . The compact setup fits well into smaller spaces without compromising functionality, making it ideal for compact environments. | The windowpane in Image 2 provides the best view of the outside environment as it offers a broad expanse with a visible landscape. | ||
| Q: Which object, cow or sheep, is more widely represented across the images? | Q: Which object would require more maintenance in terms of cleaning? | ||
| Q: Which vehicle is more suitable for transporting a large group of people over long distances? | Q: In a scenario where a single person needs to travel with minimal waiting time, which object provides the best solution? | ||
| The bus and bus in Image 1 are more suitable for transporting a large group of people over long distances due to their larger passenger capacity compared to the car in Image 2, which is designed for fewer passengers. | In this scenario, the motorbikes motorbike and motorbike from Image 2 provide the best solution for a single person to travel with minimal waiting time, as they are ready for immediate use and can weave through traffic more easily than the bus in Image 1, which operates on a fixed schedule and route. | ||
| Q: Which object would be more effective at removing cooking odors in these kitchens? | Q: Which type of vehicle, across the images, is likely more suitable for carrying larger cargo? | ||
| The hood in Image 1 and hood in Image 2 would be more effective at removing cooking odors compared to Image 3, which lacks a hood. | The vehicle type more suitable for carrying larger cargo is the van , found in Image 3. Vans are generally designed with more space and capacity for transporting goods compared to a typical car, such as car in Image 1 or car in Image 2. | ||
| Q: Are the objects used for similar purposes across the two images? | Q: In an urban setting with narrow streets, which object is more maneuverable and suitable for quick, individual travel? | ||
| Q: Analyzing the spatial arrangement across images, which boat appears more isolated from other objects, and what could this imply about its usability in a crowded marina? | Q: If you wanted to move an item outside the door and required ample space for the maneuver, which door would you choose based on surrounding furniture? | ||
|---|---|---|---|
| Boat in Image 1 appears more isolated from other objects, as it is on open water without nearby boats. This implies it has more immediate maneuverability and usability compared to the boats in Image 2, which are closely docked and restricted by their surroundings. | Based on the surrounding furniture, the door in Image 1 provides ample space for maneuvering an item outside, as the area is more open with only the bed further away from the door. In contrast, the door in Image 2 is surrounded by the kitchen island and various cabinets, limiting available space for easy movement. | ||
| Q: In which image are more swivel chairs positioned symmetrically along a line, and how does that arrangement affect potential usability in each space? | Q: Which sink seems to provide the most counter space for placing items, considering the surrounding spatial arrangement across the images? | ||
| In Image 2, more swivel chairs are positioned symmetrically along a line, specifically the chairs swivel chair , swivel chair , and swivel chair , among others, forming a row. This arrangement is conducive to usability in a workspace setting, as it suggests a structured environment that could enhance accessibility and movement along the stations. In contrast, Image 1 only includes one swivel chair, swivel chair , which does not contribute to a symmetric arrangement in that context. | The sink in Image 3, sink , appears to provide the most counter space due to its positioning within the kitchen counter, which extends on both sides. The sinks in Image 1, sink , and Image 2, sink , are less likely to offer additional space as they are situated closer to other fixtures like the toilet and bathroom items, respectively. | ||
| Q: Which of the two images has a greater number of sandwiches and by how many? | Q: Between the two images, which one contains more zebras and what is the difference? | ||
|---|---|---|---|
| In Image 1, there is one sandwich . On the other hand, Image 2 has 2 sandwiches ( sandwich , sandwich ) in it. Therefore, the image with a greater number of sandwich is Image 2, with (2 - 1) = 1 more sandwich. | Image 1 features 3 zebras ( zebra , zebra , zebra ). In contrast, Image 2 features 2 zebras ( zebra , zebra ). Hence, between the two images, Image 1 contains (3 - 2) = 1 more zebra compared to the other image. | ||
| Q: If we count all the dogs from all images, what is the sum? | Q: Which of the two images has a smaller number of windowpanes and by how many? | ||
| Image 1 contains 3 dogs ( dog , dog , dog ). And, there is one dog in Image 2. Thus, if we count all the dogs from all images, the sum is (3 + 1) = 4. | Image 1 includes 2 windowpanes ( windowpane , windowpane ). But, Image 2 features 3 windowpanes ( windowpane , windowpane , windowpane ). Therefore, the image with a smaller number of windowpane is Image 1, with (3 - 2) = 1 fewer windowpane. | ||
Large Vision-Language Models
Large vision-language models (LVLMs) connect image and video perception with language generation, reasoning, and interactive tasks.
See all 427 papers