Skip to main content
QUICK REVIEW

[Paper Review] Frame-To-Frame Consistent Semantic Segmentation

Manuel Rebol, Patrick Knöbelreiter|arXiv (Cornell University)|Aug 3, 2020
Advanced Neural Network ApplicationsComputer Science31 references4 citations
TL;DR

This paper proposes a video-based semantic segmentation method that enhances temporal consistency and accuracy by integrating a ConvLSTM for feature propagation across frames and introducing a novel inconsistency loss. On the Cityscapes dataset, the approach improves mIoU from 45.2% to 57.9% and reduces frame-to-frame inconsistencies by 71.1% compared to single-frame inference using ESPNet.

ABSTRACT

In this work, we aim for temporally consistent semantic segmentation throughout frames in a video. Many semantic segmentation algorithms process images individually which leads to an inconsistent scene interpretation due to illumination changes, occlusions and other variations over time. To achieve a temporally consistent prediction, we train a convolutional neural network (CNN) which propagates features through consecutive frames in a video using a convolutional long short term memory (ConvLSTM) cell. Besides the temporal feature propagation, we penalize inconsistencies in our loss function. We show in our experiments that the performance improves when utilizing video information compared to single frame prediction. The mean intersection over union (mIoU) metric on the Cityscapes validation set increases from 45.2 % for the single frames to 57.9 % for video data after implementing the ConvLSTM to propagate features trough time on the ESPNet. Most importantly, inconsistency decreases from 4.5 % to 1.3 % which is a reduction by 71.1 %. Our results indicate that the added temporal information produces a frame-to-frame consistent and more accurate image understanding compared to single frame processing. Code and videos are available at https://github.com/mrebol/f2f-consistent-semantic-segmentation

Motivation & Objective

  • Address temporal inconsistencies in semantic segmentation across video frames caused by illumination changes, occlusions, and motion.
  • Improve prediction accuracy and consistency in video sequences without relying on future frame information.
  • Enable real-time, lightweight semantic segmentation suitable for robotics and autonomous vehicles using existing single-frame CNNs.
  • Develop a generalizable method applicable to any pre-trained single-frame CNN architecture by adding recurrent temporal modeling.
  • Minimize manual annotation burden by leveraging synthetic data from the Carla simulator to augment training data.

Proposed method

  • Integrate a ConvLSTM layer into the ESPNet architecture to propagate high-level features from past frames to the current frame.
  • Use a standard convolutional operation within the ConvLSTM cell, placing it at the L1b layer to propagate features from deeper, high-level representations.
  • Design a novel inconsistency loss function based on the squared difference between consecutive frame predictions, penalizing temporal discrepancies.
  • Optimize the model using a weighted cross-entropy loss for classification and a hyper-parameterized inconsistency loss with λincons = 10 for balancing accuracy and consistency.
  • Train the model in multiple phases: first fine-tune only the LSTM parameters, then jointly train all parameters with data augmentation and synthetic data.
  • Leverage a pre-trained Xception model to generate accurate pseudo-labels for synthetic video data from the Carla simulator to reduce annotation cost.

Experimental results

Research questions

  • RQ1Can temporal consistency in semantic segmentation be significantly improved by incorporating recurrent feature propagation from past frames?
  • RQ2How does the placement and type of ConvLSTM layer affect performance and consistency in video semantic segmentation?
  • RQ3To what extent does the proposed inconsistency loss function reduce frame-to-frame prediction discrepancies without degrading classification accuracy?
  • RQ4Can the method be generalized across different CNN architectures, such as ESPNet and a custom SSNet, without architectural redesign?
  • RQ5How effective is synthetic data from the Carla simulator in improving model generalization and consistency?

Key findings

  • The proposed method increases mIoU on the Cityscapes validation set from 45.2% (single-frame ESPNet) to 57.9% when using video data with ConvLSTM and inconsistency loss.
  • Temporal inconsistency is reduced from 4.5% to 1.3%, representing a 71.1% decrease, demonstrating strong improvement in frame-to-frame consistency.
  • Using standard convolution inside the ConvLSTM outperforms depth-wise separable convolutions, especially when combined with Parametric ReLU activation.
  • Placing the ConvLSTM at the L1b layer (high-level features) yields superior performance compared to earlier or later layers, indicating that high-level features are more effective for temporal consistency.
  • The inconsistency loss with λincons = 10 achieves a favorable trade-off between accuracy and consistency, with qualitative results showing reduced segmentation flicker.
  • Combining real Cityscapes data with synthetic video data from the Carla simulator further improves consistency and generalization, though the primary gains come from the temporal modeling components.

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.