Generating Sentences by Editing Prototypes
Author(s) -
Kelvin Guu,
Tatsunori Hashimoto,
Yonatan Oren,
Percy Liang
Publication year - 2018
Publication title -
transactions of the association for computational linguistics
Language(s) - English
Resource type - Journals
ISSN - 2307-387X
DOI - 10.1162/tacl_a_00030
Subject(s) - perplexity , computer science , sentence , natural language processing , artificial intelligence , language model , generative grammar , similarity (geometry) , semantics (computer science) , programming language , image (mathematics)
We propose a new generative language model for sentences that first samples a prototype sentence from the training corpus and then edits it into a new sentence. Compared to traditional language models that generate from scratch either left-to-right or by first sampling a latent sentence vector, our prototype-then-edit model improves perplexity on language modeling and generates higher quality outputs according to human evaluation. Furthermore, the model gives rise to a latent edit vector that captures interpretable semantics such as sentence similarity and sentence-level analogies.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom