TL;DR
The PlanGen framework introduces a two-stage approach to data-to-text generation that first predicts a structured "content plan" and then generates the final text. By combining a CRF-based planner with a BART-based generator and a novel structure-aware reinforcement learning objective, the model achieves state-of-the-art results with significantly fewer parameters than massive models like T5-3B.
What Problem Does This Paper Address?
Data-to-text (D2T) generation—the task of turning structured data (like tables or RDF graphs) into natural language—has seen massive gains thanks to neural models. However, these models often act as "black boxes" regarding output structure. They might capture the facts but struggle to control the order of information or the emphasis on specific entities.
This lack of controllability is a hurdle for real-world applications. For example, a digital assistant should vary its sentence structure based on a user's specific question (e.g., "Who played X?" vs. "What role did Y play?"). Current end-to-end models often produce repetitive, "robotic" structures and lack the flexibility to generate diverse paraphrases from the same underlying data.
Methods
The authors propose PlanGen, a framework consisting of two main components:
- Content Planner: This module uses a BERT-base encoder coupled with a Linear-chain Conditional Random Field (CRF). Instead of just selecting which data points to include, it predicts an ordered sequence (the content plan) of slot keys (for tables) or predicates (for graphs). The CRF allows the model to find the globally optimal ordering of information.
- Sequence Generator: A BART-base model takes both the original structured data and the predicted content plan as input to generate the final natural language output.
The "Secret Sauce": Structure-Aware RL Standard training (Maximum Likelihood Estimation) focuses on matching tokens one by one. To ensure the generator actually follows the plan, the authors introduce a Reinforcement Learning (RL) objective using the REINFORCE algorithm. The reward function specifically measures how well the generated text's structure matches the intended content plan, forcing the model to adhere to the user-specified or predicted order.
Datasets
The model was evaluated on two major benchmarks:
- ToTTo: A large-scale English table-to-text dataset based on Wikipedia.
- WebNLG: A dataset containing sets of RDF triples (graphical data) and their corresponding natural language descriptions.
Because these datasets do not come with "ground truth" plans, the authors developed a heuristic delexicalizer to automatically extract "silver" content plans from the reference text for training.
Key Insights and Ideas
- Planning as Global Ordering: By treating planning as a sequence ordering problem solved by a CRF, the model can handle "out-of-vocabulary" slot keys at test time by focusing on positions rather than just specific labels.
- Controllability via Shuffling: One of the most powerful features of PlanGen is that a user can manually shuffle the content plan. The model is robust enough to follow these "shuffled" plans to produce fluent, diverse sentences that convey the same information in different ways.
- Efficiency over Scale: The PlanGen model (140M parameters) outperformed the T5-3B model (2.8B parameters) on several key metrics. This suggests that explicit architectural priors (like planning) can be more effective than simply increasing model size.
Key Results
- State-of-the-Art Performance: On the ToTTo leaderboard, PlanGen outperformed previous models on the PARENT (factual accuracy) and BLEURT metrics. On WebNLG, it achieved new SOTA results for both seen and unseen categories.
- Superior Diversity: When generating multiple outputs for the same data, PlanGen showed a massive improvement in diversity. It outperformed T5-3B by over 57 points on Self-BLEU (where lower is better), proving it can generate structurally distinct sentences rather than minor variations.
- Human Evaluation: Human graders rated PlanGen higher than BERT-to-BERT and T5 baselines in terms of Faithfulness (factual consistency) and Fluency.
Limitations and Future Work
The authors identify a few areas for improvement:
- Heuristic Dependency: The framework relies on a heuristic delexicalizer to create training plans. Human evaluation showed that these heuristics still lag behind human-level planning logic.
- Rare Patterns: When the content plan is randomly shuffled into highly unusual patterns, the model occasionally falters, sometimes repeating information (e.g., mentioning a title twice).
- Future Directions: The team suggests that future work could focus on more sophisticated, perhaps learnable, delexicalizers and methods to help the model handle rare or complex planning structures more gracefully.
Summary updated