通过 Boosting 结合约束与非约束解码:BoostCD 及其在信息抽取中的应用
Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extraction
AI总结:
本文提出 BoostCD 方法,通过两阶段 Boosting 结合约束与非约束解码,利用两类错误的互补性提升结构化生成质量,并应用于信息抽取任务,模型 BoostIE 在分布内外均优于先前方法。
摘要:
近年来,许多面向结构化 NLP 任务的方法使用自回归语言模型 $M$ 将非结构化输入文本 $x$ 映射为表示结构化对象(如元组、列表、树、代码等)的输出文本 $y$,其中期望的输出结构通过约束解码来强制执行。在训练过程中,这些方法不要求模型感知约束,约束只是隐含在训练输出 $y$ 中。这样做的好处是可以在不重新训练的情况下支持动态约束,但在测试时进行约束解码可能导致输出质量较低。我们通过 Boosted Constrained Decoding(BoostCD)来解决这一问题,该方法分两个阶段结合约束解码与非约束解码:阶段 1 对基础模型 $M$ 分别以约束模式和非约束模式各解码一次,得到两个弱预测;阶段 2 使用一个学习到的自回归提升模型将两个弱预测合并为最终预测。基础模型在有约束与无约束情况下所犯的错误往往具有互补性,提升模型可以学习利用这种互补性来提升性能。我们通过将 BoostCD 应用于封闭式信息抽取来展示其能力。我们的模型 BoostIE 在分布内和分布外均优于先前方法,并解决了这些方法中识别出的若干常见错误。
英文摘要:
Many recent approaches to structured NLP tasks use an autoregressive language model $M$ to map unstructured input text $x$ to output text $y$ representing structured objects (such as tuples, lists, trees, code, etc.), where the desired output structure is enforced via constrained decoding. During training, these approaches do not require the model to be aware of the constraints, which are merely implicit in the training outputs $y$. This is advantageous as it allows for dynamic constraints without requiring retraining, but can lead to low-quality output during constrained decoding at test time. We overcome this problem with Boosted Constrained Decoding (BoostCD), which combines constrained and unconstrained decoding in two phases: Phase 1 decodes from the base model $M$ twice, in constrained and unconstrained mode, obtaining two weak predictions. In phase 2, a learned autoregressive boosted model combines the two weak predictions into one final prediction. The mistakes made by the base model with vs. without constraints tend to be complementary, which the boosted model learns to exploit for improved performance. We demonstrate the power of BoostCD by applying it to closed information extraction. Our model, BoostIE, outperforms prior approaches both in and out of distribution, addressing several common errors identified in those approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。