一种广义序列生成框架及其在无向序列模型中的应用
A Generalized Framework of Sequence Generation with Application to Undirected Sequence Models
摘要:
无向神经序列模型,例如BERT(Devlin等人,2019年)由于其在问答和自然语言推理等区分性自然语言理解任务上的成功而重新受到关注。直接从这些模型生成序列的问题得到了相对较少的关注,部分原因是从无向模型生成显着偏离传统的单调生成有向序列模型。我们调查这个问题,提出了一个广义的模型,统一解码的有向和无向模型的序列生成。所提出的框架模型的生成过程,而不是产生的序列,在这个框架下,我们得到各种神经序列模型的特殊情况下,如自回归,半自回归,和精炼为基础的非自回归模型。这种统一使我们能够适应解码算法最初开发的有向序列模型无向序列模型。我们通过在类似BERT的机器翻译模型上评估各种手工制作和学习的解码策略来证明这一点(Lample & Conneau,2019)。所提出的方法实现了恒定时间的翻译结果与来自相同的无向序列模型的线性时间翻译结果相当,而两者都与WMT'14英语-德语翻译的最新技术相竞争。
英文摘要:
Undirected neural sequence models such as BERT (Devlin et al., 2019) have received renewed interest due to their success on discriminative natural language understanding tasks such as question-answering and natural language inference. The problem of generating sequences directly from these models has received relatively little attention, in part because generating from undirected models departs significantly from conventional monotonic generation in directed sequence models. We investigate this problem by proposing a generalized model of sequence generation that unifies decoding in directed and undirected models. The proposed framework models the process of generation rather than the resulting sequence, and under this framework, we derive various neural sequence models as special cases, such as autoregressive, semi-autoregressive, and refinement-based non-autoregressive models. This unification enables us to adapt decoding algorithms originally developed for directed sequence models to undirected sequence models. We demonstrate this by evaluating various handcrafted and learned decoding strategies on a BERT-like machine translation model (Lample & Conneau, 2019). The proposed approach achieves constant-time translation results on par with linear-time translation results from the same undirected sequence model, while both are competitive with the state-of-the-art on WMT'14 English-German translation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。