Neural Data-to-Text Generation with Dynamic Content Planning

Kai Chen, Fayuan Li, Baotian Hu, Weihua Peng, Qingcai Chen, Hong Yu

This paper presents a significant step forward in the field of Data-to-Text (D2T) generation, specifically tackling the challenge of turning complex structured data (like sports statistics) into fluent, accurate human-like summaries.

TL;DR

The authors propose NDP (Neural Dynamic Planning), a model that dynamically decides which data points to describe next based on the text it has already generated. By incorporating a novel record reconstruction mechanism during training, the model forces its internal states to remain faithful to the input data, significantly reducing "hallucinations" and improving the coherence of long-form summaries.

What Problem Does This Paper Address?

Generating text from structured data involves two core challenges: content selection ("what to say") and surface realization ("how to say it").

While neural models have improved fluency, they often suffer from two major flaws:

  1. Inaccuracy: They generate descriptions that contradict the input data (hallucinations).
  2. Omission: They miss vital information or repeat themselves.

Previous state-of-the-art models used "static" planning, where the order of facts was determined before the writing started. The authors argue that this is unnatural; in human writing, the decision of what to say next is often influenced by the semantic flow of the sentences already written.

Methods

The NDP model introduces a four-part architecture to bridge the gap between data and narrative:

  1. Static Content Planning: An initial phase that selects and orders relevant records from the massive input table.
  2. Dynamic Content Planning: This is the core innovation. As the model generates words, it uses the decoder's current hidden state to dynamically re-weight the importance of input records. This allows the model to "focus" on the most appropriate data point for the current context.
  3. Text Decoder: A two-layer LSTM with attention and a copy mechanism, allowing it to either generate common words or copy specific values (like "25 points") directly from the data.
  4. Record Reconstruction: A novel training-time objective. The model is tasked with reconstructing the original data fields (e.g., player name, stat type, value) from the decoder's hidden states. This acts as a powerful regularizer, ensuring the model's internal representations stay grounded in the truth.
Figure 1: The overall architecture of the proposed NDP. The reconstruction mechanism is

Datasets

The model was evaluated on the ROTOWIRE dataset, a challenging benchmark consisting of NBA basketball game summaries paired with extensive box-score and line-score tables. These summaries are professionally written, relatively long (averaging 337 words), and require high factual precision.

Key Insights and Ideas

  • Context-Aware Selection: Planning shouldn't be a separate, pre-processing step. By making planning dynamic, the model can better handle the nuances of transitions and inter-sentential coherence.
  • Reconstruction for Fidelity: The "aha moment" here is using reconstruction as a proxy for memory. If the decoder's hidden state contains enough information to rebuild the input record, it is much less likely to "forget" the facts or invent new ones.
  • The Precision-Recall Trade-off: The authors found that the reconstruction mechanism significantly boosts fidelity (precision) but can slightly reduce adequacy (recall). In other words, the model becomes more careful—it might say less, but what it does say is more likely to be correct.

Key Results

NDP achieved state-of-the-art performance on the ROTOWIRE dataset across several automated metrics:

  • Relation Generation (RG) Precision: Improved to 89.3% (Test set), outperforming the previous best (NCP+CC) at 87.47%.
  • BLEU Score: Reached 16.70, a notable improvement for this specific task.
  • Human Evaluation: In "Best-Worst Scaling" tests, human raters found NDP-generated texts to be significantly more fluent, concise, and faithful than those from baseline models. The version with the reconstruction mechanism (NDP+rec) received the highest scores for fidelity.

Limitations and Future Work

Despite the improvements, the model still struggles with background knowledge. For instance, it might fail to correctly identify a team's "next game" because that information isn't explicitly in the box score provided.

The authors suggest that future work should explore integrating external knowledge graphs to provide this missing context, allowing the model to generate even richer and more comprehensive reports.

Summary updated

Abstract

Neural data-to-text generation models have achieved significant advancement in recent years. However, these models have two shortcomings: the generated texts tend to miss some vital information, and they often generate descriptions that are not consistent with the structured input data. To alleviate these problems, we propose a Neural data-to-text generation model with Dynamic content Planning, named NDP for abbreviation. The NDP can utilize the previously generated text to dynamically select the appropriate entry from the given structured data. We further design a reconstruction mechanism with a novel objective function that can reconstruct the whole entry of the used data sequentially from the hidden states of the decoder, which aids the accuracy of the generated text. Empirical results show that the NDP achieves superior performance over the state-of-the-art on ROTOWIRE dataset, in terms of relation generation (RG), content selection (CS), content ordering (CO) and BLEU metrics. The human evaluation result shows that the texts generated by the proposed NDP are better than the corresponding ones generated by NCP in most of time. And using the proposed reconstruction mechanism, the fidelity of the generated text can be further improved significantly.
BibTeX
@article{chen2021neural,
  author = {Kai Chen and Fayuan Li and Baotian Hu and Weihua Peng and Qingcai Chen and Hong Yu},
  title = {{Neural Data-to-Text Generation with Dynamic Content Planning}},
  journal = {Knowledge-Based Systems},
  year = {2021},
  doi = {10.1016/j.knosys.2020.106610},
}
Figure