arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.02629cs.LGcs.CVstat.ML
收藏

Softmax不是一个人工的把戏:神经网络中Softmax的信息论观点

Softmax Is Not an Artificial Trick: An Information-Theoretic View of Softmax in Neural Networks

Zhenyue Qin, Dongwoo Kim

摘要:

尽管应用softmax将神经网络的非归一化输出映射到预测类的概率分布非常流行,但这种归一化指数变换似乎仍然是人为的。一个理论框架,将softmax作为一个内在的组成部分仍然缺乏。在本文中,我们从信息论的角度来看待嵌入softmax的神经网络。在这种观点下,我们可以自然地和数学地推导出log-softmax作为神经网络中的固有组件,用于评估给定输入数据的网络输出向量和标签之间的条件互信息。我们证明了通过最大化log-softmax训练确定性神经网络等价于扩大条件互信息,即,将标签信息馈送到网络输出。我们还概括了我们的信息理论的观点,神经网络的随机性,并推导出log-softmax的信息上限和下限。在理论上,这种信息论观点为在神经网络中嵌入softmax提供了合理性支持;在实践中,我们最终展示了一个计算机视觉应用示例,说明如何使用我们的信息论观点来过滤图像上的目标对象。

英文摘要:

Despite great popularity of applying softmax to map the non-normalised outputs of a neural network to a probability distribution over predicting classes, this normalised exponential transformation still seems to be artificial. A theoretic framework that incorporates softmax as an intrinsic component is still lacking. In this paper, we view neural networks embedding softmax from an information-theoretic perspective. Under this view, we can naturally and mathematically derive log-softmax as an inherent component in a neural network for evaluating the conditional mutual information between network output vectors and labels given an input datum. We show that training deterministic neural networks through maximising log-softmax is equivalent to enlarging the conditional mutual information, i.e., feeding label information into network outputs. We also generalise our informative-theoretic perspective to neural networks with stochasticity and derive information upper and lower bounds of log-softmax. In theory, such an information-theoretic view offers rationality support for embedding softmax in neural networks; in practice, we eventually demonstrate a computer vision application example of how to employ our information-theoretic view to filter out targeted objects on images.

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

↑