Papers › Osprey: Pixel Understanding with Visual Instruction Tuning

Osprey: Pixel Understanding with Visual Instruction Tuning

15 Dec 2023CVPR 2024 1arXiv:2312.10032archive 2025-07-28

Yuqian Yuan, Wentong Li, Jian Liu, Dongqi Tang, Xinjie Luo, Chi Qin, Lei Zhang, Jianke Zhu

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 advancements. In this paper, we propose Osprey, a mask-text instruction tuning approach, to extend MLLMs by incorporating 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. Experimental 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.10032")

Code

Syntology Ran 8 of 14 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 6 ran; 4 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

circleradon/osprey officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
syscv/sam-hq mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 8 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
5ran
6unverified

Licence: 4 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from circleradon/osprey. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

anns_to_gpt_format circleradon/osprey/osprey/data_generation/generate_gpt_prompt.py official repository ran Apache-2.0 (permissive) · f87bbcb499baf746 · report
box_tostr circleradon/osprey/osprey/data_generation/generate_gpt_prompt.py official repository ran Apache-2.0 (permissive) · 6c0e03018d4aaf50 · report
change_box circleradon/osprey/osprey/data_generation/generate_gpt_prompt.py official repository ran Apache-2.0 (permissive) · 7c1f8f327d8bd531 · report
expand2square circleradon/osprey/osprey/mm_utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 592b3c1a88f93d7c · report
load_image_from_base64 circleradon/osprey/osprey/mm_utils.py official repository ran Apache-2.0 (permissive) · c3ee9d07c900dd55 · report
show_mask circleradon/osprey/demo/osprey_inference.py official repository ran Apache-2.0 (permissive) · 91176208680551c3 · report
build_osprey_dataset circleradon/osprey/osprey/datasets/data_modules.py official repository unverified Apache-2.0 (permissive) · 898545959577e449 · report
pretty_print_semaphore circleradon/osprey/osprey/utils.py official repository unverified Apache-2.0 (permissive) · 37899f22fb191b37 · report
process_images circleradon/osprey/osprey/mm_utils.py official repository unverified Apache-2.0 (permissive) · 344dff4791fd1381 · report
violates_moderation circleradon/osprey/osprey/utils.py official repository unverified Apache-2.0 (permissive) · f9939a84b9a65279 · report
parse_score identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 763f6fe20bd52fbb · report
split_to_even_chunks identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · 10893c4608c08075 · report
get_mm_adapter_state_maybe_zero_3 identical code first harvested elsewhere unverified licence of this copy not recorded · bb35e3ac741bb2c9 · report
maybe_zero_3 identical code first harvested elsewhere unverified licence of this copy not recorded · 735025744c1ab0cf · report

Tasks

Language Modelling

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CLIPFocus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections