NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ENInst: Enhancing weakly-supervised low-shot instance segmentation

Moon Ye-Bin, Dongmin Choi, Yongjin Kwon, Junsik Kim, Tae-Hyun Oh

TL;DR

This paper tackles the challenging task of weakly-supervised low-shot instance segmentation, where a model must learn to segment novel object classes using only a few bounding box annotations instead of expensive pixel-level masks. By introducing a novel classifier composition strategy and a feature-level test-time mask refinement technique, their proposed method, ENInst, achieves performance comparable to fully-supervised models while being 7.5 times more annotation-efficient.

What Problem Does This Paper Address?

Instance segmentation—identifying and outlining every individual object in an image—typically requires massive datasets with precise, pixel-level mask annotations. Gathering these masks is incredibly tedious and expensive. While "low-shot" learning allows models to adapt to novel classes with only a few examples, users still have to draw complex masks for those new objects.

To ease this burden, researchers have looked toward weak supervision, such as using bounding boxes (which take just two clicks to create) instead of full masks. However, combining weak supervision with low-shot learning (Weakly-supervised Low-shot Instance Segmentation, or WS-LSIS) is highly under-explored. The core challenge is the massive performance drop that occurs when you drastically reduce both the quantity of data and the quality of supervision.

Methods

The authors first build a simple baseline using CondInst (an anchor-free instance segmentation network) and perform a systematic bottleneck analysis to find out exactly why WS-LSIS models struggle. They discover that pixel localization (mask quality) and classification accuracy are the primary bottlenecks.

To fix these issues, they propose ENInst, which introduces two key components:

  1. Novel Classifier Composition (NCC): Instead of initializing the classifiers for novel classes from scratch (which leads to overfitting when data is scarce), NCC parameterizes them as a linear combination of pre-trained base class classifiers. To account for unique traits in novel classes that base classes might lack, they append random Gaussian noise vectors to span the remaining feature space. This is fine-tuned using Manifold Mixup to ensure smooth decision boundaries.
  2. Instance-wise Mask Refinement (IMR): To fix poorly aligned masks resulting from weak bounding-box labels, the authors implement a test-time optimization loop using a Markov Random Field (MRF) formulation. Crucially, instead of applying MRF to raw pixels (which can be noisy and ambiguous), they apply it to the network's internal feature maps. Furthermore, they optimize over the weights of the mask head rather than individual pixel labels, leveraging the "Deep Image Prior" effect for rapid convergence.
Overview of the ENInst architecture and its two core enhancement methods: NCC and IMR.

Datasets

The authors evaluated their approach on standard computer vision benchmarks:

  • MS-COCO: Split into 60 base classes for pre-training and 20 novel classes for low-shot evaluation.
  • PASCAL VOC: Used for evaluating the model's cross-validation performance.
  • COCO novel-only: A custom data split introduced by the authors for cleaner bottleneck analysis, which filters out images from the test set that do not contain any novel classes to prevent false-positive evaluation biases.

Key Insights and Ideas

  • Feature-Level vs. Pixel-Level MRF: Traditional post-processing methods like CRF or GrabCut operate on raw pixel colors, which struggle with shadows, lighting changes, and complex textures. ENInst performs MRF optimization on deep feature maps, which inherently preserve cleaner semantic boundaries.
  • The Power of the Deep Image Prior (DIP): By optimizing the weights of the mask head at test time rather than updating pixel labels directly, the convolutional structure acts as a natural regularizer. This allows the mask to snap to object boundaries in just a few iterations.
  • Classifiers Aren't Born in a Vacuum: Novel classes often share visual or semantic traits with base classes (e.g., a novel "truck" class is highly correlated with base classes like "car" or "bus"). Parameterizing novel classifiers using base weights provides a powerful initialization shortcut.

Key Results

  • Annotation Efficiency: ENInst is 7.5x more efficient in terms of human annotation effort (measured in total clicks) compared to fully-supervised few-shot models like MTFA, while achieving a +4.44 AP gain at a comparable click budget.
Label efficiency comparison on MS-COCO showing ENInst outperforming fully-supervised baselines with significantly fewer clicks.
  • Cross-Dataset Generalization: In a challenging cross-dataset setup (training on COCO, testing on VOC 1-shot), ENInst achieved a segmentation AP of 11.51, outperforming the weakly-supervised baseline (7.48 AP) and even beating some fully-supervised methods like Meta R-CNN.
  • Speed and Quality: Compared to standard post-processors like GrabCut and CRF, the proposed IMR method delivers superior mask quality with significantly lower test-time latency.

Limitations and Future Work

Despite its strong performance, ENInst has a few limitations:

  • Architecture Constraints: The IMR mechanism is tightly coupled with convolution-structured mask heads (like CondInst) and would require significant modification to work with modern transformer-based architectures (e.g., Mask2Former).
  • Inference Overhead: Because IMR relies on a test-time optimization loop, it introduces additional computational latency during inference, making it less suitable for real-time applications in its current form.
  • Semantic Disconnection: The NCC module assumes some level of visual or semantic overlap between base and novel classes. If a novel class is entirely unrelated to anything the model has seen before, the initialization prior may be less effective. The authors suggest exploring language-driven data augmentation to mitigate this in the future.

Summary updated

BibTeX
@article{yebin2024eninst,
  author = {Moon Ye-Bin and Dongmin Choi and Yongjin Kwon and Junsik Kim and Tae-Hyun Oh},
  title = {{ENInst: Enhancing weakly-supervised low-shot instance segmentation}},
  journal = {Pattern Recognition},
  year = {2024},
  doi = {10.1016/j.patcog.2023.109888},
}
Figure