从全局标签中检测局部洞察:通过卷积分解的监督和Zero-Shot序列标记
Detecting Local Insights from Global Labels: Supervised & Zero-Shot Sequence Labeling via a Convolutional Decomposition
摘要:
我们提出了一种新的,更可行的神经网络可解释性和数据分析的观点,通过利用来自深度网络的表示的显着匹配有效性,由类条件特征检测方法指导。卷积神经网络和线性层在预先训练的深度网络上的过滤器-ngram交互的分解产生了强大的二进制序列标记器,在从完全监督的序列标记设置到具有挑战性的zero-shot序列标记设置的不同标签粒度下产生预测和定义损失函数方面具有灵活性,其中我们寻求标记级预测,但只有文档级标签用于训练。从这个序列标记层,我们得到输入的密集表示,然后可以将其与训练中的实例或具有已知标签的支持集进行匹配。在某些情况下,这种具有推理时间决策规则的自省提供了一种方法,通过改变支持集中的标签或实例来对模型进行局部更新,而无需重新训练完整模型。最后,我们从匹配的样本表示中构建了一个特定的K-最近邻(K-NN)模型,该模型近似于原始模型的预测,并且至少与地面真实标签的预测一样有效。这还在令牌级别上产生可解释的算法,用于确定预测何时不太可能可靠,以及用于筛选与支持集不同的输入。实际上,我们证明了我们可以将深度网络转换为对样本和相关标签的简单加权,从而产生原始模型的可内省-并且可适度更新-版本。
英文摘要:
We propose a new, more actionable view of neural network interpretability and data analysis by leveraging the remarkable matching effectiveness of representations derived from deep networks, guided by an approach for class-conditional feature detection. The decomposition of the filter-ngram interactions of a convolutional neural network and a linear layer over a pre-trained deep network yields a strong binary sequence labeler, with flexibility in producing predictions at -- and defining loss functions for -- varying label granularities, from the fully-supervised sequence labeling setting to the challenging zero-shot sequence labeling setting, in which we seek token-level predictions but only have document-level labels for training. From this sequence-labeling layer we derive dense representations of the input that can then be matched to instances from training, or a support set with known labels. Such introspection with inference-time decision rules provides a means, in some settings, of making local updates to the model by altering the labels or instances in the support set without re-training the full model. Finally, we construct a particular K-nearest neighbors (K-NN) model from matched exemplar representations that approximates the original model's predictions and is at least as effective a predictor with respect to the ground-truth labels. This additionally yields interpretable heuristics at the token level for determining when predictions are less likely to be reliable, and for screening input dissimilar to the support set. In effect, we show that we can transform the deep network into a simple weighting over exemplars and associated labels, yielding an introspectable -- and modestly updatable -- version of the original model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。