Skip to main content
QUICK REVIEW

[论文解读] Take it in your stride: Do we need striding in CNNs?

Chen Kong, Simon Lucey|arXiv (Cornell University)|Dec 7, 2017
Adversarial Robustness in Machine LearningComputer Science参考文献 15被引用 19
一句话总结

本文证明,任何使用非单位步长卷积的卷积神经网络(CNN)均可通过数学变换转化为仅使用单位步长卷积且通道数增加的等效非步长CNN。该等价性通过将步长卷积重新解释为通道间的参数共享机制实现,表明步长在训练过程中通过限制参数共享而降低了模型容量,但保持了推理阶段的性能。

ABSTRACT

Since their inception, CNNs have utilized some type of striding operator to reduce the overlap of receptive fields and spatial dimensions. Although having clear heuristic motivations (i.e. lowering the number of parameters to learn) the mathematical role of striding within CNN learning remains unclear. This paper offers a novel and mathematical rigorous perspective on the role of the striding operator within modern CNNs. Specifically, we demonstrate theoretically that one can always represent a CNN that incorporates striding with an equivalent non-striding CNN which has more filters and smaller size. Through this equivalence we are then able to characterize striding as an additional mechanism for parameter sharing among channels, thus reducing training complexity. Finally, the framework presented in this paper offers a new mathematical perspective on the role of striding which we hope shall facilitate and simplify the future theoretical analysis of CNNs.

研究动机与目标

  • 探究CNN中的步长是否在数学上是必需的,还是仅出于启发式考虑。
  • 在推理阶段建立步长与非步长CNN架构之间的正式等价性。
  • 为理解步长的作用提供理论基础,超越计算效率的范畴。
  • 将步长重新解释为跨通道的参数共享机制,以降低训练复杂度。

提出的方法

  • 本文提出一种数学变换,可将步长卷积转换为一组通道维度扩展的单位步长卷积。
  • 证明任意步长卷积可表示为多个作用于输入特征子集的单位步长卷积之和。
  • 该变换依赖于对输入张量和滤波器张量的重排,将步长操作重构为多通道、非步长操作。
  • 通过定理1建立理论等价性,证明步长网络的输出与经过滤波器维度和通道数调整后的对应非步长网络输出完全一致。
  • 框架采用带状托普利茨矩阵表示法,形式化1D下步长与非步长卷积之间的等价性,并推广至高维空间。
  • 通过在MNIST数据集上使用修改版LeNet架构的简化实验,验证了该等价性,比较了步长与非步长变体在训练和推理性能上的表现。

实验结果

研究问题

  • RQ1能否用仅使用单位步长卷积和增加通道宽度的非步长等价网络,精确表示使用非单位步长卷积的CNN?
  • RQ2在减少空间维度之外,步长在CNN中的数学作用是什么?
  • RQ3步长是否在特征通道间实现参数共享?
  • RQ4非步长等价网络的模型容量与原始步长网络相比如何?

主要发现

  • 任何使用非单位步长卷积的前馈CNN,均存在一个数学上等价的非步长架构,该架构仅使用单位步长卷积和增加的通道宽度。
  • 非步长等价网络在推理性能上与原始步长网络完全一致,证实了理论等价性。
  • 非步长架构具有更大的参数空间,表明步长通过在通道间强制参数共享而降低了模型容量。
  • 从零开始训练非步长架构可获得更高的测试准确率(98.23% vs. 98.17%),但训练时间显著更长(680.97秒 vs. 451.91秒),证实了其更高的模型容量。
  • 该变换揭示了步长作为通道间参数共享机制的作用,为CNN设计中使用步长提供了理论依据。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。