[Paper Review] PIDNet: A Real-time Semantic Segmentation Network Inspired by PID Controllers
PIDNet introduces a three-branch real-time segmentation network guided by boundary-aware fusion, achieving state-of-the-art speed/accuracy trade-offs on Cityscapes, CamVid, and PASCAL Context.
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.
Motivation & Objective
- Motivate real-time semantic segmentation with improved balance between detail preservation and contextual understanding.
- Introduce a PID-inspired three-branch architecture to mitigate overshoot in two-branch networks.
- Develop efficient modules (Pag, PAPPM, Bag) to fuse detail, context, and boundary information effectively.
- Demonstrate state-of-the-art speed-accuracy trade-offs on Cityscapes, CamVid, and PASCAL Context datasets.
Proposed method
- Map two-branch networks to a Proportional-Integral (PI) controller and identify overshoot issues.
- Add a derivative (D) branch to form a three-branch PIDNet with dedicated detail (P), context (I), and boundary (D) streams.
- Introduce Pag (pixel-attention-guided fusion) to selectively fuse I with P features.
- Propose PAPPM (Parallel Aggregation PPM) to enable fast, parallel context aggregation.
- Incorporate Bag (boundary-attention-guided fusion) to balance detail and context during feature fusion.
- Train with a composite loss including semantic heads and boundary-aware losses (l0, l1, l2, l3) and use OHEM to boost hard examples.
Experimental results
Research questions
- RQ1Can a PID-inspired three-branch architecture outperform two-branch networks in real-time semantic segmentation?
- RQ2How can boundary information be leveraged to mitigate overshoot when fusing high-resolution details with context?
- RQ3Do lightweight context aggregators (PAPPM) maintain accuracy while preserving real-time speed?
- RQ4What is the impact of boundary supervision on overall segmentation accuracy across benchmarks?
Key findings
- PIDNet-S achieves 78.6% mIOU at 93.2 FPS on Cityscapes test set.
- PIDNet-L reaches 80.6% mIOU (highest real-time accuracy reported in the paper) on Cityscapes test set.
- PIDNet-S achieves 80.1% mIOU at 153.7 FPS on CamVid with RTX 3090 in their setup.
- PIDNet variants consistently outperform other real-time models at similar speeds on Cityscapes and CamVid datasets.
- The Pag and Bag modules effectively fuse P (detail) and I (context) with boundary cues, improving boundary delineation and small object performance.
- PAPPM provides a parallel, faster context aggregation that maintains accuracy comparable to DAPPM with lower latency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.