Sequence Model with Self-Adaptive Sliding Window for Efficient Spoken Document Segmentation

Qinglin Zhang, Qian Chen, Yali Li, Jiaqing Liu, Wen Wang

Introduction

Automatic Speech Recognition (ASR) systems often produce unstructured "walls of text" lacking punctuation and paragraph breaks. This lack of structure makes transcripts difficult for humans to read and challenging for downstream NLP tasks like summarization or question answering. Document segmentation aims to identify topical boundaries within these transcripts to restore readability. Existing approaches typically use cross-segment models, which lack global context, or hierarchical Transformers, which are computationally expensive for long documents. This paper proposes SeqModel, an efficient approach combining sentence-level sequence labeling with a self-adaptive sliding window and phonetic embeddings.

Methodology

The proposed system introduces three key innovations to balance accuracy and computational efficiency.

SeqModel Architecture

SeqModel treats a block of sentences as a sequence for labeling. It utilizes a Transformer encoder to process multiple sentences simultaneously. To create sentence-level representations, the model applies mean-pooling to the token embeddings of each sentence. These representations are then passed through a binary classifier to determine the presence of a paragraph break. This sentence-level approach allows the model to attend to inter-sentence dependencies more effectively than token-level models.

Architecture of SeqModel featuring sentence-level mean pooling and integrated phone embeddings.

Phonetic Embeddings

To mitigate the impact of ASR errors, such as homophone substitutions, the authors incorporate phonetic information. Standard word embeddings are augmented with phone embeddings, providing a secondary signal that helps the model recognize structural shifts even when words are transcribed incorrectly. This acts as a powerful regularizer, improving the model's general understanding of text structure.

Self-Adaptive Sliding Window

Traditional sliding window approaches move forward by a fixed number of sentences, often leading to redundant processing. The self-adaptive sliding window dynamically adjusts based on the model's own predictions. When a paragraph boundary is detected, the window "snaps" to start immediately after that boundary, discarding irrelevant history and significantly reducing inference time.

Illustration of the self-adaptive sliding window mechanism which dynamically adjusts based on predicted boundaries.

Experimental Results

The model was evaluated on diverse datasets, including the English Wiki-727K benchmark, a new Chinese Wikipedia dataset (Wiki-zh), and in-house Chinese spoken datasets (SD-zh-SP and SD-zh-MP) from the finance domain.

Accuracy and Efficiency

SeqModel demonstrated significant performance gains across all benchmarks:

  • Accuracy: On Wiki-727K, it achieved a 4.2-point F1 score improvement over previous BERT-based state-of-the-art (SOTA) models. On Chinese spoken data, improvements reached up to 10.1 points.
  • Speed: The model achieved an 81.7% relative speedup over cross-segment BERT. With the self-adaptive window, inference time was reduced to less than 1/6 of the current SOTA.

Human Evaluation

A reading comprehension test revealed that humans were 5% more accurate when answering questions based on transcripts segmented by SeqModel compared to previous methods, highlighting the practical utility of the improved document structure.

Conclusion

SeqModel provides a robust and efficient solution for spoken document segmentation. By leveraging sentence-level modeling, phonetic features, and a dynamic sliding window, it achieves superior accuracy while maintaining high inference speeds. Future work will focus on modeling the complex, non-linear transitions typical of spontaneous human speech, where topics may overlap or drift gradually.

Summary updated

BibTeX
@inproceedings{zhang2021sequence,
  author = {Qinglin Zhang and Qian Chen and Yali Li and Jiaqing Liu and Wen Wang},
  title = {{Sequence Model with Self-Adaptive Sliding Window for Efficient Spoken Document Segmentation}},
  booktitle = {ASRU},
  year = {2021},
  doi = {10.1109/asru51503.2021.9688078},
}
Figure