Sentence-Permuted Paragraph Generation

Wenhao Yu, Chenguang Zhu, Tong Zhao, Zhichun Guo, Meng Jiang

Introduction

Standard natural language generation models, such as GPT or BART, are inherently autoregressive, predicting tokens strictly from left to right. While effective for short sequences, this approach creates a "homogenized context" trap in multi-sentence paragraph generation. Because the model always initiates with the first sentence ($S_1$), the context for subsequent sentences becomes highly predictable, often leading to generic narrative patterns. To address this bottleneck, we introduce PermGen, a framework designed to break the left-to-right constraint by enabling models to generate sentences in any order.

Methodology: PermGen Framework

PermGen treats paragraph generation as a permutation problem rather than a linear sequence. The framework consists of three core components:

  1. Sentence-Permuted Learning: The model is trained to maximize the likelihood of a paragraph across various sentence orders. To manage the $n!$ complexity of permutations, the authors employ $\pi$-SGD, a stochastic approach that samples different permutations during training.
  2. Hierarchical Positional Embedding: To maintain structural integrity when sentence order is scrambled, PermGen uses a two-level embedding system. Global positions represent the sentence's original index in the final paragraph, while local positions track token indices within each sentence.
  3. Sentence-based Decoding: During inference, the model predicts boundary tokens (e.g., <B-2> for "Begin Sentence 2") to determine the generation sequence. This allows the model to generate a conclusion or middle section first before reassembling the components into a logical final output.
PermGen architecture illustrating hierarchical positional embeddings and sentence permutation during training.

Experimental Setup

The performance of PermGen was evaluated on three diverse benchmarks:

  • ROCStories: Narrative-driven 5-sentence stories.
  • AGENDA: Structured scientific abstracts generated from metadata.
  • DailyMail: Informative news leads derived from keyphrases.

Key Results and Insights

A common challenge in text generation is the trade-off between diversity and accuracy. PermGen effectively breaks this trend by learning multi-directional dependencies. By not being anchored to a specific opening, the model explores a much wider space of possibilities.

Comparison of Diversity and Accuracy between PermGen and BART. PermGen maintains higher diversity across sentence indices while improving overall paragraph accuracy.

Key findings include:

  • Enhanced Diversity: On the AGENDA dataset, PermGen achieved a 43.2% reduction in Self-BLEU-4 compared to BART, indicating significantly less repetitiveness.
  • Improved Accuracy: PermGen improved BLEU-4 scores by 1.5% to 5% across all datasets, suggesting that understanding non-linear sentence relationships improves overall coherence.
  • Human Preference: In head-to-head evaluations, human judges preferred PermGen's diversity 64% of the time over standard Beam Search, citing superior fluency and coherence.

Conclusion and Future Work

PermGen demonstrates that breaking the autoregressive bottleneck leads to more creative and accurate paragraph generation. Future research may focus on optimizing the search space for the "best" permutation during inference and scaling the approach to longer documents where the permutation space grows exponentially.

Summary updated

BibTeX
@inproceedings{yu2021sentence,
  author = {Wenhao Yu and Chenguang Zhu and Tong Zhao and Zhichun Guo and Meng Jiang},
  title = {{Sentence-Permuted Paragraph Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.412},
}
Figure