arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.07043cs.CLcs.LG
收藏

注意力就是你所需要的一切:数据到文本NLG的语义注意力引导解码

Attention Is Indeed All You Need: Semantically Attention-Guided Decoding for Data-to-Text NLG

University of California, Santa Cruz(加州大学圣克鲁兹分校)

Juraj Juraska, Marilyn Walker

摘要:

自从神经模型在数据到文本的语言生成中被采用以来,它们总是依赖于外部组件来提高其语义准确性,因为模型通常不具有生成可靠地提到输入中提供的所有信息的文本的能力。在本文中,我们提出了一种新的解码方法,从编码器-解码器模型的交叉注意中提取可解释的信息,并使用它来推断生成的文本中提到了哪些属性,随后用于重新评分波束假设。使用T5和BART的这种解码方法,我们在三个数据集上展示了它在生成的输出中显着减少语义错误的能力,同时保持其最先进的质量。

英文摘要:

Ever since neural models were adopted in data-to-text language generation, they have invariably been reliant on extrinsic components to improve their semantic accuracy, because the models normally do not exhibit the ability to generate text that reliably mentions all of the information provided in the input. In this paper, we propose a novel decoding method that extracts interpretable information from encoder-decoder models' cross-attention, and uses it to infer which attributes are mentioned in the generated text, which is subsequently used to rescore beam hypotheses. Using this decoding method with T5 and BART, we show on three datasets its ability to dramatically reduce semantic errors in the generated outputs, while maintaining their state-of-the-art quality.

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

↑