用信号处理视角揭示神经网络的内部运作机制
The Neural Echo: A Signal Processing Perspective for Understanding Neural Networks
- 通过输入自适应的脉冲响应,可视化网络动态行为
- DnCNN模型显示像素权重依赖空间与灰度距离
- 适用于各类网络结构,无需可微性,解释性强
本文提出神经回声(neural echo)作为理解神经网络行为的新工具,将经典信号处理中的脉冲响应、扩散回声和滤波回声概念推广至学习型方法。它为神经网络提供依赖输入的局部、空间自适应脉冲响应与滤波核,可通过仿射映射可视化网络的学得动态。该框架通用性强,适用于图像到图像、分类任务,涵盖卷积、全连接、前馈或循环结构,包括现代Transformer网络,且不要求网络可微。在可微情况下,神经回声包含显著性图、对抗扰动分析等基于雅可比矩阵的概念作为特例。以去噪卷积神经网络(DnCNN)为例,实验表明其根据像素的空间与灰度值距离加权,不仅揭示了其工作机制,还证明其能复现双边滤波等经典模型基元。
原文摘要 · Abstract (English)
We introduce the neural echo as a tool for understanding the behavior of neural networks. It generalizes the model-based concepts of impulse responses, diffusion echoes, and filter echoes to learning-based methods. It provides local, space-adaptive impulse responses and filter kernels for a neural network, its so-called echoes. These echoes depend on the input image and can be visualized to understand the learned dynamics of the network via an affine mapping. Neural echoes build a bridge from classical signal processing to modern explainable AI. They are very general and can be applied to both image-to-image and classification networks, with convolutional or fully connected structure, of feedforward or recurrent type, including modern transformer networks. Network differentiability is not required. In the differentiable case, neural echoes comprise concepts based on the network Jacobian, such as saliency maps and the analysis of adversarial perturbations, as special instances. As a simple blueprint to explain our framework, we derive neural echoes for the denoising convolutional neural network (DnCNN). Our experiments suggest that this network weights pixels based on their spatial and gray value distances. This not only clarifies its behavior, but also shows that it can reproduce key concepts of classical model-based denoisers such as bilateral filtering.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。