A Semantic Supervision Method for Abstractive Summarization

Sunqiang Hu, Xiaoyu Li, Yu Deng, Peng Yu, Bin Lin, Shan Yang2021

Abstract

In recent years, many text summarization models based on pre-training methods have achieved very good results. However, in these text summarization models, semantic deviations are easy to occur between the original input representation and the representation that passed multi-layer encoder, which may result in inconsistencies between the generated summary and the source text content. The Bidirectional Encoder Representations from Transformers (BERT) improves the performance of many tasks in Natural Language Processing (NLP). Although BERT has a strong capability to encode context, it lacks the fine-grained semantic representation. To solve these two problems, we proposed a semantic supervision method based on Capsule Network. Firstly, we extracted the fine-grained semantic representation of the input and encoded result in BERT by Capsule Network. Secondly, we used the fine-grained semantic representation of the input to supervise the fine-grained semantic representation of the encoded result. Then we evaluated our model on a popular Chinese social media dataset (LCSTS), and the result showed that our model achieved higher ROUGE scores (including R-1, R-2), and our model outperformed baseline systems. Finally, we conducted a comparative study on the stability of the model, and the experimental results showed that our model was more stable.

Introduction

The advent of pre-trained models like BERT has revolutionized Natural Language Processing, particularly in abstractive summarization. However, a persistent challenge remains: semantic deviation. As information traverses the numerous Transformer layers of a deep encoder, the representation can "drift," losing the fine-grained semantic details present in the original input. This often results in generated summaries that, while fluent, are factually inconsistent with the source text.

To address this, we propose the SSC (Semantic Supervision based on Capsule Network) model. This approach introduces a supervision mechanism that "tethers" the deep encoder's output to the initial semantic embeddings, ensuring the model preserves core meaning throughout the encoding process.

Methodology

Sequence-to-Sequence Adaptation

To utilize BERT for generative summarization, we adopt the Unified Pre-trained Language Model (UNILM) framework. By modifying the self-attention mask matrix, we allow the model to act as both a bidirectional encoder and a unidirectional decoder within a single architecture.

Self-attention mask matrix for seq2seq adaptation.

Semantic Supervision via Capsule Networks

The core innovation of our work is the semantic supervision module. We utilize Capsule Networks to extract fine-grained semantic features from two distinct points in the model:

  1. Input Extraction ($V_i$): Features are extracted directly from the initial Token Embeddings.
  2. Output Extraction ($V_o$): Features are extracted from the final Transformer block's output.
The SSC model architecture featuring semantic supervision.

By calculating the distance between $V_i$ and $V_o$ and incorporating it into the loss function, the model is forced to align its deep representations with the raw input semantics. Furthermore, we introduce a dynamic parameter ($\lambda$) that scales the intensity of this supervision based on input length, as longer sequences are more susceptible to drift.

Experimental Evaluation

We evaluated the SSC model on the LCSTS (Large-scale Chinese Short Text Summarization) dataset, sourced from Sina Weibo. The dataset consists of over 2.4 million pairs, which we filtered for high-quality human-scored relevance.

Results and Stability

Our model achieved a ROUGE-1 score of 40.63 and a ROUGE-2 score of 26.4, outperforming standard BERT-seq2seq baselines (39.84 and 25.47, respectively) and other competitive models like CopyNet and DRGD. Beyond metric improvements, the SSC model demonstrated significantly higher training stability and generated summaries that were qualitatively more faithful to the source subjects compared to the baseline BERT model.

Conclusion

By integrating Capsule Networks for semantic supervision, we effectively mitigated the issue of semantic deviation in BERT-based summarization. This "tethering" effect ensures that fine-grained details are preserved across deep layers, leading to more accurate and stable abstractive summaries. Future work will explore the generalizability of this method across different languages and larger model architectures.

Summary updated

BibTeX
@inproceedings{hu2021semantic,
  author = {Sunqiang Hu and Xiaoyu Li and Yu Deng and Peng Yu and Bin Lin and Shan Yang},
  title = {{A Semantic Supervision Method for Abstractive Summarization}},
  booktitle = {Computers,},
  year = {2021},
  doi = {10.32604/cmc.2021.017441},
}
Figure