[Paper Review] AISFormer: Amodal Instance Segmentation with Transformer
AISFormer introduces a Transformer-based mask head for amodal instance segmentation, modeling occluder, visible, amodal, and invisible masks as learnable queries to capture cross-mask coherence within ROIs. It achieves state-of-the-art AIS performance on KINS, D2SA, and COCOA-cls datasets.
Amodal Instance Segmentation (AIS) aims to segment the region of both visible and possible occluded parts of an object instance. While Mask R-CNN-based AIS approaches have shown promising results, they are unable to model high-level features coherence due to the limited receptive field. The most recent transformer-based models show impressive performance on vision tasks, even better than Convolution Neural Networks (CNN). In this work, we present AISFormer, an AIS framework, with a Transformer-based mask head. AISFormer explicitly models the complex coherence between occluder, visible, amodal, and invisible masks within an object's regions of interest by treating them as learnable queries. Specifically, AISFormer contains four modules: (i) feature encoding: extract ROI and learn both short-range and long-range visual features. (ii) mask transformer decoding: generate the occluder, visible, and amodal mask query embeddings by a transformer decoder (iii) invisible mask embedding: model the coherence between the amodal and visible masks, and (iv) mask predicting: estimate output masks including occluder, visible, amodal and invisible. We conduct extensive experiments and ablation studies on three challenging benchmarks i.e. KINS, D2SA, and COCOA-cls to evaluate the effectiveness of AISFormer. The code is available at: https://github.com/UARK-AICV/AISFormer
Motivation & Objective
- Address occlusion challenges in amodal instance segmentation (AIS) beyond traditional Mask R-CNN-style approaches.
- Leverage Transformer-based mask heads to model long-range coherence among mask components within ROI.
- Propose four-module AISFormer to encode features, decode mask queries, embed invisible masks, and predict all four mask types.
- Demonstrate superior AIS performance on three benchmarks (KINS, D2SA, COCOA-cls) and provide ablations to validate design choices.
Proposed method
- Feature encoding: extract ROI features with a backbone and ROIAlign, upscale to higher resolution, and apply a transformer encoder to capture long-range dependencies within ROI.
- Mask transformer decoding: use a transformer decoder to produce three learnable mask query embeddings for occluder, visible, and amodal masks, with self-attention among queries and cross-attention with encoded ROI features.
- Invisible mask embedding: model coherence between amodal and visible masks by feeding concatenated visible and amodal queries into an MLP to produce the invisible mask embedding.
- Mask predicting: compute per-pixel ROI embeddings and blend with query embeddings to predict four masks—occluder, visible, amodal, and invisible—via a dot-product fusion approach.
- Optimization: train end-to-end using cross-entropy losses to supervise mask predictions across all four masks.
Experimental results
Research questions
- RQ1Can a transformer-based mask head effectively model the coherence among occluder, visible, amodal, and invisible masks within an ROI?
- RQ2Do learnable mask queries for occluder, visible, and amodal masks improve AIS performance over shape-prior and non-transformer baselines?
- RQ3How do invisible mask embeddings contribute to capturing the relationship between visible and amodal masks?
- RQ4Is AISFormer effective across multiple amodal segmentation benchmarks (KINS, D2SA, COCOA-cls) with different backbones?
- RQ5What ablations reveal about the necessity of each query type and the invisible embedding?
Key findings
- AISFormer with transformer-based mask heads achieves superior AIS performance compared with several state-of-the-art methods on KINS, D2SA, and COCOA-cls datasets.
- Across backbones (ResNet-50, ResNet-101, RegNet), AISFormer consistently improves the AP and AR metrics for amodal segmentation.
- Ablations show that adding occluder, visible, and invisible query embeddings progressively improves performance, with the full AISFormer (including invisible embedding) yielding the best results.
- On KINS with ResNet-50, AISFormer outperforms shape-prior and non-shape-prior baselines by several AP percentage points; with RegNet backbone, it achieves the best reported AP/AR values among the comparisons.
- On D2SA and COCOA-cls, AISFormer remains competitive with or surpasses state-of-the-art, especially among shape-free approaches, highlighting strength in modeling four mask types without heavy priors.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.