Abstract
Topic segmentation is important in understanding scientific documents since it can not only provide better readability but also facilitate downstream tasks such as information retrieval and question answering by creating appropriate sections or paragraphs. In the topic segmentation task, topic coherence is critical in predicting segmentation boundaries. Most of the existing models have tried to exploit as many contexts as possible to extract useful topic-related information. However, additional context does not always bring promising results, because the local context between sentences becomes incoherent despite more sentences being supplemented. To alleviate this issue, we propose siamese sentence embedding layers which process two input sentences independently to get appropriate amount of information without being hampered by excessive information. Also, we adopt multi-task learning techniques including Same Topic Prediction (STP), Topic Classification (TC) and Next Sentence Prediction (NSP). When these three classification layers are combined in a multi-task manner, they can make up for each other's limitations, improving performance in all three tasks. We experiment different combinations of the three layers and report how each layer affects other layers in the same combination as well as the overall segmentation performance. The model we proposed achieves the state-of-the-art result in the WikiSection dataset.
Introduction
Topic segmentation is the process of dividing a long document into smaller, topically coherent sections. This is vital for making massive scientific papers or Wikipedia entries readable and for helping AI systems perform better at Information Retrieval (IR) and Question Answering (QA).
The prevailing wisdom in the field has been to feed models as much context as possible to help them "understand" the topic. However, this often leads to "over-generalization," where the model fails to see a clear boundary because the specific transition between two sentences—the local context—gets drowned out by noise from the surrounding text. This paper proposes a model that focuses strictly on the relationship between adjacent sentences to improve segmentation accuracy.
Methodology
The proposed architecture centers on local context using three main components:
- Siamese Sentence Embeddings: Instead of feeding a whole block of text into a transformer, the model uses a Siamese network (two identical neural networks sharing the same weights) to encode two sentences ($s_i$ and $s_{i+1}$) independently. This preserves the unique information of each sentence before they are compared.
- Multi-Task Learning (MTL): The model performs three tasks simultaneously to improve its internal representations:
- Same Topic Prediction (STP): A binary classification of whether two sentences belong to the same topic.
- Topic Classification (TC): Predicting the specific topic label (e.g., "History" or "Symptoms") for each sentence.
- Next Sentence Prediction (NSP): Determining if the two sentences follow each other in the original text.
- Feature Fusion: The model concatenates the sentence vectors ($u$ and $v$) with their absolute difference ($|u - v|$) to capture the relationship between them before passing them to the classification heads.
Experimental Results
The model was evaluated on the WikiSection dataset, covering two domains: en_city (~19,500 documents) and en_disease (~3,600 documents). Performance was measured using $P_k$ and $WindowDiff$ (where lower scores are better).
- State-of-the-Art Performance: On en_city, the model achieved a $P_k$ of 4.6, significantly beating the previous best baseline of 8.2. On en_disease, it achieved a $P_k$ of 13.7, which further improved to 12.1 when using a scientific-specific backbone (SPECTER).
- Ablation Study: The "STP + TC + NSP" combination consistently outperformed any single-task or dual-task version. Adding the TC task significantly boosted results, as knowing the specific topic helps the model identify when that topic changes.
Discussion and Conclusion
A key finding of this research is the "Context Paradox": increasing the context window (looking at 3 or 4 sentences on either side) actually decreased performance. Larger windows make different topics look more similar to the model, causing it to miss boundaries.
While the model achieves state-of-the-art results, technical domains like "disease" remain more challenging than general domains like "city." Future work will focus on identifying "significant" sentences that carry the most weight in determining boundaries, potentially making the system less sensitive to context size.
Summary updated