arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2201.03014cs.CVcs.AIcs.LG
收藏

用于动态视觉识别的一瞥和焦点网络

Glance and Focus Networks for Dynamic Visual Recognition

Tsinghua University(清华大学);Beijing Academy of Artificial Intelligence(北京智源人工智能研究院)

Gao Huang, Yulin Wang, Kangchen Lv, Haojun Jiang, Wenhui Huang, Pengfei Qi, Shiji Song

摘要:

空间冗余广泛存在于视觉识别任务中,即,图像或视频帧中的区别性特征通常仅对应于像素的子集,而其余区域与手头的任务无关。因此,静态模型,处理所有的像素与等量的计算结果在时间和空间消耗方面的相当大的冗余。在本文中,我们制定了图像识别问题作为一个连续的粗到细的特征学习过程,模仿人类视觉系统。具体来说,所提出的Glance and Focus Network(GFNet)首先以低分辨率尺度提取输入图像的快速全局表示,然后策略性地关注一系列突出(小)区域以学习更精细的特征。顺序过程自然有助于在测试时进行自适应推理,因为一旦模型对其预测有足够的信心,它就可以终止,从而避免进一步的冗余计算。值得注意的是,在我们的模型中定位判别区域的问题被公式化为强化学习任务,因此除了分类标签之外,不需要额外的手动注释。GFNet是通用和灵活的,因为它与任何现成的骨干模型(如MobileNets,EfficientNets和TSM)兼容,可以方便地部署为特征提取器。大量的实验上的各种图像分类和视频识别任务,并与各种骨干模型证明了显着的效率,我们的方法。例如,它将高效MobileNet-V3在iPhone XS Max上的平均延迟降低了1.3倍,而不会牺牲准确性。代码和预训练模型可在https://github.com/blackfeather-wang/GFNet-Pytorch上获得。

英文摘要:

Spatial redundancy widely exists in visual recognition tasks, i.e., discriminative features in an image or video frame usually correspond to only a subset of pixels, while the remaining regions are irrelevant to the task at hand. Therefore, static models which process all the pixels with an equal amount of computation result in considerable redundancy in terms of time and space consumption. In this paper, we formulate the image recognition problem as a sequential coarse-to-fine feature learning process, mimicking the human visual system. Specifically, the proposed Glance and Focus Network (GFNet) first extracts a quick global representation of the input image at a low resolution scale, and then strategically attends to a series of salient (small) regions to learn finer features. The sequential process naturally facilitates adaptive inference at test time, as it can be terminated once the model is sufficiently confident about its prediction, avoiding further redundant computation. It is worth noting that the problem of locating discriminant regions in our model is formulated as a reinforcement learning task, thus requiring no additional manual annotations other than classification labels. GFNet is general and flexible as it is compatible with any off-the-shelf backbone models (such as MobileNets, EfficientNets and TSM), which can be conveniently deployed as the feature extractor. Extensive experiments on a variety of image classification and video recognition tasks and with various backbone models demonstrate the remarkable efficiency of our method. For example, it reduces the average latency of the highly efficient MobileNet-V3 on an iPhone XS Max by 1.3x without sacrificing accuracy. Code and pre-trained models are available at https://github.com/blackfeather-wang/GFNet-Pytorch.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑