Skip to main content
QUICK REVIEW

[Paper Review] PatchDCT: Patch Refinement for High Quality Instance Segmentation

Qinrou Wen, Jirui Yang|arXiv (Cornell University)|Feb 6, 2023
Advanced Image and Video Retrieval TechniquesComputer Science5 citations
TL;DR

PatchDCT proposes a novel patch-based refinement framework for high-quality instance segmentation by dividing DCT-decoded masks into patches and refining each via a three-class classifier and a low-dimensional DCT vector regressor. It achieves state-of-the-art performance with 4.5% AP and 7.0% Boundary AP gains over Mask-RCNN on Cityscapes, and 1.3% AP and 4.2% Boundary AP gains over DCT-Mask, while maintaining minimal inference speed overhead.

ABSTRACT

High-quality instance segmentation has shown emerging importance in computer vision. Without any refinement, DCT-Mask directly generates high-resolution masks by compressed vectors. To further refine masks obtained by compressed vectors, we propose for the first time a compressed vector based multi-stage refinement framework. However, the vanilla combination does not bring significant gains, because changes in some elements of the DCT vector will affect the prediction of the entire mask. Thus, we propose a simple and novel method named PatchDCT, which separates the mask decoded from a DCT vector into several patches and refines each patch by the designed classifier and regressor. Specifically, the classifier is used to distinguish mixed patches from all patches, and to correct previously mispredicted foreground and background patches. In contrast, the regressor is used for DCT vector prediction of mixed patches, further refining the segmentation quality at boundary locations. Experiments on COCO show that our method achieves 2.0%, 3.2%, 4.5% AP and 3.4%, 5.3%, 7.0% Boundary AP improvements over Mask-RCNN on COCO, LVIS, and Cityscapes, respectively. It also surpasses DCT-Mask by 0.7%, 1.1%, 1.3% AP and 0.9%, 1.7%, 4.2% Boundary AP on COCO, LVIS and Cityscapes. Besides, the performance of PatchDCT is also competitive with other state-of-the-art methods.

Motivation & Objective

  • Address the limitation of coarse mask representations in Mask-RCNN and DCT-Mask, which fail to preserve fine-grained details and boundary accuracy.
  • Overcome the instability of full DCT vector refinement, where small changes affect the entire mask due to global dependency.
  • Enable multi-stage refinement by decoupling mask refinement into localized patch-level operations to improve boundary precision and segmentation quality.
  • Design a lightweight, efficient framework that maintains high-resolution mask output with negligible computational overhead compared to baseline methods.

Proposed method

  • Decompose the high-resolution mask decoded from a 300-dimensional DCT vector into non-overlapping patches (e.g., 8×8 or 14×14) for localized refinement.
  • Use a three-class classifier to categorize each patch as foreground, background, or mixed, enabling correction of mispredicted regions.
  • Apply a DCT vector regressor to predict low-dimensional (e.g., 6-dimensional) DCT vectors only for mixed patches to refine boundary details.
  • Reconstruct refined patches using Inverse Discrete Cosine Transform (IDCT) and merge them with correctly classified patches to form the final high-resolution mask.
  • Ensure independence between patches so that changes in one patch’s DCT vector affect only that patch, avoiding global mask distortion.
  • Train the classifier and regressor end-to-end with a multi-task loss, optimizing for both classification accuracy and DCT vector reconstruction fidelity.

Experimental results

Research questions

  • RQ1Can localized patch-level refinement of DCT-encoded masks improve instance segmentation quality compared to global DCT vector refinement?
  • RQ2Does separating mask refinement into foreground, background, and mixed patch categories lead to better boundary accuracy and reduced misprediction?
  • RQ3Can low-dimensional DCT vector regression on mixed patches effectively recover fine-grained boundary details without increasing computational cost?
  • RQ4How does the patch size and DCT vector dimensionality affect the trade-off between refinement quality and model complexity?
  • RQ5Does multi-stage refinement provide significant gains, and is one-stage PatchDCT sufficient for achieving state-of-the-art performance?

Key findings

  • PatchDCT achieves 2.0% AP and 3.4% Boundary AP improvements over Mask-RCNN on COCO, 3.2% AP and 5.3% Boundary AP on LVIS, and 4.5% AP and 7.0% Boundary AP on Cityscapes.
  • It surpasses DCT-Mask by 0.7% AP and 0.9% Boundary AP on COCO, 1.1% AP and 1.7% Boundary AP on LVIS, and 1.3% AP and 4.2% Boundary AP on Cityscapes.
  • The three-class classifier outperforms binary classification by 0.3% AP and 0.4% AP*, demonstrating the importance of correcting mispredicted foreground and background patches.
  • Removing the regressor leads to a 1.2% drop in AP B and 3.0% drop in AP* B, confirming its critical role in refining boundary details.
  • A 6-dimensional DCT vector per patch achieves optimal performance, with diminishing returns beyond this dimension.
  • One-stage PatchDCT is sufficient, as two-stage refinement only marginally improves performance while nearly doubling computational cost.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.