A Unified Query-based Paradigm for Camouflaged Instance Segmentation

Bo Dong, Jialun Pei, Rongrong Gao, Tian-Zhu Xiang, Shuo Wang, Huan Xiong

TL;DR

This paper introduces UQFormer, a novel query-based framework for camouflaged instance segmentation (CIS). By unifying mask and boundary queries within a multi-task learning approach, UQFormer achieves state-of-the-art performance on challenging CIS benchmarks, outperforming existing methods with a more efficient architecture.

What Problem Does This Paper Address?

Camouflaged objects are notoriously difficult to detect and segment due to their high similarity with the background. While object detection for camouflaged instances (COD) has seen progress, accurately delineating each individual instance (Camouflaged Instance Segmentation - CIS) remains a significant challenge. Existing CIS methods often rely on indirect, multi-stage approaches like "detect-then-segment" or "label-then-cluster," which can be slow and less effective. Furthermore, while the importance of object boundaries for distinguishing camouflaged objects has been recognized, effectively integrating this information into instance segmentation frameworks has been limited. This paper aims to address these limitations by proposing a unified, end-to-end query-based approach that simultaneously leverages both region (mask) and boundary cues for improved CIS performance.

Methods

The core of UQFormer is a unified query-based multi-task learning framework. It builds upon the success of query-based transformers (like DETR) but introduces several key innovations:

  • Composed Query Learning: UQFormer employs two types of queries: mask queries and boundary queries. These queries interact with each other and with multi-scale features extracted from a CNN backbone and a transformer encoder. This interaction, facilitated by a multi-scale unified learning transformer decoder, allows the model to learn a shared, "composed" query representation that effectively integrates both object region and boundary information.
  • Multi-Task Learning: The framework is designed for simultaneous instance segmentation and instance boundary detection. This joint learning approach forces the model to learn a robust instance-level query representation by leveraging the complementary information from both tasks, leading to improved performance.
  • Direct Set Prediction: Similar to DETR, UQFormer treats instance segmentation as a direct set prediction problem, eliminating the need for post-processing steps like Non-Maximal Suppression (NMS), which can be cumbersome and error-prone.
  • Salient Point Initialization: To improve query learning and accelerate convergence, mask queries are initialized using salient points identified from the global features, rather than random initialization. This leverages important location information.

Datasets

The paper evaluates UQFormer on the following datasets:

  • COD10K: Used for training and testing.
  • NC4K: Used for testing.
  • CAMO++: Mentioned as an existing dataset, but not explicitly used for training or evaluation in the presented experiments due to its unavailability.

Key Insights and Ideas

  • Boundary Cues are Crucial for CIS: The paper strongly emphasizes that object boundaries, despite the camouflage, often contain vital clues that distinguish objects from their backgrounds. Integrating these cues directly into the query learning process significantly boosts performance.
  • Unified Query Representation: Learning a single, "composed" query representation that effectively fuses mask and boundary information is more powerful than using separate representations or relying solely on one type of cue.
  • Multi-Task Learning Synergy: Forcing the model to perform both instance segmentation and boundary detection simultaneously creates a beneficial synergy, where each task helps refine the other, leading to a more robust overall representation.
  • Salient Point Initialization for Queries: Moving beyond random query initialization, using salient points derived from feature maps provides a better starting point for query learning, leading to faster convergence and improved performance.

Key Results

UQFormer demonstrates state-of-the-art performance on both COD10K and NC4K datasets, outperforming 14 other methods.

  • Quantitative Improvements:
    • On COD10K (ResNet-50 backbone), UQFormer achieved an AP of 45.2%, outperforming Mask2Former by 10.2% and OSFormer by 9.2%.
  • On NC4K (ResNet-50 backbone), UQFormer achieved an AP of 47.2%, outperforming OSFormer by 11.5%.
  • The model also shows significant gains on ResNet-101 backbones.
  • Efficiency: UQFormer achieves these superior results with a lighter architecture and fewer parameters compared to previous state-of-the-art methods like OSFormer. For instance, it uses significantly fewer queries (20 vs. 2200 in OSFormer).
  • Qualitative Results: Visual comparisons show UQFormer producing more accurate localization and segmentation of camouflaged instances, effectively handling challenging cases where other methods struggle.

Limitations and Future Work

  • Dataset Availability: The authors note that CAMO++ was not used due to its unavailability, suggesting that performance on this dataset could be further explored.
  • Hyperparameter Tuning: While the paper presents ablation studies for loss function weights (α and β), further exploration of hyperparameter sensitivity might be beneficial.
  • Future Directions: The authors express hope that their efficient and effective UQFormer model will serve as a new baseline for future research in camouflaged instance segmentation. The unified query-based paradigm and multi-task learning approach offer a promising direction for tackling complex segmentation tasks.

Summary updated

BibTeX
@inproceedings{dong2023unified,
  author = {Bo Dong and Jialun Pei and Rongrong Gao and Tian-Zhu Xiang and Shuo Wang and Huan Xiong},
  title = {{A Unified Query-based Paradigm for Camouflaged Instance Segmentation}},
  booktitle = {ACM Multimedia},
  year = {2023},
}
Figure