NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Text Generation from Discourse Representation Structures

Jiangming Liu, Shay B. Cohen, Mirella Lapata

Text Generation from Discourse Representation Structures

Abstract

Generating natural language from formal semantic representations is a core challenge in computational linguistics. This paper introduces a novel neural framework designed to generate text from Discourse Representation Structures (DRSs)—complex, document-level semantic maps. By combining a specialized Sibling treeLSTM to manage wide tree structures and a graph-based ordering model to linearize unordered semantic conditions, the authors achieve state-of-the-art performance (59.26 BLEU) on the Groningen Meaning Bank (GMB) benchmark.

Introduction

While neural machine translation has seen immense progress, generating text from formal logic remains difficult. Discourse Representation Theory (DRT) provides a framework for representing the meaning of entire documents, capturing rhetorical relations (e.g., "CONTRAST"), presuppositions, and cross-sentence co-reference. However, the structural properties of DRSs pose unique hurdles for standard neural architectures.

The Challenge of Formal Logic Generation

Generating text from DRSs involves overcoming three primary obstacles:

  1. Unordered Conditions: Semantic conditions in a DRS are treated as a set. Without a consistent "canonical" order, models struggle to learn effective mappings.
  2. Meaningless Variables: Variable names (e.g., $x_1, e_2$) are arbitrary and vary across documents, requiring a method to normalize them.
  3. Structural Complexity: Document-level DRSs often result in "wide and flat" trees, where a single node may have hundreds of children, overwhelming standard tree-based neural networks.
Example of a Discourse Representation Structure (DRS) showing semantic conditions and rhetorical relations.

Proposed Methodology

The authors propose an encoder-decoder architecture featuring three key innovations:

Sibling treeLSTM

Traditional N-ary treeLSTMs are computationally expensive for wide trees because they require a separate forget gate for every child. The proposed Sibling treeLSTM simplifies this by using only two gates: one for the parent and one for the preceding sibling. This allows information to flow horizontally across tree branches, capturing immediate context more efficiently.

Tree representation of a DRS, illustrating the hierarchical and wide structure handled by the Sibling treeLSTM.

BiGraph Ordering Model

To address the "unordered set" problem, the authors treat DRS conditions as nodes in a graph. A Graph Convolutional Recurrent Network (GCRN) learns relationships between conditions sharing arguments, and a Pointer Network predicts a "latent" order. This approach significantly outperforms simple frequency-based baselines.

Relative Variable Renaming

Arbitrary variable names are replaced with indices based on their relative order of appearance in a standardized traversal. This ensures consistent patterns across different training examples.

Evaluation and Results

The models were evaluated on the Groningen Meaning Bank (GMB). Key findings include:

  • Ordering Accuracy: The BiGraph model achieved 69.10% accuracy in predicting condition order, compared to just 14.38% for a frequency-based baseline.
  • Generation Quality: Using gold-standard ordering, the Sibling treeLSTM reached 74.22 BLEU. In an end-to-end setting with predicted ordering, the system achieved 59.26 BLEU, outperforming standard sequence-to-sequence and graph-to-text baselines.

Conclusion

This work demonstrates that recovering the latent order of semantic conditions and modeling horizontal dependencies in wide trees are crucial for high-quality text generation from formal logic. Future work will explore scaling these methods to even larger documents and applying them to tasks like abstractive summarization to ensure factual consistency.

Summary updated

BibTeX
@inproceedings{liu2021text,
  author = {Jiangming Liu and Shay B. Cohen and Mirella Lapata},
  title = {{Text Generation from Discourse Representation Structures}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.35},
}
Figure