arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.03474cs.CLcs.AIcs.IR

SegNSP:重新审视线性文本分段的下一句预测

SegNSP: Revisiting Next Sentence Prediction for Linear Text Segmentation

University of Porto(波尔图大学);INESC TEC;University of Beira Interior(贝拉内里大学)

José Isidro, Filipe Cunha, Purificação Silvano, Alípio Jorge, Nuno Guimarães, Sérgio Nunes, Ricardo Campos

AI总结:

SegNSP通过下一句预测任务改进线性文本分段,无需显式主题标签,实现高质量分段并提升下游NLP应用性能。

摘要:

线性文本分段是自然语言处理(NLP)中的一个长期问题,旨在将连续文本分成连贯且具有语义意义的单元。尽管其重要性,该任务仍然具有挑战性,因为定义主题边界复杂,语篇结构变化多样,且需要在局部连贯性与全局上下文之间取得平衡。这些困难阻碍了下游应用,如摘要、信息检索和问答。在本工作中,我们引入SegNSP,将线性文本分段视为下一句预测(NSP)任务。虽然NSP在现代预训练中已被 largely 放弃,但其对句子间连续性的显式建模使其成为检测主题边界的自然选择。我们提出了一种标签无关的NSP方法,该方法预测下一句是否继续当前主题,而无需显式主题标签,并通过结合分段感知损失和更难的负采样来更好地捕捉语篇连续性。与最近利用NSP结合辅助主题分类的提案不同,我们的方法避免了任务特定的监督。我们在两个数据集上评估我们的模型,CitiLink-Minutes,我们为此建立了第一个分段基准,以及WikiSection。在CitiLink-Minutes上,SegNSP实现了B-F1为0.79,接近人工标注的主题过渡,而在WikiSection上达到了B-F1为0.65,优于最强的可复现基线TopSeg,高出0.17个绝对点。这些结果表明了竞争性和鲁棒性的性能,突显了对句子间连续性的建模在提高分段质量和支持下游NLP应用中的有效性。

英文摘要:

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 without requiring explicit topic labels, and enhance it with a segmentation-aware loss combined with harder negative sampling to better capture discourse continuity. Unlike recent proposals that leverage NSP alongside auxiliary topic classification, our approach avoids task-specific supervision. We evaluate our model against established baselines on two datasets, CitiLink-Minutes, for which we establish the first segmentation benchmark, and WikiSection. On CitiLink-Minutes, SegNSP achieves a B-$F_1$ of 0.79, closely aligning with human-annotated topic transitions, while on WikiSection it attains a B-F$_1$ of 0.65, outperforming the strongest reproducible baseline, TopSeg, by 0.17 absolute points. These results demonstrate competitive and robust performance, highlighting the effectiveness of modeling sentence-to-sentence continuity for improving segmentation quality and supporting downstream NLP applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑