PIDNet: A Real-time Semantic Segmentation Network Inspired by PID Controllers

Jiacong Xu, Zixiang Xiong, Shankar P. Bhattacharyya
6/4/2022
cs.CVcs.AI

Official code: XuJiacong/PIDNet (857 stars, MIT, last commit 2025-12-18).

Abstract

Two-branch network architecture has shown its efficiency and effectiveness in real-time semantic segmentation tasks. However, direct fusion of high-resolution details and low-frequency context has the drawback of detailed features being easily overwhelmed by surrounding contextual information. This overshoot phenomenon limits the improvement of the segmentation accuracy of existing two-branch models. In this paper, we make a connection between Convolutional Neural Networks (CNN) and Proportional-Integral-Derivative (PID) controllers and reveal that a two-branch network is equivalent to a Proportional-Integral (PI) controller, which inherently suffers from similar overshoot issues. To alleviate this problem, we propose a novel three-branch network architecture: PIDNet, which contains three branches to parse detailed, context and boundary information, respectively, and employs boundary attention to guide the fusion of detailed and context branches. Our family of PIDNets achieve the best trade-off between inference speed and accuracy and their accuracy surpasses all the existing models with similar inference speed on the Cityscapes and CamVid datasets. Specifically, PIDNet-S achieves 78.6% mIOU with inference speed of 93.2 FPS on Cityscapes and 80.1% mIOU with speed of 153.7 FPS on CamVid.

View on arXivView PDF

Code Implementations(1)

XuJiacong/PIDNetOfficial100%
MIT

This is the official repository for our recent work: PIDNet

857147PythonMay 25, 202210 months agoMIT
camvid-datasetcityscapes-datasetreal-time-semantic-segmentationsemantic-segmentation

Similar Papers

Cite this paper

@article{xu2022pidnet,
  title  = {PIDNet: A Real-time Semantic Segmentation Network Inspired by PID Controllers},
  author = {Jiacong Xu and Zixiang Xiong and Shankar P. Bhattacharyya},
  year   = {2022},
  eprint = {2206.02066},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.02066}
}

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/2206.02066.svg)](https://codeofpaper.com/paper/2206.02066)

Discussion