From Pixels to Objects: A Hierarchical Approach for Part and Object Segmentation Using Local and Global Aggregation

Yunfei Xie, Cihang Xie, Alan Yuille, Jieru Mei · DOI

TL;DR

This paper introduces LGFormer, a novel hierarchical transformer model that unifies part and object segmentation. By progressively aggregating pixels into superpixels and then into groups, LGFormer effectively captures both fine-grained part details and holistic object context, achieving state-of-the-art performance on challenging benchmarks.

What Problem Does This Paper Address?

Simultaneously segmenting both the individual parts of an object and the object itself is a complex task. Existing methods often struggle to balance the need for detailed local information (for part segmentation) with the requirement for broad global context (for object segmentation). Many approaches also resort to separate, specialized architectures for each task, leading to increased computational overhead and complexity. This paper aims to bridge this gap by proposing a unified, hierarchical framework that can efficiently handle both part and object segmentation simultaneously.

Methods

The core of LGFormer is its hierarchical representation strategy. It starts with raw pixels and progressively abstracts them:

  • Pixel Representation: A lightweight convolutional stem extracts initial pixel features.
  • Superpixel Representation: Superpixel Context Aggregation (SCA) is used to group similar pixels into superpixels. This step leverages local redundancy and reduces computational load, focusing on segments that align with object parts. SCA uses an attention mechanism to integrate local contextual information.
  • Group Representation: Group Context Aggregation (GCA) further aggregates superpixels into larger groups, capturing global semantics essential for object-level understanding. GCA employs cross-attention to interlink superpixels and groups.

This hierarchical structure is processed by Transformer (ViT) blocks. The model then uses a novel Association-Aware Upsampling technique to reconstruct the segmentation masks back to the original image resolution. This method uses attention scores from the hierarchical aggregation to preserve fine details more effectively than traditional upsampling. LGFormer also employs a unified multi-task framework with dual branches for part and object segmentation, allowing it to adapt to different supervision levels and maintain computational efficiency.

Datasets

The paper evaluates LGFormer on two benchmark datasets:

  • PartImageNet: An augmented version of ImageNet with part annotations for 158 classes across over 24,000 images.
  • Pascal-Part: An extension of the Pascal VOC dataset with part annotations for 20 classes. The authors focus on 16 classes with part-level annotations, following previous work.

Key Insights and Ideas

  • Hierarchical Abstraction is Key: The paper demonstrates that a progressive abstraction from pixels to superpixels to groups is highly effective for unifying part and object segmentation. This mirrors human visual processing.
  • Semantic Emergence: A significant finding is that superpixels and groups can exhibit semantic emergence even without direct supervision for their respective tasks. For instance, part-only supervision can lead to object-level understanding in groups, and vice-versa for superpixels. This highlights the power of the hierarchical structure.
  • Association-Aware Upsampling: This novel upsampling method is crucial for preserving fine details and achieving sharper predictions, outperforming traditional bilinear upsampling.
  • Unified Framework Efficiency: By integrating both part and object segmentation into a single model, LGFormer achieves better performance with fewer parameters and computational resources compared to separate approaches.

Key Results

LGFormer achieves state-of-the-art results on both PartImageNet and Pascal-Part datasets:

  • PartImageNet (Joint Training): Achieved 67.4% mIoU for part segmentation and 79.8% mIoU for object segmentation, outperforming the previous state-of-the-art (Compositor) by 2.8% and 0.8%, respectively.
  • Pascal-Part (Joint Training): Achieved 57.4% mIoU for part segmentation and 85.1% mIoU for object segmentation, surpassing Compositor by 1.5% and 2.0%, respectively.
  • Robustness to Occlusion: On the Occluded-PartImageNet-v1 dataset, LGFormer showed smaller performance drops (8.0% in part mIoU, 15.5% in object mIoU) compared to MaskFormer and Compositor, indicating its robustness.
  • Ablation Studies: Confirmed the effectiveness of the chosen number of group tokens (64), the three-stage branch block configuration, and the association-aware upsampling method.

Limitations and Future Work

  • Computational Cost: While more efficient than some prior methods, transformer-based models can still be computationally intensive. The paper mentions that further optimization of group token count and stages could be explored.
  • Supervision Flexibility: The paper highlights the model's adaptability to varying supervision, but future work could explore even more extreme scenarios of limited or noisy supervision.
  • Generalization: While tested on standard benchmarks, further evaluation on more diverse and challenging datasets, especially those with significant occlusions or unusual object configurations, would be beneficial. The authors' work on robustness to occlusion is a step in this direction.

Summary updated

BibTeX
@inproceedings{xie2024from,
  author = {Yunfei Xie and Cihang Xie and Alan Yuille and Jieru Mei},
  title = {{From Pixels to Objects: A Hierarchical Approach for Part and Object Segmentation Using Local and Global Aggregation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72848-8\_20},
}
Figure