Keyphrase Generation: A Text Summarization Struggle
Erion \c{C}ano, Ond\v{r}ej Bojar

TL;DR
This paper investigates whether text summarization models can generate keyphrases for scientific articles and finds that current neural summarization methods do not outperform simpler existing approaches.
Contribution
The study introduces a large dataset of scientific metadata and systematically evaluates neural summarization models for keyphrase generation, revealing their limitations.
Findings
Neural summarization models do not outperform simpler methods.
Large datasets and computational resources do not guarantee better keyphrases.
Current models struggle to generate valuable keyphrases not present in the text.
Abstract
Authors' keyphrases assigned to scientific articles are essential for recognizing content and topic aspects. Most of the proposed supervised and unsupervised methods for keyphrase generation are unable to produce terms that are valuable but do not appear in the text. In this paper, we explore the possibility of considering the keyphrase string as an abstractive summary of the title and the abstract. First, we collect, process and release a large dataset of scientific paper metadata that contains 2.2 million records. Then we experiment with popular text summarization neural architectures. Despite using advanced deep learning models, large quantities of data and many days of computation, our systematic evaluation on four test datasets reveals that the explored text summarization methods could not produce better keyphrases than the simpler unsupervised methods, or the existing supervised…
| Attribute | Train | Val | Test | Fullset |
|---|---|---|---|---|
| Records | 2M | 100K | 100K | 2.2M |
| Keyphrases | 12M | 575K | 870K | 13.4M |
| Title tokens | 24M | 1.3M | 1.6M | 27M |
| Abstract tokens | 441M | 21M | 37M | 499M |
| Av. Keyphrase | 6 | 5.8 | 8.7 | 6.1 |
| Av. Title | 12.1 | 12.8 | 15.9 | 12.3 |
| Av. Abstract | 220 | 211 | 372 | 227 |
| Hulth (500) Krapivin (400) Meng (20K) OAGK (100K) | ||||||||
| Method | F1@5 | F1@7 | F1@5 | F1@7 | F1@5 | F1@7 | F1@5 | F1@7 |
| Yake! | 19.35 | 21.47 | 17.98 | 17.4 | 17.11 | 15.19 | 15.24 | 14.57 |
| TopicRank | 16.5 | 20.44 | 6.93 | 6.92 | 11.93 | 11.72 | 11.9 | 12.08 |
| Maui | 20.11 | 20.56 | 23.17 | 23.04 | 22.3 | 19.63 | 19.58 | 18.42 |
| CopyRnn | 29.2 | 33.6 | 30.2 | 25.2 | 32.8 | 25.5 | 33.06 | 31.92 |
| Merge | 6.85 | 6.86 | 4.92 | 4.93 | 8.75 | 8.76 | 11.12 | 13.39 |
| Inject | 6.09 | 6.08 | 4.1 | 4.11 | 8.09 | 8.09 | 9.61 | 11.22 |
| Abs | 14.75 | 14.82 | 10.24 | 10.29 | 12.17 | 12.09 | 14.54 | 14.57 |
| PointCov | 22.19 | 21.55 | 19.87 | 20.03 | 20.45 | 20.89 | 22.72 | 21.49 |
| Hulth (500) Krapivin (400) Meng (20K) OAGK (100K) | ||||||||
| Method | ||||||||
| Yake! | 37.48 | 24.83 | 26.19 | 18.57 | 26.47 | 17.36 | 20.38 | 14.54 |
| TopicRank | 32.0 | 20.36 | 14.08 | 11.47 | 21.68 | 15.94 | 17.46 | 13.28 |
| Maui | 36.88 | 27.16 | 28.29 | 23.74 | 34.33 | 28.12 | 32.16 | 25.09 |
| CopyRnn | 44.58 | 35.24 | 39.73 | 30.29 | 42.93 | 34.62 | 43.54 | 36.09 |
| Merge | 15.19 | 9.45 | 9.66 | 7.14 | 16.53 | 12.31 | 17.3 | 14.43 |
| Inject | 14.15 | 8.81 | 9.58 | 6.79 | 15.6 | 11.21 | 14.3 | 11.08 |
| Abs | 27.54 | 19.48 | 25.59 | 18.2 | 28.31 | 22.16 | 29.05 | 25.77 |
| PointCov | 37.16 | 33.69 | 35.81 | 29.52 | 38.47 | 35.06 | 38.66 | 34.04 |
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Keyphrase Generation: A Text Summarization Struggle
Erion Çano
Institute of Formal and Applied
Linguistics, Charles University,
Prague, Czech Republic
&Ondřej Bojar
Institute of Formal and Applied
Linguistics, Charles University,
Prague, Czech Republic
Abstract
Authors’ keyphrases assigned to scientific articles are essential for recognizing content and topic aspects. Most of the proposed supervised and unsupervised methods for keyphrase generation are unable to produce terms that are valuable but do not appear in the text. In this paper, we explore the possibility of considering the keyphrase string as an abstractive summary of the title and the abstract. First, we collect, process and release a large dataset of scientific paper metadata that contains 2.2 million records. Then we experiment with popular text summarization neural architectures. Despite using advanced deep learning models, large quantities of data and many days of computation, our systematic evaluation on four test datasets reveals that the explored text summarization methods could not produce better keyphrases than the simpler unsupervised methods, or the existing supervised ones.
1 Introduction
A valuable concept for searching and categorizing scientific papers in digital libraries is the keyphrase (we use keyphrase and keyword interchangeably), a short set of one or few words that represent concepts. Scientific articles are commonly annotated with keyphrases based on taxonomies of concepts and the authors’ judgment. Finding keyphrases that best describe the contents of a document is thus essential and rewarding.
Most of the proposed keyphrase extraction solutions tend to be unsupervised Florescu and Caragea (2017); Nguyen and Luong (2010); Rose et al. (2010); Bougouin et al. (2013); Campos et al. (2018) and generate terms by selecting the most appropriate candidates, ranking the candidates based on several features and finally returning the top . Another way is to utilize datasets of texts and keywords for training supervised models with linguistic or other features to predict if candidates are keywords or not Witten et al. (1999); Turney (2000); Medelyan (2009); Hulth (2003).
All above methods propose keyphrases for each article which are joined together with “,” (or other separator like “;”) to form the keyphrase string of that article. They suffer from various problems or discrepancies. First, they are unable to find an optimal value for and require it as a preset parameter. Furthermore, semantic and syntactic properties of article phrases are analyzed separately. The meaning of paragraphs, sections or entire document is thus missed. Lastly, only phrases that do appear in the article are returned. Meng et al. (2017) recently proposed a deep supervised keyphrase generation solution trained on a big dataset. It successfully solves the last two problems above, but not the first one.
Motivated by recent advances in neural machine translation and abstractive text summarization Vaswani et al. (2017); Foster et al. (2018); Rush et al. (2015); See et al. (2017), in this paper, we explore the possibility of considering keyphrase generation as an abstractive text summarization task. Instead of generating keywords one by one and linking them to form the keyphrase string, we consider the later as an abstractive summary of the concatenated paper title and abstract. Different recently-proposed text summarization architectures are tried on four test datasets of article keyphrases Tanti et al. (2017); Rush et al. (2015); See et al. (2017). We trained them with a newly created dataset of 2.2 million article titles, abstracts and keyphrase strings that we processed and released.111http://hdl.handle.net/11234/1-2943
The selected text summarization models are compared with popular unsupervised and supervised methods using ROUGE Lin (2004) and full-match F1 metrics. The results show that though trained with large data quantities for many days, the tried text summarization methods could not produce better keywords than the existing supervised or deep supervised predictive models. In our opinion, a possible explanation for this is the fact that the title and the abstract may not carry sufficient topical information about the article, even when joined together. In contrast, when assigning keywords annotations of their paper, authors are highly influenced by the topic aspects of it.
This paper carries several contributions, despite the fact that no progressive result scores were reached. It is the first work that considers keyphrase generation as an abstractive text summarization task. We produced a large dataset of article titles, abstracts, and keywords that can be used for keyword generation, text summarization or similar purposes. Finally, we evaluated the performance of different neural network architectures on summarization of article keyword strings, comparing them with popular unsupervised methods.
2 Scientific Paper Datasets
Because of the open source and open data initiatives, many public datasets from various domains can be found online Çano and Morisio (2015). Among the several collections of scientific articles, some of them have gained considerable popularity in research literature. In Meng et al. (2017), we found a recent and big collection of 20K paper abstracts and keyphrases. These metadata belong to articles of computer science from ACM Digital Library, ScienceDirect, and Web of Science. In Hulth (2003), we found a collection of 2000 (1500 for train/val and 500 for testing) abstracts in English, together with titles and authors’ keywords. The corresponding articles were published from 1998 to 2002 and belong to the discipline of Information Technology. Furthermore, Krapivin et al. (2010) released a dataset of 2000 (1600 for train/val and 400 for testing) full articles published by ACM from 2003 to 2005 in Computer Science domain. More information about similar keyphrase data collections or other available resources can be found in Hasan and Ng (2014) and in online repositories.
Regarding text summarization, some of the most popular datasets are: DUC-2004 222https://duc.nist.gov/duc2004/ mainly used for testing, English Gigaword Napoles et al. (2012), CNN/Daily Mail described in Section 4.3 of Nallapati et al. (2016) and Newsroom, a heterogeneous bundle of news articles described in Grusky et al. (2018). These datasets are frequently used for the task of predicting titles from abstracts or short stories. However, no keyphrases are provided; they do not serve to our purpose. ArnetMiner is a recent attempt to crawl scientific paper data from academic networks Tang et al. (2008). The system extracts profiles of researchers from digital resources and integrates their data in a common network. A spin-off is the Open Academic Graph (OAG) data collection Sinha et al. (2015).
To produce a usable collection for our purpose, we started from OAG. We extracted title, abstract and keywords. The list of keywords was transformed into a comma-separated string and a language identifier was used to remove records that were not in English. Abstracts and titles were lowercased, and Stanford CoreNLP tokenizer was used for tokenizing. Short records of fewer than 20 tokens in the abstract, 2 tokens in the title and 2 tokens in the keywords were removed. For the test portion, we selected documents of at least 27, 3 and 2 tokens in each field. Data preprocessing stopped here for the release version (no symbol filtering), given that many researchers want to filter text in their own way. This new dataset named OAGK can be used for both text summarization (predicting title from abstract) and keyphrase extraction (unsupervised, supervised or deep supervised) tasks. Some rounded measures about each set of released data are presented in Table 1.
3 Keyphrase Extraction Strategies
3.1 Unsupervised and Supervised Methods
TopicRank is an extractive method that creates topic clusters using the graph of terms and phrases Bougouin et al. (2013). Obtained topics are then ranked according to their importance in the document. Finally, keyphrases are extracted by picking one candidate from each of the most important topics. A more recent, unsupervised and feature-based method for keyphrase extraction is Yake! Campos et al. (2018). It heuristically combines features like casing, word position or word frequency to generate an aggregate score for each phrase and uses it to select the best candidates.
One of the first supervised methods is Kea described by Witten et al. (1999). It extracts those candidate phrases from the document that have good chances to be keywords. Several features like TF-IDF are computed for each candidate phrase during training. In the end, Naïve Bayes algorithm is used to decide if a candidate is a keyword or not (binary classification). An improvement and generalization of Kea is Maui Medelyan (2009). Additional features are computed, and bagged decision trees are used instead of Naïve Bayes. The author reports significant performance improvements in precision, recall and F1 scores.
The above keyphrase extraction methods and others like Florescu and Caragea (2017) or Nguyen and Luong (2010) reveal various problems. First, they are not able to find an optimal value for (number of keywords to generate for an article) based on article contents and require it as a preset parameter. Second, the semantic and syntactic properties of article phrases (considered as candidate keywords) are analyzed separately. The meaning of longer text units like paragraphs or entire abstract/paper is missed. Third, only phrases that do appear in the paper are returned. In practice, authors do often assign words that are not part of their article.
Meng et al. (2017) overcome the second and third problem using an encoder-decoder model (CopyRnn) with a bidirectional Gated Recurrent Unit (GRU) and a forward GRU with attention. They train it on a datasets of hundred thousands of samples, consisting of abstract-keyword (one keyword only) pairs. The model is entirely data-driven and can produce terms that may not appear in the document. It still produces one keyword at a time, requiring (first problem) as parameter to create the full keyphrase string.
3.2 Text Summarization Methods
To overcome the three problems mentioned in Section 3.1, we explore abstractive text summarization models proposed in the literature, trained with article abstracts and titles as sources and keyword strings as targets. They are expected to learn and paraphrase over entire source text and produce a summary in the form of a keyphrase string with no need for extra parameters. They should also introduce new words that do not appear in the abstract. Two simple encoder-decoder variants based on LSTMs are described in Figure 3 of Tanti et al. (2017). Merge (Figure 3.a) encodes input and the current summary independently and merges them in a joint representation which is later decoded to predict the next summary token. Inject model (Figure 3.b) on the other hand injects the source document context representation to the encoding part of the current summary before the decoding operation is performed.
Abs is presented in Figure 3.a of Rush et al. (2015). The encoder (Figure 3.b) takes in the input text and a learned soft alignment between the input and the summary, producing the context vector. This soft alignment is the attention mechanism Bahdanau et al. (2014). To generate the summary words, Rush et al. apply a beam-search decoder with a window of candidate words in each position of the summary.
Pointer-Generator network (PointCov) depicted in Figure 3 of See et al. (2017) is similar to Abs. It is composed of an attention-based encoder that produces the context vector. The decoder is extended with a pointer-generator model that computes a probability from the context vector, the decoder states, and the decoder output. That probability is used as a switch to decide if the next word is to be generated or copied from the input. This model is thus a compromise between abstractive and extractive (copying words from input) models. Another extension is the coverage mechanism for avoiding word repetitions in the summary, a common problem of encoder-decoder summarizers Tu et al. (2016).
4 Results
We performed experiments with the unsupervised and supervised methods of Section 3 on the first three datasets of Section 2 and on OAGK. All supervised methods were trained with the 2M records of OAGK train part. An exception was Maui which could be trained on 25K records at most (memory limitation). In addition to the processing steps of Section 2, we further replaced digit symbols with # and limited source and target text lengths to 270 and 21 tokens, respectively. Vocabulary size was also limited to the 90K most frequent words.
The few parameters of the unsupervised methods (length and windows of candidate keyphrases for Yake!, ranking strategy for TopicRank) were tuned using the validation part of each dataset. For the evaluation, we used F1 score of full matches between predicted and authors’ keywords. Given that the average number of keywords in the data is about 6, we computed F1 scores on top 5 and top 7 returned keywords (F1@5, F1@7).
Before each comparison, both sets of terms were stemmed with Porter Stemmer and duplicates were removed. In the case of summarization models, keyphrases were extracted from their comma-separated summaries. We also computed ROUGE-1 and ROUGE-L F1 scores (, ) that are suitable for evaluating short summaries Lin (2004). The keywords obtained from the unsupervised methods were linked together to form the keyphrase string (assumed summary). This was later compared with the original keyphrase string of the authors.
Full-match results on each dataset are reported in Table 2. From the unsupervised models, we see that Yake! is consistently better than TopicRank. The next two supervised models perform even better, with CopyRnn being discretely superior than Maui.
Results of the four summarization models seem disappointing. Merge and Inject are the worst on every dataset, with highest score 13.39 %. Various predictions of these models are empty or very short, and some others contain long word repetitions which are discarded during evaluation. As a result, there are usually fewer than five predicted keyphrases. This explains why F1@5 and F1@7 scores are very close to each other.
Abs works slightly better reaching scores from 10.24 to 14.75 %. PointCov is the best of the text summarizers producing keyphrase predictions that are usually clean and concise with few repetitions. This is probably the merit of the coverage mechanism. There is still a considerable gap between PointCov and CopyRnn. Rouge-1 and Rouge-L F1 scores are reported in Table 3. CopyRnn is still the best but PointCov is close. Abs scores are also comparable to those of Maui and Yake!. TopicRank, Merge and Inject are again the worst.
Regarding the test datasets, the highest result scores are achieved on Hulth and the lowest on Krapivin. We checked some samples of the later and observed that each of them contains separation tags (e.g., –T, –A, –B, Figure etc.) for indicating different parts of text in the original paper. A more intelligent text cleaning step may be required on those data.
5 Discussion
The results show that the tried text summarization models perform poorly on full-match keyword predictions. Their higher ROUGE scores further indicate that the problem is not entirely in the summarization process. Observing a few samples, we found differences between the two evaluation strategies. For example, suppose we have the predicted keyword “intelligent system” compared against authors’ keyword “system design”. Full-match evaluation adds nothing to F1@5 and F1@7 scores. However, in the case of ROUGE evaluation, the prediction is partially right and a certain value is added to score. In follow up works, one solution to this discrepancy could be to try partial-match comparison scores like overlap coefficients.
Another detail that has some negative effect in full-match scores is keyword separation. The predicted string:
“health care,,,,immune system; human -; metabolism, immunity,,,,”
produces [“health care”, “immune system”, “human”, “metabolism”, “immunity”] as the list of keywords after removing the extra separators. Instead, we expected [“health care”, “immune system”, “human metabolism”, “immunity”]. This again penalizes full-match scores but not score. A more intelligent keyword separation mechanism could thus help for higher full-match result scores.
A third reason could be the fact that we used the title and abstract of papers only. This is actually what most researchers do, as it is hard to find high quantities of article full texts for free. Article body is usually restricted. Abstractive summarization methods could still benefit from longer source texts. Using default hyperparameters for the models may have also influenced the results. Some parameter tuning could be beneficial, though.
The main reason could be even more fundamental. We trained abstractive summarization models on abstracts and titles with authors’ keyphrases considered as golden ones. There might be two issues here. First, when setting their keywords, authors mostly consider the topical aspects of their work rather than paraphrasing over the contents. Abstracts and titles we used may not carry enough topical information about the article, even when joined together. Second, considering authors’ keywords as golden ones may not be reasonable. One solution is to employ human experts and ask them to annotate each article based on what they read. This is however prohibitive when hundred thousands of samples are required. Extensive experiments on this issue may provide different facts and change the picture. For the moment, a safe way to go seems developing deep supervised generative models like the one of Meng et al. (2017) that predict one keyphrase at each step independently.
6 Conclusions
In this paper, we experimented with various unsupervised, supervised, deep supervised and abstractive text summarization models for predicting keyphrases of scientific articles. To the best of our knowledge, this is the first attempt that explores the possibility of conceiving article string of keywords as an abstractive summary of title and abstract. We collected and produced a large dataset of 2.2 million abstracts, titles and keyphrase strings from scientific papers available online. It can be used for future text summarization and keyphrase generation experiments. Systematic evaluation on four test datasets shows that the used summarization models could not produce better keywords than the supervised predictive models. Extensive experiments with more advanced summarizaiton methods and better parameter optimization may still reveal a different view of the situation.
Acknowledgments
This research work was supported by the project No. CZ.02.2.69/0.0/0.0/16_027/0008495 (International Mobility of Researchers at Charles University) of the Operational Programme Research, Development and Education, grant 19-26934X (NEUREM3) of the Czech Science Foundation and H2020-ICT-2018-2-825460 (ELITR) of the EU.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Bahdanau et al. (2014) Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate . Co RR , abs/1409.0473.
- 2Bougouin et al. (2013) Adrien Bougouin, Florian Boudin, and Béatrice Daille. 2013. Topicrank: Graph-based topic ranking for keyphrase extraction . In Proceedings of the Sixth International Joint Conference on Natural Language Processing , pages 543–551. Asian Federation of Natural Language Processing.
- 3Campos et al. (2018) Ricardo Campos, Vítor Mangaravite, Arian Pasquali, Alípio Mário Jorge, Célia Nunes, and Adam Jatowt. 2018. Yake! collection-independent automatic keyword extractor . In Advances in Information Retrieval , pages 806–810. Springer International Publishing. · doi ↗
- 4Çano and Morisio (2015) Erion Çano and Maurizio Morisio. 2015. Characterization of public datasets for recommender systems . In 2015 IEEE 1st International Forum on Research and Technologies for Society and Industry Leveraging a better tomorrow (RTSI) , pages 249–257. · doi ↗
- 5Florescu and Caragea (2017) Corina Florescu and Cornelia Caragea. 2017. Positionrank: An unsupervised approach to keyphrase extraction from scholarly documents . In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics , pages 1105–1115. Association for Computational Linguistics. · doi ↗
- 6Foster et al. (2018) George Foster, Ashish Vaswani, Jakob Uszkoreit, Wolfgang Macherey, Lukasz Kaiser, Orhan Firat, Llion Jones, Noam Shazeer, Yonghui Wu, Ankur Bapna, Melvin Johnson, Mike Schuster, Zhifeng Chen, Macduff Hughes, Niki Parmar, and Mia Xu Chen. 2018. The best of both worlds: Combining recent advances in neural machine translation . In ACL (1) , pages 76–86. Association for Computational Linguistics.
- 7Grusky et al. (2018) Max Grusky, Mor Naaman, and Yoav Artzi. 2018. Newsroom: A dataset of 1.3 million summaries with diverse extractive strategies . In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies , pages 708–719. Association for Computational Linguistics. · doi ↗
- 8Hasan and Ng (2014) Kazi Saidul Hasan and Vincent Ng. 2014. Automatic keyphrase extraction: A survey of the state of the art . In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics , pages 1262–1273.
