Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization

Shuming Ma, Xu Sun, Jingjing Xu, Houfeng Wang, Wenjie Li, Qi Su

Abstract

Standard neural summarization models often produce outputs that look like the source text but completely miss the point—a problem known as low semantic relevance. This paper introduces a Semantic Relevance Based (SRB) model that uses a gated attention encoder and a specialized similarity loss function to ensure the generated summary actually means the same thing as the original text, leading to significant improvements in Chinese social media summarization.

Introduction

Summarizing social media text, such as posts from Sina Weibo or Twitter, presents unique challenges. Unlike formal news articles, social media content is short, informal, and contains significant "noise"—slang, typos, and irrelevant chatter.

A major flaw in current Sequence-to-Sequence (Seq2Seq) models is their tendency toward "literal" mimicry. While a model might generate a summary using keywords from the source, the resulting meaning can be nonsensical or even factually opposite. For instance, a post about a flight delay due to a smoking passenger might be summarized as a plane explosion. Although the words "plane" and "airline" provide high literal similarity, the semantic relevance is zero. This research aims to bridge the gap between looking right and being right.

Methods: The SRB Model

The researchers propose the Semantic Relevance Based (SRB) neural model, which introduces two primary innovations:

  1. Gated Attention Encoder: Standard attention mechanisms can be easily distracted by noise. The authors add a "gate" that assigns an importance score to each word before it enters the encoder, helping the model filter out irrelevant chatter and focus on core information.
  2. Semantic Similarity Loss: This is the core of the paper. During training, the model doesn't just try to predict the next word (standard cross-entropy loss); it also maximizes the cosine similarity between the vector representation of the source text ($V_t$) and the vector representation of the generated summary ($V_s$).

To maintain efficiency, the model avoids running the generated summary back through an encoder. Instead, it derives the summary's semantic vector ($V_s$) by taking the final state of the decoder and subtracting the source text's influence, representing the "new" information distilled into the summary.

Architecture of the SRB model showing the integration of attention and cosine similarity loss.

Experimental Setup

The model was evaluated on the LCSTS (Large Scale Chinese Short Text Summarization) dataset, sourced from Sina Weibo. The dataset contains over 2.4 million text-summary pairs. To ensure a high-quality test set, the authors utilized subsets (Part II and III) that were manually annotated by humans with relevance scores ranging from 1 to 5.

Results and Discussion

The SRB model outperformed several baselines, including standard RNNs and RNNs with global attention.

Comparison of ROUGE scores across different model configurations on the LCSTS dataset.

Key Insights

  • Literal vs. Semantic: Standard ROUGE scores can be misleading. A model can achieve a decent score by repeating keywords while failing to capture the actual event.
  • Noise Filtering: The gated attention mechanism acts as a "relevance filter," which is more effective for informal text than standard global attention.
  • Joint Optimization: By adding the similarity score to the loss function, the model is penalized if the summary drifts too far from the source's meaning.

On the LCSTS dataset, the SRB model with gated attention achieved a ROUGE-1 score of 33.3, a significant improvement over the 29.9 achieved by the standard RNN-context baseline. Qualitatively, the SRB model correctly identified the "main idea" in complex examples where baseline models produced generic, less relevant phrases.

Conclusion and Future Work

The SRB model successfully improves semantic relevance in summarization. However, a current limitation is the lack of a copying mechanism (like COPYNET). Copying mechanisms allow models to handle "Out-of-Vocabulary" (OOV) words—such as specific names or rare technical terms—by pointing directly to the source text. Currently, the SRB model is limited by a fixed vocabulary of 4,000 characters. Integrating a copying mechanism into the SRB framework is the next logical step for handling the diverse vocabulary of social media.

Summary updated

BibTeX
@inproceedings{ma2017improving,
  author = {Shuming Ma and Xu Sun and Jingjing Xu and Houfeng Wang and Wenjie Li and Qi Su},
  title = {{Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  doi = {10.18653/v1/p17-2100},
}
Figure