Papers › UniVS: Unified and Universal Video Segmentation with Prompts as Queries

UniVS: Unified and Universal Video Segmentation with Prompts as Queries

28 Feb 2024CVPR 2024 1arXiv:2402.18115archive 2025-07-28

Minghan Li, Shuai Li, Xindong Zhang, Lei Zhang

Despite the recent advances in unified image segmentation (IS), developing a unified video segmentation (VS) model remains a challenge. This is mainly because generic category-specified VS tasks need to detect all objects and track them across consecutive frames, while prompt-guided VS tasks require re-identifying the target with visual/text prompts throughout the entire video, making it hard to handle the different tasks with the same architecture. We make an attempt to address these issues and present a novel unified VS architecture, namely UniVS, by using prompts as queries. UniVS averages the prompt features of the target from previous frames as its initial query to explicitly decode masks, and introduces a target-wise prompt cross-attention layer in the mask decoder to integrate prompt features in the memory pool. By taking the predicted masks of entities from previous frames as their visual prompts, UniVS converts different VS tasks into prompt-guided target segmentation, eliminating the heuristic inter-frame matching process. Our framework not only unifies the different VS tasks but also naturally achieves universal training and testing, ensuring robust performance across different scenarios. UniVS shows a commendable balance between performance and universality on 10 challenging VS benchmarks, covering video instance, semantic, panoptic, object, and referring segmentation tasks. Code can be found at \url{https://github.com/MinghanLi/UniVS}.

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

Code

Syntology Ran 12 of 14 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 12 ran with no contract checked.

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

minghanli/univs officialmentioned in papermentioned on GitHubpytorch 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; 12 ran; 0 honoured the contract we drafted; 2 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.

12ran
2unverified

Licence: 14 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 minghanli/univs. “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.

batch_dice_coefficient_loss minghanli/univs/univs/modeling/video_matcher.py official repository ran fingerprinted no licence file found · pointer only · b4a2ff2dcc61c4d4 · report
batch_dice_loss minghanli/univs/univs/modeling/video_matcher.py official repository ran no licence file found · pointer only · a03c334f626ed752 · report
contrastive_aux_loss minghanli/univs/univs/univs_prompt_longvideo.py official repository ran no licence file found · pointer only · 0c3ac5c5ab657973 · report
contrastive_loss minghanli/univs/univs/univs_prompt_longvideo.py official repository ran no licence file found · pointer only · bb2f0ddf9840604b · report
convert_box_to_mask minghanli/univs/univs/univs_prompt.py official repository ran no licence file found · pointer only · e9937e82c9c52d3d · report
dice_loss minghanli/univs/univs/modeling/video_criterion.py official repository ran fingerprinted no licence file found · pointer only · 63d3c6e9af5b08f8 · report
dice_loss minghanli/univs/univs/modeling/video_criterion_prompt.py official repository ran no licence file found · pointer only · 535792a3fc3afb99 · report
is_semseg_dataset minghanli/univs/univs/prepare_targets.py official repository ran no licence file found · pointer only · 92c5b183ff2beae6 · report
sigmoid_ce_loss minghanli/univs/univs/modeling/video_criterion.py official repository ran fingerprinted no licence file found · pointer only · 450b62615caa903a · report
sigmoid_ce_loss minghanli/univs/univs/modeling/video_criterion_prompt.py official repository ran fingerprinted no licence file found · pointer only · 46b849406325dd41 · report
sigmoid_ce_with_weight_loss minghanli/univs/univs/modeling/video_criterion.py official repository ran fingerprinted no licence file found · pointer only · db2f336362cda7c8 · report
sigmoid_ce_wo_logits_loss minghanli/univs/univs/modeling/video_criterion_prompt.py official repository ran no licence file found · pointer only · 1a3d5d8a73ce293d · report
batch_sigmoid_ce_loss minghanli/univs/univs/modeling/video_matcher.py official repository unverified no licence file found · pointer only · 1edd24985036b0bf · report
copy_TeacherNet_weights minghanli/univs/univs/utils/copy_TeacherNet_weights.py official repository unverified no licence file found · pointer only · 770dbf8ac853d862 · report

Tasks

DecoderReferring Expression SegmentationReferring Video Object SegmentationVideo Instance SegmentationVideo Object SegmentationVideo Object TrackingVideo Panoptic SegmentationVideo SegmentationVideo Semantic Segmentation

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Referring Expression Segmentation DAVIS 2017 (val) UniVS(Swin-L) J&F 1st frame 59.4? #17 of 18 Archive leaderboard report
Referring Expression Segmentation DAVIS 2017 (val) UniVS(Swin-L) J&F Full video 59.4 #17 of 18 Archive leaderboard report
Referring Expression Segmentation Refer-YouTube-VOS (2021 public validation) UniVS(Swin-L) F 59.5 #24 of 33 Archive leaderboard report
Referring Expression Segmentation Refer-YouTube-VOS (2021 public validation) UniVS(Swin-L) J 56.8 #24 of 33 Archive leaderboard report
Referring Expression Segmentation Refer-YouTube-VOS (2021 public validation) UniVS(Swin-L) J&F 58.0 #24 of 33 Archive leaderboard report
Video Instance Segmentation OVIS validation UniVS(Swin-L) mask AP 41.7 #18 of 44 Archive leaderboard report
Video Instance Segmentation YouTube-VIS 2021 UniVS(Swin-L) AP50 79.4 #12 of 26 Archive leaderboard report
Video Instance Segmentation YouTube-VIS 2021 UniVS(Swin-L) AP75 63.3 #12 of 26 Archive leaderboard report
Video Instance Segmentation YouTube-VIS 2021 UniVS(Swin-L) AR1 46.2 #12 of 26 Archive leaderboard report
Video Instance Segmentation YouTube-VIS 2021 UniVS(Swin-L) AR10 63.1 #12 of 26 Archive leaderboard report
Video Instance Segmentation YouTube-VIS 2021 UniVS(Swin-L) mask AP 57.9 #12 of 26 Archive leaderboard report
Video Instance Segmentation YouTube-VIS validation UniVS(Swin-L) AP50 82.1 #7 of 44 Archive leaderboard report
Video Instance Segmentation YouTube-VIS validation UniVS(Swin-L) AP75 65.3 #7 of 44 Archive leaderboard report
Video Instance Segmentation YouTube-VIS validation UniVS(Swin-L) AR1 54.7 #7 of 44 Archive leaderboard report
Video Instance Segmentation YouTube-VIS validation UniVS(Swin-L) AR10 66.8 #7 of 44 Archive leaderboard report
Video Instance Segmentation YouTube-VIS validation UniVS(Swin-L) mask AP 60.0 #7 of 44 Archive leaderboard report
Video Object Segmentation DAVIS 2017 (val) UniVS(Swin-L) F-measure 79.5 #14 of 17 Archive leaderboard report
Video Object Segmentation DAVIS 2017 (val) UniVS(Swin-L) Jaccard 72.8 #14 of 17 Archive leaderboard report
Video Object Segmentation DAVIS 2017 (val) UniVS(Swin-L) Mean Jaccard & F-Measure 76.2 #14 of 17 Archive leaderboard report
Video Object Segmentation YouTube-VOS 2018 UniVS(Swin-L) Mean Jaccard & F-Measure 71.5 #13 of 17 Archive leaderboard report
Video Panoptic Segmentation VIPSeg UniVS(Swin-L) STQ 58.2 #8 of 12 Archive leaderboard report
Video Panoptic Segmentation VIPSeg UniVS(Swin-L) VPQ 49.3 #8 of 12 Archive leaderboard report
Video Semantic Segmentation VSPW UniVS(Swin-L) mIoU 59.8 #2 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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