arXiv:2506.14901cs.CL2025-06EMNLP被引 2

用两阶段融合解码提升信息抽取准确率

Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extraction

  • 先约束后无约束解码,生成两个弱预测
  • 用新模型融合两者,互补纠错提升效果
  • 适合需要高精度结构化输出的场景

许多近期的结构化NLP方法使用自回归语言模型 $M$ 将非结构化输入文本 $x$ 映射为表示结构化对象(如元组、列表、树、代码等)的输出文本 $y$,通过约束解码强制输出结构。训练时无需模型显式知晓约束,仅隐含于训练输出 $y$ 中。这虽支持动态约束而无需重训,但测试时约束解码常导致质量下降。本文提出增强型约束解码(BoostCD),分两阶段:第一阶段分别以约束和无约束模式对基础模型 $M$ 解码,获得两个弱预测;第二阶段,一个学习的自回归增强模型将两个弱预测合并为最终结果。基础模型在有/无约束下的错误具有互补性,增强模型可学习利用此特性提升性能。我们将BoostCD应用于闭式信息抽取,构建的BoostIE模型在分布内与分布外均优于先前方法,解决了多种常见错误。

原文摘要 · Abstract (English)

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.

信息抽取解码优化自回归模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。