Large Kernel Matters - Improve Semantic Segmentation by Global Convolutional Network

Chao Peng, Xiangyu Zhang, Gang Yu, Guiming Luo, Jian Sun

Introduction

Semantic segmentation is a fundamental task in computer vision that requires a delicate balance between high-level object classification and precise pixel-level localization. While classification tasks benefit from transformation invariance (recognizing an object regardless of its position), localization requires transformation sensitivity (aligning outputs exactly with pixel coordinates).

Conceptual comparison of classification, standard segmentation, and the proposed GCN approach.

Most modern segmentation networks rely on architectures that stack small $3 \times 3$ filters. However, the authors of "Large Kernel Matters" argue that this approach often results in a "Valid Receptive Field" (VRF) that is significantly smaller than the theoretical one. For large objects, this limitation means center pixels may lack sufficient context for accurate classification, leading to inconsistencies or "holes" in the resulting segmentation maps.

The Global Convolutional Network (GCN)

To address the receptive field limitation, the authors propose the Global Convolutional Network (GCN). The core idea is to use large, separable kernels to expand the VRF without the prohibitive computational cost of standard large square kernels.

Instead of a standard $k \times k$ convolution, the GCN module employs a combination of $1 \times k + k \times 1$ and $k \times 1 + 1 \times k$ layers. This structure allows the kernel size $k$ to be as large as the feature map itself (e.g., $15 \times 15$), enabling dense connections between the feature map and the per-pixel classifier. This design reduces computational complexity and parameter counts to $O(2/k)$ relative to a standard $k \times k$ kernel. Notably, GCN avoids non-linearities (like ReLU) between the separable layers to maintain a direct, dense connection.

The overall pipeline and detailed views of the GCN and Boundary Refinement modules.

Boundary Refinement (BR)

While GCN excels at capturing global context for internal object classification, it is not inherently optimized for precise edge localization. To solve this, the authors introduce a Boundary Refinement (BR) block. This module is a residual unit defined as $S' = S + R(S)$, where $R$ is a residual function. The BR block learns to refine coarse score maps by modeling boundary alignment as a residual, effectively sharpening the final segmentation edges.

Experimental Results

The GCN framework was evaluated on two major benchmarks: PASCAL VOC 2012 and Cityscapes. The models were pre-trained on ImageNet and MS COCO before fine-tuning.

  • PASCAL VOC 2012: The approach achieved a mean IoU of 82.2%, surpassing the previous state-of-the-art of 80.2%.
  • Cityscapes: The model reached 76.9% mean IoU, a significant improvement over the previous benchmark of 71.8%.

Ablation studies confirmed that performance scales with kernel size. As $k$ increased from 3 to 15, the mean IoU consistently improved. Furthermore, a GCN with $k=7$ outperformed a stack of three $3 \times 3$ convolutions, despite the latter having more parameters, proving that large kernels provide unique benefits for dense prediction tasks.

Conclusion

The Global Convolutional Network demonstrates that "large kernels matter" for semantic segmentation. By decoupling the needs of internal classification (via GCN) and boundary localization (via BR), the authors achieved state-of-the-art results. While the approach introduces some computational overhead and primarily targets internal classification, it highlights the importance of the Valid Receptive Field in dense prediction architectures.

Summary updated

BibTeX
@inproceedings{peng2017large,
  author = {Chao Peng and Xiangyu Zhang and Gang Yu and Guiming Luo and Jian Sun},
  title = {{Large Kernel Matters - Improve Semantic Segmentation by Global Convolutional Network}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.189},
}
Figure