Pyramid Scene Parsing Network
CVPR2017
語義分割
https://github.com/hszhao/PSPNet
針對 FCN 中沒有 context 資訊,本文提出的 PSPNet 網路嵌入了比 global average pooling更好的 global context 資訊來提升分割效果
2 Related Work
對於 scene parsing 和 semantic segmentation 任務, 深度卷積網路是目前的主流方法。這裡我們的基準網路是 FCN+dilated network。
目前大家的研究方向主要有兩個:1)組合利用多尺度特徵,2)使用 CRF作為分割後續處理方法。
對於global context 資訊,文獻【24】使用 global average pooling,但是對於複雜的 ADE20K 資料庫,效果不是很好。這裡我們使用了另一個 global context 資訊
3 Pyramid Scene Parsing Network
3.1. Important Observations
針對 ADE20K 資料庫,我們觀察到了一些現象:
1)Mismatched Relationship 目標之間應該有一定的相關性
2)Confusion Categories 映像中同一個物體同時被標記為兩個類別
field and earth; mountain and hill,wall, house, building and skyscraper
3)Inconspicuous Classes 大目標 小目標問題
綜上所述,主要問題在於 contextual relationship and global information for different receptive fields
3.2. Pyramid Pooling Module
在一個深度網路中,感受野的尺寸大小決定了我們有多少 context 資訊可以用。理論上 ResNet 的感受野尺寸要比輸入映像尺寸大。但是文獻【42】指出CNN 的實際感受野尺寸要比理論尺寸小很多。文獻【24】提出的 Global average pooling 對於複雜的 ADE20K 資料庫來說過於簡單了。這裡我們借鑒 文獻【12】Spatial pyramid pooling 提出了 pyramid pooling module 來得到全域先驗資訊。
上圖中間模組 pyramid pooling module 第一行 是用 global pooling 產生的 a single bin output
第二行我們將特徵圖等分為4塊,每塊分別用global pooling得到 bin output。上圖四行分別對應
1×1, 2×2, 3×3 and 6×6
為了維持 global feature 的權值,在每一行我們使用 一個 1×1 convolution layer 來降低 context representation 的維度。接著我們使用 bilinear interpolation 插值,使其和原始特徵圖尺寸一樣大小。最後和原始特徵圖組合起來。
4 Deep Supervision for ResNet-Based FCN
為了更好的訓練網路層數較多的模型,我們引入了 additional loss,another classifier is applied after the fourth stage
The auxiliary loss helps optimize the learning process, while the master branch loss takes the most responsibility. We add weight to balance the auxiliary loss.
Deep Supervision 在Face Service演算法 DeepID2 中已經存在。
5 Experiments
本文已收錄於以下專欄: 語義分割