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

输出受限网络的基于推理机的推理

Gradient-based Inference for Networks with Output Constraints

Carnegie Mellon University(卡内基梅隆大学);Oracle Labs(甲骨文实验室)

Jay Yoon Lee, Sanket Vaibhav Mehta, Michael Wick, Jean-Baptiste Tristan, Jaime Carbonell

摘要:

从业者将神经网络应用于自然语言处理中日益复杂的问题,例如具有丰富输出结构的句法分析和语义角色标注。许多这样的结构化预测问题需要对输出值进行确定性约束;例如,在序列到序列句法分析中,我们要求序列输出编码有效的树。虽然隐藏单元可能会捕获这些属性,但网络并不总是能够单独从训练数据中学习这些约束,因此从业者必须求助于后处理。在本文中,我们提出了一个神经网络的推理方法,强制执行确定性的约束输出,而不执行基于规则的后处理或昂贵的离散搜索。相反,本着基于梯度的训练的精神,我们使用基于梯度的推理(GBI)来强制约束:对于测试时的每个输入,我们轻推连续的模型权重,直到网络的无约束推理过程生成满足约束的输出。我们研究了GBI在三个具有硬约束的任务上的功效:语义角色标注,句法分析和序列转换。在每种情况下,该算法不仅满足约束条件,而且提高了精度,即使底层网络是最先进的。

英文摘要:

Practitioners apply neural networks to increasingly complex problems in natural language processing, such as syntactic parsing and semantic role labeling that have rich output structures. Many such structured-prediction problems require deterministic constraints on the output values; for example, in sequence-to-sequence syntactic parsing, we require that the sequential outputs encode valid trees. While hidden units might capture such properties, the network is not always able to learn such constraints from the training data alone, and practitioners must then resort to post-processing. In this paper, we present an inference method for neural networks that enforces deterministic constraints on outputs without performing rule-based post-processing or expensive discrete search. Instead, in the spirit of gradient-based training, we enforce constraints with gradient-based inference (GBI): for each input at test-time, we nudge continuous model weights until the network's unconstrained inference procedure generates an output that satisfies the constraints. We study the efficacy of GBI on three tasks with hard constraints: semantic role labeling, syntactic parsing, and sequence transduction. In each case, the algorithm not only satisfies constraints but improves accuracy, even when the underlying network is state-of-the-art.

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

↑