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

Unsupervised Paraphrasing under Syntax Knowledge

Tianyuan Liu, Yuqing Sun, Jiaqi Wu, Xi Xu, Yuchen Han, Cheng Li, Bin Gong

Abstract

Researchers from Shandong University have introduced CKPara, a novel unsupervised paraphrasing framework that explicitly enforces grammatical correctness using "word composable knowledge." By integrating dependency-based syntax constraints directly into the generation process, the model produces paraphrases that are both semantically accurate and structurally sound, outperforming existing unsupervised methods on standard benchmarks.

Introduction

Paraphrasing—the task of rewriting a sentence while preserving its original meaning—is a fundamental challenge in natural language processing (NLP). While supervised models have achieved significant success, they rely on massive parallel datasets that are expensive and difficult to curate. Unsupervised models offer a more scalable alternative but often suffer from a "syntax gap." These models typically capture structural information implicitly through embeddings, which frequently results in ungrammatical "word salad" or sentences that drift away from the intended semantics.

To address this, the authors of CKPara propose an explicit mechanism for syntax control. By leveraging Word Composable Knowledge (WCK), the framework ensures that generated sentences are not only semantically relevant but also structurally coherent according to formal dependency rules.

Methodology: The CKPara Framework

The core innovation of CKPara is the integration of syntactic constraints directly into the generation pipeline without requiring parallel training data.

Word Composable Knowledge (WCK)

Instead of relying on the model to learn grammar implicitly, the researchers pretrain a dedicated module on a large corpus of dependency trees. This module estimates the probability $p(\text{Head}, \text{Relation}, \text{Tail})$, representing how likely two words are to be linked by a specific syntactic relationship (e.g., a verb acting as the "head" of a noun "object").

Architecture Overview

The CKPara architecture consists of three primary components:

  1. Semantic Encoder: A pretrained BiRNN that extracts the semantic essence (the "what") of the source sentence.
  2. Dependency Syntax Encoder: This component processes a target "syntax template"—a dependency tree—to encode the structural blueprint (the "how") for the paraphrase.
  3. Paraphrase Generator: An RNN decoder that synthesizes the semantic and syntactic signals. To bridge the gap between discrete word selection and differentiable training, the model employs the Gumbel-Softmax trick.
The CKPara architecture integrates semantic and syntactic encoders with a generator guided by a hybrid loss function.

Hybrid Loss Function

Training is guided by a dual-objective loss function:

  • Reconstruction Loss: Ensures the generated output $\hat{y}$ retains the meaning of the source $x$.
  • Syntax Matching Loss: This two-level loss validates word pairs against WCK rules. Crucially, it uses a hierarchical weighting system, assigning higher importance to words near the "root" of the dependency tree. This reflects the linguistic reality that errors in core structural elements (like the main verb) are more detrimental to sentence integrity than errors in peripheral "leaf" nodes (like adjectives).

Experimental Setup

The model was evaluated on two major benchmarks:

  • Quora Question Pairs (QQP): A dataset of real-world paraphrases from community-driven questions.
  • SimpleWiki: A dataset focused on text simplification, pairing standard English Wikipedia entries with their simplified counterparts.

The WCK module was pretrained on the English Web Treebank (Universal Dependencies), while the semantic encoder utilized WikiText.

Results and Discussion

CKPara demonstrated a significant performance leap over existing unsupervised baselines, such as SynPG.

Quantitative Performance

On the Quora dataset, CKPara achieved a BLEU-ref score of 51.69, a substantial improvement over the previous state-of-the-art unsupervised model (40.01). Furthermore, the model showed exceptional syntactic fidelity. Using the Dependency Syntax Matching (DSM) metric, CKPara scored 96.51%, indicating nearly perfect alignment with the target syntactic templates. In contrast, baseline models often struggled, with scores typically falling in the 60-70% range.

Performance comparison on BLEU and DSM metrics across different datasets and configurations.

Human Evaluation

Blind human evaluations confirmed these findings. Graders consistently rated CKPara higher in both "Overall Quality" and "Syntax" compared to other unsupervised methods, validating the effectiveness of explicit syntax guidance.

Conclusion and Future Work

CKPara represents a major step forward in unsupervised paraphrasing by bridging the syntax gap through explicit dependency constraints. While the model performs exceptionally well on general datasets, the authors noted challenges with SimpleWiki, where the high frequency of unique entities and proper nouns sometimes favored a simple "Copy" baseline.

Future research will focus on integrating copy mechanisms (like pointer-generator networks) to better handle rare entities and exploring domain adaptation techniques to apply CKPara to specialized fields such as legal or medical text.

Summary updated

BibTeX
@inproceedings{liu2023unsupervised,
  author = {Tianyuan Liu and Yuqing Sun and Jiaqi Wu and Xi Xu and Yuchen Han and Cheng Li and Bin Gong},
  title = {{Unsupervised Paraphrasing under Syntax Knowledge}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i11.26558},
}
Figure