Abstract
Sentence ordering is essential for generating coherent text. While Pointer Networks are the standard approach, they often suffer from error propagation and a lack of global context. We propose enhancing the Pointer Network with two lightweight modules: a FUTURE module that predicts the relative order of remaining sentences, and a HISTORY module that provides local coherence checks. Our model achieves state-of-the-art results on SIND, ROCStory, and arXiv datasets, significantly improving both coherence and ordering accuracy.
Introduction
Sentence ordering—the task of arranging a jumbled set of sentences into a coherent paragraph—is a fundamental challenge in natural language processing. It is crucial for applications like multi-document summarization and retrieval-based dialogue systems. The current "gold standard" for this task is the Pointer Network, which works autoregressively, picking sentences one by one from left to right.
However, standard Pointer Networks have a major flaw: the decoder relies almost entirely on a "noisy" representation of the sentences it has already placed. It lacks a clear "look-ahead" mechanism to see how remaining sentences might fit together, and its memory of the past can become muddled by errors made early in the sequence. If the model misplaces an early sentence, the resulting noise makes subsequent correct placements increasingly difficult.
Methodology
To address these limitations, we propose an enhanced architecture that supplements the standard Pointer Network with two auxiliary pairwise modules designed to provide global and local context.
The FUTURE Module
For a candidate sentence, this module looks at all other unordered sentences and predicts their relative orientation (e.g., does sentence A come before or after candidate B?). This provides the decoder with "future hints" about the global structure of the remaining text, effectively acting as a look-ahead mechanism.
The HISTORY Module
This module acts as a local sanity check. It measures the probability that the candidate sentence correctly follows the sentences placed one and two steps ago. Crucially, it uses raw semantic representations rather than the LSTM’s hidden state, allowing it to bypass the "noisy context" problem and recover from early errors.
Workflow
The system uses a Bi-LSTM encoder to capture word-level meanings, followed by a Transformer-style self-attention layer to create "paragraph-aware" sentence embeddings. At each decoding step, the model calculates FUTURE and HISTORY distributions, fuses them into a new vector for each candidate, and uses the pointer mechanism to select the most likely next sentence.
Experimental Results
The model was evaluated on three diverse benchmark datasets: SIND (visual storytelling), ROCStory (causal/temporal stories), and arXiv Abstract (scientific abstracts). The proposed model achieved state-of-the-art (SOTA) performance across all three datasets, measured by Kendall’s $\tau$ (correlation) and Perfect Match Ratio (PMR).
As illustrated in the performance plots, the integration of these modules (weighted by the parameter $\lambda$) consistently improves the correlation score $\tau$ compared to the baseline ($\lambda=0$). On the ROCStory dataset, the model achieved a PMR of 46.00, significantly outperforming the previous best baseline of 41.29. The model was particularly effective at identifying the beginning and end of paragraphs, which are critical for human readability.
Conclusion
By breaking the complex task of full sequence prediction into simpler pairwise sub-tasks, the model gains reliable "low-level" signals to guide its "high-level" decisions. The FUTURE module provides a global perspective, while the HISTORY module ensures local flow. Future work will explore bidirectional decoding and cross-domain training to improve the robustness of the pairwise classifiers.
Summary updated