BlockCopy: High-Resolution Video Processing with Block-Sparse Feature Propagation and Online Policies

Thomas Verelst, Tinne Tuytelaars
8/20/2021
cs.CV

Official code: thomasverelst/blockcopy-video-processing-pytorch (22 stars, Python, PyTorch, last commit 2023-03-12).

Abstract

In this paper we propose BlockCopy, a scheme that accelerates pretrained frame-based CNNs to process video more efficiently, compared to standard frame-by-frame processing. To this end, a lightweight policy network determines important regions in an image, and operations are applied on selected regions only, using custom block-sparse convolutions.

Show full abstract

Features of non-selected regions are simply copied from the preceding frame, reducing the number of computations and latency. The execution policy is trained using reinforcement learning in an online fashion without requiring ground truth annotations. Our universal framework is demonstrated on dense prediction tasks such as pedestrian detection, instance segmentation and semantic segmentation, using both state of the art (Center and Scale Predictor, MGAN, SwiftNet) and standard baseline networks (Mask-RCNN, DeepLabV3+). BlockCopy achieves significant FLOPS savings and inference speedup with minimal impact on accuracy.

View on arXivView PDF

Code Implementations(1)

PyTorch

BlockCopy (ICCV2021) implementation in PyTorch, accelerating neural networks with block-sparse execution

222Python, Jupyter NotebookAug 1, 20213 years ago
cudadeep-learningpytorchsegmentationsemantic-segmentation+1 more

Similar Papers

Cite this paper

@article{verelst2021blockcopy,
  title  = {BlockCopy: High-Resolution Video Processing with Block-Sparse Feature Propagation and Online Policies},
  author = {Thomas Verelst and Tinne Tuytelaars},
  year   = {2021},
  eprint = {2108.09376},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.09376}
}

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/2108.09376.svg)](https://codeofpaper.com/paper/2108.09376)

Discussion