Papers › FastInst: A Simple Query-Based Model for Real-Time Instance Segmentation

FastInst: A Simple Query-Based Model for Real-Time Instance Segmentation

15 Mar 2023CVPR 2023 1arXiv:2303.08594archive 2025-07-28

Junjie He, Pengyu Li, Yifeng Geng, Xuansong Xie

Recent attention in instance segmentation has focused on query-based models. Despite being non-maximum suppression (NMS)-free and end-to-end, the superiority of these models on high-accuracy real-time benchmarks has not been well demonstrated. In this paper, we show the strong potential of query-based models on efficient instance segmentation algorithm designs. We present FastInst, a simple, effective query-based framework for real-time instance segmentation. FastInst can execute at a real-time speed (i.e., 32.5 FPS) while yielding an AP of more than 40 (i.e., 40.5 AP) on COCO test-dev without bells and whistles. Specifically, FastInst follows the meta-architecture of recently introduced Mask2Former. Its key designs include instance activation-guided queries, dual-path update strategy, and ground truth mask-guided learning, which enable us to use lighter pixel decoders, fewer Transformer decoder layers, while achieving better performance. The experiments show that FastInst outperforms most state-of-the-art real-time counterparts, including strong fully convolutional baselines, in both speed and accuracy. Code can be found at https://github.com/junjiehe96/FastInst .

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

Code

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

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

junjiehe96/fastinst officialmentioned in papermentioned on GitHubpytorchMIT 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

9 samples harvested; 2 ran; 1 honoured the contract we drafted; 7 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 · honoured contract
1ran
7unverified

Licence: 0 of the 9 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 junjiehe96/fastinst. “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.

downsample_conv junjiehe96/fastinst/fastinst/modeling/backbone/resnet.py official repository ran MIT (permissive) · eea0376ea397a1c7 · report
get_padding junjiehe96/fastinst/fastinst/modeling/backbone/resnet.py official repository ran · honoured contract fingerprinted MIT (permissive) · 9b02c1068795fd5b · report
batch_dice_loss junjiehe96/fastinst/fastinst/modeling/matcher.py official repository unverified MIT (permissive) · bc2cb481a75c370d · report
batch_sigmoid_ce_loss junjiehe96/fastinst/fastinst/modeling/matcher.py official repository unverified MIT (permissive) · 1edd24985036b0bf · report
calculate_uncertainty junjiehe96/fastinst/fastinst/modeling/criterion.py official repository unverified MIT (permissive) · 2dcb8123d89bb1ff · report
dice_loss junjiehe96/fastinst/fastinst/modeling/criterion.py official repository unverified MIT (permissive) · c3515e0fff6540ea · report
downsample_avg junjiehe96/fastinst/fastinst/modeling/backbone/resnet.py official repository unverified MIT (permissive) · bf7559951d6574a4 · report
nested_tensor_from_tensor_list junjiehe96/fastinst/fastinst/utils/misc.py official repository unverified MIT (permissive) · 58cc9ff3bf75e753 · report
sigmoid_ce_loss junjiehe96/fastinst/fastinst/modeling/criterion.py official repository unverified MIT (permissive) · a2b19dbf3e1969b9 · report

Tasks

DecoderInstance SegmentationReal-time Instance SegmentationSegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSPEEDSoftmaxTransformer

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