arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.03247cs.CVcs.LGstat.ML
收藏

卷积神经网络的一个令人感兴趣的缺陷及CoordConv解决方案

An Intriguing Failing of Convolutional Neural Networks and the CoordConv Solution

Uber AI Labs(优步人工智能实验室);Uber Technologies(优步科技)

Rosanne Liu, Joel Lehman, Piero Molino, Felipe Petroski Such, Eric Frank, Alex Sergeev, Jason Yosinski

摘要:

很少有思想像卷积一样对深度学习产生如此大的影响。对于任何涉及像素或空间表示的问题,通常的直觉认为卷积神经网络可能是合适的。在本文中,我们通过看似微不足道的坐标变换问题展示了这种直觉的一个引人注目的反例,该问题只需要学习(x,y)笛卡尔空间和单热像素空间中的坐标之间的映射。虽然卷积网络似乎适合这项任务,但我们证明了它们会失败。我们首先在一个玩具问题上演示并仔细分析失败,此时一个简单的修复方法变得显而易见。我们将此解决方案称为CoordConv,其工作原理是通过使用额外的坐标通道来允许卷积访问其自己的输入坐标。在不牺牲普通卷积的计算和参数效率的情况下,CoordConv允许网络根据最终任务的要求学习完全的平移不变性或不同程度的平移依赖性。CoordConv解决了坐标变换问题,具有完美的泛化能力,比卷积快150倍,参数少10- 100倍。这种鲜明的对比提出了一个问题:在多大程度上,这种卷积的无能一直隐藏在其他任务中,从内部微妙地阻碍了性能?这个问题的完整答案将需要进一步的研究,但我们展示了初步证据,即将卷积交换为CoordConv可以改进各种任务的模型。在GAN中使用CoordConv会产生较少的模式坍塌,因为高级空间潜在项和像素之间的转换变得更容易学习。在MNIST上训练的更快的R-CNN检测模型在使用CoordConv时显示出24%的IOU提高,并且在RL域中,玩Atari游戏的代理从CoordConv层的使用中受益匪浅。

英文摘要:

Few ideas have enjoyed as large an impact on deep learning as convolution. For any problem involving pixels or spatial representations, common intuition holds that convolutional neural networks may be appropriate. In this paper we show a striking counterexample to this intuition via the seemingly trivial coordinate transform problem, which simply requires learning a mapping between coordinates in (x,y) Cartesian space and one-hot pixel space. Although convolutional networks would seem appropriate for this task, we show that they fail spectacularly. We demonstrate and carefully analyze the failure first on a toy problem, at which point a simple fix becomes obvious. We call this solution CoordConv, which works by giving convolution access to its own input coordinates through the use of extra coordinate channels. Without sacrificing the computational and parametric efficiency of ordinary convolution, CoordConv allows networks to learn either complete translation invariance or varying degrees of translation dependence, as required by the end task. CoordConv solves the coordinate transform problem with perfect generalization and 150 times faster with 10--100 times fewer parameters than convolution. This stark contrast raises the question: to what extent has this inability of convolution persisted insidiously inside other tasks, subtly hampering performance from within? A complete answer to this question will require further investigation, but we show preliminary evidence that swapping convolution for CoordConv can improve models on a diverse set of tasks. Using CoordConv in a GAN produced less mode collapse as the transform between high-level spatial latents and pixels becomes easier to learn. A Faster R-CNN detection model trained on MNIST showed 24% better IOU when using CoordConv, and in the RL domain agents playing Atari games benefit significantly from the use of CoordConv layers.

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

↑