Abstract Rule Learning for Paraphrase Generation

Xianggen Liu, Wenqiang Lei, Jiancheng Lv, Jizhe Zhou

Abstract

Paraphrase generation requires a delicate balance between linguistic fluency and structural diversity. While modern neural models excel at producing natural-sounding text, they often struggle with significant structural transformations and remain "black-box" systems. This paper introduces RULER (Abstract RUle LEaRning), a novel framework that integrates the interpretability of symbolic rules with the generative power of deep neural networks. By explicitly learning and applying generalizable transformation rules, RULER achieves state-of-the-art performance on benchmark datasets and demonstrates superior robustness in cross-domain scenarios.

Introduction

Paraphrase generation—the task of restating a sentence while preserving its original meaning—has historically been approached through two paradigms. Rule-based methods utilize symbolic transformations to achieve structural diversity but often lack the fluency required for natural language. Conversely, neural models (such as Transformers) provide high fluency but frequently default to trivial, local changes (e.g., synonym replacement) rather than creative structural shifts.

The process of abstracting a rule from a specific sentence pair and applying it to new inputs using placeholders.

The authors propose RULER to bridge this gap, treating symbolic rules not as final outputs, but as structural "blueprints" that guide a neural generator. This approach allows the system to perform complex structural leaps that standard sequence-to-sequence models might find statistically improbable.

Methodology

The RULER framework operates through a two-stage process: Abstract Rule Learning and Rule-Enhanced Generation.

1. Abstract Rule Learning

Instead of relying on hand-crafted logic, RULER employs a Transformer-based "Rule Learner" agent to discover abstract rules. These rules utilize placeholders (e.g., $z$) to represent variable components of a sentence. The learning process is optimized using Reinforcement Learning (REINFORCE) based on a Generalizability metric. This metric balances two factors:

  • Coverage: The frequency with which a rule applies across the dataset.
  • Usefulness: The degree to which a rule assists the neural generator in reducing prediction error.

2. Rule-Enhanced Generation

Once rules are established, the system identifies the best-fitting rule for a given input sentence and performs a symbolic transformation. This transformed "blueprint" is then concatenated with the original input and fed into a final neural Paraphrase Generator. The neural network acts as a refinement layer, ensuring the final output is both structurally diverse and linguistically fluent.

The two-stage RULER architecture: (a) Abstract rule learning via a reinforcement learning agent and (b) Rule-enhanced paraphrase generation.

Evaluation and Results

The model was evaluated on the Quora Question Pairs (140k pairs) and Wikianswers (2.3M pairs) benchmarks. The researchers focused on questions due to their structured rule space, which allows for clearer evaluation of learned logic.

  • State-of-the-Art Performance: RULER outperformed previous top models on the iBLEU metric, which measures the balance between reference similarity and input dissimilarity. On the Quora dataset, it achieved an iBLEU of 5.86, surpassing the previous best of 5.48.
  • Cross-Domain Robustness: RULER demonstrated exceptional stability when transferred between datasets (e.g., trained on Quora and tested on Wikianswers). This suggests that the learned rules capture universal linguistic structures rather than dataset-specific biases.
  • Human Evaluation: Blind tests indicated that human annotators preferred RULER for its ability to preserve semantic relevance while making noticeable, non-trivial changes to sentence structure.

Discussion and Limitations

RULER provides a significant step toward interpretable paraphrase generation by providing a "receipt" of the logic used for each transformation. However, the authors note certain limitations. The computational cost of training the rule learner is high, requiring approximately eight days on standard hardware. Additionally, while the system excels at structured utterances like questions, extending this approach to generic, long-form prose remains a challenge due to the exponential increase in potential rule complexity.

Future work will explore symbolic reasoning to chain multiple learned rules together, potentially enabling even more sophisticated and multi-step paraphrasing capabilities.

Summary updated

BibTeX
@inproceedings{liu2022abstract,
  author = {Xianggen Liu and Wenqiang Lei and Jiancheng Lv and Jizhe Zhou},
  title = {{Abstract Rule Learning for Paraphrase Generation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/593},
}
Figure