[Paper Review] Few-Shot NLG with Pre-Trained Language Model
This paper introduces few-shot natural language generation (NLG), a new task requiring high-quality text generation from structured data using only 50–200 labeled examples. It proposes a simple yet effective method that combines a pre-trained language model with a learnable copy switch mechanism to selectively extract facts from tables and compose fluent, factual sentences, achieving an average BLEU improvement of over 8.0 points over strong baselines with minimal data.
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 extit{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}
Motivation & Objective
- To address the data-hungry nature of neural NLG systems that require large-scale annotated data for real-world deployment.
- To formulate a new research problem: few-shot NLG, where models must generate high-quality text with only 50–200 labeled examples.
- To reduce human annotation effort by leveraging pre-trained language models as prior knowledge for fluent text generation.
- To improve generalization across domains by decoupling content selection from language modeling using a learnable switch mechanism.
- To demonstrate that strong performance can be achieved without fine-tuning large domain-specific models, even under extreme data scarcity.
Proposed method
- The method uses a pre-trained language model (e.g., GPT-style) as the generator, providing strong prior knowledge for fluent and coherent sentence formation.
- A learnable copy switch mechanism is introduced to control whether the model generates text from the language model's parameters or copies directly from input table values.
- The copy switch is trained using a copy loss term $p_{ ext{copy}}$, which encourages the model to copy factual content from the table when appropriate.
- The model architecture is simple, with minimal learnable parameters, making it suitable for few-shot learning settings.
- Content selection and sentence composition are jointly optimized via end-to-end training on small labeled datasets.
- The framework is applied across multiple domains using a multi-domain Wikipedia-based table-to-text dataset, enabling zero-shot generalization.
Experimental results
Research questions
- RQ1Can neural NLG models achieve reasonable performance with only 50–200 labeled training examples?
- RQ2Can pre-trained language models serve as effective prior knowledge to reduce data dependency in NLG?
- RQ3Does a learnable copy switch mechanism improve factual consistency and fluency in few-shot NLG?
- RQ4How does the proposed method generalize across diverse domains with minimal data?
- RQ5Can the model outperform strong baselines that rely on large-scale training data in low-resource settings?
Key findings
- With only 200 training examples, the proposed method achieves an average BLEU-4 score of 36.1 on the Humans domain, outperforming the strongest baseline by over 8.0 BLEU points.
- The copy loss term $p_{ ext{copy}}$ improves performance by an average of 4.0 BLEU points across training set sizes, significantly reducing hallucinated or incorrect facts.
- On the WikiBio dataset, the method achieves 25.4 BLEU with 200 examples, surpassing the Pivot model (16.8 BLEU) even though the Pivot model uses large-scale target-side data.
- Human evaluation shows the model generates 3.64 supporting facts per sample (vs. 2.57 for the strongest baseline), with only 1.12 contradicting facts, indicating high factual correctness.
- The model without the copy loss performs slightly better in language naturalness (1.63 vs. 1.59), but the copy loss significantly improves factual consistency, which is critical for NLG.
- The method generalizes well across domains, demonstrating strong zero-shot transferability with minimal architectural complexity and data requirements.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.