Some methods for text summarization

Posted by thidtc on June 13, 2018

1. Overview

Methods for text summarization can be categoried into two main paradigms: Extraction and Abstraction. In Extraction paradigm, salient sentences or phrases are directly extracted from the original document, while in Abstraction paradigm, the summary is rewriten, and some unseen words in original doucment may occur.

2. Extraction Methods

2.1 TextRank

TextRank[1] is a graph-based text extraction method, the idea of TextRank is similar to that of PageRank. by iteration over the graph, the importance of nodes in graph get coveraged to the final result

3. Abstraction Methods

With the development of deep neural network, especially sequence-to-sequence model , abstraction methods gradually gains more interests. Compared to extraction methods, abstraction mothods can generate more consice summary by generating in a smaller granularity(usually words-level)

3.1 Pointer-Generator network

Pointer-generator network enables model to copy from the original input text, and is widely used in text generation task to deal with OOV words, [2] applies pointer-generator network in text summarization task

3.2 Coverage loss

Coverage loss is proposed in [2], coverage loss by recording the total attention to the input text, and penalizing over attention phenomenon

In the text summarization task result, the same tri-gram seldem occurs twice in the summary, following this observation, [4] apply tri-gram avoidance during the beam search, so that the beam search result shall never contains tri-gram twice

3.4 Global Encoding

[3] focus on adding global encoding layer in encoder which controls the information flowing from the encoder to decoder based on only encoder information, so as to reduce repetitions as well as semantic irrelavance

3.5 Attention to Decoder outputs

Attention to decoder outputs is now getting used in seq2seq model. [4] proposes to use intra-decoder attention to reduce repetition

3.6 Self-Critical Policy Gradient Algorithm

Text summarization is a kind of text generation task, and in general, text summarization resort to maximum likelihood objective function in an auto-regressive way

This objective function is simple but may suffer from the following problems

  1. Explosure bias. Usually teacher-forcing is used when training, and greedy search or beam search is used when inferencing, this discrepency will induce explosure bias
  2. Modes. There may be many difference suitable summaries for a document, however, there is usually only one label summary, and MLE will limit the generated text to the label summary, which makes the model loss some flexibility

[4] uses self-critial policy graident algorithm, which is first introduced in [5], this algorithm introduce a RL-like objective function

Besides, the two objective functions can be combined together into a mixed one

4. Unified Methods

Extraction methods is simple but can only copy from document. Abstraction methods can rewrite sentences, and in this way generate much more concise summary, but as listed before, suffer from problems such as repetition, and what is worse, as the document get longer, due to the seq2seq framework, efficiency and permance decrease. so, many methods try to combined the two paradigm into a unified one

4.1 Consistency loss

In the model proposed by [6], a extractor calculates the attention to each sentences in the document, and a abstractor calcuates the attention to each words in the document, and finally, a consistency loss is used to difference between the two attention

4.2 RL Framework

Inspired by human’s extract-first-abstract-second behaviour in text summarization task, [7] propose a model which does in the same way, in the model, a extractor is used to extract salient sentences, and then a abstractor abstracts each sentecnes produced seperately, and in this way, generate the final summary. A policy gradient algorithm is used to combine this two parts together

5. Others

5.1 Multi-Task learning

Many methods use multi-task learning, [8] trains on a text summarization task with a sentiment classification task

5.2 Retrive, Rerank, Rewrite

When the input text is too long(For example, in Gigaword dataset, many model set the maximum input text length to 400), abstraction methods may fail to generate a good summerization. [9] thus first retrive summerizations of similar texts by using Lucene system, and then rerank the retrieved result, finally, the retrived summerization is feeded into an seq2seq model together with the text to generate a final summerization. In this model, the retrived summerization is regarded as a soft template, and the final summerization process is regarded as a template rewriting process based on the template and original text. The frameword of the model is shown in the following picture

This model is rather simple, but in fact performs very well.

References

[1] Mihalcea R, Tarau P. Textrank: Bringing order into text[C]//Proceedings of the 2004 conference on empirical methods in natural language processing. 2004.

[2] See A, Liu P J, Manning C D. Get to the point: Summarization with pointer-generator networks[J]. arXiv preprint arXiv:1704.04368, 2017.

[3] Lin J, Sun X, Ma S, et al. Global Encoding for Abstractive Summarization[J]. arXiv preprint arXiv:1805.03989, 2018.

[4] Paulus R, Xiong C, Socher R. A deep reinforced model for abstractive summarization[J]. arXiv preprint arXiv:1705.04304, 2017.

[5] Rennie S J, Marcheret E, Mroueh Y, et al. Self-critical sequence training for image captioning[C]//CVPR. 2017, 1(2): 3.

[6] Hsu W T, Lin C K, Lee M Y, et al. A Unified Model for Extractive and Abstractive Summarization using Inconsistency Loss[J]. arXiv preprint arXiv:1805.06266, 2018.

[7] Chen Y C, Bansal M. Fast Abstractive Summarization with Reinforce-Selected Sentence Rewriting[J]. arXiv preprint arXiv:1805.11080, 2018.

[8] Ma S, Sun X, Lin J, et al. A Hierarchical End-to-End Model for Jointly Improving Text Summarization and Sentiment Classification[J]. arXiv preprint arXiv:1805.01089, 2018.

[9] Retrieve, Rerank and Rewrite: Soft Template Based Neural Summarization