Multi-View Aggregation Network for Dichotomous Image Segmentation

Qian Yu, Xiaoqi Zhao, Youwei Pang, Lihe Zhang, Huchuan Lu

Introduction

Dichotomous Image Segmentation (DIS) is a specialized computer vision task focused on the high-precision extraction of foreground objects from natural images. Unlike standard semantic segmentation, DIS requires extreme accuracy, often targeting intricate structures like thin wires, hair, or complex grilles in high-resolution (2K or 4K) environments. However, processing such high-resolution data introduces a significant technical challenge known as the "Resolution Dilemma."

The Resolution Dilemma

Existing neural networks face two primary obstacles when handling high-resolution images:

  1. Semantic Dispersion: In a high-resolution image, an object may occupy a vast number of pixels. Standard receptive fields often fail to capture the entire object, leading the model to lose the global context and struggle with identifying the object's overall structure.
  2. Detail Loss: To mitigate semantic dispersion, researchers often downsample images. While this provides a broader receptive field, it destroys the fine-grained details—the very details that DIS is designed to preserve.

Previous attempts to solve this dilemma typically relied on multi-stage or multi-stream pipelines. While effective, these methods are often computationally expensive, slow, and complex to implement. The Multi-view Aggregation Network (MVANet) was developed to provide a "parsimonious" (simple and efficient) single-stream framework that resolves this dilemma without sacrificing speed.

Methodology: The MVANet Framework

MVANet is inspired by the human visual system's ability to perceive objects by combining distant views for context and close-up views for detail. The architecture utilizes a single-stream, transformer-based encoder-decoder to process multiple views of an image simultaneously.

Multi-view Input and Batching

Instead of processing a single high-resolution image, MVANet takes a "distant view" (a downsampled version of the full image) and several "close-up views" (non-overlapping local patches at original resolution). By treating these views as different entries within a single batch, the model processes them through a single encoder, avoiding the overhead of multiple separate streams.

Multi-view Complementary Localization Module (MCLM)

Situated at the end of the encoder, the MCLM uses a transformer-based cross-attention mechanism. It treats global tokens from the distant view as queries to guide the local patches. This ensures that the model maintains a consistent understanding of where the object is located across all views, effectively bridging the semantic gap between isolated patches.

Multi-view Complementary Refinement Module (MCRM)

Integrated into the decoder, the MCRM injects fine-grained details from the local patches back into the global representation. To maintain efficiency, the authors introduced a "multi-granularity pooling" operation within the attention mechanism. This optimization reduces the computational cost of the attention blocks by more than 56%, allowing the model to handle high-resolution features efficiently.

View Rearrangement and Boundary Smoothing

To produce the final output, the processed patches must be stitched back together. To prevent the "seam" artifacts common in patch-based processing, MVANet employs a View Rearrangement module. This module uses a specialized convolutional head to optimize transitions at patch boundaries, ensuring a seamless and structurally sound final segmentation.

Experimental Results

Datasets

The model was evaluated on the DIS-5K benchmark, the most challenging dataset in the field. DIS-5K contains 5,470 high-resolution images categorized by structural complexity. The testing subsets (DIS-TE1 through DIS-TE4) specifically measure the model's ability to handle increasingly intricate shapes.

Performance and Efficiency

MVANet demonstrated superior performance against 11 state-of-the-art methods, including IS-Net and InSPyReNet.

  • Accuracy: MVANet achieved top-tier results across all major metrics (F-measure, E-measure, Structure-measure, and MAE). Notably, on the most difficult subset (DIS-TE4), it improved the F-measure from 0.905 to 0.911.
  • Speed: The model's single-stream design provides a significant efficiency boost. MVANet operates at 4.6 FPS on an NVIDIA RTX 3090, more than doubling the speed of the previous leading model, InSPyReNet (2.2 FPS).
  • Qualitative Quality: Visual analysis confirms that MVANet excels at capturing extremely thin structures, such as the legs of furniture or fine mesh, where competing models often produce incomplete or blurred results.

Conclusion

MVANet redefines the approach to high-resolution Dichotomous Image Segmentation by proving that a single-stream, multi-view architecture can outperform complex multi-stage pipelines. By unifying global context and local detail through efficient cross-attention and pooling mechanisms, it provides a scalable solution for high-precision tasks.

Future work remains to be done in achieving true real-time performance (24+ FPS) for 4K video and exploring more robust ways to maintain connectivity between an even higher number of local patches.

Summary updated

BibTeX
@inproceedings{yu2024multi,
  author = {Qian Yu and Xiaoqi Zhao and Youwei Pang and Lihe Zhang and Huchuan Lu},
  title = {{Multi-View Aggregation Network for Dichotomous Image Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure