LGCLMLMay 29, 2019

A Generalized Framework of Sequence Generation with Application to Undirected Sequence Models

arXiv:1905.12790v250 citations
Originality Highly original
AI Analysis

This addresses a key bottleneck in applying undirected models to sequence generation tasks like machine translation, offering a novel decoding method that could enhance efficiency and performance in natural language processing.

The paper tackles the problem of generating sequences from undirected neural models like BERT, which is challenging due to differences from conventional directed models, by proposing a generalized framework that unifies decoding for both types. The result shows that this approach achieves constant-time translation competitive with state-of-the-art on WMT'14 English-German, with performance on par with linear-time results from the same model.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes