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

Neural Sentence Ordering

Xinchi Chen, Xipeng Qiu, Xuanjing HuangarXiv 2016

Introduction

Discourse coherence is a fundamental property of well-written text, where sentences follow a logical progression such as chronology, causality, or topical development. In Natural Language Generation (NLG), incorrect sentence ordering results in "word salad"—grammatically correct but logically incoherent text. Historically treated as a sub-task of multi-document summarization using simple heuristics, researchers from Fudan University propose treating sentence ordering as a standalone, data-driven challenge to better model discourse logic.

Methodology

The proposed framework utilizes a three-stage neural approach to determine the optimal sequence of sentences.

Sentence Representation

Sentences are first transformed into dense vector representations. Three architectures were evaluated:

  1. Continuous Bag of Words (CBoW): Averaging word embeddings.
  2. Convolutional Neural Networks (CNN): Capturing local patterns and keywords.
  3. Long Short-Term Memory (LSTM): Modeling long-range dependencies and internal sentence structure.

Pairwise Ranking and Global Ordering

The model learns to predict the relative order of sentence pairs ($s_i, s_j$). This is implemented via a two-layer neural network that outputs the probability of $s_i$ preceding $s_j$. To find the globally optimal sequence among $N!$ permutations, a beam search heuristic is employed, maintaining the top-$k$ most probable partial sequences.

Neural architecture for pairwise sentence ordering.

Experimental Setup

The study introduces the arXiv Dataset, a massive benchmark comprising approximately 1 million abstracts across seven scientific categories (e.g., Physics, Computer Science, Mathematics). Scientific abstracts provide a rigorous test for coherence models due to their highly structured logical transitions (e.g., Problem $\rightarrow$ Method $\rightarrow$ Result).

Results and Discussion

Experimental results indicate that the LSTM encoder consistently outperforms CNN and CBoW models across all metrics. This suggests that the internal word order of a sentence contains critical cues for its placement within a document.

Overall Accuracy

On the "P-all" metric, which measures the ratio of perfectly ordered abstracts, the LSTM model achieved an accuracy of 33.43%. This represents a significant improvement over the random baseline of 8.07%, demonstrating the model's ability to learn meaningful discourse patterns.

Domain-Specific Performance

The model achieved its highest accuracy in Mathematics and Nonlinear Science. These fields often employ more standardized and rigid logical structures, which are more easily captured by neural models. Conversely, identifying the first sentence proved significantly easier ($P_{Begin} \approx 85\%$) than identifying the last ($P_{End} \approx 62\%$), likely due to the distinct "hook" language typical of introductory sentences.

Scalability and Complexity

A significant "complexity wall" was observed: while the model is nearly perfect for 2-sentence abstracts (~92% P-all), performance drops precipitously as the number of sentences increases, reaching near zero for 10-sentence sequences. This highlights the ongoing difficulty of maintaining global coherence in longer texts.

Conclusion

This work demonstrates that neural models can effectively capture discourse flow in structured scientific writing. While pairwise ranking combined with beam search provides a strong baseline, future research into list-wise ranking models may better capture the global "arc" of a document and improve scalability for longer texts.

Summary updated

BibTeX
@misc{chen2016neural,
  author = {Xinchi Chen and Xipeng Qiu and Xuanjing Huang},
  title = {{Neural Sentence Ordering}},
  year = {2016},
  eprint = {1607.06952},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1607.06952},
}
Figure