arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.11353cs.LGcs.CV
收藏

变分嵌套丢弃

Variational Nested Dropout

City University of Hong Kong(香港城市大学);McGill University(麦吉尔大学);Xiamen University(厦门大学);National Taiwan University(国立台湾大学)

Yufei Cui, Yu Mao, Ziquan Liu, Qiao Li, Antoni B. Chan, Xue Liu, Tei-Wei Kuo, Chun Jason Xue

摘要:

嵌套dropout是dropout操作的一种变体,它能够在训练过程中根据预定义的重要性对网络参数或特征进行排序。它已被探索为:一。构建嵌套网络:嵌套网络是神经网络,其架构可以在测试期间即时调整,例如,基于计算限制。嵌套的dropout隐式地对网络参数进行排序,生成一组子网络,使得任何较小的子网络形成较大网络的基础。二.学习有序表示:应用于生成模型的潜在表示的嵌套丢弃(例如,自动编码器)对特征进行排名,强制在维度上的密集表示的显式顺序。然而,在整个训练过程中,辍学率作为超参数是固定的。对于嵌套网络,当网络参数被移除时,性能在人类指定的轨迹中衰减,而不是在从数据中学习的轨迹中衰减。对于生成模型,特征的重要性被指定为一个常数向量,限制了表示学习的灵活性。为了解决这个问题,我们专注于概率对应的嵌套辍学。我们提出了一个变分嵌套dropout(VND)操作,以低成本绘制多维有序掩码的样本,为嵌套dropout的参数提供有用的梯度。基于这种方法,我们设计了一个贝叶斯嵌套神经网络,学习的顺序知识的参数分布。我们进一步利用不同的生成模型下的VND学习有序的潜在分布。在实验中,我们表明,所提出的方法优于嵌套网络在分类任务的准确性,校准和域外检测。它在数据生成任务上也优于相关的生成模型。

英文摘要:

Nested dropout is a variant of dropout operation that is able to order network parameters or features based on the pre-defined importance during training. It has been explored for: I. Constructing nested nets: the nested nets are neural networks whose architectures can be adjusted instantly during testing time, e.g., based on computational constraints. The nested dropout implicitly ranks the network parameters, generating a set of sub-networks such that any smaller sub-network forms the basis of a larger one. II. Learning ordered representation: the nested dropout applied to the latent representation of a generative model (e.g., auto-encoder) ranks the features, enforcing explicit order of the dense representation over dimensions. However, the dropout rate is fixed as a hyper-parameter during the whole training process. For nested nets, when network parameters are removed, the performance decays in a human-specified trajectory rather than in a trajectory learned from data. For generative models, the importance of features is specified as a constant vector, restraining the flexibility of representation learning. To address the problem, we focus on the probabilistic counterpart of the nested dropout. We propose a variational nested dropout (VND) operation that draws samples of multi-dimensional ordered masks at a low cost, providing useful gradients to the parameters of nested dropout. Based on this approach, we design a Bayesian nested neural network that learns the order knowledge of the parameter distributions. We further exploit the VND under different generative models for learning ordered latent distributions. In experiments, we show that the proposed approach outperforms the nested network in terms of accuracy, calibration, and out-of-domain detection in classification tasks. It also outperforms the related generative models on data generation tasks.

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

↑