Local Memory Attention for Fast Video Semantic Segmentation

Matthieu Paul, Martin Danelljan, Luc Van Gool, Radu Timofte
1/5/2021
cs.CV
transformer-attention

Official code: mattpfr/lmanet (8 stars, Python, GPL-3.0, last commit 2022-11-20).

Abstract

We propose a novel neural network module that transforms an existing single-frame semantic segmentation model into a video semantic segmentation pipeline. In contrast to prior works, we strive towards a simple, fast, and general module that can be integrated into virtually any single-frame architecture.

Show full abstract

Our approach aggregates a rich representation of the semantic information in past frames into a memory module. Information stored in the memory is then accessed through an attention mechanism. In contrast to previous memory-based approaches, we propose a fast local attention layer, providing temporal appearance cues in the local region of prior frames. We further fuse these cues with an encoding of the current frame through a second attention-based module. The segmentation decoder processes the fused representation to predict the final semantic segmentation. We integrate our approach into two popular semantic segmentation networks: ERFNet and PSPNet. We observe an improvement in segmentation performance on Cityscapes by 1.7% and 2.1% in mIoU respectively, while increasing inference time of ERFNet by only 1.5ms.

View on arXivView PDF

Code Implementations(1)

mattpfr/lmanetOfficial100%
GPL-3.0
82PythonJul 5, 20214 years agoGPL-3.0

Similar Papers

Cite this paper

@article{paul2021local,
  title  = {Local Memory Attention for Fast Video Semantic Segmentation},
  author = {Matthieu Paul and Martin Danelljan and Luc Van Gool and Radu Timofte},
  year   = {2021},
  eprint = {2101.01715},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.01715}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.01715.svg)](https://codeofpaper.com/paper/2101.01715)

Discussion