Patchwork:一种用于视频流中有效目标检测和分割的Patch-wise注意力网络
Patchwork: A Patch-wise Attention Network for Efficient Object Detection and Segmentation in Video Streams
摘要:
单帧目标检测和分割技术的最新进展已经激发了广泛的工作来扩展这些方法以处理视频流。在本文中,我们探讨了针对延迟敏感的应用程序的硬注意的想法。我们的方法选择并只处理帧的一个小的子窗口,而不是单独地对每个帧进行推理。然后,我们的技术根据先前帧的子窗口和当前子窗口的更新对全帧进行预测。这种硬注意力机制的延迟减少是以降低准确性为代价的。我们为解决这一问题做出了两项贡献。首先,我们提出了一个专门的存储单元,恢复丢失的上下文时,处理子窗口。其次,我们采用了一种基于Q学习的策略训练策略,使我们的方法能够智能地选择子窗口,从而使内存中的陈旧性对性能的影响最小。我们的实验表明,我们的方法将延迟减少了大约四倍,而不会显著牺牲ImageNet VID视频目标检测数据集和DAVIS视频对象分割数据集的准确性。我们进一步证明,我们可以将节省的计算重新投资到网络的其他部分,从而以与原始系统相当的计算成本提高精度,并在低延迟范围内击败其他最近提出的最先进的方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。