arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.06618cs.LGstat.ML
收藏

训练神经网络的微分熵估计

A Differential Entropy Estimator for Training Neural Networks

TU Wien(维也纳工业大学);Paris-Saclay CNRS CentraleSupélec(巴黎-萨克雷国家科学研究中心中央理工-高等电力学院);ÉTS Montreal(蒙特利尔高等工程技术学院);Austrian Academy of Sciences(奥地利科学院);Université McGill(麦吉尔大学);Université Paris-Saclay(巴黎萨克雷大学)

Georg Pichler, Pierre Colombo, Malik Boudiaf, Günther Koliander, Pablo Piantanida

摘要:

互信息作为一种损失正则化器被广泛地用于神经网络的训练。这在学习高维数据的分解或压缩表示时特别有效。然而,微分熵(DE),另一种基本的信息测量,还没有发现广泛使用的神经网络训练。虽然DE提供了一个潜在的更广泛的应用比MI,现成的DE估计是不可微的,计算棘手的或无法适应的变化,在底层的分布。这些缺点使它们不能在神经网络训练中用作正则化器。为了解决以前提出的DE估计的缺点,在这里,我们介绍KNIFE,一个完全参数化的,可微的基于核的DE估计。我们的方法的灵活性也使我们能够构建基于KNIFE的估计条件(离散或连续变量)DE,以及MI。我们经验验证我们的方法在高维合成数据,并进一步将其应用于指导训练的神经网络的现实世界的任务。我们的实验上的各种各样的任务,包括视觉领域自适应,文本公平分类,和文本微调证明了基于刀的估计的有效性。代码可以在https://github.com/g-pichler/knife上找到。

英文摘要:

Mutual Information (MI) has been widely used as a loss regularizer for training neural networks. This has been particularly effective when learn disentangled or compressed representations of high dimensional data. However, differential entropy (DE), another fundamental measure of information, has not found widespread use in neural network training. Although DE offers a potentially wider range of applications than MI, off-the-shelf DE estimators are either non differentiable, computationally intractable or fail to adapt to changes in the underlying distribution. These drawbacks prevent them from being used as regularizers in neural networks training. To address shortcomings in previously proposed estimators for DE, here we introduce KNIFE, a fully parameterized, differentiable kernel-based estimator of DE. The flexibility of our approach also allows us to construct KNIFE-based estimators for conditional (on either discrete or continuous variables) DE, as well as MI. We empirically validate our method on high-dimensional synthetic data and further apply it to guide the training of neural networks for real-world tasks. Our experiments on a large variety of tasks, including visual domain adaptation, textual fair classification, and textual fine-tuning demonstrate the effectiveness of KNIFE-based estimation. Code can be found at https://github.com/g-pichler/knife.

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

↑