Extractive Summarization via Weighted Dissimilarity and Importance Aligned Key Iterative Algorithm
Ryohto Sawada

TL;DR
This paper introduces a fast extractive summarization algorithm that maximizes weighted dissimilarity to produce diverse, representative summaries efficiently, with performance comparable to human and existing methods.
Contribution
The paper proposes a novel importance aligned key iterative algorithm that improves speed and maintains accuracy in extractive summarization tasks.
Findings
Algorithm achieves O(SN log N) complexity, faster than conventional methods.
Summaries are diverse and representative, matching human quality.
Benchmark results show competitive performance with existing algorithms.
Abstract
We present importance aligned key iterative algorithm for extractive summarization that is faster than conventional algorithms keeping its accuracy. The computational complexity of our algorithm is O() to summarize original sentences into final sentences. Our algorithm maximizes the weighted dissimilarity defined by the product of importance and cosine dissimilarity so that the summary represents the document and at the same time the sentences of the summary are not similar to each other. The weighted dissimilarity is heuristically maximized by iterative greedy search and binary search to the sentences ordered by importance. We finally show a benchmark score based on summarization of customer reviews of products, which highlights the quality of our algorithm comparable to human and existing algorithms. We provide the source code of our algorithm on github…
|
|
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
|||||||||
|
|
| Algorithm | R-1 | R-2 |
|---|---|---|
| Human | 30.88 | 10.69 |
| IMAKITA | 32.34 | 9.05 |
| without stopwords | 25.3 | 5.65 |
| only importance | 29.65 | 6.5 |
| Biclique | 32.6 | 8.4 |
| SRDIV | 15.64 | 2.88 |
| SRSIM | 24.38 | 6.23 |
| TextRank | 27.56 | 6.12 |
| MEAD | 15.15 | 3.08 |
| Opinosis | 32.7 | 9.98 |
| ParaFuse | 33.86 | 9.74 |
| Algorithm | AlphaZero | Alice | Carol |
|---|---|---|---|
| IMAKITA | 0.12 sec | 0.9 sec | 1.74 sec |
| Biclique | 0.18 sec | 1.35 sec | 3.71 sec |
| TextRank | 0.06 sec | 19 sec | 106 sec |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Advanced Text Analysis Techniques
Extractive Summarization via Weighted Dissimilarity and Importance Aligned Key Iterative Algorithm
Ryohto Sawada
Abstract
We present importance aligned key iterative algorithm for extractive summarization that is faster than conventional algorithms keeping its accuracy. The computational complexity of our algorithm is O() to summarize original sentences into final sentences. Our algorithm maximizes the weighted dissimilarity defined by the product of importance and cosine dissimilarity so that the summary represents the document and at the same time the sentences of the summary are not similar to each other. The weighted dissimilarity is heuristically maximized by iterative greedy search and binary search to the sentences ordered by importance. We finally show a benchmark score based on summarization of customer reviews of products, which highlights the quality of our algorithm comparable to human and existing algorithms.
I Introduction
Automatic summarization of the document is in a great demand along with rapid growth of world wide web. There are two types of the automatic summarization; extractive summarization and abstractive summarization. Extractive summarization just selects important sentences from document. On the other hand, abstractive summarization revises the summary to compress redundancy and fill the lack of information radev1998 ; hongyan2000 ; nenkova2012 ; eisenstein2018 .
There are pros and cons for both extractive summarization and abstractive summarization. Extractive summarization requires relatively little domain knowledge. For example, one of the classical extractive summarization selects the sentences in the order of importance evaluated by counting frequency of the word fresch1948 ; luhn1958 ; luhn1957 ; sparch1972 . The counting does not require grammatical knowledge of the language and thus it is easy to expand to other languages. On the other hand, abstractive summarization is generally advantageous in accuracy ganesan2010 ; nayeem2018 . However, most of abstractive summarization requires additional knowledge of the language such as grammatical knowledge ganesan2010 and pre-trained word2vec embeddings mikolov2013 ; nayeem2018 . Therefore, abstractive summarization is generally more costly than extractive summarization. In this paper, we aim to present fast, accurate and multilingual extractive summarization algorithm due to following reasons; the amount of data on the internet is increasing by 2.5 quintillion bytes every day ibm2017 and there are about 200 languages on the internet w3tech2018 .
Most of extractive summarization algorithms use the similarity between the sentences in the document. A common approach to characterize the sentences is vectorization that represents sentence as
[TABLE]
where is the word in the sentence, is the weighting (importance) of the word and is the unit vector satisfying . The weighting of the word is usually calculated by term frequency and inverse document frequency (TFIDF) beel2016 . TFIDF gives high weighting to the word that appears only in certain sentences fresch1948 ; luhn1958 ; luhn1957 ; sparch1972 . TDIDF helps to delete meaningless word like ”the”. The similarity between sentences can be evaluated by cosine product of the vectors.
There are various kinds of extraction algorithms using the similarities. A typical extraction algorithm is to maximize the minimum similarity between the sentences in the summary and the sentences in the document carbonell1998 ; radev2000 ; radev2004 . Graph theory also has high affinity for the extractive summarization by assuming the similarity as edge weight. For example, TextRank algorithm uses PageRank algorithm brin1998 to calculate importance of the sentences erkan2004 ; mihalcea2004 . Recently, Muhammad reported that an algorithm that uses the number of bicliques as the importance has as high accuracy as abstractive summarization muhammad2016 .
However, these algorithms have problems with computational complexity and duplication. The ideal summarization should convey as much information as possible without duplication. In other words, the summary sentence should be similar to the sentence in the document, while the summary sentences should not be similar each other. However, computational complexity of the calculation of all the similarities is O() for sentences. Furthermore, the maximization of the similarity between the summary and document is a vertex cover problem, typical example of an NP hard optimization problem. For the algorithms described in the previous paragraph, the computational complexities of TextRank algorithm and the biclique algorithm are O() and O(), respectively. Additionally, the biclique algorithm gives up avoiding duplication and thus it is vulnerable to the duplication of the sentences [see Table. 1 - 3 for detail].
In this paper, we solved the problem by importance aligned key iterative algorithm (IMAKITA). IMAKITA maximizes the weighted dissimilarity defined by the product of the importance and the dissimilarity so that the summary represents the document and at the same time the sentences of the summary are not similar to each other. The weighted dissimilarity can be heuristically maximized by iterative greedy search and binary search to the sentences ordered by importance. The computational complexity to summarize sentences to sentences is O() in total. Furthermore, the benchmark score of IMAKITA is equivalent to humans in the summarization of customer reviews. Our algorithm will contribute to wide range of application of natural language processing.
II Methods
The weighted dissimilarity is calculated by the vectorized sentence defined by
[TABLE]
where is the number of the word of the sentence and is the number of occurrences of the word in the document. As well as existing algorithms ganesan2010 ; muhammad2016 , we removed stopwords such as ”is”, ”by”, ”the” from the sentences because they usually do not convey meaningful information. We used natural language toolkit for morphological analysis nltk2009 and library in chakki2018 for stopwords. This vectorization represents not only meaning of the sentence but also importance of the sentence. The importance of the sentence is defined by L2-norm of the vector . It means short sentences including the words frequently used in the document is important. This idea originates from well-known strategies for technical writing and presentation ”Key phrase should be continuously used and message should be short” minto2008 . The weighted dissimilarity between sentence and is defined by
[TABLE]
where is angle between and . The weighted dissimilarity becomes high only when both and are important and they have few words in common. Therefore, if a group of the sentences has high weighted dissimilarity, the group would carry important information without duplication. Unlike the existing algorithms, the maximization of the weighted dissimilarity can meet these two requirements at once.
The strict maximization of the weighted dissimilarity requires computational cost to summarize sentences to sentences. IMAKITA heuristically maximize the weighted dissimilarity by iterative greedy search and binary search to the sentences ordered by importance. Figure. 1 (a) shows the schematics of iterative greedy search to find the group of the sentences whose dissimilarity is higher than certain value . The sentences are evaluated in descending order of importance. When the minimum dissimilarity between the sentence and already accepted sentences is lower than , the sentence will not be adopted. In this algorithm, the total number of the adopted sentences is the function of which monotonically decreases from to 1 with increase of [Figure. 1 (b)]. The domain range of is where is the most important sentence. When is given by user, the most appropriate is the largest T that satisfies . This can be obtained by binary search because is monotonic function sedgewick2011 . The binary search requires only whether is greater than or equal to . Therefore, greedy iterative search be aborted when the number of adopted sentences reaches . Furthermore, it is also possible to speed up the greedy iterative search by storing the weighted dissimilarity once calculated . The computational cost of the greedy search and binary search are and , respectively. Therefore, total computational complexity is .
III Result
Table 1 shows the result of summarization of Martin Luther King Jr’s speech king1963 using IMAKITA and existing algorithms. We used summa library summa2018 for TextRank. Summary using biclique algorithm has duplication of content. Also, TextRank extracts unnecessarily long sentences because long sentences usually have something in common with other sentences. On the other hand, IMAKITA effectively summarizes the speech without duplication.
The accuracy of the summarization is usually benchmarked by ROUGE score lin2004 . ROUGE evaluates the similarity between sentences based on an n-gram co-occurrence. The accuracy of the summarization can be estimated by ROUGE score between generated summaries and human summaries. We used Opinosis dataset ganesan2010 for the test data. Opinosis dataset provides user reviews on 51 different topics and summarization of the review by 5 different human workers. Original Opinosis paper also provides ROUGE scores between different human summaries and it is an important criterion for the accuracy of the summarization. Table 2 shows the comparison of ROUGE scores between existing algorithms (human ganesan2010 , biclique muhammad2016 , sentence removal based on divergence and similarity (SRDIV, SRSIM) bonzanini2013 , TextRank mihalcea2004 , MEAD, Opinosis ganesan2010 and ParaFuse nayeem2018 ) and IMAKITA. The number of the summary sentences is set to 2. One can see IMAKITA is as accurate as humans and existing methods.
We also evaluated ROUGE score of IMAKITA without stopwords and the maximization of the weighted dissimilarity, respectively. Table 2 shows both of them contribute to increase the accuracy of the summary. Surprisingly, IMAKITA without stopwords has F1-score as high as SRSIM algorithm despite having no domain knowledge in English except words are separated by space and sentences are separated by period, probably because the effect of the meaningless words are canceled out inside the iterative greedy search because most of sentences have these stopwords. The result implies IMAKITA is easy to apply to other languages.
Table 3 shows the comparison of calculation time between IMAKITA and existing algorithms. We used Intel Corei7-4710MQ for the calculation and set the number of the summary sentences to 10. We used AlphaZero paper silver2018 (2523 words, 126 sentences) , Alice’s Adventures in Wonderland carroll1865 (15192 words, 501 sentences) and A Christmas Carol for the benchmark dickens1843 (29140 words, 1420 sentences). One can see that the calculation time of IMAKITA is approximately linear unlike existing algorithms.
IV Conclusion
We presented importance aligned key iterative algorithm for extractive summarization that is faster than conventional algorithms keeping its accuracy. The algorithm maximizes the weighted dissimilarity so that the summary represents the document and at the same time the sentences of the summary are not similar to each other. The weighted dissimilarity is heuristically maximized by iterative greedy search and binary search. We demonstrated that ROUGE score of IMAKITA is comparable to human and existing algorithms and computation time is shorter than these algorithms. We also analyzed the contributuion of the weighted dissimilarity and stopwords and showed IMAKITA works by little domain knowledge. Our algorithm will contribute to wide range of application of natural language processing.
V Appendix
V.1 Source code
We provide the source code of IMAKITA for Chrome Extension on github https://github.com/qhapaq-49/imakita.
V.2 Pseudo code
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) DR Radev and K. Mc Keown. Generating natural language summaries from multiple on-line sources. Computational Linguistics , Vol. 24, p. 469, 1998.
- 2(2) Hongyan Jing and Kathleen R. Mc Keown. Cut and paste based text summarization. Proceedings of the 1st North American chapter of the Association for Computational Linguistics conference , 2000.
- 3(3) A Nenkova and K Mc Keown. A Survey of Text Summarization Techniques. Springer, 2012.
- 4(4) Jacob Eisenstein. Natural language processing, 2018. https://github.com/jacobeisenstein/gt-nlp-class/blob/master/notes/eisenstein-nlp-notes.pdf.
- 5(5) R Flesch. A new readability yardstick. The Journal of Applied Psychology , 1948.
- 6(6) H. P. Luhn. The automatic creation of literature abstracts. IBM Journal of Research and Development , p. 159, 1958.
- 7(7) H. P. Luhn. A statistical approach to mechanized encoding and searching of literary information. IBM Journal of Research and Development , Vol. 1, p. 309, 1957.
- 8(8) Sparck Jones. A statistical interpretation of term specificity and its application in retrieval. Journal of Documentation , Vol. 28, p. 11, 1972.
