Skip to main content
QUICK REVIEW

[Paper Review] Semantic Flow for Fast and Accurate Scene Parsing

Xiangtai Li, Ansheng You|arXiv (Cornell University)|Feb 24, 2020
Advanced Neural Network ApplicationsComputer Science73 references16 citations
TL;DR

This paper proposes Semantic Flow and a Flow Alignment Module (FAM) to efficiently transfer high-level semantic features to high-resolution feature maps in scene parsing, achieving state-of-the-art accuracy with real-time inference. The method attains 80.4% mIoU on Cityscapes at 26 FPS using ResNet-18, outperforming prior real-time models while maintaining low computational cost.

ABSTRACT

In this paper, we focus on designing effective method for fast and accurate scene parsing. A common practice to improve the performance is to attain high resolution feature maps with strong semantic representation. Two strategies are widely used -- atrous convolutions and feature pyramid fusion, are either computation intensive or ineffective. Inspired by the Optical Flow for motion alignment between adjacent video frames, we propose a Flow Alignment Module (FAM) to learn Semantic Flow between feature maps of adjacent levels, and broadcast high-level features to high resolution features effectively and efficiently. Furthermore, integrating our module to a common feature pyramid structure exhibits superior performance over other real-time methods even on light-weight backbone networks, such as ResNet-18. Extensive experiments are conducted on several challenging datasets, including Cityscapes, PASCAL Context, ADE20K and CamVid. Especially, our network is the first to achieve 80.4\% mIoU on Cityscapes with a frame rate of 26 FPS. The code is available at \url{https://github.com/lxtGH/SFSegNets}.

Motivation & Objective

  • To address the trade-off between high-resolution spatial detail and strong semantic representation in scene parsing.
  • To reduce computational cost while improving accuracy in real-time semantic segmentation.
  • To enable effective semantic feature propagation from deep to shallow layers without heavy computation.
  • To design a plug-and-play module that enhances lightweight backbones like ResNet-18.
  • To achieve superior speed-accuracy trade-off across multiple benchmark datasets.

Proposed method

  • Proposes Semantic Flow as a differentiable flow field that models pixel-wise correspondence between feature maps of different resolutions.
  • Introduces the Flow Alignment Module (FAM) to warp high-level features to low-resolution feature maps using learned Semantic Flow.
  • Uses grid sampling with differentiable warping to align features efficiently, enabling end-to-end training.
  • Integrates FAM into a feature pyramid network (FPN-like) with lateral connections for multi-scale feature fusion.
  • Employs multi-scale inference with horizontal flip for robustness and improved mIoU on test sets.
  • Uses TensorRT and CUDA-optimized operators for inference speed optimization on single-GPU setups.

Experimental results

Research questions

  • RQ1Can a learnable flow-based mechanism effectively transfer semantic knowledge from deep to shallow features without increasing computational cost?
  • RQ2Can FAM improve performance on lightweight backbones like ResNet-18 while maintaining real-time inference speed?
  • RQ3Does Semantic Flow outperform traditional atrous convolutions and feature pyramid fusion in both accuracy and efficiency?
  • RQ4Can the proposed method generalize across diverse datasets such as Cityscapes, PASCAL Context, ADE20K, and CamVid?
  • RQ5Is the speed-accuracy trade-off of the proposed method superior to existing real-time scene parsing models?

Key findings

  • SFNet with ResNet-18 achieves 80.4% mIoU on Cityscapes test set at 26 FPS, setting a new SOTA for real-time models.
  • With DF2 backbone, SFNet reaches 77.8% mIoU at 61 FPS and 74.5% mIoU at 121 FPS, demonstrating strong speed-accuracy balance.
  • Using ResNet-101, SFNet achieves 81.8% mIoU, surpassing DANet (81.5%) with only 33% of its inference computation.
  • FAM boosts mIoU by 2.2% on Cityscapes validation set compared to baseline, with consistent gains across all categories.
  • On ADE20K and PASCAL Context, SFNet achieves competitive mIoU with minimal computational overhead, showing broad applicability.
  • The method outperforms state-of-the-art models like PSPNet, DenseASPP, and BFPNet in both accuracy and GFLOPs efficiency on Cityscapes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.