arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.08160cs.CL
收藏

具有可微二元变量的可解释神经预测

Interpretable Neural Predictions with Differentiable Binary Variables

ILLC(逻辑、语言与计算研究所);University of Amsterdam(阿姆斯特丹大学);ILCC(语言与认知研究所);University of Edinburgh(爱丁堡大学)

Jasmijn Bastings, Wilker Aziz, Ivan Titov

摘要:

神经网络的成功与人们对更好的可解释性的渴望密切相关。我们专注于文本分类器,并通过让它们为它们的预测提供一个理由,一个理由,使它们更容易解释。我们通过联合训练两个神经网络模型来解决这个问题:一个潜在模型选择一个基本原理(即输入文本的一个简短而信息丰富的部分),一个分类器只从基本原理中的单词中学习。以前的工作建议分配二进制潜在的掩码输入位置,并通过稀疏诱导的处罚,如L0正则化,以促进短的选择。我们提出了一个潜在的模型,它混合了离散和连续的行为,同时允许二进制选择和基于梯度的训练,而不需要REINFORCE。在我们的公式中,我们可以很容易地计算惩罚的期望值,例如L0,这使我们能够直接优化模型以达到预先指定的文本选择率。我们表明,我们的方法是有竞争力的与以前的工作的理由提取,并探讨进一步使用注意力机制。

英文摘要:

The success of neural networks comes hand in hand with a desire for more interpretability. We focus on text classifiers and make them more interpretable by having them provide a justification, a rationale, for their predictions. We approach this problem by jointly training two neural network models: a latent model that selects a rationale (i.e. a short and informative part of the input text), and a classifier that learns from the words in the rationale alone. Previous work proposed to assign binary latent masks to input positions and to promote short selections via sparsity-inducing penalties such as L0 regularisation. We propose a latent model that mixes discrete and continuous behaviour allowing at the same time for binary selections and gradient-based training without REINFORCE. In our formulation, we can tractably compute the expected value of penalties such as L0, which allows us to directly optimise the model towards a pre-specified text selection rate. We show that our approach is competitive with previous work on rationale extraction, and explore further uses in attention mechanisms.

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

↑