Data-to-Text Generation with Iterative Text Editing

Zdenek Kasner, Ondrej Dusek

Introduction

Data-to-Text (D2T) generation—the task of converting structured data, such as RDF triples, into human-readable narratives—traditionally faces a trade-off between the rigid accuracy of pipeline systems and the linguistic fluency of "black-box" end-to-end (E2E) neural models. While E2E models produce natural text, they are prone to hallucinations (fabricating information) or omissions (failing to include all data points). This research proposes a middle ground: reframing D2T generation as an iterative text editing task to ensure high fidelity while maintaining natural language quality.

Methodology

The proposed system avoids generating paragraphs from scratch. Instead, it follows a three-step iterative process to build a narrative one fact at a time:

  1. Template Selection: For each data point (e.g., an RDF triple), the system selects a simple template to create a basic sentence. For instance, the triple [Dublin, capital, Ireland] becomes "Dublin is the capital of Ireland."
  2. Iterative Sentence Fusion: This core stage uses LaserTagger, a sequence-tagging model, to fuse the current narrative with the new templated sentence. Unlike token-by-token generators, LaserTagger predicts edit operations (KEEP, DELETE, ADD) to merge sentences into a coherent structure.
  3. Filtering and Reranking: The system generates a "beam" of potential fusions. It applies a string-matching heuristic to discard versions that omit entities and uses GPT-2 (as an "LMScorer") to rank the remaining options based on fluency.
The three-step iterative generation process: template selection, sentence fusion, and filtering/reranking.

Datasets and Evaluation

The approach was evaluated on three distinct benchmarks:

  • WebNLG: RDF triples across diverse categories like Astronauts and Monuments.
  • Cleaned E2E: Restaurant descriptions involving attributes like food type and price range.
  • DiscoFuse: A large-scale sentence fusion dataset used to evaluate the model's zero-shot domain adaptation capabilities.

Key Results

The iterative editing approach (labeled w/fusion) significantly outperformed the baseline of simple template stacking across all primary metrics, including BLEU, METEOR, and CIDEr.

Performance comparison across WebNLG and Cleaned E2E datasets, showing improvements with the fusion approach.

On the WebNLG dataset, the fusion model improved the BLEU score from a baseline of 0.277 to 0.353. While these results currently trail massive state-of-the-art models like T5 (0.571), the iterative method offers superior control and requires less task-specific data. In the E2E dataset, the model successfully produced compact, natural descriptions, such as "Aromi is a family-friendly Chinese coffee shop..."

Discussion and Insights

  • Fidelity Guarantee: By starting with factual templates and using a tagging-based editor, the system inherently minimizes the risk of hallucinations compared to free-form generators.
  • Zero-Shot Potential: The model learns the general linguistic rules of joining ideas rather than just translating specific data formats. Training on the general-domain DiscoFuse dataset allowed for effective application to specific D2T tasks without additional training.
  • Limitations: The current implementation of LaserTagger struggles with significant word reordering, sometimes defaulting to simpler sentence stacking to preserve data. Future work will focus on more flexible editing models and sophisticated semantic fidelity classifiers to replace simple string-matching heuristics.

Summary updated

BibTeX
@inproceedings{kasner2020data,
  author = {Zdenek Kasner and Ondrej Dusek},
  title = {{Data-to-Text Generation with Iterative Text Editing}},
  booktitle = {INLG},
  year = {2020},
  doi = {10.18653/v1/2020.inlg-1.9},
}
Figure