Papers › InstructSeg: Unifying Instructed Visual Segmentation with Multi-modal Large Language Models

InstructSeg: Unifying Instructed Visual Segmentation with Multi-modal Large Language Models

18 Dec 2024arXiv:2412.14006archive 2025-07-28

Cong Wei, Yujie Zhong, Haoxian Tan, Yingsen Zeng, Yong liu, Zheng Zhao, Yujiu Yang

Boosted by Multi-modal Large Language Models (MLLMs), text-guided universal segmentation models for the image and video domains have made rapid progress recently. However, these methods are often developed separately for specific domains, overlooking the similarities in task settings and solutions across these two areas. In this paper, we define the union of referring segmentation and reasoning segmentation at both the image and video levels as Instructed Visual Segmentation (IVS). Correspondingly, we propose InstructSeg, an end-to-end segmentation pipeline equipped with MLLMs for IVS. Specifically, we employ an object-aware video perceiver to extract temporal and object information from reference frames, facilitating comprehensive video understanding. Additionally, we introduce vision-guided multi-granularity text fusion to better integrate global and detailed text information with fine-grained visual guidance. By leveraging multi-task and end-to-end training, InstructSeg demonstrates superior performance across diverse image and video segmentation tasks, surpassing both segmentation specialists and MLLM-based methods with a single model. Our code is available at https://github.com/congvvc/InstructSeg.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2412.14006")

Code

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

By repository: official repository: 14 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

congvvc/instructseg officialmentioned in papermentioned 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; 10 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

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

Licence: 0 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 congvvc/instructseg. “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.

window_partition congvvc/instructseg/instructseg/model/mask_encoder/swin_trans.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 144d10b49baeb8a6 · report
FeedForward congvvc/instructseg/instructseg/model/language_model/ovp.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 4d75570b4e91d0b4 · report
exists congvvc/instructseg/instructseg/model/language_model/ovp.py official repository ran · violated contract fingerprinted Apache-2.0 (permissive) · aa5486a3650902d8 · report
expand2square congvvc/instructseg/instructseg/model/mipha/mm_utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 592b3c1a88f93d7c · report
find_linear_layers congvvc/instructseg/instructseg/train/merge_lora_weights_and_save_hf_model.py official repository ran Apache-2.0 (permissive) · 520d771d01a3c5ef · report
get_mask_from_json congvvc/instructseg/instructseg/model/datasets_mapper/IVS_mapper.py official repository ran Apache-2.0 (permissive) · 231df0d16f40deaf · report
load_image_from_base64 congvvc/instructseg/instructseg/model/mipha/mm_utils.py official repository ran Apache-2.0 (permissive) · c3ee9d07c900dd55 · report
load_revos_json congvvc/instructseg/instructseg/datasets/ytvos.py official repository ran Apache-2.0 (permissive) · 50b4f58ac51e3844 · report
parse_args congvvc/instructseg/instructseg/train/merge_lora_weights_and_save_hf_model.py official repository ran Apache-2.0 (permissive) · 9e11de9f538299ab · report
window_reverse congvvc/instructseg/instructseg/model/mask_encoder/swin_trans.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 61bf152e6a42a184 · report
build_swin_t congvvc/instructseg/instructseg/model/mask_encoder/swin_trans.py official repository unverified Apache-2.0 (permissive) · 670eda77b277eb8a · report
check_shape congvvc/instructseg/instructseg/model/language_model/einops_exts.py official repository unverified Apache-2.0 (permissive) · bbe128f6633ed802 · report
filter_empty_instances_soft congvvc/instructseg/instructseg/datasets/ytvos.py official repository unverified Apache-2.0 (permissive) · ee5e474262386435 · report
process_images congvvc/instructseg/instructseg/model/mipha/mm_utils.py official repository unverified Apache-2.0 (permissive) · 344dff4791fd1381 · report

Tasks

Reasoning SegmentationSegmentationUniversal SegmentationVideo SegmentationVideo Semantic SegmentationVideo Understanding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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