
PIDNet_S
Segmentation149 ops1M params
Three-branch real-time segmentation network that treats detail, context and boundary like a PID controller.
Segmentation · 219 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.pidnet:build_pidnet_l: build({}) PIDNet-L is the deep model and keeps the DAPPM context module with reduced channels, and the paper reports it as the highest-accuracy variant at 80.6% mIOU on the Cityscapes test set.
About this model's family
PIDNet is a real-time semantic segmentation network that reads an image and assigns each pixel a class label, built as three parallel branches rather than the usual two. The paper's hook is a borrowed idea from control engineering: a two-branch segmentation network behaves like a proportional-integral (PI) controller, and PI controllers overshoot. In segmentation terms, overshoot means fine details get swamped by surrounding context when the two streams are fused directly.
The fix mirrors adding the derivative term to a controller: an auxiliary derivative branch (ADB) is attached to highlight high-frequency semantic information, and its job is boundary detection. So the P branch keeps detail in high-resolution feature maps, the I branch aggregates local and global context for long-range dependencies, and the D branch extracts high-frequency features to predict boundary regions. Two fusion modules do the balancing: Pag lets the detail branch selectively learn semantics from the context branch, and Bag uses boundary attention to fill high-frequency areas with detail features and low-frequency areas with context features. The backbone is cascaded residual blocks, chosen for hardware friendliness, with the P, I and D branches set to moderate, deep and shallow depths.
The graphs here are the three sizes the paper names, PIDNet-S, M and L, generated by deepening and widening the model. The authors report that PIDNet-S reaches 78.6% mIOU at 93.2 FPS on Cityscapes and 80.1% mIOU at 153.7 FPS on CamVid. One caveat the paper itself raises: because boundary prediction drives the fusion, precise annotation around boundaries is preferred for better performance.
Key idea. Reframing a two-branch segmentation network as a PI controller and adding a boundary-detecting derivative branch, with Pag and Bag fusion modules, to curb the overshoot that swamps fine detail.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{xu2023pidnetrealtimesemanticsegmentation,
title={PIDNet: A Real-time Semantic Segmentation Network Inspired by PID Controllers},
author={Jiacong Xu and Zixiang Xiong and Shankar P. Bhattacharyya},
year={2023},
eprint={2206.02066},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2206.02066},
}