Improving Few-Shot Part Segmentation Using Coarse Supervision

Oindrila Saha, Zezhou Cheng, Subhransu Maji

Abstract

Fine-grained part segmentation is a critical task for applications ranging from image editing to animal shape estimation, yet its progress is frequently bottlenecked by the high cost of pixel-level annotation. This paper introduces a Bayesian framework designed to leverage "coarse" labels—such as figure-ground masks or sparse keypoints—to supervise the training of part segmentation models when only a limited number of detailed examples are available. By treating part labels as latent variables and employing a variational Expectation-Maximization (EM) approach, the proposed method effectively aggregates diverse, imperfect supervision. Experimental results on the PASCUB and OID Aircraft datasets demonstrate that this approach significantly outperforms standard fine-tuning and specialized weakly-supervised baselines, providing a scalable path toward high-quality part segmentation with minimal manual effort.

Introduction

Training deep networks for part segmentation is notoriously expensive. While identifying an object's bounding box is relatively simple, annotating every pixel of a bird's beak, wing, or tail requires significantly more effort—often 5–10 times the manual labor of coarser annotations. This "annotation bottleneck" limits the scalability of part segmentation models.

However, many existing datasets already contain "coarse" labels like bounding boxes, figure-ground masks, or keypoints. While these labels do not map directly to part boundaries (e.g., a keypoint on a head does not define the head's contour), they contain valuable spatial information. This paper addresses the challenge of how to opportunistically utilize these diverse, existing, but imperfect labels to train high-quality part segmentation models in few-shot scenarios.

Methodology

The Probabilistic Framework

The core of the proposed approach is a probabilistic model that treats part labels as latent variables. The relationship between the input image, the true (but often unknown) part labels, and the available coarse labels is modeled hierarchically. The central assumption is the "coarser than" dependency: coarse labels (like a binary mask) are viewed as being derived from the underlying part labels. If the exact location of every part is known, the figure-ground mask can be deterministically inferred.

Variational Expectation-Maximization (EM)

To train the model, the authors utilize a variational EM approach to handle the latent part labels:

  1. E-Step (Inference): The model estimates the posterior distribution of the part labels given the image and the available coarse labels. To make this computationally feasible, the authors use "amortized inference," training a neural network (the posterior inference model) to predict the most likely part labels.
  2. M-Step (Learning): The parameters of the primary part segmentation model and the dependency models (which map parts to coarse labels) are updated based on the predictions generated in the E-step.

Due to the high dimensionality of the pixel-level latent space, the authors implement a "Hard EM" variant, utilizing the most likely part label configuration to update the model parameters.

Architecture

The framework is designed to be modular and compatible with standard computer vision backbones. The authors utilize a ResNet-34 encoder-decoder architecture, ensuring the method can be easily integrated into existing deep learning workflows without requiring specialized hardware or custom layers.

Datasets and Experimental Setup

To evaluate the framework, the authors developed and utilized two primary benchmarks:

  • PASCUB: A hybrid dataset combining part labels from PASCAL VOC with the Caltech-UCSD Birds (CUB) dataset. The authors manually annotated 299 CUB images with detailed part labels for testing, while leveraging the existing ~12,000 CUB images (containing only masks and keypoints) for coarse supervision.
  • OID Aircraft: Based on the Open Images Dataset, this benchmark focuses on aircraft components (nose, wings, wheels, vertical stabilizer) using figure-ground masks and sparse part labels.

Results and Discussion

Performance Gains

The proposed framework demonstrates a clear advantage over traditional methods. On the CUB dataset, the approach achieved 49.25% mIoU, significantly outperforming standard fine-tuning (45.37%) and PointSup (46.76%), a specialized method for point-based supervision.

Label Synergy

A key finding of the research is the synergy between different types of coarse labels. The model achieved its highest performance when utilizing both keypoints and masks (49.25% mIoU) compared to using masks alone (46.30%) or keypoints alone (47.96%). This suggests that the Bayesian framework effectively aggregates complementary information from diverse supervision sources.

Computational Efficiency

While the EM-based training is more intensive than simple fine-tuning, it remains highly efficient. The full EM approach requires approximately 7.5 hours on a single GPU—roughly 3x the time of standard fine-tuning. Given the significant gains in accuracy and the reduction in required manual annotation, this is a favorable trade-off for most research and industrial applications.

Conclusion and Future Work

This paper presents a robust method for improving few-shot part segmentation by treating coarse labels as dependencies of latent part labels. By modeling the relationship between different labeling styles, the framework acts as a "force multiplier" for small amounts of high-quality data.

Future research directions include relaxing the "coarser than" assumption to include more abstract labels (such as natural language descriptions) and exploring more sophisticated sampling methods for the latent part distribution beyond the current Hard EM approach. Expanding the framework to incorporate object-level bounding boxes could further enhance its utility in large-scale, weakly-supervised learning environments.

Summary updated

BibTeX
@inproceedings{saha2022improving,
  author = {Oindrila Saha and Zezhou Cheng and Subhransu Maji},
  title = {{Improving Few-Shot Part Segmentation Using Coarse Supervision}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20056-4\_17},
}
Figure