Structured Summarization: Unified Text Segmentation and Segment Labeling as a Generation Task

Hakan Inan, Rashi Rungta, Yashar MehdadarXiv 2022

TL;DR

This paper introduces Structured Summarization, a unified framework that treats text segmentation and segment labeling as a single sequence-to-sequence generation task. By leveraging a long-input encoder-decoder transformer (LongT5), the authors demonstrate that generating segment boundaries and text labels simultaneously yields state-of-the-art performance across both documents and conversations, even in low-resource settings.

What Problem Does This Paper Address?

When dealing with long documents or meeting transcripts, humans naturally divide the text into topical sections and assign headlines or summaries to each section. In NLP, this is typically split into two distinct tasks:

  1. Text Segmentation: Identifying the boundaries where one topic ends and another begins.
  2. Segment Labeling: Generating a title or description for each identified segment.

Historically, these tasks have been tackled using separate, complex pipelines. Segmentation often relies on binary classifiers or unsupervised sentence-coherence metrics, while labeling is frequently treated as a discriminative classification task over a fixed vocabulary. This separation creates a bottleneck: labeling models cannot easily handle free-form, open-domain summaries (like conversation notes), and segmentation models miss out on the semantic context that semantic labels provide.

The authors address this gap by proposing a single, monolithic architecture that handles both tasks jointly without domain-specific components.

Methods

The core innovation is formulating both tasks as a pure string generation problem, illustrated in the architecture layout below:

Proposed setup for structured summarization

Instead of predicting binary boundaries per sentence, the model's decoder outputs a single sequence containing both the boundary indices and their corresponding text labels, separated by delimiters. For example, a target sequence might look like: 12:=early life | 32:=inventions | ...

Key technical components include:

  • Encoder-Decoder Backbone: The authors utilize LongT5, an efficient transformer variant designed to handle long sequences (up to 16k tokens for documents and 32k for conversations).
  • Reusing Vocabulary Tokens for Position Encoding: Because the decoder must output exact sentence numbers as text strings, the network needs precise position information. To achieve this without introducing custom position embeddings, the authors replace the standard Beginning-of-Sentence (BOS) token of the $i$-th sentence with the $i$-th token embedding from the standard vocabulary (e.g., setting the first token of sentence 23 to the embedding of the integer token "23").
  • High-Resource Pretraining: The model is pretrained on a massive document dataset and then fine-tuned on smaller target datasets. For conversational data, they introduce a data augmentation trick—prepending a random number of empty sentences during pretraining—to teach the decoder to handle the large turn counts typical of transcripts.

Datasets

The approach was evaluated across three distinct datasets representing different scales and modalities:

  • Wiki-727K: A massive dataset of ~727,000 English Wikipedia articles where section titles serve as segment labels. Used here for high-resource evaluation and pretraining.
  • WikiSection: A mid-to-low-resource dataset containing ~38,000 Wikipedia documents. The authors evaluated on the English subsets: en_disease (3.6K documents) and en_city (19.5K documents).
  • QMSum: A highly challenging, low-resource conversational dataset consisting of just 232 long meeting transcripts with manually curated topic segments and summaries.

Key Insights and Ideas

  • The Labeling Synergy: One of the most striking findings is that training the model to generate labels improves its ability to find boundaries. As shown in the ablation studies, adding the label generation loss ($\ell_{\text{seg+label}}^{\text{GEN}}$) resulted in better segmentation scores than training on boundaries alone. The semantic task acts as a powerful regularizer for the structural task.
  • Generative Segmentation is Viable: Historically, treating segmentation as a text generation task was avoided due to the risk of the model generating invalid sentence numbers. The authors prove that with proper sentence position encoding, the model outputs invalid boundaries less than 0.25% of the time.
  • Cross-Modality Transfer: Pretraining on structured, expository documents (Wikipedia) successfully transfers to unstructured, multi-party conversations (QMSum), drastically reducing the need for massive conversational training sets.

Key Results

Performance is primarily measured using $P_k$ (a standard segmentation error metric where lower is better) and ROUGE scores for labeling quality.

  • Wiki-727K: The Structured Summarization (SS) approach achieved a new state-of-the-art $P_k$ score of 15.0, outperforming prior specialized architectures like CATS (15.95) and TextSeg (22.13).
  • WikiSection: On the en_disease subset, the pretrained SS model dropped the $P_k$ error rate to 15.0 (compared to 26.3 for the previous state-of-the-art SECTOR model) while vastly improving label accuracy (F1 score of 68.3 vs 55.8).
  • QMSum: In the ultra-low-resource meeting domain, the pretrained model achieved a $P_k$ of 32.8, outperforming DialogLM (38.0), demonstrating the robustness of the pretraining strategy.

Limitations and Future Work

While powerful, the approach has a few limitations noted by the authors:

  • Compute Constraints: Due to hardware limitations, the experiments were restricted to the LongT5-Base architecture (220M parameters). Scaling up to larger model sizes remains unexplored.
  • Sequence Length Limits: Extremely long transcripts still require heuristic truncation and turn-level data augmentation to fit within the transformer's context window.
  • Decoder Integer Bounds: The model relies on the decoder learning to map integer strings up to the maximum document length. For documents significantly longer than those seen during pretraining, performance boundaries are currently unknown.

Summary updated

BibTeX
@misc{inan2022structured,
  author = {Hakan Inan and Rashi Rungta and Yashar Mehdad},
  title = {{Structured Summarization: Unified Text Segmentation and Segment Labeling as a Generation Task}},
  year = {2022},
  eprint = {2209.13759},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.13759},
}
Figure