SegNSP: Revisiting Next Sentence Prediction for Linear Text Segmentation
Jos\'e Isidro, Filipe Cunha, Purifica\c{c}\~ao Silvano, Al\'ipio Jorge, Nuno Guimar\~aes, S\'ergio Nunes, Ricardo Campos

TL;DR
This paper introduces SegNSP, a novel approach framing linear text segmentation as a next sentence prediction task, which effectively detects topic boundaries without task-specific supervision, improving segmentation accuracy.
Contribution
The paper proposes a label-agnostic NSP method with segmentation-aware loss and harder negative sampling, achieving state-of-the-art results without relying on explicit topic labels.
Findings
SegNSP achieves a B-F1 of 0.79 on CitiLink-Minutes, close to human performance.
On WikiSection, SegNSP outperforms the baseline TopSeg by 0.17 B-F1 points.
The approach demonstrates robustness and effectiveness in modeling sentence continuity for segmentation.
Abstract
Linear text segmentation is a long-standing problem in natural language processing (NLP), focused on dividing continuous text into coherent and semantically meaningful units. Despite its importance, the task remains challenging due to the complexity of defining topic boundaries, the variability in discourse structure, and the need to balance local coherence with global context. These difficulties hinder downstream applications such as summarization, information retrieval, and question answering. In this work, we introduce SegNSP, framing linear text segmentation as a next sentence prediction (NSP) task. Although NSP has largely been abandoned in modern pre-training, its explicit modeling of sentence-to-sentence continuity makes it a natural fit for detecting topic boundaries. We propose a label-agnostic NSP approach, which predicts whether the next sentence continues the current topic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Text Readability and Simplification
