Wenpeng Lu,Fanqing Meng,Shoujin Wang,Guoqiang Zhang,Xu ZhangAntai Ouyang and Xiaodong Zhang
Abstract:Word sense disambiguation(WSD)is a fundamental but significant task in natural language processing,which directly affects the performance of upper applications.However,WSD is very challenging due to the problem of knowledge bottleneck,i.e.,it is hard to acquire abundant disambiguation knowledge,especially in Chinese.To solve this problem,this paper proposes a graph-based Chinese WSD method with multi-knowledge integration.Particularly,a graph model combining various Chinese and English knowledge resources by word sense mapping is designed.Firstly,the content words in a Chinese ambiguous sentence are extracted and mapped to English words with BabelNet.Then,English word similarity is computed based on English word embeddings and knowledge base.Chinese word similarity is evaluated with Chinese word embedding and HowNet,respectively.The weights of the three kinds of word similarity are optimized with simulated annealing algorithm so as to obtain their overall similarities,which are utilized to construct a disambiguation graph.The graph scoring algorithm evaluates the importance of each word sense node and judge the right senses of the ambiguous words.Extensive experimental results on SemEval dataset show that our proposed WSD method significantly outperforms the baselines.
Keywords:Word sense disambiguation,graph model,multi-knowledge integration,word similarity.
The ambiguous words are ubiquitous in human languages,which leads to a huge confusion for natural language processing(NLP).Word sense disambiguation is to determine the meaning of a word according to its context,which is a fundamental task in NLP that directly affect the upper applications,e.g.,machine translation,information retrieval,text categorization and automatic summarization[Raganato,Camacho-Collados and Navigli(2017);Lu,Wu,Jian et al.(2018);Xiang,Li,Hao et al.(2018)].
The existing WSD methods are divided into three categories:supervised,unsupervised and knowledge-based methods.Supervised method trains the classifiers with machine learning on sense-annotated corpus,which are utilized to judge the senses of new instances[Raganato,Bovi and Navigli(2017)].Though supervised method can achieve the best disambiguation performance,its effectiveness depends on the size and quality of the sense annotated corpus.Due to the limitation of annotated corpus,supervised method is hard to be applied on a large-scale WSD task.Unsupervised method distinguishes the categories of word senses according to their context with clustering technology,which can only different sense categories instead of senses and can not annotate each instance with its accurate sense[Panchenko,Ruppert,Faralli et al.(2017)].Knowledge-based method judges the sense of each instance according to its context and various knowledge bases.Though the performance of knowledge-based method is not better than that of supervised one,it can utilize all kinds of existing knowledge bases and can achieve a better coverage[Raganato,Camacho-Collados and Navigli(2017)].Knowledge-based method is the unique method which is available on large-scale WSD tasks and has achieved better performance in SemEval[Moro and Navigli(2015);Navigli and Ponzetto(2012);Raganato,Camacho-Collados and Navigli(2017);Chen,Liu and Sun(2014)].The existing knowledge bases contain abundant semantic relationships,which can form a huge semantic graph and are beneficial to WSD.Graph-based WSD is a representative one of knowledge-based methods,which is the most popular method and has attracted more and more attention in NLP field[Dongsuk,Kwon,Kim et al.(2018);Duque,Stevenson,Martinez-Romo et al.(2018);Meng,Lu,Zhang et al.(2018)].Graph-based WSD constructs the disambiguation graph according to semantic knowledge relationships,whose performance is affected greatly by the size and quality of knowledge resources.Knowledge acquisition bottleneck is the key factor that limits its development,which is more serious in Chinese due to the rareness of Chinese semantic knowledge resources[Lu(2018)].
The traditional graph-based Chinese WSD method usually utilizes one kind of Chinese knowledge resource,which is extremely troubled with the problem of knowledge bottleneck[Lu,Huang and Wu(2013);Yang and Huang(2012)].Compared with knowledge resources in Chinese,those in English are more mature and abundant.If we can integrate various Chinese and English knowledge resources together,which can complement each other,we can fully exploit all kinds of disambiguation knowledge.This shows the potential to significantly improve the performance of Chinese WSD.
Apparently,how to integrate the existing Chinese and English knowledge resources is actually highly challenging,as the senses of them are not mapped to each other.Besides,how to evaluate the overall similarities of sense pairs is difficult,as the relative importance of each knowledge resource is unknown for us.Inspired by the significant progress made on representation learning and optimization algorithm in various tasks such as sentence representation[Mikolov,Sutskever,Chen et al.(2013);Subramanian,
Trischler,Bengio et al.(2018)]and simulated annealing optimization[Mafarja and Mirjalili(2017);Mamano andHayes(2017)],this work integrates the existing English and Chinese knowledge resources and optimizes their weights to construct a knowledge graph so as to disambiguate the ambiguous words in Chinese.The main idea and contributions are as follows:
●We propose a novel knowledge integration method,which merge the English and Chinese knowledge resources together by sense definition alignment with the help of sentence representation.The method is flexible,which can integrate various knowledge conveniently.
●We propose a simulated annealing algorithm to optimize the weights of various knowledge.With the optimized weights,the semantic relationships between senses are evaluated to construct an overall knowledge graph.
●To the best of our knowledge,this is the first work on graph-based Chinese WSD with multiple-knowledge integration.This work maps and integrates a variety of English knowledge resources into Chinese,and optimizes their weights with simulated annealing algorithm to compute similarities of sense pairs.According to the senses and their similarities,an overall knowledge graph is constructed,where the graph scoring algorithm evaluates the importance of the sense nodes to judge the right sense.
Extensive experiments on SemEval WSD task are conducted to evaluate our proposed method.The result shows that our method substantially defeat the existing methods,with at least 2.4% improvement.
The rest of this paper is organized as follows:Section 2 discusses the related work and gives a brief summary in WSD.Section 3 details the proposed graph-based Chinese WSD with multi-knowledge integration,where each key module is described.Section 4 provides the empirical results by comparing our method with the baselines.Finally,we conclude this work and provide future work in Section 5.
Graph-based WSD methods are inspired by the lexical chain,which refers to a sequence of semantic related words in a given text,that are linked together by lexical semantic relations,e.g.,eat → apple → fruit → banana.Graph-based WSD is the most popular method in knowledge-based WSD,which constructs a knowledge graph with senses as nodes and semantic relations as edges.Based on the structure of knowledge graph,the right sense is selected[Dongsuk,Kwon,Kim et al.(2018)].
Galley et al.[McKeown and Galley(2003)]have proposed a WSD method based on lexical chain,introduced as follows.Firstly,when constructing the disambiguation graph,all possible sense is added to the graph as nodes,then the words in the ambiguous sentence are processed one by one.If there exists a semantic relationship between the current word and the processed ones,this relationship is added to the graph as an edge,which is assigned a weight according to the type of relationship and the distance.After the graph is constructed,the weights of sense nodes of ambiguous words are summed and the sense with the greatest weight is selected as the right sense.The method achieves 62.1% accuracy on SemCor noun dataset.
Mihalcea[Mihalcea(2004)]has proposed a WSD method based on PageRank algorithm,which takes all the senses of the words as the nodes and the semantic relationships between the words as the edges,to construct the disambiguation graph.Pagerank algorithm is applied on the graph to evaluate the importance of each sense node to judge the right sense.Agirre et al.propose personalized PageRank for WSD[Agirre and Soroa(2009)],which pays more attention on some words and improves the evaluation of sense importance.
Navigli et al.[Navigli and Velardi(2005)]propose a structural semantic interconnections(SSI)algorithm for WSD,which creates structural specifications of the possible senses for each word and constructs the grammar rules to describe the interconnection relations.The most suitable sense is selected according to the grammar.SSI achieves the best performance in Senseval-3 and SemEval-2007.
Yang et al.[Yang and Huang(2012)]propose a graph-based WSD method based on word distance,which strengthens the influence of near words and weakens that of far words when evaluating the importance of sense nodes in the graph.Lu et al.[Lu,Huang and Wu(2014)]propose a graph-based WSD method based on domain knowledge,which integrates domain knowledge into the disambiguation framework and improves multiple graph scoring algorithms.
Traditional graph-based method try to construct the subgraph of all words in a sentence,which may induce some noise information[Navigli and Lapata(2010)].To avoid the problem,Dongsuk et al.[Dongsuk,Kwon,Kim et al.(2018)]propose a WSD method based on subgraph reconstruction,where context words of an ambiguous word for constructing the subgraph are selected with a word similarity threshold.The word similarity is computed based on an embedding generated by Doc2Vec[Le and Mikolov(2014)],which encodes information of the semantic relational path of words in BabelNet[Navigli and Ponzetto(2012)].
The above existing graph-based WSD methods construct the disambiguation graph according to some lexical knowledge resources,e.g.,WordNet,BabelNet and HowNet[Miller(1995);Navigli and Ponzetto(2012);Zhendong and Qiang(2006)].Most of them only utilize one kind of knowledge resource.As the limitation of size and quality of the resource,the graph-based methods are confused with knowledge bottleneck.Apparently,the knowledge resources are different and complementary.It is necessary to integrate as many as existing resources to strengthen the ability of WSD systems.Comparing with English,the available Chinese semantic resources are more rare,which makes the problem more critical.How to integrate the existing various semantic resources to improve the performance of Chinese WSD is an important issue that is waiting to be solved.
In this section,we describe the framework of graph-based WSD method and its key modules in detail.With the framework,for sense pairs of Chinese words,the English knowledge resources are utilized to compute their similarities together with the Chinese resources.The weights of the similarities are optimized with simulated annealing algorithm.The disambiguation graph is constructed with senses as nodes,semantic relations as edges and similarities as their weights,where graph algorithm is utilized to score each sense node and select the right sense.The framework and its key modules are introduced as follows.
Figure 1:Model architecture of sentence matching
The framework of our proposed graph-based WSD with multi-knowledge integration is shown in Fig.(1).The content words in a Chinese sentence are extracted and mapped into English words with BabelNet.By the mapping,the resources in English would be available for Chinese words.Then,according to English and Chinese knowledge resources,three kinds of word similarity are computed,whose weights are optimized with simulated annealing algorithm so as to obtain overall similarities to construct the disambiguation graph.The importance score of each sense node in the graph is evaluated to select the right senses of ambiguous words.The detailed framework is described as follows:
(1)Extract the content words after preprocessing the Chinese ambiguous sentence.
(2)Map Chinese word senses into English ones[Meng,Lu and Xue(2017)].
(3)Compute word similarity based on English word embeddings and knowledge bases,e.g.,Wikipedia,BabelNet,Gigaword[Parker,Graff,Kong et al.(2011)].
(4)Compute word similarity based on Chinese word embeddings trained on Sogou corpus3.
(5)Compute word similarity based on HowNet[Zhendong and Qiang(2006)].
(6)Optimize the relative weights of the above three kinds of word similarity with simulated annealing algorithm so as to obtain an overall similarities.
(7)Take word senses as nodes,semantic relations as edges,overall similarities as weights of edges,to construct the disambiguation knowledge graph.
(8)Evaluate the importance of each sense node in the graph with graph scoring algorithm to select the right sense.
As shown in Fig.1.sense mapping module,three modules of word similarity,weight optimization module,graph construction and scoring module are the key components of our proposed methods,which are explained in the following subsections.
As the rareness of Chinese semantic knowledge resources,mapping Chinese word sense to English ones and utilizing English resources to compensate the deficiency of Chinese resources is a practicable solution.In order to map the senses in Chinese and English semantic resources,we have proposed a method to map the senses between Chinese and English with BabelNet and English-Chinese dictionary[Meng,Lu and Xue(2017);Navigli and Ponzetto(2012);Ke(2011)].
For each English sense,BabelNet has provides a detailed definition with several short examples.Beside,the English-Chinese dictionary,i.e.,Collins COBUILD Advanced Learner's English-Chinese Dictionary,has provided the detailed bilingual definitions with bilingual examples.That is,both BabelNet and Collins dictionary have provided English description for each sense,and the latter also provides the corresponding Chinese sense annotation.If an English sense is corresponding with a Chinese sense,the meaning of their English definitions or examples should be similar.This is an important and key clues to find and verify the mapping relations among Chinese and English senses.
With this in mind,we generate embedding representations for the English definitions and examples.According to their cosine similarities,we find the corresponding relationships among BabelNet and Collins definitions in English.Then,as Collins English-Chinese dictionary provides English and Chinese definition simultaneously,we can further obtain the mapping relations between English and Chinese.The detailed implementation is introduced as follows.
Firstly,for each Chinese sense,its possible candidate English senses are prepared according to HowNet or Chinese-English dictionary.Secondly,for the candidate English senses,we get their definitions and examples according to BabelNet,and collect the bilingual definitions and example according to an English-Chinese bilingual dictionary.Thirdly,inspired by related work with Word2vec[Mikolov,Sutskever,Chen et al.(2013);Le and Mikolov(2014)],we generate embedding representation for each sentence in definitions and examples.Finally,the cosine similarities among embedding representations are computed to find the corresponding English sense for each Chinese sense.Once the senses are mapped between Chinese and English knowledge resources,we can utilize English semantic resources to assist Chinese WSD tasks,which will provide great convenience for Chinese WSD.Our another paper has described the above procedures carefully,whose F1-measure reaches 75.75%[Meng,Lu and Xue(2017)].
After the mapping processing in last subsection,the Chinese and English senses are mapped each other.Then,the English knowledge resources can be utilized to disambiguate the words in Chinese.When the disambiguation graph is constructed,each semantic relation between sense nodes need to be assigned a reasonable weight,which should consider as more as information.In this subsection,the information from English knowledge resources is considered.
We have realized a method for word similarity computation based on English word embeddings and knowledge base,as described in Meng et al.[Meng,Lu,Zhang et al.(2017)].The method has participated in SemEval-2017 Task 24,i.e.,multilingual and cross-lingual semantic word similarity[Camacho-Collados,Pilehvar,Collier et al.(2017)].In the competition,our method has reached 0.778 on official evaluation measure,which wins the second place on English monolingual word similarity subtask[Meng,Lu,Zhang et al.(2017)].
In SemEval 2017 Task 25http://alt.qcri.org/semeval2017/task2/,i.e.,multilingual and cross-lingual semantic word similarity,we have proposed a word similarity based on English word embeddings and knowledge base[Meng,Lu,Zhang et al.(2017)],whose performance reaches 0.781,which wins the second place on English monolingual word similarity subtask.Since the competition system has achieved the excellent performance,we integrate it into our proposed WSD framework,and utilize it to compute the word similarity based on English knowledge resources,which are introduced as follows.
The method is a combination method consisting of two basic modules,which are the similarity based on word embedding and the similarity based on knowledge base,i.e.,BabelNet.For the former,Word2Vec toolkit6https://code.google.com/p/word2vec/is used to train word embedding on English wikipedia corpus[Mikolov,Sutskever,Chen et al.(2013)].With the embeddings of each word pair,their cosine similarity is computed.For the latter,BabelNet7https://babelnet.org/contains a large number of concepts and semantic relations,such as synonymy,hypernymy and meronymy.With BableNet API,we can obtain all of the semantic relations among two words.According to the shortest path,the similarity of word pair is computed.The similarity based on word embedding and the similarity based on knowledge base are linearly weighted accumulated as the overall similarity based on English knowledge resources.Our another paper has introduced the implementation in detail[Meng,Lu,Zhang et al.(2017)].The method is flexible,which can combine more knowledge resources.
In the last subsection,with the support of word sense mapping,word similarity based on English word embedding is integrated into our WSD framework.Since we aim at the disambiguation problem in Chinese,word similarity based on Chinese word embeddings is crucial and necessary.
As Word2Vec has demonstrated a powerful ability in various tasks[Mikolov,Sutskever,Chen et al.(2013)],we continue to utilize it to generate Chinese word embeddings,which is trained on Sogou news corpus8http://www.sogou.com/labs/resource/ca.php.With the Chinese word embeddings,we compute their cosine similarity as the word similarity based on Chinese word embeddings.
For word similarity of Chinese words,besides word embedding method in last subsection,HowNet9http://www.keenage.com/also provides the API interface to compute word similarity[Zhendong and Qiang(2006)].
HowNet is a common semantic knowledge base,which describes the concepts in Chinese and English and the relationships among concepts and their attributions.There are about 800 lexemes in HowNet,which is the basic and smallest unit of meaning that can not be divided further.All concepts in HowNet are described with the basic lexemes.
HowNet is widely applied in Chinese NLP field,which provides a convenient API interface,i.e.,Hownet_GET_Concept_Similarity,to compute the semantic similarity between two concepts[Yang and Huang(2012)].The similarity has considered multiple relationships from HowNet,including four kinds of primitive lexeme similarities[Qun and Sujian(2002)],which are computed according to their path distance on HowNet hierarchical structure.
The above three similarity methods compute word similarities with different semantic knowledge resources,which are complementary each other.In order to fully utilize their respective advantages,we propose a weight optimization algorithm with simulated annealing algorithm to automatically decide the weight parameters of the three similarities,which are used to linearly combine them so as to obtain a more reasonable overall similarity.The procedure to optimize the weight parameters is shown in Algorithm 1.The core of simulated annealing algorithm for weight optimization is described as:
whereresult(x)is the target function,i.e.,the disambiguation accuracy,δis cooling rate,tis the temperature.If the result of new parametersxnewis better than that ofxold,the new parameters would be selected with a probability value of 1.Otherwise,the new parameters would be selected with a probability value of.
In Algorithm 1,the parametersx,y,zis the weights of three kinds of word similarity,which need to be optimized.Line 1 is initialization operation,which sets the initial temperaturetas 100,the minimal cooling temperaturetminas 0.001,the cooling rateδas 0.98,the maximum iterationskas 100 in the experiments.Line 4-5 select a random double value tox,which affects the value ofz.In the Line 6,getEvalResultis the target function,which returns the disambiguation accuracy,given the parametersx,y,z.Line 7 generates an updated value toxnewfrom the neighbourhood ofx.Line 8-18 decide whether the parameterxis update with the newxnew,as described in Eq.(1).Line 19 changes the value oftwith the cooling rateδ.We obtain the three optimized weight parameters by running Algorithm 1 twice.In the first run,we set the value ofyas 1/3,and get the optimized weightsx,z.Then,we keep the minor one of them as the final weight parameter,and run the algorithm again to get the other two weights.The parameters satisfy thatx+y+z=1,x ≥ 0,y ≥ 0,z ≥ 0.
After the weight parameters are optimized,the final overall word similarity is decides as:
wherewsandws'are two senses,simenis the word similarity based on English word embeddings and knowledge base,simvecis the word similarity based on Chinese word embeddings,simhowis the word similarity based on HowNet,their optimized weight parameters arex,y,z,respectively.
In order to construct the disambiguation graph,we take word senses as nodes,semantic relationships as edges,the overall word similarities as the weights of edges.
As we utilizes Chinese and English knowledge resources,the senses are represented with a triple,i.e.,Word(ID,Sword,Enword).IDis the ID of a sense or concept.Swordis the first primitive lexeme of concept definition in HowNet.Enwordis its corresponding description in English,i.e.,the mapping from Chinese to English.With the representation form of triples,we can easily integrate the three kinds of word similarity.For example,“中醫(yī)” has two senses,which can be represented as “中醫(yī)(157329,人,practitioner of Chinese medicine)” and “中醫(yī)(157332,知識,traditional Chinese science)”,whose word similarity with other senses can be computed with Eq.(2).
PageRank algorithm is selected to evaluate and score the importance of each sense node in the disambiguation graph.If a sense node connects with more nodes with higher importance,its importance is more higher,which means that the sense is more related with the context words.With the algorithm iterations,the importance of each node is gradually differentiated.The sense node with maximum importance would be selected as the right sense of ambiguous word.The importance of each node is updated with the following equation:
wherevrefers to a sense node,αindicates the probability to continue the current Markov chain,1-αindicates the probability of randomly selecting another node instead of continuing current Markov chain,N is the total numbers of sense nodes,|out(u)|refers to the out-degree of nodeu,in(v)indicates the set of all nodes that link with the nodev.
The benchmark dataset is SemEval task#5,i.e.,multilingual Chinese English lexical sample task[Jin,Wu and Yu(2007)],which consists of 19 nouns and 21 verbs.Both training and test corpus are provides.The detail information of this dataset is shown in Tab.1.Our proposed WSD method is unsupervised,which only utilizes test instances instead of training ones.
Table 1:Summary of SemEval dataset
Macro-averagepmaris selected to evaluate the performance of WSD methods,which is defined as:
whereNis the number of all word-types,miis the number of disambiguated correctly to one specific word-type,niis the number of all test instances of this word-type.
Our proposed graph-based WSD with multi-knowledge integration is compared with four different types of representative unsupervised WSD methods,i.e.,TorMd,HowGraph,EnGraph,SogouGraph[Jin,Wu and Yu(2007);Meng(2018)].
· TorMd:An unsupervised WSD method proposed by the University of Toronto,which wins the first place in this SemEval competition.
· HowGraph:This is an abridgment version of our proposed method,which only utilizes the word similarity based on HowNet.
· EnGraph:This also is an abridgment version of our proposed method,which only utilizes the word similarity based on English word embeddings and knowledge base.
· SogouGraph:This is another abridgment version of our proposed method,which only utilizes the word similarity based on Chinese word embeddings trained on Sogou corpus.
· MultiGraph:This is the full version of our proposed method,which integrates three kinds of word similarity.In the experiments,for word similarity based on HowNet,English word embeddings and knowledge base,Chinese word embeddings,the optimized weight parameters are 0.028,0.336 and 0.636,respectively.
4.3.1 Comparison of overall performances
The performance comparison of all methods is shown in Tab.2.All the graph-based methods,including our proposed method and its three abridgment versions,outperforms TorMd method,which demonstrates that graph-based methods are potential to achieve a significant improvement.
MultiGraph shows 6.1%,2.4%,4.1% and 3.6% improvement over the TorMd,HowGraph,EnGraph,SogouGraph.The results demonstrate that utilizing single knowledge resource will hurt the performance and show that our proposed WSD framework integrating multiple resources is powerful.In order to achieve a satisfied performance,it is necessary to integrate as many as knowledge resources in graph-based WSD.
Table 2:Comparison of overall performances.Imp refers to the improvement made by MultiGraph over the corresponding method
The performance comparison on nouns is shown in Tab.3.MultiGraph achieves the best performance,which demonstrates 4.5%,4.4%,3.5%,4.3% improvement over TorMd,HowGraph,EnGraph and SogouGraph.As shown in Tab.3,HowGraph,EnGraph and SogouGraph have different advantages on different words,while MultiGraph integrates their advantages so as to improve the noun performance greatly.
Table 3:Comparison of noun performances.For each word,its best performance is boldfaced
The performance comparison on verbs is shown in Tab.4.MultiGraph still achieves the best performance,which demonstrates 9.4%,0.5%,4.6%,3.0% improvement over TorMd,HowGraph,EnGraph and SogouGraph.The significant improvements demonstrate that the effectiveness of our proposed graph-based WSD method with multiknowledge integration,i.e.,MultiGraph.
Table 4:Comparison of verb performances
This work proposes a novel graph-based Chinese WSD method with multi-knowledge integration.Different from the existing knowledge-based methods,our methods utilize Chinese and English semantic knowledge simultaneously to disambiguation words.Three different kinds of word similarity from various knowledge resources are optimized with simulated annealing algorithm,and integrated to compute an overall similarity.With sense as nodes,semantic relations as edges and the overall similarities as weights of edges,the disambiguation graph is constructed,which is evaluated with graph scoring algorithm to select the right senses.Extensive experiments on SemEval dataset shows that the proposed method significantly outperforms four baselines.In this work,we only use three kind of knowledge resources,which only makes a trial to integrate multilanguage knowledge resources.Our future work is to find more semantic resources and design more sophisticated integration methods for graph-based WSD.
Acknowledgement:The research work is supported by National Key R&D Program of China under Grant No.2018YFC0831704,National Nature Science Foundation of China under Grant No.61502259 and Natural Science Foundation of Shandong Province under Grant No.ZR2017MF056,and Taishan Scholar Program of Shandong Province in China(Directed by Prof.Yinglong Wang).
Computers Materials&Continua2019年10期