arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.12322cs.CV
收藏

位置、填充和预测:深入了解CNN中的位置信息

Position, Padding and Predictions: A Deeper Look at Position Information in CNNs

Ryerson University(瑞尔森大学);University of Waterloo(滑铁卢大学);University of Guelph(圭尔夫大学);Vector Institute of Artificial Intelligence(向量人工智能研究院);Samsung AI Centre Toronto(三星多伦多人工智能中心)

Md Amirul Islam, Matthew Kowal, Sen Jia, Konstantinos G. Derpanis, Neil D. B. Bruce

摘要:

与完全连接的网络相比,卷积神经网络(CNN)通过学习与具有有限空间范围的局部滤波器相关联的权重来实现效率。这意味着过滤器可能知道它在看什么,但不知道它在图像中的位置。在本文中,我们首先测试了这一假设,并揭示了在常用的CNN中编码了惊人程度的绝对位置信息。我们表明,零填充驱动CNN在其内部表示中编码位置信息,而缺乏填充则排除了位置编码。这就产生了关于位置信息在CNN中的作用的更深层次的问题:(i)什么样的边界算法能够为下游任务提供最佳位置编码?(ii)位置编码是否影响语义表征的学习?(iii)位置编码是否总能提高性能?为了提供答案,我们进行了迄今为止最大的案例研究,研究填充和边界识别在CNN中的作用。我们设计了新的任务,使我们能够量化边界效应作为到边界的距离的函数。大量的语义目标揭示了边界对语义表征的影响。最后,我们展示了这些发现对多个现实任务的影响,以表明位置信息既可以帮助也可以伤害性能。

英文摘要:

In contrast to fully connected networks, Convolutional Neural Networks (CNNs) achieve efficiency by learning weights associated with local filters with a finite spatial extent. An implication of this is that a filter may know what it is looking at, but not where it is positioned in the image. In this paper, we first test this hypothesis and reveal that a surprising degree of absolute position information is encoded in commonly used CNNs. We show that zero padding drives CNNs to encode position information in their internal representations, while a lack of padding precludes position encoding. This gives rise to deeper questions about the role of position information in CNNs: (i) What boundary heuristics enable optimal position encoding for downstream tasks?; (ii) Does position encoding affect the learning of semantic representations?; (iii) Does position encoding always improve performance? To provide answers, we perform the largest case study to date on the role that padding and border heuristics play in CNNs. We design novel tasks which allow us to quantify boundary effects as a function of the distance to the border. Numerous semantic objectives reveal the effect of the border on semantic representations. Finally, we demonstrate the implications of these findings on multiple real-world tasks to show that position information can both help or hurt performance.

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

↑