Unsupervised Syntactically Controlled Paraphrase Generation with Abstract Meaning Representations

Kuan-Hao Huang, Varun Iyer, Anoop Kumar, Sriram Venkatapathy, Kai-Wei Chang, Aram Galstyan

Introduction

Paraphrase generation is the task of rewriting a sentence while preserving its original meaning. A more challenging variant, syntactically controlled paraphrase generation, requires the output to adhere to a specific grammatical structure or "template." While supervised models have achieved high performance in this area, they rely on millions of parallel sentence pairs, making them difficult to scale or adapt to new domains.

Existing unsupervised approaches attempt to disentangle a sentence into separate semantic and syntactic representations. However, these methods often struggle with "semantic drift," where the model accidentally alters the logic of the sentence—for instance, swapping the subject and the object (e.g., turning "The dog chased the cat" into "The cat chased the dog").

Methodology: The AMRPG Framework

To address these challenges, researchers introduced the AMR-enhanced Paraphrase Generator (AMRPG). The core innovation lies in using Abstract Meaning Representation (AMR) as the semantic backbone. AMR is a rooted, labeled graph that represents the logical relationships within a sentence (e.g., "who is doing what to whom") in a way that is largely invariant to surface-level syntax.

The AMRPG architecture utilizes separate semantic and syntactic encoders to disentangle sentence meaning from structure.

The architecture consists of three primary components:

  1. Semantic Encoder: This component takes an AMR graph, generated by a pre-trained parser, and encodes it into a semantic embedding ($e_{sem}$). By focusing on logic rather than word order, it provides a stable representation of meaning.
  2. Syntactic Encoder: This encodes a constituency parse tree (with words removed) into a syntactic embedding ($e_{syn}$).
  3. Transformer Decoder: During training, the decoder learns to reconstruct the original sentence from the combined embeddings. At inference, "control" is achieved by pairing the source sentence's semantic embedding with a target syntactic embedding from a different parse tree.

Experimental Setup and Datasets

The model was trained on 20 million sentences from the ParaNMT dataset in an unsupervised fashion, meaning no parallel paraphrases were used during training. To evaluate its generalizability and domain adaptation capabilities, the researchers tested AMRPG on several benchmarks:

  • Quora Question Pairs and MRPC: For paraphrase quality and domain adaptation.
  • PAN: A plagiarism detection dataset.
  • GLUE Tasks: To determine if generated paraphrases could improve the robustness of NLP classifiers through data augmentation.

Key Results and Insights

AMRPG demonstrated significant improvements in both structural control and semantic preservation. On the ParaNMT benchmark, it achieved a Template Matching Accuracy (TMA) of 74.3% and a BLEU score of 39.1, outperforming the previous state-of-the-art unsupervised model, SynPG.

Performance comparison of AMRPG against other unsupervised and supervised approaches across multiple benchmarks.

A major advantage of using AMR is its ability to act as a "semantic anchor." Because AMR graphs maintain logical roles (like ARG0 and ARG1), AMRPG effectively solves the subject-object swap problem that plagues other unsupervised models. Furthermore, in zero-shot domain adaptation scenarios, AMRPG even outperformed the supervised SCPN model on the Quora and MRPC datasets when provided with target-domain source sentences.

Conclusion and Future Work

By leveraging the syntax-invariant nature of AMR, AMRPG provides a powerful framework for unsupervised paraphrase generation. While the model is highly effective, it does introduce computational overhead due to its reliance on external AMR and constituency parsers. Future research may focus on optimizing these dependencies and developing methods to automatically reject syntactic templates that are logically incompatible with a given semantic representation.

Summary updated

BibTeX
@inproceedings{huang2022unsupervised,
  author = {Kuan-Hao Huang and Varun Iyer and Anoop Kumar and Sriram Venkatapathy and Kai-Wei Chang and Aram Galstyan},
  title = {{Unsupervised Syntactically Controlled Paraphrase Generation with Abstract Meaning Representations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.111},
}
Figure