Abstract
This paper explores a hybrid approach to Natural Language Generation (NLG) that integrates traditional rule-based grammar with Information Retrieval (IR) techniques. The proposed system, IGEN, utilizes an instance-based ranker to evaluate candidate sentences against a database of real-world examples. By employing expectation-driven pruning, the system achieves significant computational efficiency while maintaining high stylistic fidelity and grammatical accuracy.
Introduction
Natural Language Generation (NLG) traditionally faces a "knowledge acquisition bottleneck." Hand-crafting rules to capture every linguistic nuance is labor-intensive, while purely statistical models often smooth over the specific exceptions and stylistic quirks that characterize natural human language. Furthermore, traditional generators often struggle with the complex interaction of linguistic decisions, such as how word order influences pronominalization.
To bridge the gap between rigid rule-based systems and data-driven statistical models, the authors introduce Instance-Based Learning (IBL) into the generation pipeline. By storing specific linguistic examples (instances) and using them to guide the generation of new text, IGEN ensures that output remains stylistically grounded in a target corpus.
The IGEN System Architecture
The IGEN system operates through a two-phase process designed to balance linguistic structure with stylistic naturalness:
- Base Generation: The system employs a "semantic grammar" automatically extracted from a treebank. This grammar generates a large set of potential candidate sentences (represented as edges in a chart) based on the provided input data.
- Instance-Based Ranking: To identify the optimal sentence among thousands of candidates, IGEN treats generation as an inverse Information Retrieval task. It compares candidate sentences to a database of "instances" (real sentences from a training corpus) using cosine similarity and TF-IDF weighting.
Search Efficiency and Pruning
A significant challenge in this approach is the computational cost of comparing every partial sentence to every instance in the database. To address this, the authors developed an expectation-driven ranking algorithm. This method calculates the "expectation"—the maximum possible score a partial sentence could achieve—and prunes paths that cannot surpass the current best candidate. This allows the generator to function similarly to an $A^*$ search algorithm.
As shown in the figure above, the exhaustive search (circles) experiences a massive spike in the number of edges as sentence length increases, whereas the expectation-driven unigram (dots) and bigram (triangles) approaches maintain a significantly lower and more manageable search space.
Experimental Setup
The researchers evaluated IGEN using the MUC-6 IE task corpus, specifically the "Who’s News" section of the Wall Street Journal. This dataset describes management successions, such as executive hires and resignations.
- Training Set: 105 articles were used to build the instance base and extract the semantic grammar.
- Test Set: 37 articles were used for final evaluation.
- Annotation: The corpus was semantically annotated with specific "slots" (e.g.,
INPERSON_FULLNAME,POST,COMP_DESCR) to link data points to linguistic structures.
Key Results
The evaluation focused on both the quality of the generated text and the efficiency of the retrieval-based ranking system.
- Grammaticality: Human evaluation revealed that 48.2% of the top-ranked sentences were entirely grammatical, with an additional 22.5% containing only minor errors.
- Semantic Coverage: The system successfully expressed between 52% and 70% of the input semantic tags in its highest-ranked outputs.
- Computational Performance: The pruning strategy led to dramatic reductions in processing time.
As quantified in the table above, the exhaustive unigram search for a 105-instance base took an average of 92.6 seconds, while the expectation-driven bigram approach reduced this to just 8.6 seconds while maintaining a 0% failure rate in finding the best candidate ($no\ c$).
Conclusion and Future Work
IGEN demonstrates that treating NLG as a retrieval problem is a viable path toward generating natural, domain-specific text without the need for exhaustive manual rule-writing. By leveraging mature IR algorithms, the system preserves the "sub-regularities" of language found in real-world data.
Future work will address current limitations, such as ensuring semantic completeness (guaranteeing all input information is included in the output) and improving domain portability. Additionally, the authors suggest that the ranker could be tuned to favor specific authorial styles or tones within a single dataset.
Summary updated