Towards Visual Query Segmentation in the Wild
Bing Fan, Minghao Li, Hanzhi Zhang, Shaohua Dong, NAGA PRUDHVI MAREEDU, Xiaoqiong Liu, Weishi Shi, Yunhe Feng, Yan Huang, Heng Fan
NeurIPS page · Open on the map
Category: Video Understanding & Generation › Video Token Compression · Type: new method · Keywords: visual query segmentation, video object localization, pixel-level segmentation, benchmark VQS-4K, SAM 2 extension, adaptive memory generation
Areas: Evaluation & Benchmarks › Multimodal System Benchmarks › Video Temporal Understanding; Computer Vision & 3D › Visual Multimodal Perception › Visual Segmentation
Summary
We define visual query segmentation (VQS) as a pixel-level, all-occurrence localization paradigm, release the VQS-4K benchmark, and propose VQ-SAM, a video-aware extension of SAM that progressively refines masks using target and background cues.
Explained to a 5-year-old
We have a long video and a picture we like. We want to find every place in the video where that picture’s object appears. We draw a mask around the object in the picture. Then we look through the video and mark every spot where the object shows up, drawing a mask for each. This helps us understand the video better, like finding all cats in a movie.
Explained to a 5-year-old, longer
Imagine you have a big movie and a single photo of something you’re interested in, like a red ball. You want to know every time that red ball appears in the movie, not just the last time. You draw a line around the ball in the photo to show exactly what it looks like. Then you watch the whole movie and every time you see the ball, you mark it with a similar outline. This creates a list of all the ball’s locations, making it easy to see where it appears everywhere. The process also works for any object, not just balls, and can be used in videos of people, animals, or things. It helps you quickly find all instances of something without having to watch the whole video yourself. The method also uses extra clues from the video, like the background, to make sure the ball is recognized correctly even if it moves or changes a little. This makes the whole task faster and more accurate for everyday uses.
For a technical reader
The paper introduces visual query segmentation, which localizes every pixel of a target object across an entire untrimmed video given an external query image. It releases the VQS-4K benchmark, containing over 4,000 videos and 1.3 M frames with pixel-level, spatio-temporal annotations. The proposed method extends SAM 2 by adding target-specific and background distractor cues, using a multi-stage framework with an adaptive memory generation module to iteratively refine masks. Experiments on VQS-4K show that this approach consistently outperforms existing baselines. The released benchmark, code, and results are publicly available for further research.
Problem
Existing visual query localization only finds the last occurrence of a target using bounding boxes, lacking comprehensive and precise pixel-level segmentation of all object appearances in videos.
Method
The approach extends SAM 2 by incorporating target-specific and background distractor cues from the video, using a multi-stage framework with an adaptive memory generation module to progressively evolve masks across the video.
Results
The approach achieves state-of-the-art performance on VQS-4K, outperforming all existing methods.
Contributions
We define the visual query segmentation task, release the VQS-4K benchmark with pixel-level, spatio-temporal annotations, and propose a video-aware segmentation method that leverages target and background cues.
Practical relevance
The new benchmark and method enable precise localization of all object instances in videos, facilitating applications such as video indexing, surveillance, and content-aware video editing.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction