Exploring Bilingual Parallel Corpora for Syntactically Controllable Paraphrase Generation

Mingtong Liu, Erguang Yang, Deyi Xiong, Yujie Zhang, Chen Sheng, Changjian Hu, Jinan Xu, Yufeng Chen

Abstract

Syntactically Controllable Paraphrase Generation (CPG) aims to rewrite sentences while adhering to a specific syntactic structure. Traditional methods rely on large, manually annotated paraphrase datasets, which are scarce and expensive. This paper proposes a novel framework that leverages abundant bilingual parallel corpora to train CPG models. By using shared encoders with cross-lingual embeddings and an adversarial disentanglement strategy, the model learns to separate content from style. A cycle learning scheme further enhances performance by treating translation as a proxy for paraphrasing. Experimental results on standard benchmarks demonstrate that the proposed model outperforms existing state-of-the-art methods, even with limited paraphrase data.

Introduction

Paraphrase generation (PG) is a fundamental task in natural language processing, involving the restatement of a sentence's meaning using different lexical and syntactic forms. Controllable PG (CPG) adds a layer of complexity by allowing users to dictate the target syntactic structure (e.g., transforming an active sentence into a passive one). However, the development of CPG models is hindered by the lack of high-quality, syntactically annotated paraphrase datasets. These datasets are expensive to curate and often unavailable for low-resource languages.

To address this, we explore the use of bilingual parallel corpora as a source of "cross-lingual paraphrases." The intuition is that a sentence and its translation share the same semantic content but differ significantly in linguistic structure. By training on these pairs, a model can learn language-agnostic semantic representations and language-specific syntactic patterns without requiring explicit paraphrase annotations.

Methodology

The proposed framework consists of shared encoders, an adversarial discriminator, and syntax-guided variational decoders designed to operate across multiple languages.

The proposed end-to-end framework for syntactically controllable paraphrase generation using bilingual parallel corpora.

Shared Encoders and Cross-Lingual Embeddings

We employ two encoders: a Shared Content Encoder ($Enc_c$) and a Shared Style Encoder ($Enc_s$). To facilitate cross-lingual learning, we utilize pre-trained cross-lingual word embeddings. This allows the encoders to map sentences from different languages (e.g., English and Chinese) into a unified semantic and syntactic vector space.

Adversarial Disentanglement

A key challenge in CPG is ensuring that the content and style representations are truly independent. We introduce an adversarial discriminator that attempts to identify whether a vector represents content or style. The encoders are trained to "fool" this discriminator, effectively stripping style information from the content vector and vice versa. This disentanglement is what enables precise control over the generated output's syntax.

Cycle Learning and Exemplar Masking

In the absence of direct paraphrase pairs, we implement a "cycle learning" strategy. A sentence is translated from Language X to Language Y, and then the model generates a pseudo-paraphrase back in Language X by combining the content of the translated sentence with the style of the original. Additionally, we use exemplar masking—randomly hiding tokens in the style input—to force the Style Encoder to capture abstract syntactic structures rather than simply copying vocabulary from the exemplar sentence.

Experimental Evaluation

We evaluated the model on several standard benchmarks, including CWMT (2 million bilingual pairs for primary training), ParaNMT (500K pairs for evaluation and fine-tuning), Quora Question Pairs, and MSCOCO. Performance was measured using standard metrics like BLEU (BL), ROUGE (R-1, R-2, R-L), and METEOR (MET), alongside Syntactic Tree Edit Distance (ST) to measure syntactic accuracy.

Key Results

The model demonstrates remarkable efficiency and performance. Even when trained solely on bilingual data, it remains competitive with models trained on large, dedicated paraphrase datasets.

Performance comparison of the proposed model against baselines and previous state-of-the-art methods on the ParaNMT dataset.

As shown in the results table, our model achieves a state-of-the-art BLEU score of 14.3 on ParaNMT after fine-tuning on 500K paraphrase pairs, outperforming the previous best of 13.6. Notably, the model also excels in syntactic accuracy, as indicated by the lower (better) ST scores compared to baselines. On the Quora dataset, the model fine-tuned on just 30% of the data outperformed existing models trained on the full dataset, highlighting its effectiveness in low-resource scenarios.

Conclusion

This work presents a scalable approach to syntactically controllable paraphrase generation by tapping into the wealth of bilingual parallel corpora. By disentangling content and style through adversarial training and leveraging cycle learning, we overcome the limitations of data scarcity. Future research will focus on improving the robustness of content representations and exploring more abstract forms of syntactic control, such as grammar rules or sentiment flags.

Summary updated

BibTeX
@inproceedings{liu2020exploring,
  author = {Mingtong Liu and Erguang Yang and Deyi Xiong and Yujie Zhang and Chen Sheng and Changjian Hu and Jinan Xu and Yufeng Chen},
  title = {{Exploring Bilingual Parallel Corpora for Syntactically Controllable Paraphrase Generation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/547},
}
Figure