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

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

4 Jun 2022CVPR 2023 1arXiv:2206.02066archive 2025-07-28

Jiacong Xu, Zixiang Xiong, Shankar P. Bhattacharyya

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2206.02066")

Code

Syntology Ran 1 of 19 code samples harvested from 5 repositories linked to this paper; 18 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 1 sample from 1 repository, 0 ran; community (archive-listed): 18 samples from 4 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

XuJiacong/PIDNet officialmentioned in papermentioned on GitHubpytorchMIT report
HengWeiBin/Oil-Polution-Dataset-with-PIDNet mentioned on GitHubpytorchMIT report
enot-autodl/lpcv-2023 mentioned on GitHubpytorch report
hamidriasat/PIDNet mentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 1 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
18unverified

Licence: 1 of the 19 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

weighted_bce XuJiacong/PIDNet/utils/criterion.py official repository unverified MIT (permissive) · f0b6abd190ebe3a4 · report
conv3x3 Darth-Kronos/PIDNet_TensorRT/models/others/bisenet_adb_bag.py community (archive-listed) ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
Bisenet_Adb_Bag Darth-Kronos/PIDNet_TensorRT/models/others/bisenet_adb_bag.py community (archive-listed) unverified MIT (permissive) · acf0e83d3b5b6f01 · report
DAPPPM hamidriasat/PIDNet/model_utils.py community (archive-listed) unverified MIT (permissive) · 4acac2201e2de928 · report
DualResNet_imagenet Darth-Kronos/PIDNet_TensorRT/models/others/ddrnet_23_adb_bag.py community (archive-listed) unverified MIT (permissive) · f870abc3d49177be · report
PAPPM hamidriasat/PIDNet/model_utils.py community (archive-listed) unverified MIT (permissive) · 905b5242a35e7ed7 · report
basic_block hamidriasat/PIDNet/resnet.py community (archive-listed) unverified MIT (permissive) · 92809dd5a449eb93 · report
bottleneck_block hamidriasat/PIDNet/resnet.py community (archive-listed) unverified MIT (permissive) · b55dd2da33385622 · report
conv3x3 hamidriasat/PIDNet/resnet.py community (archive-listed) unverified MIT (permissive) · fa1dd696ceb3bffe · report
create_layer_basic Darth-Kronos/PIDNet_TensorRT/models/others/resnet.py community (archive-listed) unverified MIT (permissive) · 92a9102d957a0f37 · report
get_pred_model Darth-Kronos/PIDNet_TensorRT/models/pidnet.py community (archive-listed) unverified MIT (permissive) · 603274398f6b4944 · report
get_pred_model HengWeiBin/Oil-Polution-Dataset-with-PIDNet/models/pidnet.py community (archive-listed) unverified MIT (permissive) · 9d7c08e2a8e12ed1 · report
get_seg_model enot-autodl/lpcv-2023/training/models/pidnet.py community (archive-listed) unverified no licence file found · pointer only · 5089f1565526fc75 · report
get_seg_model Darth-Kronos/PIDNet_TensorRT/models/pidnet.py community (archive-listed) unverified MIT (permissive) · fb6020f30ebc7f12 · report
get_seg_model Darth-Kronos/PIDNet_TensorRT/models/others/bisenet_adb_bag.py community (archive-listed) unverified MIT (permissive) · 77136b5a94e0104e · report
get_seg_model Darth-Kronos/PIDNet_TensorRT/models/others/ddrnet_23_adb_bag.py community (archive-listed) unverified MIT (permissive) · a4a5b2b55ece38ff · report
get_seg_model HengWeiBin/Oil-Polution-Dataset-with-PIDNet/models/pidnet.py community (archive-listed) unverified MIT (permissive) · 178ee10b1aeec3d6 · report
make_layer hamidriasat/PIDNet/pidnet.py community (archive-listed) unverified MIT (permissive) · ce795ae2777c861e · report
segmentation_head hamidriasat/PIDNet/model_utils.py community (archive-listed) unverified MIT (permissive) · 6907f597f9f56894 · report

Tasks

Real-Time Semantic SegmentationSemantic Segmentation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Real-Time Semantic Segmentation CamVid PIDNet-M (Cityscapes-Pretrained) Frame (fps) 85.6(3090) #1 of 29 Archive leaderboard report
Real-Time Semantic Segmentation CamVid PIDNet-M (Cityscapes-Pretrained) Time (ms) 11.7 #1 of 29 Archive leaderboard report
Real-Time Semantic Segmentation CamVid PIDNet-M (Cityscapes-Pretrained) mIoU 82.0 #1 of 29 Archive leaderboard report
Real-Time Semantic Segmentation CamVid PIDNet-S (Cityscapes-Pretrained) Frame (fps) 153.7(3090) #6 of 29 Archive leaderboard report
Real-Time Semantic Segmentation CamVid PIDNet-S (Cityscapes-Pretrained) Time (ms) 6.5 #6 of 29 Archive leaderboard report
Real-Time Semantic Segmentation CamVid PIDNet-S (Cityscapes-Pretrained) mIoU 80.1 #6 of 29 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-L Frame (fps) 31.1(3090) #1 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-L Time (ms) 32.2 #1 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-L mIoU 80.6% #1 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-M Frame (fps) 42.2(3090) #3 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-M Time (ms) 23.7 #3 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-M mIoU 79.8% #3 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-S Frame (fps) 93.2(3090) #4 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-S Time (ms) 10.7 #4 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes test PIDNet-S mIoU 78.6% #4 of 39 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-L Frame (fps) 31.1(3090) #1 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-L Time (ms) 32.2 #1 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-L mIoU 80.9% #1 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-M Frame (fps) 42.2(3090) #3 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-M Time (ms) 23.7 #3 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-M mIoU 79.9% #3 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-S Frame (fps) 93.2(3090) #7 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-S Time (ms) 10.7 #7 of 24 Archive leaderboard report
Real-Time Semantic Segmentation Cityscapes val PIDNet-S mIoU 78.8% #7 of 24 Archive leaderboard report
Semantic Segmentation CamVid PIDNet-Wider Mean IoU 82.0% #5 of 21 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections