Introduction
Modern neural data-to-text generation systems, while capable of producing highly fluent natural language, often struggle with reliability. These "black-box" end-to-end (E2E) models frequently suffer from hallucinations—generating information not present in the source data—or omitting critical details. Traditional pipeline-based systems avoided these issues through explicit "sentence planning," where the model first decided on the order of facts and how to group them (aggregation) before generating text. However, these traditional methods are often rigid and difficult to scale.
AGGGEN (pronounced "again") bridges this gap by reintroducing explicit sentence planning into a flexible, end-to-end neural framework. By utilizing a hierarchical Hidden Markov Model (HMM) to align input data triples with generated text segments, AGGGEN achieves superior factual accuracy and interpretability without sacrificing the fluency of modern neural architectures.
Methodology: The Neural Sentence Planner
The core innovation of AGGGEN is its hybrid architecture, which integrates a Transformer encoder-decoder with a hierarchical HMM. The process follows a structured pipeline designed to ensure every piece of input data is accounted for.
1. Fact-based Segmentation
Rather than treating text as a continuous string of tokens, AGGGEN segments target sentences into "facts." These are short snippets identified using Semantic Role Labeling (SRL) that capture distinct relational units (e.g., "who did what to whom").
2. Hierarchical Latent States
The HMM employs latent states that are grounded directly in the predicates of the input data. This allows the model to perform two critical planning tasks:
- Ordering: Learning the optimal sequence in which to transition from one data triple to another.
- Aggregation: Deciding whether to emit a single triple or group multiple triples into a single consolidated "fact."
3. Joint Learning and Constrained Inference
The model is trained end-to-end to maximize the likelihood of the text given the data, treating the "plan" as a latent variable optimized during training. During the generation phase, AGGGEN uses a specialized inference algorithm—combining beam search with dynamic programming—to ensure that every input triple is mentioned exactly once, effectively eliminating common errors like repetition or omission.
Experimental Results and Key Insights
The authors evaluated AGGGEN on the WebNLG and E2E NLG benchmarks. WebNLG requires complex ordering across diverse domains, while E2E NLG demands heavy aggregation of restaurant attributes.
Factual Correctness and Robustness
AGGGEN demonstrated a significant improvement in factual reliability. On the E2E dataset, it achieved a Slot Error Rate (SER) of 2.70%, nearly halving the 5.16% error rate of a vanilla Transformer. Furthermore, the model proved robust to "noisy" training data; because it is forced to align text to specific triples, it naturally learns to ignore irrelevant or erroneous information in the reference text.
Interpretability and Control
Unlike standard latent variable models where hidden states are abstract vectors, AGGGEN’s states are interpretable predicates. This transparency allows users to inspect the model's plan. Additionally, the explicit planning stage offers high controllability; users can adjust hyperparameters to favor conciseness (more aggregation) or verbosity (less aggregation), or even provide a manual ordering for the facts to be generated.
Limitations and Future Work
While AGGGEN excels at structuring provided data, it currently assumes that all input triples must be included in the output. It does not yet perform "content selection"—the process of filtering which data points are relevant enough to mention. Additionally, the Viterbi algorithm used for alignment can occasionally miss triples due to local optimality.
Future research may involve integrating the AGGGEN framework into larger pre-trained language models like BART or GPT-3, combining their world-class fluency with AGGGEN's structural discipline and factual grounding.
Summary updated