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

迅速预测结构:推理的回归

Promptly Predicting Structures: The Return of Inference

Kahlert School of Computing, University of Utah(犹他大学卡勒特计算学院);University of Washington(华盛顿大学);Allen Institute for AI(艾伦人工智能研究所)

Maitrey Mehta, Valentina Pyatkin, Vivek Srikumar

AI总结:

本文提出利用结构约束和组合推理过滤大语言模型预测的不一致结构,从而构建零样本和少样本语言结构预测器,并在多个任务和数据集上验证其能提升结构有效性与预测性能。

摘要:

基于提示的方法已在自然语言处理(NLP)中被广泛用于构建零样本和少样本标签预测器。许多NLP任务天然具有结构性:即其输出由多个相互约束的标签组成。为此类任务标注数据可能十分繁琐。基于提示的范式所承诺的优势能否扩展到这类结构化输出上?在本文中,我们提出了一个用于构建零样本和少样本语言结构预测器的框架。我们的核心见解是,可以利用结构约束——以及由此推导出的组合推理——来过滤大型语言模型预测出的不一致结构。我们在两个结构化预测任务和五个数据集上实例化了该框架。在所有案例中,我们的结果表明,强制一致性不仅能够构建结构上有效的输出,而且相比无约束的变体还能提升性能。

英文摘要:

Prompt-based methods have been used extensively across NLP to build zero- and few-shot label predictors. Many NLP tasks are naturally structured: that is, their outputs consist of multiple labels which constrain each other. Annotating data for such tasks can be cumbersome. Can the promise of the prompt-based paradigm be extended to such structured outputs? In this paper, we present a framework for constructing zero- and few-shot linguistic structure predictors. Our key insight is that we can use structural constraints -- and combinatorial inference derived from them -- to filter out inconsistent structures predicted by large language models. We instantiated this framework on two structured prediction tasks, and five datasets. Across all cases, our results show that enforcing consistency not only constructs structurally valid outputs, but also improves performance over the unconstrained variants.

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

↑