BERT-enhanced Relational Sentence Ordering Network

Baiyun Cui, Yingming Li, Zhongfei ZhangEMNLP 2020

Introduction

Sentence ordering is a fundamental task in natural language processing (NLP) that involves rearranging a shuffled set of sentences into a coherent paragraph. This capability is essential for downstream applications such as multi-document summarization, automated story generation, and conversational analysis. Achieving high coherence requires a model to balance local transitions between adjacent sentences with the overall global structure of the discourse.

The Challenge of Coherence

Existing approaches to sentence ordering typically fall into two categories: pairwise ranking and pointer networks. Pairwise models excel at capturing local coherence but often fail to maintain a consistent global narrative. Conversely, pointer networks utilize encoder-decoder architectures to predict sequences, which improves global context but frequently overlooks fine-grained relational signals between specific sentence pairs during the decoding process. The challenge lies in effectively bridging these two scales of information.

Methodology: The BERSON Framework

The BERT-enhanced Relational Sentence Ordering Network (BERSON) addresses these limitations by integrating deep semantic relational modeling into a pointer network architecture.

The BERSON architecture, illustrating the flow from input sentence pairs through BERT and the Hierarchical Relational Sentence Encoder to the final Pointer Network decoder.

Hierarchical Relational Sentence Encoder (HRSE)

Instead of encoding sentences in isolation, BERSON processes sentence pairs through BERT. This design choice leverages BERT’s pre-trained Next Sentence Prediction (NSP) capabilities, allowing the model to capture deep semantic dependencies and relative ordering signals directly from the pre-training phase. This hierarchical approach distills word-level and pair-level attention into a robust sentence vector representation.

Paragraph Encoder and Relational Pointer Decoder

A Paragraph Encoder uses self-attention layers to construct a global representation of the entire sentence set. The core innovation, however, lies in the Relational Pointer Decoder (RPD), which incorporates a Deep Relational Module (DRM). At each decoding step, the DRM evaluates a candidate sentence against two distinct contexts:

  • Ordered Module: Assesses the fit with sentences already placed in the sequence, ensuring local flow.
  • Unordered Module: Provides a "look-ahead" signal by evaluating relationships with the remaining pool of unplaced sentences, helping identify "bridge" sentences that link to future topics.

Multi-task Learning

The model is optimized using a multi-task objective that combines standard cross-entropy loss for sequence prediction with an auxiliary pairwise loss. The hyperparameter $\alpha$ is utilized to weight the contribution of these relational modules. Empirical analysis shows that performance is sensitive to this balance, typically peaking when relational information is well-integrated.

Experimental Results

BERSON was evaluated on six diverse datasets, including scientific abstracts (NIPS, arXiv, NSF, AAN) and narrative datasets (SIND, ROCStory).

Performance Benchmarks

The model achieved state-of-the-art performance across all datasets and metrics, including Accuracy, Perfect Match Ratio (PMR), and Kendall’s Tau. Notably, on the NIPS and arXiv datasets, BERSON improved absolute accuracy by 12.39% and 16.77%, respectively, over previous benchmarks.

Impact of the hyperparameter $\alpha$ on Accuracy Score for the arXiv abstract and ROCStory datasets, demonstrating the benefit of balancing relational information.

Coherence and Anchor Identification

The model demonstrated exceptional strength in identifying "anchor" sentences. For instance, it achieved nearly 95% accuracy in identifying the first sentence of arXiv abstracts. In the ROCStory dataset, the PMR—the strictest metric requiring the entire sequence to be correct—reached 68.23%, a significant jump from the previous best of approximately 46%. This indicates that BERSON is not just finding local links but is successfully reconstructing the entire logical arc of a paragraph.

Conclusion

BERSON demonstrates that leveraging BERT as a relational expert significantly enhances the coherence of reconstructed paragraphs. By combining deep pairwise relational features with a global pointer network, the framework effectively bridges the gap between local and global discourse modeling. Future work may involve scaling this approach to longer documents and utilizing domain-specific BERT variants to further optimize performance in specialized fields.

Summary updated

BibTeX
@inproceedings{cui2020bert,
  author = {Baiyun Cui and Yingming Li and Zhongfei Zhang},
  title = {{BERT-enhanced Relational Sentence Ordering Network}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.511},
}
Figure