HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Instances as Queries

Yuxin Fang Shusheng Yang Xinggang Wang Yu Li Chen Fang Ying Shan Bin Feng Wenyu Liu

Instances as Queries

Abstract

Recently, query based object detection frameworks achieve comparable performance with previous state-of-the-art object detectors. However, how to fully leverage such frameworks to perform instance segmentation remains an open problem. In this paper, we present QueryInst (Instances as Queries), a query based instance segmentation method driven by parallel supervision on dynamic mask heads. The key insight of QueryInst is to leverage the intrinsic one-to-one correspondence in object queries across different stages, as well as one-to-one correspondence between mask RoI features and object queries in the same stage. This approach eliminates the explicit multi-stage mask head connection and the proposal distribution inconsistency issues inherent in non-query based multi-stage instance segmentation methods. We conduct extensive experiments on three challenging benchmarks, i.e., COCO, CityScapes, and YouTube-VIS to evaluate the effectiveness of QueryInst in instance segmentation and video instance segmentation (VIS) task. Specifically, using ResNet-101-FPN backbone, QueryInst obtains 48.1 box AP and 42.8 mask AP on COCO test-dev, which is 2 points higher than HTC in terms of both box AP and mask AP, while runs 2.4 times faster. For video instance segmentation, QueryInst achieves the best performance among all online VIS approaches and strikes a decent speed-accuracy trade-off. Code is available at \url{https://github.com/hustvl/QueryInst}.

Code Repositories

Bo396543018/picodet_repro
pytorch
Mentioned in GitHub
open-mmlab/mmdetection
pytorch
Mentioned in GitHub
flyfly666/mmdetection2.18.1
pytorch
Mentioned in GitHub
hustvl/QueryInst
Official
pytorch
Mentioned in GitHub
sty16/cell_mmdetection
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
instance-segmentation-on-cocoQueryInst (single scale)
AP50: 74.2
AP75: 53.8
APL: 63.2
APM: 51.8
APS: 31.5
mask AP: 49.1
instance-segmentation-on-coco-minivalQueryInst (single scale)
AP50: 74.0
AP75: 53.9
APL: 68.3
APM: 52.6
APS: 30.8
mask AP: 48.9
object-detection-on-cocoQueryInst (single-scale)
AP50: 75.9
AP75: 61.9
APL: 70.3
APM: 58.9
APS: 37.4
Hardware Burden: 17G
Operations per network pass:
box mAP: 56.1
object-detection-on-coco-minivalQueryInst (single scale)
AP50: 75.8
AP75: 61.7
APL: 71.5
APM: 59.8
APS: 40.2
box AP: 56.1
object-detection-on-coco-oQueryInst (Swin-L)
Average mAP: 33.2
Effective Robustness: 8.26

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Instances as Queries | Papers | HyperAI