• 沒有找到結果。

That Makes Sense: Joint Sense Retrofitting from Contextual and Ontological Information

N/A
N/A
Protected

Academic year: 2022

Share "That Makes Sense: Joint Sense Retrofitting from Contextual and Ontological Information "

Copied!
2
0
0

加載中.... (立即查看全文)

全文

(1)

That Makes Sense: Joint Sense Retrofitting from Contextual and Ontological Information

Ting-Yu Yen

1

, Yang-Yin Lee

1

, Hen-Hsen Huang

1

, Hsin-Hsi Chen

1,2

1

Department of Computer Science and Information Engineering, National Taiwan University Taipei, 10617 Taiwan

2

MOST Joint Research Center for AI Technology and All Vista Healthcare, Taiwan {tyyen, yylee, hhhuang}@nlg.csie.ntu.edu.tw, [email protected]

ABSTRACT

While recent word embedding models demonstrate their abilities to capture syntactic and semantic information, the demand for sense level embedding is getting higher. In this study, we propose a novel joint sense embedding learning model that retrofits word representation into sense representation from contextual and ontological information. The experiment shows the effectiveness and robustness of our model that outperforms previous approaches in four public available benchmark datasets.

CCS CONCEPTS

•Computing methodologies → Artificial intelligence → Natural language processing → Lexical semantics

KEYWORDS

Semantic relatedness; sense embedding; joint sense retrofitting

1 INTRODUCTION

Recently, there has been an intensive research activity in studying word embedding [1]. However, most of the word embedding models use one vector to represent a word, and are problematic in some natural language processing applications that require sense level representation (e.g., word sense disambiguation). As a result, some researches try to resolve the polysemy and homonymy issue and introduce sense level embedding [2–4]. In this research, we propose a novel joint sense embedding learning algorithm that retrofits a trained word embedding using contextual and ontological information.

ACM Reference format:

T.Y. Yen, Y.Y. Lee, H.H. Huang, and H.H. Chen. 2018. That Makes Sense:

Joint Sense Retrofitting from Contextual and Ontological Information. In The 2018 Web Conference Companion (WWW 2018), April 23-27, 2018, Lyon, France, ACM, New York, NY, 2 pages. DOI:

https://doi.org/10.1145/3184558.3186906

These authors contributed equally to this work.

This paper is published under the Creative Commons Attribution-NonCommercial- NoDerivs 4.0 International (CC BY 4.0) license. Authors reserve their rights to disseminate the work on their personal and corporate Web sites with the appropriate attribution.

WWW ’18 Companion April 23-27, 2018, Lyon, France.

© 2018 IW3C2 (International World Wide Web Conference Committee), published under Creative Commons CC BY 4.0 License.

ACM ISBN 978-1-4503-5640-4/18/04.

DOI: https://doi.org/10.1145/3184558.3186906

Our proposed joint sense retrofitting is a post-processing method for generating low-dimensional sense embedding inspired from sense retro [3]. Although some studies adopt ontological information into sense embedding model [2, 3], it is the first time of employing the ontological and contextual information simultaneously. Given a trained word embedding and a lexical ontology that contains sense level relationships (e.g., synonym, hypernym, etc.), our model generates new sense vectors via constraining the distance between the sense vector and its word form vector, its sense neighbors and its contextual neighbors. In the experiment, we show that our proposed joint sense retrofitting model outperforms previous approaches in four benchmark datasets, and demonstrates robustness from two ontologies, WordNet1 and Roget’s Thesaurus2.

2 JOINT SENSE RETROFITTING

Let = , … , be a vocabulary of a trained word embedding and | | be its size. The matrix will be the pre-trained collection of vector representations ∈ ℝ , where is the dimensionality of a word vector. Each ∈ is learned using a standard word embedding technique (e.g., GloVe [1]). Let Ω = ( , ) be an ontology that contains the semantic relationship, where =

, … , is a set of senses and | | is total number of senses. The edge ( , ) ∈ indicates a semantic relationship of interest (e.g., synonym) between and . The edge set can be further split into two disjoint subsets and . ( , ) ∈ if and only if there is more than one sense of the word form of , while ( , ) ∈ if and only if has only one sense. In our model, we use the word form vector to represent the neighbors of the s in . Those neighbors are viewed as contextual neighbors as they learned from the context of a corpus. We use to denote the word form vector of (one should notice that and may map to the same vector representation even if ≠ ). Then the objective of our joint sense retrofitting model is to learn a new matrix S = ( , … , ) such that each new sense vector is close to (1) its word form vertex, (2) its sense neighbors, and (3) its contextual neighbors. The objective to be minimized is:

+

( , )∈

+ ‖ − ‖

( , )∈

(1) where , and control the relative strength of the sense relations. We therefore apply an iterative updating method to the

1 https://wordnet.princeton.edu

2 http://www.thesaurus.com

Track: Poster WWW 2018, April 23-27, 2018, Lyon, France

15

(2)

solution of the above convex objective function [5]. Initially, the sense vectors are set to their corresponding word form vectors (i.e.,

← ∀ ). Then in the following iterations, the updating formula for would be:

=∑ :( , )∈ + ∑:( , )∈ +

:( , )∈ + ∑:( , )∈ + (2)

Experimentally, 10 iterations are sufficient to minimize the objective function from a set of starting vectors to produce effective sense retrofitted vectors.

3 DATASETS AND EXPERIMENTAL SETUP

We downloaded four benchmark datasets from the web: MEN [6], MTurk [7], Rare Words (RW) [8] and WordSim353 (WS353) [9].

For measuring the semantic similarity between a word pair in the datasets, we adopt the sense evaluation metrics AvgSim and MaxSim [4]. We select GloVe as our pre-trained word embedding model, which is trained on Wikipedia and Gigaword-5 (6B tokens, 400k vocab, uncased, 50d vectors). In testing phase, if a test dataset has missing words, we use the average of all sense vectors to represent the missing word. Note that our reported results of vanilla sense embedding may be slightly different from other researches due to the treatment of missing words. However, within this research the reported performance can be compared due to the same missing word processing method. We adopt two ontologies in our experiment: WordNet (WN) and Roget’s 21st Century Thesaurus (Roget). In WN, the relation specific weights s and s are set to 1.0 for synonyms and 0.5 for hypernyms or hyponyms. Unlike WN, Roget does not have the synset type. As a result, we manually built a synonym ontology from the resource.

In Roget, there are three levels of synonym relationship, and we set s and s to 1.0, 0.6 and 0.3 for the nearest to the farthest synonyms, respectively. For each sense, is set to the sum of all the relation specific weights s and s. Table 1 shows a summary of the benchmark datasets and their relationship with the ontologies. In Table 1, row 3 and row 4 are the number of words that are both listed in the datasets and the ontologies. The word counts in WN and Roget are 83,118 and 47,229, respectively.

Table 1: Summarization of the benchmark datasets

MEN MTurk RW WS353

Pair count 3,000 287 2,034 353

Word count 751 499 2,951 437

WN 751 444 2,502 415

Roget 705 382 2,152 411

4 RESULTS AND DISCUSSION

Table 2 shows the spearman correlation (ρ × 100) of AvgSim and MaxSim between human scores and sense embedding’s scores on the benchmark datasets. We compare our proposed model (joint) with vanilla GloVe embedding and the sense retro model (retro) [3]. For vanilla GloVe, we directly compute the cosine similarity of a word pair’s vectors, which can be seen as a special case of AvgSim/MaxSim. From Table 2, we find that our proposed joint model outperforms retro and GloVe in all the datasets.

Interestingly, although WN is bigger and covers more words than Roget, in our model the average performance with Roget is better

than WN. Surprisingly, the RW’s performance declined with the WN ontology. The possible reason might be WN pays more attention to common sense words than rarely occurred words.

From the viewpoint of ontology, the retro model’s performance declines in all the datasets with the smaller Roget, showing the dependency on the ontology size. In contrast, the joint model performs well in both the smaller Roget and larger WN ontologies, showing the robustness of our proposed model.

Table 2: × of (MaxSim / AvgSim) on test datasets

MEN MTurk RW WS353

GloVe 65.7 61.9 30.3 50.3

retro-WN [3] 62.4 / 67.7 57.4 / 60.1 15.1 / 26.9 43.9 / 51.1 retro-Roget [3] 48.7 / 52.1 47.3 / 49.3 24.4 / 26.1 27.8 / 29.4 joint-WN 64.0 / 68.9 57.3 / 62.1 20.1 / 28.5 47.2 / 49.6 joint-Roget 66.5 / 67.5 62.0 / 62.6 32.3 / 32.5 50.9 / 52.8

5 CONCLUSIONS

In summary, we propose a novel joint sense retrofitting model that utilizes the contextual and ontological information. The sense embedding is learned iteratively via constraining the distance between the sense vector and its word form vector, its sense neighbors and its contextual neighbors. Experimentally, our proposed model outperforms previous models in four benchmark datasets. We provide the source code for the model at https://github.com/y95847frank/Joint-Retrofitting.

ACKNOWLEDGMENTS

This research was partially supported by Ministry of Science and Technology, Taiwan, under grants MOST-105-2221-E-002-154- MY3, MOST-106-2923-E-002-012-MY3 and MOST-107-2634-F-002- 011.

REFERENCES

[1] J. Pennington, R. Socher and C.D. Manning 2014. Glove: Global vectors for word representation. Proceedings of the Empiricial Methods in Natural Language Processing (EMNLP 2014). 12, (2014), 1532–1543.

[2] I. Iacobacci, M.T. Pilehvar and R. Navigli 2015. SensEmbed: learning sense embeddings for word and relational similarity. Proceedings of ACL (2015), 95–105.

[3] S.K. Jauhar, C. Dyer and E. Hovy 2015. Ontologically grounded multi-sense representation learning for semantic vector space models. Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (2015), 683–693.

[4] J. Reisinger and R.J. Mooney 2010. Multi-prototype vector-space models of word meaning. Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics (2010), 109–117.

[5] Y. Bengio, O. Delalleau and N. Le Roux 2006. Label Propagation and Quadratic Criterion. Semi-Supervised Learning. O. Chapelle, B. Schölkopf, and A. Zien, eds. MIT Press. 193–216.

[6] E. Bruni, N.-K. Tran and M. Baroni 2014. Multimodal Distributional Semantics.

J. Artif. Intell. Res.(JAIR). 49, (2014), 1–47.

[7] K. Radinsky, E. Agichtein, E. Gabrilovich and S. Markovitch 2011. A word at a time: computing word relatedness using temporal semantic analysis.

Proceedings of the 20th international conference on World wide web (2011), 337–346.

[8] T. Luong, R. Socher and C.D. Manning 2013. Better Word Representations with Recursive Neural Networks for Morphology. CoNLL (2013), 104–113.

[9] L. Finkelstein, E. Gabrilovich, Y. Matias, E. Rivlin, Z. Solan, G. Wolfman and E.

Ruppin 2001. Placing search in context: The concept revisited. Proceedings of the 10th international conference on World Wide Web (2001), 406–414.

Track: Poster WWW 2018, April 23-27, 2018, Lyon, France

16

參考文獻

相關文件

”GenSense: A Generalized Sense Retrofitting Model.” in Proceedings of the 27th International Conference on Computational Linguistics (COLING 2018), Aug. ”That Makes Sense: Joint

It would be game-changing to form a class atmosphere that encourage diversity and discussion, formed of groups with different microculture that optimized the sense of belonging

HMW let the students group themselves into groups with different microculture that optimized the sense of belonging to both class and group and suited each student.. HMW

Isakov [Isa15] showed that the stability of this inverse problem increases as the frequency increases in the sense that the stability estimate changes from a logarithmic type to

“Social welfare” if defined in a narrow sense refers to the services provided by the Social Welfare Department (SWD) and Non-governmental Organisations (NGOs),

Enrich the poem with a line that appeals to this missing sense.. __________________imagery that appeals to the sense of____________has not been used in the description

Thus, our solution satisfying the initial conditions for acceler- ating cosmologies are not generic in the sense that there is not maximum number of arbitrary functions... Theorem

Learning mathematics builds up our virtues, sharpens our