Abstract
Natural Language Generation (NLG) systems that integrate planning and realization often face a combinatorial explosion when applied to real-world data. This paper presents S-STRUCT, an optimized system that scales integrated generation to the Wall Street Journal (WSJ) corpus. By employing grammar pruning, intelligent semantic binding, and learned search heuristics, S-STRUCT achieves a median generation time of 8.5 seconds on large-scale datasets, representing a major advancement over previous planning-based generators.
Introduction: The Challenge of Integrated Generation
NLG is the task of transforming abstract communicative goals into human-readable text. Traditional systems use a pipeline approach: first planning "what" to say, then realizing "how" to say it. However, integrated generation—performing both tasks simultaneously—is preferred because it ensures that the chosen content is grammatically expressible.
The primary obstacle to integrated generation is the massive search space. With large vocabularies and complex grammars, the number of possible word combinations grows exponentially. Previous systems like STRUCT were effective on small "toy" problems but failed to scale to the complexity of real-world datasets like the WSJ corpus.
The S-STRUCT Methodology
S-STRUCT builds upon the Sentence Tree Realization with UCT (STRUCT) framework, which models generation as a Markov Decision Process solved via Monte Carlo Tree Search. To enable scalability, the authors introduced four key enhancements:
- Grammar Pruning: The system performs "lossless" pruning, removing lexicalized trees that are mathematically irrelevant to the specific communicative goal.
- Efficient Semantic Binding: S-STRUCT uses a bottom-up approach to verify factual consistency between sentence variables and world entities, caching valid bindings to prevent redundant computations.
- Search Tree Reuse: Instead of rebuilding the lookahead tree for every word choice, S-STRUCT maintains the tree across steps, preserving exploration progress.
- Learned Search Control: A perceptron-based heuristic guides the planner toward promising branches, helping avoid early choices that lead to ungrammatical dead ends.
Experimental Evaluation
The system was evaluated on three subsets of the Penn TreeBank (WSJ corpus):
- Small: 50 sentences (~400 actions).
- Medium: 500 sentences (~3,700 actions).
- Large: 5,000 sentences (~32,000 actions) with a world model of 11,000 entities.
This benchmark is significantly more demanding than those used for prior planning-based generators, which typically handled fewer than 100 grammar rules.
Key Results and Scalability
The optimizations in S-STRUCT led to dramatic performance improvements. On the "Large" dataset, the system achieved a median generation time of 8.5 seconds. In contrast, the baseline STRUCT system was unable to complete the "Small" dataset within a reasonable timeframe.
The results demonstrate that the "binding bottleneck"—the difficulty of verifying factual consistency—is a primary driver of complexity. S-STRUCT's binding optimizations reduced the potential search space from over $10^{10}$ combinations to a manageable scale. Furthermore, the learned heuristics proved essential for avoiding "bad" initial branches that often trap pure search algorithms.
Conclusion and Future Directions
S-STRUCT demonstrates that integrated planning and realization can be scaled to real-world linguistic data. While currently limited to single-sentence generation and lacking full morphological handling (e.g., tense/number agreement), the authors suggest that adding these features would further prune the search space and improve speed. Future work includes extending the system to discourse-level planning and optimizing the implementation for real-time applications.
Summary updated