Neural Text Generation from Structured Data with Application to the Biography Domain
Paper · 2016 · Remi Lebret, David Grangier and Michael Auli
Summary
The paper scales concept-to-text generation far beyond earlier benchmarks such as WEATHERGOV and ROBOCUP, whose vocabularies hold only about 350 words. The authors build a new dataset of over 700k Wikipedia biographies. Each pairs an infobox, a table of field/value facts, with the opening sentence of the article, and the vocabulary exceeds 400k words.
The generator is a feed-forward neural language model that uses the table in two ways:
- Local conditioning: each previously emitted word is tagged with its location in the table, as a field plus offsets from the start and from the end of that field.
- Global conditioning: binary indicators record which fields and which words the whole table contains.
Rare names and other out-of-vocabulary tokens are handled with copy actions, which let the model output a specific table slot directly. The complete system beats a Templated Kneser-Ney baseline by nearly 15 BLEU and also decodes faster. The work shows that table-to-text generation can scale to a broad, open domain without grammars or explicit alignments.
Key points
- The dataset has over 700k infobox/first-sentence pairs and a vocabulary of over 400k words. Earlier generation datasets had roughly 350 words each.
- Conditioning globally on the fields present adds over 7 BLEU, and adding the table's words gives another 1.3 BLEU. Overall the model gains nearly 15 BLEU over Template KN, with similar gains of ROUGE +15 and NIST +2.8.
- Beam search with K = 5 gives the best validation BLEU. The neural model needs about 200 ms per sentence and is several times faster than the Kneser-Ney baseline, because matrix products parallelize well, while n-gram lookups cause scattered memory accesses.
- In the Frederick Parker-Rhodes example, only the variant with global word conditioning recovers his occupation, computer scientist. Weaker variants fall back to frequent occupations, such as a footballer.
- The authors note several limitations:
- The reference data is noisy; the birth month differs between infobox and article.
- The training loss treats a wrong nationality the same as a wrong determiner.
- Only first sentences are generated.
Interesting ideas
- I1. Describing each token by its field and its offset from both ends of the field lets a model know when a value is unfinished and when it is time to move to the next field.
- I2. Adding slot tokens such as name_1 and name_2 to the output vocabulary turns copying unknown words into an ordinary prediction step, which keeps rare proper names out of the main vocabulary.
- I3. The set of fields a record has, along with its content words, acts as a cheap signal of entity type (politician versus athlete versus scientist), even when no type is stated outright.
- I4. A factual slip (wrong occupation or nationality) should cost more than a function-word slip, and evaluation should check facts rather than rely only on n-gram overlap.
- I5. The training pairs themselves can disagree with the table, as with the mismatched birth month, so noisy references can teach wrong facts.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (back): Our generator could tag words of a world entity's attribute with slot-and-edge positions, so the realizer knows when a multi-word name or date is complete and can move to the next frame element.
- I2 (back): In the text → graph → text compressor, entity mentions could be emitted as pointers to graph nodes and filled from the node's surface form, so unseen names survive the round trip exactly.
- I3 (world): When an entity in the world of a text lacks an explicit category, the pattern of attributes and holdings attached to it could suggest a likely ontology class, kept as a marked, explainable guess.
- I4 (learn): Our evaluation of generation could compare facts in the generated text against the source graph, by re-parsing the output, and weight fact errors above stylistic ones.
- I5 (learn): When building silver data, a consistency check between the structured source and the parsed text could filter out or flag contradictory examples before training.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Text generation · 214 works
Appears in
Mentioned in articles aboutLausanne
Cite
Cite as Remi Lebret, David Grangier and Michael Auli. 2016. Neural Text Generation from Structured Data with Application to the Biography Domain. arXiv:1603.07771.
@misc{lebret2016neural,
title = {{Neural Text Generation from Structured Data with Application to the Biography Domain}},
author = {Remi Lebret, David Grangier and Michael Auli},
year = {2016},
doi = {10.48550/arxiv.1603.07771},
eprint = {1603.07771},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1603.07771}
}References
- G. Angeli, P. Liang, and D. Klein. 2010. A simple domain-independent probabilistic approach to generation. In Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, pages 502–512. Association for Computational Linguistics.
- D. Bahdanau, K. Cho, and Y. Bengio. 2015. Neural machine translation by jointly learning to align and translate. In International Conference on Learning Representations.
- R. Barzilay and M. Lapata. 2005. Collective content selection for concept-to-text generation. In Proceedings of the conference on Human Language Technology and Empirical Methods in Natural Language Processing, pages 331–338.
- R. Barzilay and M. Lapata. 2006. Aggregation via set partitioning for natural language generation. In Proceedings of the main conference on Human Language Technology Conference of the North American Chapter of the Association of Computational Linguistics, pages 359–366. Association for Computational… OpenAlex ↗ · Scholar ↗
- A. Belz and E. Reiter. 2006. Comparing automatic and human evaluation of nlg systems. In In Proc. EACL06, pages 313–320. OpenAlex ↗ · Scholar ↗
- A. Belz. 2008. Automatic generation of weather forecast texts using comprehensive probabilistic generation-space models. Natural Language Engineering, 14(04):431–455. OpenAlex ↗ · Scholar ↗
- Y. Bengio, R. Ducharme, P. Vincent, and C. Jauvin. 2003. A neural probabilistic language model. Journal of Machine Learning Research, 3:1137–1155.
- K. Bollacker, C. Evans, P. Paritosh, T. Sturge, and J. Taylor. 2008. Freebase: a collaboratively created graph database for structuring human knowledge. In International Conference on Management of Data, pages 1247–1250. ACM. OpenAlex ↗ · Scholar ↗
- R. Dale, S. Geldof, and J.-P. Prost. 2003. Coral: Using natural language generation for navigational assistance. In Proceedings of the 26th Australasian computer science conference-Volume 16, pages 35–44. Australian Computer Society, Inc. OpenAlex ↗ · Scholar ↗
- J. Devlin, R. Zbib, Z. Huang, T. Lamar, R. Schwartz, and J. Makhoul. 2014. Fast and robust neural network joint models for statistical machine translation. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, volume 1, pages 1370–1380.
- P. A. Duboue and K. R. McKeown. 2002. Content planner construction via evolutionary algorithms and a corpus-based fitness function. In Proceedings of INLG 2002, pages 89–96. OpenAlex ↗ · Scholar ↗
- H. Fang, S. Gupta, F. Iandola, R. K. Srivastava, L. Deng, P. Dollar, J. Gao, X. He, M. Mitchell, J. C. Platt, L. C. OpenAlex ↗ · Scholar ↗
- Zitnick, and G. Zweig. 2015. From captions to visual concepts and back. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June.
- D. Ferrucci. 2012. Introduction to this is watson. IBM Journal of Research and Development, 56(3.4):1–1. OpenAlex ↗ · Scholar ↗
- D. Galanis and I. Androutsopoulos. 2007. Generating multilingual descriptions from linguistically annotated owl ontologies: the naturalowl system. In Proceedings of the Eleventh European Workshop on Natural Language Generation, pages 143–146. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- N. Green. 2006. Generation of biomedical arguments for lay readers. In Proceedings of the Fourth International Natural Language Generation Conference, pages 114– 121. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- B. Gyawali and C. Gardent. 2014. Surface realisation from knowledge-bases. In Proc. of ACL. OpenAlex ↗ · Scholar ↗
- K. Heafield, I. Pouzyrevsky, J. H. Clark, and P. Koehn. 2013. Scalable modified Kneser-Ney language model estimation. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, pages 690–696, Sofia, Bulgaria, August.
- A. Karpathy and L. Fei-Fei. 2015. Deep visual-semantic alignments for generating image descriptions. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June.
- J. Kim and R. J. Mooney. 2010. Generative alignment and semantic parsing for learning from ambiguous supervision. In Proceedings of the 23rd International Conference on Computational Linguistics: Posters, pages 543–551. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- V. Kindratenko. 2014. Numerical Computations with GPUs. Springer. OpenAlex ↗ · Scholar ↗
- R. Kiros, R. Salakhutdinov, and R. S. Zemel. 2014. Unifying visual-semantic embeddings with multimodal neural language models. arXiv preprint arXiv:1411.2539.
- I. Konstas and M. Lapata. 2013. A global model for concept-to-text generation. J. Artif. Int. Res., 48(1):305–346, October. OpenAlex ↗ · Scholar ↗
- I. Langkilde and K. Knight. 1998. Generation that exploits corpus-based statistical knowledge. In Proc. ACL, pages 704–710.
- R. Lebret and R. Collobert. 2014. Word embeddings through hellinger pca. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 482–490, Gothenburg, Sweden, April. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Y. A LeCun, L. Bottou, G. B. Orr, and K.-R. Müller. 2012. Efficient backprop. In Neural networks: Tricks of the trade, pages 9–48. Springer. OpenAlex ↗ · Scholar ↗
- P. Liang, M. I. Jordan, and D. Klein. 2009. Learning semantic correspondences with less supervision. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP: Volume 1-Volume 1, pages 91–99. As…
- W. Lu and H. T. Ng. 2011. A probabilistic forest-to-string model for language generation from typed lambda calculus expressions. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 1611–1622. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- M.-T. Luong, I. Sutskever, Q. V Le, O. Vinyals, and W. Zaremba. 2015. Addressing the rare word problem in neural machine translation. In Proc. ACL, pages 11–19.
- F. Mairesse and M. Walker. 2011. Controlling user perceptions of linguistic style: Trainable generation of personality traits. Comput. Linguist., 37(3):455–488.
- C. D. Manning, M. Surdeanu, J. Bauer, J. Finkel, S. J. Bethard, and D. McClosky. 2014. The Stanford CoreNLP natural language processing toolkit. In Association for Computational Linguistics (ACL) System Demonstrations, pages 55–60.
- H. Mei, M. Bansal, and M. R. Walter. 2016. What to talk about and how? selective generation using lstms with coarse-to-fine alignment. In Proceedings of Human Language Technologies: The 2016 Annual Conference of the North American Chapter of the Association for Computational Linguistics.
- A. Oh and A. Rudnicky. 2000. Stochastic language generation for spoken dialogue systems. In ANLP/NAACL Workshop on Conversational Systems, pages 27–32. OpenAlex ↗ · Scholar ↗
- A. Ratnaparkhi. 2002. Trainable approaches to surface natural language generation and their application to conversational dialog systems. Computer Speech & Language, 16(3):435–455. OpenAlex ↗ · Scholar ↗
- E. Reiter, R. Dale, and Z. Feng. 2000. Building natural language generation systems, volume 33. MIT Press. OpenAlex ↗ · Scholar ↗
- E. Reiter, S. Sripada, J. Hunter, J. Yu, and I. Davy. 2005. Choosing words in computer-generated weather forecasts. Artificial Intelligence, 167(1):137–169. OpenAlex ↗ · Scholar ↗
- L. Shang, Z. Lu, and H. Li. 2015. Neural responding machine for short-text conversation. arXiv preprint arXiv:1503.02364.
- Radu Soricut and Daniel Marcu. 2006. Stochastic language generation using widl-expressions and its application in machine translation and summarization. In Proc. ACL, pages 1105–1112. OpenAlex ↗ · Scholar ↗
- R. Turner, S. Sripada, and E. Reiter. 2010. Generating approximate geographic descriptions. In Empirical methods in natural language generation, pages 121– 140. Springer. OpenAlex ↗ · Scholar ↗
- O. Vinyals, A. Toshev, S. Bengio, and D. Erhan. 2015. Show and tell: A neural image caption generator. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June.
- T. Wen, M. Gasic, N. Mrkšić, P. Su, D. Vandyke, and S. Young. 2015. Semantically conditioned lstm-based natural language generation for spoken dialogue systems. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 1711–1721, Lisbon, Portugal, September.…
- Y. W. Wong and R. J. Mooney. 2007. Generation by inverting a semantic parser that uses statistical machine translation. In HLT-NAACL, pages 172–179.
- K. Xu, J. Ba, R. Kiros, A. Courville, R. Salakhutdinov, R. Zemel, and Y. Bengio. 2015. Show, attend and tell: Neural image caption generation with visual attention. In Proceedings of The 32nd International Conference on Machine Learning, volume 37, July.
- K. Yao, G. Zweig, and B. Peng. 2015. Attention with intention for a neural network conversation model. arXiv preprint arXiv:1510.08565. — arXiv:1510.08565 OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/lebret-2016-neural-text-generation-structured-data/