Abstract: Matic Horvat, Ann Copestake, Bill Byrne. Proceedings of the 11th International Conference on Computational Semantics.
2015.
Introduction
In the Natural Language Processing (NLP) pipeline, "semantic realization" is the critical final step: transforming a formal representation of meaning into a natural language sentence. Traditionally, this task has relied on hand-coded "resource grammars." While these grammars produce high-quality text, they are notoriously fragile. If the input semantic representation—such as Minimal Recursion Semantics (MRS)—contains a single missing link or incorrect tag, traditional realizers often fail entirely. This paper introduces HSSR (Hierarchical Statistical Semantic Realization), a robust, data-driven framework that treats realization as a translation problem, ensuring the system can generate sentences even from "noisy" or imperfect input.
Methodology
HSSR adapts techniques from Hierarchical Statistical Machine Translation (SMT) to work with semantic graphs. The authors treat realization as a translation task from a graph to a string.
Graph Representation and Grammar Extraction
The system utilizes Dependency MRS (DMRS), representing meaning as a directed graph where nodes are predicates and edges denote semantic relationships.
Instead of manual rules, HSSR automatically extracts a Synchronous Context-Free Grammar (SCFG) from a large parsed corpus. This includes terminal rules (mapping subgraphs to specific words) and non-terminal rules (allowing for hierarchical structures like "definition of [X]").
Decoding and Ranking
To generate sentences, the system searches for the most probable sequence of rules covering the input graph. Unlike standard SMT, which uses word spans, HSSR employs graph coverage bit vectors to track which semantic nodes have been translated. A log-linear model then scores potential sentences based on translation probabilities and an N-gram language model to ensure fluency.
Experimental Setup
The system was trained on the Wikiwoods corpus, which contains approximately 1.3 million English Wikipedia articles deep-parsed into MRS representations. The training set consisted of roughly 1 million DMRS-sentence pairs, while tuning and testing were performed on 500 and 1,000 pairs, respectively. To maintain computational tractability, training was limited to sentences with up to 20 tokens and graphs with up to 15 nodes.
Results
The system's performance was evaluated using the BLEU metric. HSSR achieved a peak BLEU score of 46.66 using a 3-gram language model.
As shown in the results, moving from a 2-gram to a 3-gram model provided a significant quality boost, though the transition to a 4-gram model yielded diminishing returns. Qualitatively, the system demonstrated the ability to generate complex, fluent sentences such as "the direction also functioned as an inferior court in case of theft," even when the input semantics were simplified.
Discussion and Future Work
The primary insight of HSSR is that the machinery of machine translation can be effectively repurposed for semantic realization. By using statistical models rather than rigid logic, the system gains robustness; if it cannot realize an entire graph, it will realize the largest possible subgraph rather than failing.
However, limitations remain. The current decoder is computationally intensive, with roughly 10% of test cases timing out. Additionally, the limit of two non-terminals per rule makes it difficult for the system to handle "heavy" predicates with three or more arguments. Future work will focus on improving efficiency through graph splitting and implementing more advanced optimization techniques like Minimum Error Rate Training (MERT).
Summary updated