PatchRefineNet: Improving Binary Segmentation by Incorporating Signals from Optimal Patch-wise Binarization

Savinay Nagendra, Chaopeng Shen, Daniel Kifer
11/12/2022
cs.CV

Official code: savinay95n/PatchRefineNet (9 stars, Python, GPL-3.0, last commit 2023-11-16).

Abstract

The purpose of binary segmentation models is to determine which pixels belong to an object of interest (e.g., which pixels in an image are part of roads). The models assign a logit score (i.e., probability) to each pixel and these are converted into predictions by thresholding (i.e., each pixel with logit score $\geq τ$ is predicted to be part of a road).

Show full abstract

However, a common phenomenon in current and former state-of-the-art segmentation models is spatial bias -- in some patches, the logit scores are consistently biased upwards and in others they are consistently biased downwards. These biases cause false positives and false negatives in the final predictions. In this paper, we propose PatchRefineNet (PRN), a small network that sits on top of a base segmentation model and learns to correct its patch-specific biases. Across a wide variety of base models, PRN consistently helps them improve mIoU by 2-3\%. One of the key ideas behind PRN is the addition of a novel supervision signal during training. Given the logit scores produced by the base segmentation model, each pixel is given a pseudo-label that is obtained by optimally thresholding the logit scores in each image patch. Incorporating these pseudo-labels into the loss function of PRN helps correct systematic biases and reduce false positives/negatives. Although we mainly focus on binary segmentation, we also show how PRN can be extended to saliency detection and few-shot segmentation. We also discuss how the ideas can be extended to multiclass segmentation.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Improving Binary Segmentation by Incorporating Signals from Optimal Patch-wise Binarization

92PythonOct 26, 20233 years agoGPL-3.0

Similar Papers

Cite this paper

@article{nagendra2022patchrefinenet,
  title  = {PatchRefineNet: Improving Binary Segmentation by Incorporating Signals from Optimal Patch-wise Binarization},
  author = {Savinay Nagendra and Chaopeng Shen and Daniel Kifer},
  year   = {2022},
  eprint = {2211.06560},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.06560}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.06560.svg)](https://codeofpaper.com/paper/2211.06560)

Discussion