Abstract
Generating natural language descriptions from structured data is a core challenge in data-to-text tasks. Traditional models often struggle with disordered input or suffer from error propagation in multi-stage pipelines. This paper introduces an end-to-end neural model that integrates a learned content plan directly into the attention mechanism. By utilizing an order-invariant attribute encoder and a coverage-based attention mechanism, the proposed model ensures that generated descriptions are both logically ordered and complete. Evaluations on the WIKIALL and WIKIBIO datasets demonstrate state-of-the-art performance and significant robustness to disordered data.
Introduction
The task of data-to-text generation involves transforming structured information, such as Wikipedia infoboxes or Knowledge Graph triples, into fluent, human-readable sentences. Standard sequence-to-sequence models typically treat input attributes as a linear sequence. However, real-world data is often "disordered"—the storage order in a database rarely aligns with the logical narrative flow required for a high-quality description. If a model is fed a random list of facts, it frequently produces disjointed or repetitive output.
Previous attempts to solve this involved two-stage architectures: a content planner to order the facts, followed by a text generator. A major drawback of this approach is error propagation; if the planner accidentally omits a key attribute (like a birth date), the generator has no mechanism to recover it, leading to incomplete descriptions.
Proposed Methodology
The researchers propose an end-to-end model that jointly learns planning and generation, avoiding the pitfalls of rigid pipelines. The architecture is divided into three primary components:
1. Attribute Encoder
To handle disordered data, the model employs an order-invariant encoder. Instead of using LSTMs, which are inherently sensitive to sequence order, this encoder treats attributes as a "bag of tokens." It computes an element-wise average of attribute-token vectors, ensuring the internal representation remains consistent regardless of the input order.
2. Content-Planner (Pointer Network)
This module acts as a roadmap for the generation process. Using a Pointer Network, it learns to sequence attributes into a logical "content plan" (e.g., Name → Birth Date → Birth Place). This learned plan guides the subsequent generation phase.
3. Description Generator with Content-Plan Attention
The core innovation lies in how the content plan is utilized. Rather than a simple feed-forward input, the model implements a coverage mechanism. This mechanism tracks which parts of the content plan have been addressed at each generation step. By maintaining this history, the model shifts its attention to the next salient attribute, preventing repetitions or omissions.
Experimental Setup and Datasets
The model was evaluated on two large-scale datasets:
- WIKIALL: A new dataset introduced in this study, consisting of 152,231 triples across 53 entity types. It pairs Wikidata facts with Wikipedia introductory sentences.
- WIKIBIO: A standard benchmark of over 700,000 Wikipedia biographies. To rigorously test robustness, the researchers used a version of this dataset where attributes were intentionally shuffled to simulate disordered input.
Results and Discussion
The proposed model achieved state-of-the-art results across multiple metrics, demonstrating the effectiveness of joint learning over traditional pipelines.
Quantitative Performance
As shown in the performance table below, the model consistently outperformed strong baselines like NCP and FGDA. Notably, it achieved a gain of up to 3% BLEU on WIKIALL and 5% BLEU on WIKIBIO. Its performance remained stable even when faced with the disordered WIKIBIO data, where traditional models typically falter.
Human Evaluation
Blind human evaluations further validated these findings. The model received higher scores than all baselines in Correctness (logical ordering of facts), Grammaticality, and Fluency. This suggests that the coverage mechanism successfully "glues" the content plan to the generated text, ensuring logical flow.
Conclusion and Future Work
By forcing order-invariance in the encoder and using a coverage-based attention mechanism for the content plan, this research provides a robust solution for generating entity descriptions from messy, real-world data. The joint learning approach effectively mitigates the "missing information" problem common in pipeline systems.
Future work aims to address the limitations of the current data alignment process. Currently, "gold standard" content plans are created via simple string matching, which fails to recognize semantic equivalents (e.g., "Citizenship: US" vs. "American actor"). Transitioning to semantic similarity search for alignment is expected to further enhance training quality and model performance.
Summary updated