一种新的神经网络输出分布采样器--Wang-Landau算法
Gradient-based Wang-Landau Algorithm: A Novel Sampler for Output Distribution of Neural Networks over the Input Space
摘要:
神经网络(NN)在整个输入空间上的输出分布捕获了完整的输入-输出映射关系,为更全面的NN理解提供了见解。穷举法或传统的蒙特卡罗方法对整个输入空间可能会表现出不切实际的采样时间,特别是对于高维输入。为了使这种困难的采样计算上可行,在本文中,我们提出了一种新的基于顺应性的王-朗道(GWL)采样器。我们首先画出神经网络的输出分布和物理系统的态密度(DOS)之间的联系。然后,我们翻新的经典采样器的DOS问题,Wang-Landau算法,取代其随机建议与基于梯度的Monte Carlo建议。通过这种方式,我们的GWL采样器可以更有效地调查输入空间的未开发子集。大量的实验已经验证了GWL生成的输出分布的准确性,并展示了几个有趣的发现-例如,在二进制图像分类任务中,CNN和ResNet都将大多数人类无法识别的图像映射到非常负的logit值。
英文摘要:
The output distribution of a neural network (NN) over the entire input space captures the complete input-output mapping relationship, offering insights toward a more comprehensive NN understanding. Exhaustive enumeration or traditional Monte Carlo methods for the entire input space can exhibit impractical sampling time, especially for high-dimensional inputs. To make such difficult sampling computationally feasible, in this paper, we propose a novel Gradient-based Wang-Landau (GWL) sampler. We first draw the connection between the output distribution of a NN and the density of states (DOS) of a physical system. Then, we renovate the classic sampler for the DOS problem, the Wang-Landau algorithm, by replacing its random proposals with gradient-based Monte Carlo proposals. This way, our GWL sampler investigates the under-explored subsets of the input space much more efficiently. Extensive experiments have verified the accuracy of the output distribution generated by GWL and also showcased several interesting findings - for example, in a binary image classification task, both CNN and ResNet mapped the majority of human unrecognizable images to very negative logit values.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。