Introduction
In Natural Language Generation (NLG), a content planner determines what information to convey, but the subsequent task of "sentence planning" must decide how to group those ideas into coherent sentences. This process, known as sentence boundary determination, is critical for readability.
If too many propositions are crammed into a single sentence, the result is an unreadable "wall of text." Conversely, placing every idea into its own sentence creates output that feels like a primary school primer—choppy, repetitive, and tedious. Furthermore, some combinations of ideas are "unrealizable," meaning the grammar engine cannot find a valid way to stitch them together. Traditional approaches relied on rigid, domain-specific rules or simple thresholds (e.g., "no more than three ideas per sentence"), which often fail to capture the subtle stylistic nuances and semantic groupings of natural human writing.
Methodology: Instance-Based Optimization
The authors propose a domain-independent framework that treats sentence boundary determination as an optimization problem. Instead of following hardcoded heuristics, the system analyzes a corpus of human-written examples in the target domain (such as real estate listings) and seeks to minimize the "cost" of transforming those examples into the desired output.
The Cost Function
The optimal sentence plan minimizes the sum of three specific costs:
- Sentence Boundary Cost (SBC): A penalty for every new sentence created, preventing excessive choppiness.
- Insertion Cost: The cost of adding a new idea into an existing sentence template. High costs are assigned if the addition creates syntactic awkwardness.
- Deletion Cost: The cost of removing an idea from a template. If removing a word makes the sentence grammatically incomplete, the cost is high.
Search and Scalability
Finding the absolute minimum cost is a search problem. Because the number of possible groupings grows exponentially with the number of propositions, the authors utilize a Branch and Bound tree search. For small sets of ideas (7 or fewer), the system finds the exact optimal solution. For larger sets, it switches to a Greedy Approximation to maintain sub-second execution times.
Key Results and Evaluation
The researchers evaluated their approach using a real-estate domain corpus consisting of naturally occurring descriptions of houses. They compared their system against baseline heuristics (B-3 and B-6, which allow a maximum of 3 or 6 propositions per sentence, respectively).
As shown in the evaluation table, the proposed system significantly outperformed the baselines:
- Dangling Sentences: The baseline produced "dangling" sentences (short, one-proposition sentences following long ones) 100% of the time in certain tests, while the proposed system produced 0%.
- Semantic Cohesion: The proposed system split related concepts (like bedrooms and bathrooms) only 1% of the time, compared to 61% for the B-3 baseline.
- Realization Failures: While the baseline suffered from realization failures in 56% to 72% of cases, the proposed system had zero failures.
- Human Preference: In blind fluency tests, human subjects preferred the proposed system's output in 59% of cases, compared to just 4% and 8% for the baselines.
Conclusion
By optimizing for similarity to human examples, the system automatically inherits semantic cohesion and ensures grammatical realizability. While the exact search is computationally intensive, the greedy approximation provides a viable path for real-time NLG applications. Future work will explore how this method can be extended to handle multi-sentence coherence and focus-tracking across larger documents.
Summary updated