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

Box-Supervised Instance Segmentation with Level Set Evolution

Wentong Li, Wenyu Liu, Jianke Zhu, Miaomiao Cui, Xian-Sheng Hua, Lei Zhang

Introduction

Instance segmentation is a fundamental task in computer vision that requires identifying individual objects and delineating their precise pixel-wise boundaries. While deep learning has significantly advanced this field, the requirement for massive amounts of pixel-level mask annotations remains a major bottleneck. Producing these masks is labor-intensive, often taking 15 to 75 times longer than drawing a simple bounding box.

To mitigate these costs, researchers have explored box-supervised instance segmentation, which utilizes only bounding box labels for training. However, current methods often rely on complex multi-stage pseudo-labeling or pairwise affinity assumptions that struggle in noisy environments where backgrounds and objects share similar textures. This paper introduces BoxLevelSet, a novel framework that integrates classical level set evolution directly into a deep learning pipeline to achieve robust, end-to-end instance segmentation.

Methodology

The core innovation of BoxLevelSet is the seamless integration of the classical Chan-Vese level set model into a modern deep neural network architecture, specifically SOLOv2. This approach treats the segmentation task as an energy minimization problem, where the object boundary is represented by the zero-crossing of a predicted level set function ($\phi$).

Differentiable Level Set Evolution

Traditionally, level set methods are iterative and non-differentiable. The authors overcome this by formulating a version of the Chan-Vese energy functional that is fully differentiable. By replacing the traditional Heaviside step function with a smooth sigmoid function, the network can be trained via standard backpropagation. The energy function encourages the predicted mask to partition the area within the bounding box into two uniform regions: the foreground object and the background.

Dual-Input Feature Integration

To ensure the boundary evolution is robust against complex textures, the model utilizes two types of data:

  1. Low-level features: Raw pixel intensities and colors from the input image provide sharp local edges.
  2. High-level features: Semantic features from the CNN, enhanced by a Tree Filter to capture long-range dependencies, provide structural consistency and prevent the mask from "leaking" into the background.

Initialization and Inference

To facilitate faster convergence, the model uses a box projection function to provide a rough initial boundary based on the ground-truth box coordinates. Crucially, the level set evolution is only utilized during the training phase. At inference time, the model functions like a standard SOLOv2 network, generating masks directly without additional computational overhead.

Experimental Evaluation

The authors evaluated BoxLevelSet across four diverse benchmarks to demonstrate its versatility across different imaging domains:

  • COCO & Pascal VOC: On these general benchmarks, BoxLevelSet achieved state-of-the-art results. On Pascal VOC, it reached 38.3 AP, outperforming competitors like BoxInst (36.5) and DiscoBox (37.5). On COCO, it achieved 35.4 AP, significantly narrowing the gap with fully supervised models.
  • iSAID (Remote Sensing): In aerial imaging, where objects are often small and densely packed, the method outperformed BoxInst by 2.3% AP.
  • LiTS (Medical Imaging): On CT scans for liver tumor segmentation, where boundaries are notoriously blurry, BoxLevelSet showed a 3.8% AP improvement over previous methods, highlighting its robustness in challenging visual contexts.

Key Insights and Discussion

BoxLevelSet demonstrates that classical variational geometry still holds significant value in the era of deep learning. By constraining the level set evolution within the annotated bounding box, the model effectively leverages the geometric priors of the object. A key finding was that relying solely on raw pixels for boundary evolution is fragile; the inclusion of high-level semantic features is essential for stability.

Despite its success, the method faces challenges with very small objects ($AP_S$), which often lack the rich feature representation required for accurate level set evolution. Additionally, like most box-supervised approaches, its performance is inherently tied to the quality and tightness of the provided bounding boxes.

Conclusion

BoxLevelSet provides a simple yet powerful end-to-end solution for box-supervised instance segmentation. By marrying the mathematical rigor of level set methods with the representational power of deep CNNs, it achieves state-of-the-art performance across multiple domains while maintaining high inference efficiency. Future work may explore integrating this approach with Vision Transformers or more sophisticated energy functions to further close the performance gap with fully supervised segmentation.

Summary updated

BibTeX
@inproceedings{li2022box,
  author = {Wentong Li and Wenyu Liu and Jianke Zhu and Miaomiao Cui and Xian-Sheng Hua and Lei Zhang},
  title = {{Box-Supervised Instance Segmentation with Level Set Evolution}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19818-2\_1},
}
Figure