StuMaBa : From Deep Representation to Surface

Bernd Bohnet, Simon Mille, Benoît Favre, Leo WannerENLG 2011

Introduction

The StuMaBa system presents a comprehensive Natural Language Generation (NLG) pipeline designed to transform abstract semantic graphs into fluent surface text. By introducing an intermediate "deep-syntactic" layer and treating generation as a series of discriminative classification tasks, the system bridges the gap between internal computer representations and human-readable language.

The Challenge of Non-Isomorphic Projection

A primary challenge in Natural Language Processing is the "non-isomorphic projection" between deep semantics and surface syntax. While a semantic representation is typically a graph of concepts, a sentence is a linear string of words. This transition is complex because there is no one-to-one mapping; ideas can be expressed through various grammatical structures, and function words (e.g., "of", "the") must be generated based on syntactic requirements. StuMaBa addresses these transitions systematically through a multi-stage pipeline rather than relying on hand-written templates.

Methodology

The StuMaBa pipeline consists of four primary stages and two auxiliary tasks:

  1. Semantic Graph to Deep-Syntactic Tree (DSyntR): Generation is framed as a graph-based parsing problem. Using beam search and the Margin Infused Relaxed Algorithm (MIRA), the system identifies the highest-scoring tree spanning the input semantic nodes.
  2. Deep-Syntactic to Surface-Syntactic Tree (SSyntR): A tree transducer with 27 automatically derived rules expands the content-only deep tree into a full syntactic structure, introducing necessary function words.
  3. Surface-Syntactic Tree to Linearized Structure: Word order is determined via a bottom-up beam search that incrementally orders sub-trees.
  4. Morphologization: Base word forms (lemmata) are transformed into final inflected forms using edit scripts based on Levenshtein distance.

To support these stages, the system utilizes discriminative models built upon specific feature templates to score candidate structures during the search process.

Feature templates used for discriminative classification tasks.

Experimental Results

The system was evaluated using two versions. System 2 improved upon the baseline by incorporating more accurate comma insertion, a richer feature set for linearization, and a 5-gram language model for reranking. Performance was measured at various stages of the pipeline to identify strengths and bottlenecks.

Performance metrics across different pipeline stages for System 1 and System 2.

Key findings include:

  • High Accuracy in Early Stages: The mapping from semantics to deep-syntax achieved a high Unlabeled Attachment Score (ULA) of 99.0.
  • Effective Realization: When starting from a shallow (surface-syntactic) representation, the BLEU score reached 89.6, demonstrating that the morphology and linearization modules are highly effective.
  • End-to-End Performance: Starting from deep semantic representations, System 2 achieved a BLEU score of 79.6 and a NIST score of 13.55.
  • The Linearization Bottleneck: The "Syntax to Topology" mapping (word ordering) remains the most challenging stage, with an accuracy of 57.7% for System 2, significantly lower than other components.

Conclusion and Future Work

The StuMaBa system demonstrates that framing generation as a series of discriminative tasks is a viable approach for high-quality NLG. While the realization stages are effective, the drop in accuracy during linearization suggests that determining word order solely from syntactic trees remains a significant hurdle. Future work should focus on improving feature sets for word ordering and perhaps integrating language models more deeply into the decoding process rather than using them solely for final reranking.

Summary updated

BibTeX
@inproceedings{bohnet2011stumaba,
  author = {Bernd Bohnet and Simon Mille and Benoît Favre and Leo Wanner},
  title = {{StuMaBa : From Deep Representation to Surface}},
  booktitle = {ENLG},
  year = {2011},
}
Figure