Osprey: Pixel Understanding with Visual Instruction Tuning

Yuqian Yuan, Wentong Li, Jian Liu, Dongqi Tang, Xinjie Luo +3 more
2/14/2026

No official code found. Best implementation: CircleRadon/Osprey (839 stars, Apache-2.0, last commit 2025-08-19). 1 more below.

Abstract

Multimodal large language models (MLLMs) have recently achieved impressive general-purpose vision-language capabilities through visual instruction tuning. However, current MLLMs primarily focus on image-level or box-level understanding, falling short in achieving fine-grained vision-language alignment at pixel level. Besides, the lack of mask-based instruction data limits their ad-vancements. In this paper, we propose Osprey, a mask-text instruction tuning approach, to extend MLLMs by incor-porating fine-grained mask regions into language instruction, aiming at achieving pixel-wise visual understanding. To achieve this goal, we first meticulously curate a mask-based region-text dataset with 724K samples, and then design a vision-language model by injecting pixel-level representation into LLM. Specifically, Osprey adopts a convolutional CLIP backbone as the vision encoder and employs a mask-aware visual extractor to extract precise visual mask features from high resolution input. Experimen-tal results demonstrate Osprey's superiority in various region understanding tasks, showcasing its new capability for pixel-level instruction tuning. In particular, Osprey can be integrated with Segment Anything Model (SAM) seamlessly to obtain multi-granularity semantics. The source code, dataset and demo can be found at https://github.com/CircleRadon/Osprey.

View on arXivView PDF

Code Implementations(2)

CircleRadon/OspreyCommunity69%
Apache-2.0

[CVPR2024] The code for "Osprey: Pixel Understanding with Visual Instruction Tuning"

83943Shell, PythonDec 17, 20231 years agoApache-2.0
mllmpixel-understandingsamvisual-instruction-tuning
Apache-2.0

Gradio demo used in our Osprey:Pixel Understanding with Visual Instruction Tuning.

163CSS, MDXDec 17, 20232 years agoApache-2.0

Cite this paper

@article{yuan2026osprey,
  title  = {Osprey: Pixel Understanding with Visual Instruction Tuning},
  author = {Yuqian Yuan and Wentong Li and Jian Liu and Dongqi Tang and Xinjie Luo and Chi Qin and Lei Zhang and Jianke Zhu},
  year   = {2026},
  eprint = {2312.10032},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2312.10032},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.10032.svg)](https://codeofpaper.com/paper/2312.10032)

Discussion