Recent vision and language models (VLMs) have demonstrated remarkable success, even surpassing human performance in certain tasks. However, these models struggle with recognizing small objects in high-resolution images. To address this limitation, a previous study introduced a visual search method where VLMs iteratively search for clues to identify small target objects using fine-tuned vision modules. While this approach improves small object recognition, it incurs high inference times due to its iterative operations, extensive use of vision modules, and significant computational costs from training.
We propose a plug-and-play method that leverages pre-trained model weights without requiring external tools or additional training. This method capitalizes on the vision encoder’s inherent ability to contrast images and text, enabling it to selectively focus on image areas relevant to the queries. Consequently, this approach streamlines the process and reduces resource consumption.
Gecko is a plug-and-play framework that allows Vision Language Model (VLM) to identify small objects in high-resolution images. As shown in below figure, Gecko can be summarized as follows:
We adapted the Gecko framework to allow the model to find the small objects across multiple images. To test this, we curated a new benchmark called Multi V* Bench, which includes multi-image, high-resolution visual question and answer tasks with an average resolution of 1920 Ă— 2475 pixels. The benchmark consists of four tasks, each comprising 20 samples:
| Method | Attribute (%)↑ | OCR (%)↑ | Existence (%)↑ | Count (%)↑ | Overall (%)↑ | Inference Time (sample/s)↓ |
|---|---|---|---|---|---|---|
| Open‑source models | ||||||
| Mantis‑CLIP ‡ | 35.0 | 20.0 | 35.0 | 30.0 | 30.0 | 0.749 |
| Mantis‑SigLIP ‡ | 50.0 | 50.0 | 25.0 | 50.0 | 43.75 | 0.774 |
| High resolution models | ||||||
| LLaVA‑NeXT‑Interleave | 50.0 | 45.0 | 45.0 | 35.0 | 43.75 | 0.852 |
| Private models | ||||||
| GPT‑4V Preview | 30.0 | 60.0 | 45.0 | 25.0 | 40.0 | – |
| GPT‑4 Turbo | 35.0 | 60.0 | 45.0 | 20.0 | 40.0 | – |
| GPT‑4o | 70.0 | 65.0 | 55.0 | 55.0 | 61.25 | – |
| GPT‑4o Mini | 45.0 | 65.0 | 50.0 | 15.0 | 43.75 | – |
| Ours‑CLIP | 60.0 | 50.0 | 45.0 | 45.0 | 50.0 | 8.099 |
| Ours‑SigLIP | 45.0 | 75.0 | 45.0 | 40.0 | 51.25 | 7.194 |
@misc{alferro2024gecko,
author={Alferro, Farros and Suganuma, Masanori and Okatani, Takayuki},
title={Guidance from Keyword for Identifying Small Details in High-Resolution Images with Vision-Language Models},
publisher={https://github.com/farrosalferro/gecko},
year={2024},
}
@inproceedings{Jiang2024MANTISIM,
title={MANTIS: Interleaved Multi-Image Instruction Tuning},
author={Dongfu Jiang and Xuan He and Huaye Zeng and Cong Wei and Max W.F. Ku and Qian Liu and Wenhu Chen},
publisher={arXiv2405.01483}
year={2024},
}
This website is adapted from Nerfies, licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. We thank the Mantis team for open-sourcing such wonderful models and LLaMA team for giving us access to their models.