Few-Shot Learning of an Interleaved Text Summarization Model by Pretraining with Synthetic Data

Sanjeev Kumar Karn, Francine Chen, Yan-Ying Chen, Ulli Waltinger, Hinrich Schütze

Abstract

Interleaved texts, where posts belonging to different threads occur in a sequence, commonly occur in online chat posts, making it time-consuming to obtain an overview of discussions. Existing systems first disentangle posts by threads and then extract summaries, but suffer from error propagation. While end-to-end trainable summarization systems could obviate explicit disentanglement, they require large amounts of labeled data. To address this, we propose pretraining an end-to-end hierarchical encoder-decoder system using synthetic interleaved texts. By fine-tuning on the AMI meeting dataset, our system outperforms traditional two-step systems by 22%. We also observe that pretraining both the encoder and decoder with synthetic data outperforms transformer models like BertSumExtAbs that only pretrain the encoder.

Introduction

In modern communication platforms like Slack, Discord, or Stack Exchange, conversations are often "interleaved"—multiple distinct topics or threads happen simultaneously in a single stream of messages. Traditional NLP systems approach this with a two-step pipeline: first, clustering messages by thread (disentanglement), and second, extracting a summary from each cluster.

However, errors in the clustering step inevitably cascade into the summarization step, degrading the final output. While an end-to-end neural model could theoretically learn to disentangle and summarize simultaneously, training such a model requires massive amounts of labeled interleaved text. Annotating this data is prohibitively expensive, leaving a significant gap in training resources for conversational AI.

The hier2hier Architecture

The authors propose a hierarchical sequence-to-sequence model designed to handle the multi-level structure of conversational data. The encoder processes text word-by-word and then post-by-post, while the decoder generates summaries thread-by-thread and then word-by-word.

The hierarchical encoder-decoder architecture with word, post, and thread levels.

Crucially, the model introduces a three-level hierarchical attention mechanism (post, phrase, and word levels). The intermediate "phrase-level" attention specifically helps the model learn to disentangle threads by focusing on specific word patterns across different posts, allowing the model to track topics implicitly without a hard clustering step.

Synthetic Pretraining via Interleaving

To solve the data scarcity issue, the authors developed a novel synthetic pretraining strategy using the PubMed corpus. They take standard scientific abstracts and randomly interleave their sentences to simulate the tangled nature of a multi-thread chat log. The titles of these abstracts serve as the ground-truth multi-sentence summary.

By pretraining on this synthetic data, the model learns the fundamental mechanics of disentanglement. This structural skill is then transferred to real-world data through fine-tuning on the AMI Meeting Corpus, a small dataset of meeting transcripts. This approach allows the model to achieve high performance even with very few real-world training examples.

Key Results and Qualitative Analysis

On the AMI corpus, the fine-tuned hier2hier model achieved a ROUGE-1 score of 47.68, outperforming a standard unsupervised two-step baseline by 22% (which scored 34.61). It also surpassed the transformer-based BertSumExtAbs model, highlighting the importance of pretraining the decoder for generative tasks.

Qualitative comparison between the proposed h2h_t-learn model and the traditional two-step baseline.

Qualitative evaluations show that the hier2hier model's summaries are rated significantly higher for fluency and relevancy. As seen in the comparison above, the model generates human-like summary lengths (~145 words) and maintains better grammatical cohesion than the overly verbose and often disjointed outputs of the two-step baseline (~290 words).

Conclusion

This research demonstrates that synthetic data can effectively mimic the structural complexity of human conversation. By implicitly learning to disentangle threads via hierarchical attention mechanisms, the model avoids the compounding errors of pipeline systems. While massive models like BART still hold a slight performance edge, the proposed hier2hier model offers a highly competitive, parameter-efficient alternative (roughly 100x smaller) suitable for memory-constrained environments.

Summary updated

BibTeX
@inproceedings{karn2021few,
  author = {Sanjeev Kumar Karn and Francine Chen and Yan-Ying Chen and Ulli Waltinger and Hinrich Schütze},
  title = {{Few-Shot Learning of an Interleaved Text Summarization Model by Pretraining with Synthetic Data}},
  booktitle = {EACL},
  year = {2021},
}
Figure