CVApr 3, 2019

Patchwork: A Patch-wise Attention Network for Efficient Object Detection and Segmentation in Video Streams

arXiv:1904.01784v232 citations
AI Analysis

This work addresses latency-sensitive applications in video analysis, offering a novel approach to improve efficiency for real-time object detection and segmentation.

The paper tackles the problem of high latency in video object detection and segmentation by proposing a hard attention mechanism that processes only small sub-windows of frames, reducing latency by approximately four times without significantly sacrificing accuracy on ImageNet VID and DAVIS datasets.

Recent advances in single-frame object detection and segmentation techniques have motivated a wide range of works to extend these methods to process video streams. In this paper, we explore the idea of hard attention aimed for latency-sensitive applications. Instead of reasoning about every frame separately, our method selects and only processes a small sub-window of the frame. Our technique then makes predictions for the full frame based on the sub-windows from previous frames and the update from the current sub-window. The latency reduction by this hard attention mechanism comes at the cost of degraded accuracy. We made two contributions to address this. First, we propose a specialized memory cell that recovers lost context when processing sub-windows. Secondly, we adopt a Q-learning-based policy training strategy that enables our approach to intelligently select the sub-windows such that the staleness in the memory hurts the performance the least. Our experiments suggest that our approach reduces the latency by approximately four times without significantly sacrificing the accuracy on the ImageNet VID video object detection dataset and the DAVIS video object segmentation dataset. We further demonstrate that we can reinvest the saved computation into other parts of the network, and thus resulting in an accuracy increase at a comparable computational cost as the original system and beating other recently proposed state-of-the-art methods in the low latency range.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes