Guided Attention Network for Concept Extraction
Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1449-1455.
https://doi.org/10.24963/ijcai.2021/200
Keywords
- Data Mining: Information Retrieval
- Data Mining: Mining Text, Web, Social Media
Abstract
Concept extraction aims to find words or phrases describing a concept from massive texts. Recently, researchers propose many neural network-based methods to automatically extract concepts. Although these methods for this task show promising results, they ignore structured information in the raw textual data (e.g., title, topic, and clue words). In this paper, we propose a novel model, named Guided Attention Concept Extraction Network (GACEN), which uses title, topic, and clue words as additional supervision to provide guidance directly. Specifically, GACEN comprises two attention networks, one of them is to gather the relevant title and topic information for each context word in the document. The other one aims to model the implicit connection between informative words (clue words) and concepts. Finally, we aggregate information from two networks as input to Conditional Random Field (CRF) to model dependencies in the output. We collected clue words for three well-studied datasets. Extensive experiments demonstrate that our model outperforms the baseline models with a large margin, especially when the labeled data is insufficient.
- [Blei et al., 2003] David M Blei, Andrew Y Ng, and Michael I Jor- dan. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993-1022, 2003.
- [Chen et al., 2018] Jun Chen, Xiaoming Zhang, Yu Wu, Zhao Yan, and Zhoujun Li. Keyphrase generation with correlation con- straints. arXiv preprint arXiv:1808.07185, 2018.
- [Chen et al., 2019] Wang Chen, Yifan Gao, Jiani Zhang, Irwin King, and Michael R Lyu. -guided encoding for keyphrase gen- eration. In Proceedings of the AAAI Conference on Artificial In- telligence, volume 33, pages 6268-6275, 2019.
- [Chiu and Nichols, 2016] Jason PC Chiu and Eric Nichols. Named entity recognition with bidirectional lstm-cnns. Transactions of the Association for Computational Linguistics, 4:357-370, 2016.
- [Downey et al., 2007] Doug Downey, Matthew Broadhead, and Oren Etzioni. Locating complex named entities in web text. In IJCAI, volume 7, pages 2733-2739, 2007. IJCAI
- [Florescu and Caragea, 2017] Corina Florescu and Cornelia Caragea. Positionrank: An unsupervised approach to keyphrase extraction from scholarly documents. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1105-1115, 2017.
- [Gelfand et al., 1998] Boris Gelfand, Marilyn Wulfekuler, and WF Punch. Automated concept extraction from plain text. In AAAI 1998 Workshop on Text Categorization, pages 13-17, 1998.
- [Goldberg and Levy, 2014] Yoav Goldberg and Omer Levy. word2vec explained: deriving mikolov et al.'s negative-sampling word-embedding method. arXiv preprint arXiv:1402.3722, 2014.
- [Huang et al., 2017] Zhenya Huang, Qi Liu, Enhong Chen, Hongke Zhao, Mingyong Gao, Si Wei, Yu Su, and Guoping Hu. Question difficulty prediction for reading problems in standard tests. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 31, 2017.
- [Huang et al., 2019] Xiaoqing Huang, Qi Liu, Chao Wang, Haoyu Han, Jianhui Ma, Enhong Chen, Yu Su, and Shijin Wang. Con- structing educational concept maps with multiple relationships from multi-source data. In 2019 IEEE International Conference on Data Mining (ICDM), pages 1108-1113. IEEE, 2019.
- [Lange et al., 2020] Lukas Lange, Xiang Dai, Heike Adel, and Jan- nik Strötgen. Nlnde at cantemist: Neural sequence labeling and parsing approaches for clinical concept extraction. arXiv preprint arXiv:2010.12322, 2020.
- [Li et al., 2018] Shen Li, Hengru Xu, and Zhengdong Lu. General- ize symbolic knowledge with neural rule engine. arXiv preprint arXiv:1808.10326, 2018.
- [Liu et al., 2009] Zhiyuan Liu, Peng Li, Yabin Zheng, and Maosong Sun. Clustering to find exemplar terms for keyphrase extraction. In Proceedings of the 2009 conference on empirical methods in natural language processing, pages 257-266, 2009.
- [Liu et al., 2010] Zhiyuan Liu, Wenyi Huang, Yabin Zheng, and Maosong Sun. Automatic keyphrase extraction via topic decom- position. In Proceedings of the 2010 conference on empirical methods in natural language processing, pages 366-376, 2010.
- [Liu et al., 2018] Qi Liu, Zai Huang, Zhenya Huang, Chuanren Liu, Enhong Chen, Yu Su, and Guoping Hu. Finding similar exercises in online education systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 1821-1830, 2018.
- [Liu et al., 2020] Ye Liu, Han Wu, Zhenya Huang, Hao Wang, Jian- hui Ma, Qi Liu, Enhong Chen, Hanqing Tao, and Ke Rui. Techni- cal phrase extraction for patent mining: A multi-level approach. In 2020 IEEE International Conference on Data Mining (ICDM), pages 1142-1147. IEEE, 2020.
- [Luo et al., 2015] Gang Luo, Xiaojiang Huang, Chin-Yew Lin, and Zaiqing Nie. Joint entity recognition and disambiguation. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 879-888, 2015.
- [Luong et al., 2015] Minh-Thang Luong, Hieu Pham, and Christo- pher D Manning. Effective approaches to attention-based neural machine translation. arXiv preprint arXiv:1508.04025, 2015.
- [Ma and Hovy, 2019] Xuezhe Ma and Eduard Hovy. End-to-end sequence labeling via bi-directional lstm-cnns-crf [eb/ol]. 2019.
- [Mihalcea and Tarau, 2004] Rada Mihalcea and Paul Tarau. Tex- trank: Bringing order into text. In Proceedings of the 2004 con- ference on empirical methods in natural language processing, pages 404-411, 2004.
- [Pan and Wang, 2017] Liangming Pan and Wang. Course concept extraction in moocs via embedding-based graph propagation. In Proceedings of the Eighth International Joint Conference on Nat- ural Language Processing (Volume 1: Long Papers), pages 875- 884, 2017.
- [Rehurek and Sojka, 2010] Radim Rehurek and Petr Sojka. Soft- ware framework for topic modelling with large corpora. In In Proceedings of the LREC 2010 Workshop on New Challenges for NLP Frameworks. Citeseer, 2010.
- [Shang et al., 2018] J. Shang, J. Liu, M. Jiang, X. Ren, C. R. Voss, and J. Han. Automated phrase mining from massive text cor- pora. IEEE Transactions on Knowledge and Data Engineering, 30(10):1825-1837, 2018.
- [Song et al., 2019] Lihong Song, Chin Wang Cheong, Kejing Yin, William K Cheung, Benjamin CM Fung, and Jonathan Poon. Medical concept embedding with multiple ontological represen- tations. In IJCAI, pages 4613-4619, 2019. IJCAI
- [Wang et al., 2019] Ziqi Wang, Yujia Qin, Wenxuan Zhou, Jun Yan, Qinyuan Ye, Leonardo Neves, Zhiyuan Liu, and Xiang Ren. Learning from explanations with neural execution tree. arXiv preprint arXiv:1911.01352, 2019.
- [Xiong et al., 2017] Chenyan Xiong, Russell Power, and Jamie Callan. Explicit semantic ranking for academic search via knowl- edge graph embedding. In Proceedings of the 26th international conference on world wide web, pages 1271-1279, 2017.
- [Yang et al., 2020] Xi Yang, Jiang Bian, William R Hogan, and Yonghui Wu. Clinical concept extraction using transform- ers. Journal of the American Medical Informatics Association, 27(12):1935-1942, 2020.
- [Zeng et al., 2014] Daojian Zeng, Kang Liu, Siwei Lai, Guangyou Zhou, and Jun Zhao. Relation classification via convolutional deep neural network. In Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Techni- cal Papers, pages 2335-2344, 2014.
- [Zhang et al., 2016] Qi Zhang, Yang Wang, Yeyun Gong, and Xuan-Jing Huang. Keyphrase extraction using deep recurrent neural networks on twitter. In Proceedings of the 2016 confer- ence on empirical methods in natural language processing, pages 836-845, 2016.
- [Zhu et al., 2018] Henghui Zhu, Ioannis Ch Paschalidis, and Amir Tahmasebi. Clinical concept extraction with contextual word em- bedding. arXiv preprint arXiv:1810.10566, 2018.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Concept extraction aims at extracting words or phrases describing a concept (e.g., logistic regression, hash function, and infinite set) from a given corpus (e.g., research papers and textbooks). It plays an essential role in constructing knowledge bases [Song et al., 2019], transforming unstructured text into structured information [Shang et al., 2018], and supporting downstream analytical tasks [Xiong et al., 2017; Huang et al., 2017; Liu et al., 2018].
Most previous concept extraction approaches operate in an extractive manner [Gelfand et al., 1998; Pan and Wang, 2017], which usually consists of two steps: 1) Selecting important text spans as candidate phrases based on statistical do not provide information about the human decision-making process when recognizing a concept. Similar to the way the topic and clue words guide our recognition process, we argue that they can also guide the model to make decisions. Specifically, we define "clue words" as a group of words that can help explain the recognition process of a particular concept in the same sentence. The clue words can be regarded as a form of expression of domain knowledge and they are concise, interpretable, and does not rely on much training data to generate (e.g., clue words such as "is a", "is called an" in textbooks, and "we introduce/propose/study/explore/describe" in scholarly documents).
∗ Contact Author
However, there are many challenges for concept extraction using structured information (title, topic, clue words). First, title and topic as global information play the leading role in concept extraction. The key concept phrases have close semantics to topic [Liu et al., 2010]. Thus, how to combine the global information to pay attention to the topic-related words according to the semantic relatedness plays a crucial role in the recognition process. Second, it is difficult to collect a complete set of clue words. Clue words have large numbers of linguistic variants, which makes it difficult to generalize them to unseen sentences that are semantically equivalent but having different word usage. For example, if "discuss" is not included in the collection of clue words but its synonym "talk about" is included. When we perform exact matching with clue words we have collected for the sentence "In the previous, we have discussed the hash function.", the "discussed" fails to match with its synonyms "talk about". Third, there is an implicit relation between clue words and concept. Humans can recognize concepts through accumulated experience, but it is difficult for the machine. How to model the relationship between clue words and concept is challenging.
To address these challenges, we propose GACEN based on Long-Short TermMemory (LSTM) network. In GACEN, to incorporate the topic information into the feature representation, we design a shared topic-based encoder to model the title and main body of the document with topic vectors at the document- and word-level separately. To solve the problem of variants of clue words and improve the generalization ability, we pre-train a soft matching module with neural networks to capture semantically similar words. Then, we design two attention modules, one of them is to gather the relevant global topic information for each context word according to the semantic relatedness based on topic enhanced representation, and the other aims to model the complex implicit relationship between clue words and concept with the semantic and position information of clue words. Finally, we aggregate information from two attention networks as input to Conditional Random Field (CRF) to model dependencies in the output. We crowd clue words for three well-studied datasets. Extensive experiments demonstrate the effectiveness of our model, especially when the labeled data is insufficient.
2 RelatedWork
Concept Extraction. Concept extraction has been studied intensively in previous works. Conventional extractive methods usually use the two-step strategy that first extracts the candidate phrases using rules (hand-crafted or syntactic pattern matching) and then ranks them based on supervised or unsupervised methods [Liu et al., 2020; Pan and Wang, 2017; Gelfand et al., 1998]. The main drawback is that these methods mainly use statistical features, which are unable to capture the semantics behind the text. Recently, Deep Neural Networks (DNN) based models are used to solve concept extraction problems. Yang et al. [2020] applied an encoderdecoder framework to extract the concept directly from the text. Zhu et al. [2018] and Lange et al. [2020] formulated concept extraction as a sequence labeling problem. Yang et al. [2020] applied BERT to clinical concept extraction. They all showed that deep learning methods can improve the performance over baseline models for this task.
Keyphrase Extraction. Keyphrase extraction aims to extract phrases that provide a concise summary of a document. Generally, keyphrase extraction techniques can be classified into two groups: supervised methods and unsupervised methods. Among them, in unsupervised methods, keyphrase extraction is formulated as a ranking problem using different techniques, such as graph-based ranking [Liu et al., 2010], clustering [Liu et al., 2009] and language modeling. In supervised methods, keyphrase extraction is treated as a classification problem: each phrase in the document is either a key phrase or not. Recently, many researchers have studied the neural network-based solutions [Zhang et al., 2016; Chen et al., 2019]. Keyphrase extraction can be seen as generating top concepts for each document. Compared with concept extraction, there is a big difference in quantity.
Named Entity Recognition. Both NER and concept extraction can be defined as sequence labeling problems. NER aims at locating and classifying named entities into predefined categories from free text. The early works applied CRF, Support Vector Machine (SVM), and perception models with hand-crafted features [Luo et al., 2015; Downey et al., 2007]. With the advanced performance of deep learning, research has been shifting towards deep neural networks (DNN), which requires little feature engineering. Chiu et al. [2016] presented a bidirectional LSTM-CNNs architecture that detects word and character level feature. Chiu et al. [2019] further extended it into LSTM-CNNs-CRF architecture, where the CRF model was added to optimize the output label sequence. NER seeks to locate and classify named entities mentioned in unstructured text. This is quite different from our goal.
3 ProblemFormulation
We assume that we have collected clue words (the collection process of clue words is disscussed in Section 5.1). We let c = {𝑐1, 𝑐2, · · · , 𝑐𝑘 } denote the clue words set we have collected, 𝑐𝑖 represents the 𝑖-th clue words in this set. Given a sentence x = {𝑥1, 𝑥2, · · · , 𝑥𝑛} with corresponding title t = {𝑡1, . . . 𝑡𝑙}, 𝑥𝑖 represents the 𝑖-th word in the sentence and 𝑡𝑖 represents the 𝑖-th word in the title. Our goal is to predict labels y = {𝑦1, 𝑦2, · · · , 𝑦𝑛} for x based on c, t. For 𝑥𝑖 in the sentence, its label 𝑦𝑖 ∈ {𝑆 -𝐶𝑂𝑁, 𝐵 -𝐶𝑂𝑁, 𝐼 -𝐶𝑂𝑁, 𝐸 -𝐶𝑂𝑁,𝑂} indicating current word is a Single concept word, the Beginning of a concept, the Middle part of the concept, the End of the concept, or Out of a concept, respectively.

4 Our ProposedModel
In this section, we present our framework GACEN for concept extraction. As shown in Figure 1, the GACEN model includes four components: Topic-based Encoder, Soft Matching module, Attention Layer (Topic-aware Attention, Position-aware Attention), and CRF layer. Specifically, the topic-based encoder and Topic-aware attention module are used to gather the relevant information from the topic and title to each context word in the document. Soft matching and Position-aware attention modules are used to match the sentence with clue words and model the positional and semantic relationship between clue words and other words in the same sentence. The CRF is used to model dependencies in the output.
4.1 Topic-based Encoder
As we all know, both documents and words can be represented by a mixture of semantic topics. A word will play different important roles in different topics of the document. The concept words in the document are the key to representing the topic of the document. Thus, the topic distribution of key concepts and the document should be similar [Liu et al., 2010]. To incorporate the topic distributions into the text representation, we first get the topic distributions zd of documents and the topic distributions zw of words using Latent Dirichlet Allocation (LDA) [Blei et al., 2003] model, where zd, zw ∈ R 𝑘 and 𝑘 is the hyper-parameter indicating the number of topics in the document.
Meanwhile, we consider the title and main body of the document separately. As shown in Figure 2, given the input sentence x = (𝑥1, 𝑥2, . . . , 𝑥𝑛) where 𝑛 is the length of the sentence, and Corresponding title t = (𝑡1, . . . 𝑡𝑙) where 𝑙 is the length of the title. We first map the words in sentence and title to word embedding E𝑠𝑒𝑛. = ( e𝑥1 , e𝑥2 . . . , e𝑥𝑛 ) , E𝑡𝑖𝑡𝑙𝑒 = ( e𝑡1 , . . . e𝑡𝑙 ) by looking up word embedding matrix W𝑒 ∈ R 𝑑𝑒 . Next, concatenate each word vector in title with topic vector of document zd to get T = (e𝑡1 ⊕ zd, . . . e𝑡𝑙 ⊕ zd) and concatenate word vector in main body with topic vector of words zw to get X = ( e𝑥1 ⊕ zw1 , e𝑥2 ⊕ zw2 . . . , e𝑥𝑛 ⊕ zwn ) . ⊕ can be arbitrary operations, where we take as concatenation. Finally, a Bi-LSTM is used to obtain hidden states of title and main body, respectively:

The final hidden representation of position 𝑖 is:
Similarly, we can obtain the contextualized word representations v𝑖 for each token t𝑖 of title.
4.2 Soft MatchingModule
The soft matching module is used to match the corresponding clue words for the unseen sentences and locate where the clue words appear. Previous work implements this operation by regular expressions matching, which has a poor generalization ability because all synonyms and variations in a regular expression must be explicitly specified. To improve the generalization ability, we pre-train a soft matching module to enable capturing semantically similar words. Given an input sentence 𝑋 = {𝑥1, 𝑥2, · · · , 𝑥𝑛} and a clue words query 𝑞 from clue words set. The soft matching module 𝑓𝑠 (𝑋, 𝑞) returns a sequence of similarity scores 𝑆 = {𝑠1, 𝑠2, · · · , 𝑠𝑛} between each token 𝑥𝑖 and the query 𝑞. Inspired by [Li et al., 2018; Wang et al., 2019], for token 𝑥𝑖, we first extract 𝑁𝑐 different levels contexts for each token by sliding windows of different sizes. For example, if the maximum window size is 2, the different levels contexts of token 𝑥𝑖 are [𝑐𝑖0, 𝑐𝑖1, 𝑐𝑖2] , where 𝑐𝑖0, 𝑐𝑖1, 𝑐𝑖2 are [𝑥𝑖] , [𝑥𝑖-1; 𝑥𝑖] and [𝑥𝑖; 𝑥𝑖+1], respectively. Each of the different contexts 𝑐𝑖 𝑗 is encoded to a fixedlength vector zc𝑖 𝑗 by a shared Bi-LSTM encoder. Also the clue words query 𝑞 is encoded to a fixed-length vector by the same shared encoder and then are summarized as 𝑧𝑞 by an attention layer. Finally, we calculate scores of each token in the sentence 𝑋 and query 𝑞 by aggregating similarity scores from different sliding windows:
where D is a trainable diagonal matrix, 𝑣 ∈ 𝑅 𝑁𝑐 is the trainable weight of each sliding window.
In order to learn the parameters of the soft matching model, we construct training data in the form of (𝑠𝑒𝑛𝑡𝑒𝑛𝑐𝑒, 𝑞𝑢𝑒𝑟𝑦, 𝑙𝑎𝑏𝑒𝑙). To build training data, we randomly select spans of consecutive words as queries in the training data. Each query is paired with the sentence it comes from. The training set is denoted as {𝑋𝑖, 𝑞𝑖, 𝑙𝑖} 𝑁 𝑖=1 ,where 𝑙𝑖 𝑗 takes the value of 0 or 1 (1 indicates query 𝑞𝑖 is extracted from 𝑥𝑖 𝑗 and 0 otherwise). The loss function is defined as the binary cross-entropy loss, as follows:
After training, given a sentence x, we can use it to match the sentence with clue words and return the positions of clue words in this sentence by comparing the similarity score with the threshold 𝜃.
4.3 Attention Layer
Topic-aware Attention. The topic-based encoder above only considers the local context of each word, while the key concepts should be relevant to the global information of the document [Liu et al., 2010] (i.e., the title of the document, the major topics of document). So it is necessary to pay more attention to the words related to the documents topics. Note that, the title can be seen as an explicit topic [Chen et al., 2019]. The topic-aware attention is engaged to aggregate the relevant information from the global information for each word within the context. As shown in Figure 2, we define a summary vector q𝑡 = v𝑡 as the query (i.e., the output state of the Bi-LSTM). Following the conventional attention method [Luong et al., 2015], we create a sequence of topicaware token representations, u𝑖:
where 𝑊1,𝑊2, 𝑣1 are trainable parameters for computing the attention scores of each token.
Position-aware Attention. Although modern sequence models such as LSTM networks have gating mechanisms to control the relative influence of each individual word to the next token representation, these mechanisms do not explicitly model the position and semantic relationship between clue words and concept words in the sentence. The module aims at enforcing local attention, and adapting the attention weights so as to put more emphasis on clue-words-surrounded context by incorporating word position embedding. Inspired by the position encoding vectors used in [Zeng et al., 2014], we define a position sequence relative to the clue words:

| Datasets | #titles | #tokens | #labeled | #clue words |
|---|---|---|---|---|
| CSEN | 690 | 1,242,156 | 4,096 | 36 |
| KP-20K | 20,000 | 4,040,212 | 50,768 | 95 |
| MTB | 284 | 691,534 | 1,092 | 24 |
where 𝑠1, 𝑠2 are the starting and ending indices of the clue words, respectively, and 𝑝𝑖 can be viewed as the relative distance of token 𝑥𝑖 to the clue words.
We first locate where the clue words appear by soft matching module and assign a position number to each token in the sentence according to formula (8). Then, we obtain position embedding vectors p 𝑠 = [ p 𝑠 1 , . . . , p 𝑠 𝑛 ] using a shared position embedding matrix P. As shown in Figure 3, in order to explicitly model the position and semantic relationship between clue words and concept words, we average the hidden vectors of all tokens inside the clue words as the attention query q. Then for each hidden state h𝑖, we calculate an attention weight 𝛼𝑖 , then we create a sequence of position-based token representations, m𝑖 :
where W3,W4,W5 and v2 are learnable parameters of the network.
4.4 Representation-enhanced Sequence Tagging
After encoding the context into the topic-aware representation u𝑖 and position-aware representation m𝑖, we aggregate them as h ′ by the following formula:
where 𝜆 ∈ (0, 1) is the corresponding hyperparameter.
Finally, we concatenate the original token representation h𝑖 with the enhanced one h ′ 𝑖 as the input ([h𝑖; h ′ 𝑖 ]) to the final CRF tagger. Our learning objective is the same as conventional sequence tagging, which is to correctly predict the tag for each token.
5 Experiments
In this section, we first describe the datasets and discuss how to collect clue words, then extensive experiments are conducted to verify the effectiveness of our proposed model.
| CSEN | KP-20K | MTB | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | Pr% | Re% | F1% | Pr% | Re% | F1% | Pr% | Re% | F1% |
| TextRank | 23.46 | 27.82 | 25.45 | 15.29 | 23.01 | 18.37 | 24.78 | 30.65 | 27.40 |
| TPR | 31.46 | 29.21 | 30.29 | 14.83 | 25.12 | 18.65 | 25.19 | 32.75 | 28.48 |
| Positionrank | 31.80 | 30.37 | 31.07 | 18.92 | 25.47 | 21.71 | 28.37 | 39.04 | 32.86 |
| CopyRNN | 28.12 | 41.08 | 33.39 | 27.71 | 36.79 | 31.61 | 37.46 | 39.12 | 38.27 |
| Joint-layer RNN | 61.31 | 46.23 | 52.71 | 57.83 | 31.85 | 41.08 | 60.37 | 55.71 | 59.86 |
| BERT-CRF | 58.73 | 52.17 | 55.26 | 54.19 | 33.93 | 41.73 | 63.80 | 56.98 | 60.20 |
| GACEN-topic | 68.21 | 57.94 | 62.66 | 57.67 | 34.90 | 43.48 | 65.83 | 62.63 | 64.19 |
| GACEN-position | 64.13 | 61.08 | 62.57 | 52.78 | 37.74 | 44.01 | 60.55 | 64.71 | 62.56 |
| GACEN*REs | 70.12 | 57.12 | 62.96 | 59.23 | 34.71 | 43.77 | 66.97 | 62.98 | 64.91 |
| GACEN | 69.70 | 60.21 | 64.60 | 58.10 | 37.65 | 45.69 | 66.43 | 64.72 | 65.56 |
5.1 Datasets Description
We use three datasets to evaluate our model. The details are described as follows:
CSEN [Pan and Wang, 2017]: this dataset contains 690 video captions in Massive Open Online Courses (MOOCs) for Computer Science courses.
KP-20K [Chen et al., 2018]: KP20K consists of 567,830 high-quality scientific publications from various computer science domains. We randomly select 20,000 articles from KP20K to form the KP-20K. We have collected concept phrases related to the computer field and automatically annotated the concept phrases in each article.
MTB [Huang et al., 2019]: this dataset consists of mathematics textbooks for elementary, middle, and high schools.
The statistics of datasets are listed in Table 2. #Titles denotes the number of video titles, article titles, and section titles in each dataset, and #Token is the number of words in each dataset. The column #labeled presents the ground-truth number after deduplication for each dataset. #clue words denotes the size of the final clue words set. Note that the CSEN does not provide an explicit title. We use the first sentence of each lesson as the title, which summarizes the content of this lesson. On all datasets, we use 70% as a training set, 10% as a validation set, and 20% as a testing set.
Preparing Clue Words. Our clue words are written by three experts with corresponding background knowledge. The development of the clue words set is considered completed when the annotator observes a fixed amount of training data. It takes the annotator in total less than 10 hours to develop all the clue words. We take the intersection of them as the final clue words set.
5.2 Baseline Approaches and EvaluationMetrics
To investigate the effectiveness of our model, we compare the performance of our algorithm with several baselines, including TextRank [Mihalcea and Tarau, 2004], Topical PageRank (TPR) [Liu et al., 2010] and Positionrank [Florescu and Caragea, 2017]. TextRank, TPR and Positionrank are three state-of-the-art graph-based keyphrase extraction approaches. We also employ three supervised baseline methods. The details are as follows:
- Joint-layer RNN [Zhang et al., 2016] is a neural tagging method, which combines keywords and context information to perform the keyphrase extraction task.
- CopyRNN [Chen et al., 2018] is an RNN-based generative model for predicting keyphrases in scientific text. It is the first application of the encoder-decoder model to the phrase prediction task.
- BERT-CRF [Yang et al., 2020] is a BERT-based model for concept extraction in clinical data. We set up all the parameters following the optimal setting.
For these unsupervised and generation-based methods we keep the top 𝑘 of the extracted phrases, 𝑘 is determined by the actual number of concepts in the document. Similar to previous methods, we use the precision (Pr), recall (Re), F1score (F1) to evaluate the performance.
5.3 Implementation Details
In our experiments, we run all experiments on one Tesla V100 GPU and 16 Intel CPUs. All words embeddings 𝑊𝑒 are initialized as 300-dimensional vectors by word2vec [Goldberg and Levy, 2014]. The hidden state dimensions of the Bi-LSTM encoder are set to 200. All weight matrices are randomly initialized by a uniform distribution U(-0.1, 0.1). In order to compute topic distributions of words and documents, we use LDA implementation in the topic modeling toolkit [Rehurek and Sojka, 2010] to train the topic model. The topic numbers are set to 50, 100, and 50 in the CSEN, KP-20K, and MTB respectively. The aggregation parameter 𝜆 in the attention layer is set to 0.5. The model is optimized by Adam with batch size 10 and dropout rate=0.1.
Soft Matching Module Hyperparameters. The threshold 𝜃 is set to 0.75 and the maximum window size is set to 3. We train the soft matching module until the loss does not decrease for about 20 epochs.
5.4 Results and Analysis
Overall Performance. Table 3 shows the performance of concept extraction on three datasets. From the table, we find that the proposed model outperforms all baselines on the datasets, which indicates the robustness and effectiveness of GACEN. The overall performance of unsupervised methods is worse than supervised methods. In unsupervised methods, they all mainly use statistical information within the corpus and have a strong reliance on term frequency, which hampers their performances. Specifically, TPR performs better than TextRank, perhaps because TPR also leverages the topic information. But they both perform worse than Positionrank which incorporates information from all positions of a word's occurrences into a biased PageRank. As for the supervised methods, we note that our GACEN model achieves the best performance on all datasets with significant margins. For instance, it achieves close to 10% of improvement on the F1score of the CSEN dataset compared with the second-best method BERT-CRF, which demonstrates the effectiveness of using topic, title, and clue words.

Ablation Study. We also perform an ablation study to better understanding the contributions of the main parts of our model. In Table 3, GACEN-topic, GACEN-position represent removing topic-aware attention module, position-aware attention module in GACEN, respectively. The GACEN*REs is a model, which replaces the soft matching module in GACEN with Regular Expression matching. As shown in Table 3, GACEN consistently achieves the best result on all three datasets in terms of F1-score. After we remove the topic-aware attention module, the recall decreases dramatically compared to precision on three datasets, indicating that the global topic information plays an important role in improving the recall. After we remove the position-aware attention module, the precision has dropped significantly, but the recall achieves the best result on CSEN and KP-20K. Conversely, when we replace soft matching with Regular Expression matching, GACEN*REs achieves the best result on all three datasets in terms of precision, whereas the recall decreases dramatically. They all show that clue words play a major role in improving the precision of the models and GACEN can better balance recall and precision.
Learning Efficiency. We study the learning efficiency of the model. We compare the performance of GACEN with BiLSTM-CRF for different percentages of the training data. As shown Figure 4(a), We can see that by using 20% of the training data, The GACEN model shows comparable performance as the base model using 70% training data. The drastic improvement in the model performance reflects the importance of title and clue words in concept extraction and justifies the slightly additional cost incurred in collecting clue words.

Generalization Ability. We further study the effect of the number of clue words on the results. Figure 4(b) shows the experimental results on different percentages of clue words. As the percentage of clue words increases, the performance of both GACEN and GACEN*REs continues to improve. As the number of clue words increases, synonymous clue words are added, the performance gap between the two models is decreasing. The result shows that the soft matching module can better generalize clue words to unseen sentences, especially when there are few clue words.
5.5 Case Study
Figure 5 shows two examples illustrating that the topic-aware attention and position-aware attention scores help GACEN recognize concepts. Figure 5(a) shows topic-aware attention scores, the concept "logistic regression", which is a title phrase that has high attention scores. For the positionaware attention module, in Figure 5(b), we find that the concept "hash function" gets high attention scores and the word "discussed" in this sentence is matched with "talk about" by soft matching. These results not only support our argument that the global information and clue words enhanced model such as GACEN can effectively learn, but also demonstrate that they can provide reasonable interpretation, something that lacks in other neural models such as Joint-layer RNN and CopyRNN.
6 Conclusion
In this paper, we proposed a novel model GACEN for the concept extraction task, which explicitly considered the structured information in the raw textual data. The experiment results on three real-world datasets exhibited the effectiveness of our model for concept extraction, especially when the labeled training data is limited.
Acknowledgements
This research was partially supported by grants from the National Key Research and Development Program of China (No. 2018YFC0832101), the National Natural Science Foundation of China (Grants No. 61922073 and 71802068), and the Fundamental Research Funds for the Central Universities (Grants No. WK2150110021).
@inproceedings{ijcai2021p200,
title = {Guided Attention Network for Concept Extraction},
author = {Fang, Songtao and Huang, Zhenya and He, Ming and Tong, Shiwei and Huang, Xiaoqing and Liu, Ye and Huang, Jie and Liu, Qi},
booktitle = {Proceedings of the Thirtieth International Joint Conference on
Artificial Intelligence, {IJCAI-21}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Zhi-Hua Zhou},
pages = {1449--1455},
year = {2021},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2021/200},
url = {https://doi.org/10.24963/ijcai.2021/200},
}
TY - CPAPER TI - Guided Attention Network for Concept Extraction AU - Fang, Songtao AU - Huang, Zhenya AU - He, Ming AU - Tong, Shiwei AU - Huang, Xiaoqing AU - Liu, Ye AU - Huang, Jie AU - Liu, Qi T2 - Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2021 SP - 1449 EP - 1455 DO - 10.24963/ijcai.2021/200 UR - https://doi.org/10.24963/ijcai.2021/200 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: