arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.05340cs.CVcs.LG
收藏

解释 ResNet18 的残差流

Interpreting the Residual Stream of ResNet18

Louisiana State University(路易斯安那州立大学)

André Longon

AI总结:

本文通过分析 ResNet18 的残差流,揭示其在输入与模块特征间灵活管理特征,并利用多尺度混合构建尺度不变表示。

摘要:

对深度神经网络(DNN)所习得计算的机制性理解还远未完善。在视觉对象识别领域,先前研究已经阐明了 InceptionV1 的内部工作机制,但具有不同架构的 DNN 在很大程度上仍未得到探索。本工作研究 ResNet18,特别关注其残差流,这是 InceptionV1 所缺乏的一种架构机制。我们观察到,对于给定模块,残差流的通道特征沿着一个谱系被更新:要么输入特征跳跃到输出,要么模块特征覆盖输出,或者输出是输入特征与模块特征之间的某种混合。此外,我们表明,许多残差流通道通过将输入的较小尺度特征与模块的较大尺度特征相混合,计算尺度不变表示。这不仅为尺度等变性的普遍性积累了证据,也展示了残差流如何进一步实现尺度不变性。总体而言,我们的结果开启了对视觉对象识别中残差流的解释,发现它是一个灵活的特征管理者,也是构建尺度不变表示的媒介。

英文摘要:

A mechanistic understanding of the computations learned by deep neural networks (DNNs) is far from complete. In the domain of visual object recognition, prior research has illuminated inner workings of InceptionV1, but DNNs with different architectures have remained largely unexplored. This work investigates ResNet18 with a particular focus on its residual stream, an architectural mechanism which InceptionV1 lacks. We observe that for a given block, channel features of the stream are updated along a spectrum: either the input feature skips to the output, the block feature overwrites the output, or the output is some mixture between the input and block features. Furthermore, we show that many residual stream channels compute scale invariant representations through a mixture of the input's smaller-scale feature with the block's larger-scale feature. This not only mounts evidence for the universality of scale equivariance, but also presents how the residual stream further implements scale invariance. Collectively, our results begin an interpretation of the residual stream in visual object recognition, finding it to be a flexible feature manager and a medium to build scale invariant representations.

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

↑