Few-Shot NLG with Pre-Trained Language Model

Zhiyu Chen, Harini Eavani, Wenhu Chen, Yinyin Liu, William Yang Wang
4/21/2019
cs.CL

Official code: czyssrs/Few-Shot-NLG (188 stars, MIT, last commit 2025-05-23).

Abstract

Neural-based end-to-end approaches to natural language generation (NLG) from structured data or knowledge are data-hungry, making their adoption for real-world applications difficult with limited data. In this work, we propose the new task of \textit{few-shot natural language generation}. Motivated by how humans tend to summarize tabular data, we propose a simple yet effective approach and show that it not only demonstrates strong performance but also provides good generalization across domains. The design of the model architecture is based on two aspects: content selection from input data and language modeling to compose coherent sentences, which can be acquired from prior knowledge. With just 200 training examples, across multiple domains, we show that our approach achieves very reasonable performances and outperforms the strongest baseline by an average of over 8.0 BLEU points improvement. Our code and data can be found at \url{https://github.com/czyssrs/Few-Shot-NLG}

View on arXivView PDF

Code Implementations(1)

MIT

Code and Data for ACL 2020 paper "Few-Shot NLG with Pre-Trained Language Model"

18820Perl, PythonJan 25, 20191 years agoMIT

Similar Papers

Cite this paper

@article{chen2019fewshot,
  title  = {Few-Shot NLG with Pre-Trained Language Model},
  author = {Zhiyu Chen and Harini Eavani and Wenhu Chen and Yinyin Liu and William Yang Wang},
  year   = {2019},
  eprint = {1904.09521},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.09521}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1904.09521.svg)](https://codeofpaper.com/paper/1904.09521)

Discussion