Online Back-Parsing for AMR-to-Text Generation

Xuefeng Bai, Linfeng Song, Yue Zhang

Abstract

Abstract Meaning Representation (AMR) to natural language generation often suffers from a lack of structural grounding in the decoder, leading to fluent but factually inaccurate outputs. We propose Online Back-Parsing, a novel decoding strategy that forces the model to reconstruct the input AMR graph—predicting both nodes and edges—at each step of the generation process. This structural feedback loop acts as a powerful regularizer, ensuring the model remains faithful to the source semantics. Our approach achieves state-of-the-art results on standard benchmarks, particularly excelling in preserving complex relations and handling large graphs.

Introduction

Abstract Meaning Representation (AMR) provides a graph-based semantic representation of "who did what to whom" in a sentence. The challenge of AMR-to-text generation lies in translating these non-linear graphs into coherent, linear natural language. While modern encoders are proficient at capturing graph structures, standard decoders often behave like sophisticated language models, prioritizing local fluency over global semantic consistency. This frequently results in "hallucinations" where the generated text drifts away from the specific structural relations defined in the input.

Methodology: Online Back-Parsing

To address the grounding problem, we introduce a structure-integrated decoder that performs Online Back-Parsing. Unlike traditional back-translation, which reconstructs the input after the full sequence is generated, our model performs structural reconstruction incrementally at every decoding step.

Architecture of the Structure-integrated Decoder for online back-parsing.

The decoder is augmented with two auxiliary tasks:

  1. Node Prediction: Identifying which AMR node corresponds to the current word.
  2. Edge Prediction: Predicting semantic relations between the current word and previously generated tokens using biaffine classifiers.

By feeding these structural predictions back into the next decoding step, the model maintains a "structural memory" that guides the generation process. This architecture is built upon a Graph Transformer baseline, leveraging the strengths of self-attention for both sequence and graph processing.

Experimental Setup

We evaluated our model on two primary AMR benchmarks: LDC2015E86 (16k training examples) and LDC2017T10 (36k training examples). Performance was measured using BLEU scores and human evaluation focusing on concept and relation preservation.

Results and Analysis

Our "Online Back-Parsing" model significantly outperformed existing state-of-the-art systems. On the LDC2017T10 test set, the model achieved a BLEU score of 34.19, compared to the 31.53 baseline.

The Importance of Structure

Ablation studies revealed that both node and edge prediction contribute to the performance gains. Interestingly, edge prediction (capturing relationships) provided a more substantial boost than node prediction alone. This suggests that the primary weakness of standard decoders is managing the logical "connective tissue" of the graph.

Impact of node (lambda_1) and edge (lambda_2) prediction weights on BLEU score.

As shown in the hyperparameter analysis, optimal performance is reached when structural tasks are weighted appropriately (approximately 0.01 for nodes and 0.10 for edges). Beyond these points, the auxiliary tasks may begin to compete with the primary generation objective.

Handling Complexity

The model demonstrated its greatest advantages on large, complex AMR graphs (51+ nodes). While baseline models often lose coherence in high-complexity scenarios, the back-parsing mechanism provides a reliable map, maintaining discourse relations such as "Cause," "Contrast," and "Condition" with high fidelity.

Conclusion

Online Back-Parsing effectively bridges the gap between semantic structure and natural language fluency. By integrating graph reconstruction directly into the decoding loop, we ensure that the model remains grounded in the source meaning. Future work will focus on reducing the dependency on external aligners and exploring more computationally efficient ways to implement the biaffine edge predictors.

Summary updated

BibTeX
@inproceedings{bai2020online,
  author = {Xuefeng Bai and Linfeng Song and Yue Zhang},
  title = {{Online Back-Parsing for AMR-to-Text Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.92},
}
Figure