Arxiv:2011.05864V1 [Cs.CL] 2 Nov 2020

Total Page:16

File Type:pdf, Size:1020Kb

Arxiv:2011.05864V1 [Cs.CL] 2 Nov 2020 On the Sentence Embeddings from Pre-trained Language Models Bohan Liy;z∗, Hao Zhouy, Junxian Hez, Mingxuan Wangy, Yiming Yangz, Lei Liy yByteDance AI Lab zLanguage Technologies Institute, Carnegie Mellon University {zhouhao.nlp,wangmingxuan.89,lileilab}@bytedance.com {bohanl1,junxianh,yiming}@cs.cmu.edu Abstract 2019) – for example, they even underperform the GloVe (Pennington et al., 2014) embeddings which Pre-trained contextual representations like are not contextualized and trained with a much sim- BERT have achieved great success in natu- pler model. Such issues hinder applying BERT ral language processing. However, the sen- tence embeddings from the pre-trained lan- sentence embeddings directly to many real-world guage models without fine-tuning have been scenarios where collecting labeled data is highly- found to poorly capture semantic meaning of costing or even intractable. sentences. In this paper, we argue that the se- In this paper, we aim to answer two major ques- mantic information in the BERT embeddings tions: (1) why do the BERT-induced sentence em- is not fully exploited. We first reveal the the- beddings perform poorly to retrieve semantically oretical connection between the masked lan- similar sentences? Do they carry too little semantic guage model pre-training objective and the se- mantic similarity task theoretically, and then information, or just because the semantic meanings analyze the BERT sentence embeddings em- in these embeddings are not exploited properly? (2) pirically. We find that BERT always induces If the BERT embeddings capture enough semantic a non-smooth anisotropic semantic space of information that is hard to be directly utilized, how sentences, which harms its performance of can we make it easier without external supervision? semantic similarity. To address this issue, Towards this end, we first study the connection we propose to transform the anisotropic sen- between the BERT pretraining objective and the se- tence embedding distribution to a smooth and isotropic Gaussian distribution through nor- mantic similarity task. Our analysis reveals that the malizing flows that are learned with an un- sentence embeddings of BERT should be able to supervised objective. Experimental results intuitively reflect the semantic similarity between show that our proposed BERT-flow method ob- sentences, which contradicts with experimental ob- tains significant performance gains over the servations. Inspired by Gao et al.(2019) who find state-of-the-art sentence embeddings on a va- that the language modeling performance can be riety of semantic textual similarity tasks. The limited by the learned anisotropic word embedding code is available at https://github.com/ bohanli/BERT-flow. space where the word embeddings occupy a narrow cone, and Ethayarajh(2019) who find that BERT word embeddings also suffer from anisotropy, we arXiv:2011.05864v1 [cs.CL] 2 Nov 2020 1 Introduction hypothesize that the sentence embeddings from Recently, pre-trained language models and its vari- BERT – as average of context embeddings from last ants (Radford et al., 2019; Devlin et al., 2019; Yang layers1 – may suffer from similar issues. Through et al., 2019; Liu et al., 2019) like BERT (Devlin empirical probing over the embeddings, we further et al., 2019) have been widely used as represen- observe that the BERT sentence embedding space tations of natural language. Despite their great is semantically non-smoothing and poorly defined success on many NLP tasks through fine-tuning, in some areas, which makes it hard to be used di- the sentence embeddings from BERT without fine- rectly through simple similarity metrics such as dot tuning are significantly inferior in terms of se- mantic textual similarity (Reimers and Gurevych, 1In this paper, we compute average of context embeddings from last one or two layers as our sentence embeddings since ∗ The work was done when BL was an intern at they are consistently better than the [CLS] vector as shown ByteDance. in (Reimers and Gurevych, 2019). product or cosine similarity. Reimers and Gurevych(2019) demonstrate that To address these issues, we propose to transform such BERT sentence embeddings lag behind the the BERT sentence embedding distribution into a state-of-the-art sentence embeddings in terms of smooth and isotropic Gaussian distribution through semantic similarity. On the STS-B dataset, BERT normalizing flows (Dinh et al., 2015), which is sentence embeddings are even less competitive to an invertible function parameterized by neural net- averaged GloVe (Pennington et al., 2014) embed- works. Concretely, we learn a flow-based genera- dings, which is a simple and non-contextualized tive model to maximize the likelihood of generating baseline proposed several years ago. Nevertheless, BERT sentence embeddings from a standard Gaus- this incompetence has not been well understood sian latent variable in a unsupervised fashion. Dur- yet in existing literature. ing training, only the flow network is optimized Note that as demonstrated by Reimers and while the BERT parameters remain unchanged. Gurevych(2019), averaging context embeddings The learned flow, an invertible mapping function consistently outperforms the [CLS] embedding. between the BERT sentence embedding and Gaus- Therefore, unless mentioned otherwise, we use av- sian latent variable, is then used to transform the erage of context embeddings as BERT sentence BERT sentence embedding to the Gaussian space. embeddings and do not distinguish them in the rest We name the proposed method as BERT-flow. of the paper. We perform extensive experiments on 7 stan- 2.1 The Connection between Semantic dard semantic textual similarity benchmarks with- Similarity and BERT Pre-training out using any downstream supervision. Our empir- We consider a sequence of tokens x = ical results demonstrate that the flow transforma- 1:T (x ; : : : ; x ). Language modeling (LM) factor- tion is able to consistently improve BERT by up 1 T izes the joint probability p(x ) in an autoregres- to 12.70 points with an average of 8.16 points in 1:T sive way, namely log p(x ) = PT log p(x jc ) terms of Spearman correlation between cosine em- 1:T t=1 t t where the context c = x . To capture bidirec- bedding similarity and human annotated similarity. t 1:t−1 tional context during pretraining, BERT proposes When combined with external supervision from a masked language modeling (MLM) objective, natural language inference tasks (Bowman et al., which instead factorizes the probability of noisy 2015; Williams et al., 2018), our method outper- reconstruction p(¯xjx^) = PT m p(x jc ), where forms the sentence-BERT embeddings (Reimers t=1 t t t x^ is a corrupted sequence, x¯ is the masked tokens, and Gurevych, 2019), leading to new state-of-the- m is equal to 1 when x is masked and 0 otherwise. art performance. In addition to semantic sim- t t The context c =x ^. ilarity tasks, we apply sentence embeddings to t Note that both LM and MLM can be reduced to a question-answer entailment task, QNLI (Wang modeling the conditional distribution of a token x et al., 2019), directly without task-specific super- given the context c, which is typically formulated vision, and demonstrate the superiority of our ap- with a softmax function as, proach. Moreover, our further analysis implies that BERT-induced similarity can excessively correlate > exp hc wx with lexical similarity compared to semantic sim- p(xjc) = P > : (1) 0 exp h w 0 ilarity, and our proposed flow-based method can x c x effectively remedy this problem. Here the context embedding hc is a function of c, which is usually heavily parameterized by a deep neural network (e.g., a Transformer (Vaswani et al., 2 Understanding the Sentence 2017)); The word embedding wx is a function of Embedding Space of BERT x, which is parameterized by an embedding lookup table. To encode a sentence into a fixed-length vector with The similarity between BERT sentence embed- BERT, it is a convention to either compute an aver- dings can be reduced to the similarity between age of context embeddings in the last few layers of T 2 BERT context embeddings hc hc0 . However, as BERT, or extract the BERT context embedding at the position of the [CLS] token. Note that there is 2This is because we approximate BERT sentence embed- dings with context embeddings, and compute their dot product no token masked when producing sentence embed- (or cosine similarity) as model-predicted sentence similarity. dings, which is different from pretraining. Dot product is equivalent to cosine similarity when the em- shown in Equation1, the pretraining of BERT does Higher-order context-context co-occurrence T not explicitly involve the computation of hc hc0 . could also be inferred and propagated during pre- Therefore, we can hardly derive a mathematical training. The update of a context embedding hc > formulation of what hc hc0 exactly represents. could affect another context embedding hc0 in the above way, and similarly hc0 can further affect an- Co-Occurrence Statistics as the Proxy for Se- other hc00 . Therefore, the context embeddings can mantic Similarity Instead of directly analyzing form an implicit interaction among themselves via T 0 > hc hc, we consider hc wx, the dot product between higher-order co-occurrence relations. a context embedding hc and a word embedding wx. According to Yang et al.(2018), in a well-trained 2.2 Anisotropic Embedding Space Induces > language model, hc wx can be approximately de- Poor Semantic Similarity composed as follows, As discussed in Section 2.1, the pretraining of BERT should have encouraged semantically mean- ingful context embeddings implicitly. Why BERT > ∗ hc wx ≈ log p (xjc) + λc (2) sentence embeddings without finetuning yield un- = PMI(x; c) + log p(x) + λc: (3) satisfactory performance? To investigate the underlying problem of the fail- p(x;c) ure, we use word embeddings as a surrogate be- where PMI(x; c) = log p(x)p(c) denotes the point- wise mutual information between x and c, log p(x) cause words and contexts share the same embed- ding space.
Recommended publications
  • Combining Semantic and Lexical Measures to Evaluate Medical Terms Similarity?
    Combining semantic and lexical measures to evaluate medical terms similarity? Silvio Domingos Cardoso1;2, Marcos Da Silveira1, Ying-Chi Lin3, Victor Christen3, Erhard Rahm3, Chantal Reynaud-Dela^ıtre2, and C´edricPruski1 1 LIST, Luxembourg Institute of Science and Technology, Luxembourg fsilvio.cardoso,marcos.dasilveira,[email protected] 2 LRI, University of Paris-Sud XI, France [email protected] 3 Department of Computer Science, Universit¨atLeipzig, Germany flin,christen,[email protected] Abstract. The use of similarity measures in various domains is corner- stone for different tasks ranging from ontology alignment to information retrieval. To this end, existing metrics can be classified into several cate- gories among which lexical and semantic families of similarity measures predominate but have rarely been combined to complete the aforemen- tioned tasks. In this paper, we propose an original approach combining lexical and ontology-based semantic similarity measures to improve the evaluation of terms relatedness. We validate our approach through a set of experiments based on a corpus of reference constructed by domain experts of the medical field and further evaluate the impact of ontology evolution on the used semantic similarity measures. Keywords: Similarity measures · Ontology evolution · Semantic Web · Medical terminologies 1 Introduction Measuring the similarity between terms is at the heart of many research inves- tigations. In ontology matching, similarity measures are used to evaluate the relatedness between concepts from different ontologies [9]. The outcomes are the mappings between the ontologies, increasing the coverage of domain knowledge and optimize semantic interoperability between information systems. In informa- tion retrieval, similarity measures are used to evaluate the relatedness between units of language (e.g., words, sentences, documents) to optimize search [39].
    [Show full text]
  • Evaluating Lexical Similarity to Build Sentiment Similarity
    Evaluating Lexical Similarity to Build Sentiment Similarity Grégoire Jadi∗, Vincent Claveauy, Béatrice Daille∗, Laura Monceaux-Cachard∗ ∗ LINA - Univ. Nantes {gregoire.jadi beatrice.daille laura.monceaux}@univ-nantes.fr y IRISA–CNRS, France [email protected] Abstract In this article, we propose to evaluate the lexical similarity information provided by word representations against several opinion resources using traditional Information Retrieval tools. Word representation have been used to build and to extend opinion resources such as lexicon, and ontology and their performance have been evaluated on sentiment analysis tasks. We question this method by measuring the correlation between the sentiment proximity provided by opinion resources and the semantic similarity provided by word representations using different correlation coefficients. We also compare the neighbors found in word representations and list of similar opinion words. Our results show that the proximity of words in state-of-the-art word representations is not very effective to build sentiment similarity. Keywords: opinion lexicon evaluation, sentiment analysis, spectral representation, word embedding 1. Introduction tend or build sentiment lexicons. For example, (Toh and The goal of opinion mining or sentiment analysis is to iden- Wang, 2014) uses the syntactic categories from WordNet tify and classify texts according to the opinion, sentiment or as features for a CRF to extract aspects and WordNet re- emotion that they convey. It requires a good knowledge of lations such as antonymy and synonymy to extend an ex- the sentiment properties of each word. This properties can isting opinion lexicons. Similarly, (Agarwal et al., 2011) be either discovered automatically by machine learning al- look for synonyms in WordNet to find the polarity of words gorithms, or embedded into language resources.
    [Show full text]
  • Using Prior Knowledge to Guide BERT's Attention in Semantic
    Using Prior Knowledge to Guide BERT’s Attention in Semantic Textual Matching Tasks Tingyu Xia Yue Wang School of Artificial Intelligence, Jilin University School of Information and Library Science Key Laboratory of Symbolic Computation and Knowledge University of North Carolina at Chapel Hill Engineering, Jilin University [email protected] [email protected] Yuan Tian∗ Yi Chang∗ School of Artificial Intelligence, Jilin University School of Artificial Intelligence, Jilin University Key Laboratory of Symbolic Computation and Knowledge International Center of Future Science, Jilin University Engineering, Jilin University Key Laboratory of Symbolic Computation and Knowledge [email protected] Engineering, Jilin University [email protected] ABSTRACT 1 INTRODUCTION We study the problem of incorporating prior knowledge into a deep Measuring semantic similarity between two pieces of text is a fun- Transformer-based model, i.e., Bidirectional Encoder Representa- damental and important task in natural language understanding. tions from Transformers (BERT), to enhance its performance on Early works on this task often leverage knowledge resources such semantic textual matching tasks. By probing and analyzing what as WordNet [28] and UMLS [2] as these resources contain well- BERT has already known when solving this task, we obtain better defined types and relations between words and concepts. Recent understanding of what task-specific knowledge BERT needs the works have shown that deep learning models are more effective most and where it is most needed. The analysis further motivates on this task by learning linguistic knowledge from large-scale text us to take a different approach than most existing works. Instead of data and representing text (words and sentences) as continuous using prior knowledge to create a new training task for fine-tuning trainable embedding vectors [10, 17].
    [Show full text]
  • Latent Semantic Analysis for Text-Based Research
    Behavior Research Methods, Instruments, & Computers 1996, 28 (2), 197-202 ANALYSIS OF SEMANTIC AND CLINICAL DATA Chaired by Matthew S. McGlone, Lafayette College Latent semantic analysis for text-based research PETER W. FOLTZ New Mexico State University, Las Cruces, New Mexico Latent semantic analysis (LSA) is a statistical model of word usage that permits comparisons of se­ mantic similarity between pieces of textual information. This papersummarizes three experiments that illustrate how LSA may be used in text-based research. Two experiments describe methods for ana­ lyzinga subject's essay for determining from what text a subject learned the information and for grad­ ing the quality of information cited in the essay. The third experiment describes using LSAto measure the coherence and comprehensibility of texts. One of the primary goals in text-comprehension re­ A theoretical approach to studying text comprehen­ search is to understand what factors influence a reader's sion has been to develop cognitive models ofthe reader's ability to extract and retain information from textual ma­ representation ofthe text (e.g., Kintsch, 1988; van Dijk terial. The typical approach in text-comprehension re­ & Kintsch, 1983). In such a model, semantic information search is to have subjects read textual material and then from both the text and the reader's summary are repre­ have them produce some form of summary, such as an­ sented as sets ofsemantic components called propositions. swering questions or writing an essay. This summary per­ Typically, each clause in a text is represented by a single mits the experimenter to determine what information the proposition.
    [Show full text]
  • Ying Liu, Xi Yang
    Liu, Y. & Yang, X. (2018). A similar legal case retrieval Liu & Yang system by multiple speech question and answer. In Proceedings of The 18th International Conference on Electronic Business (pp. 72-81). ICEB, Guilin, China, December 2-6. A Similar Legal Case Retrieval System by Multiple Speech Question and Answer (Full paper) Ying Liu, School of Computer Science and Information Engineering, Guangxi Normal University, China, [email protected] Xi Yang*, School of Computer Science and Information Engineering, Guangxi Normal University, China, [email protected] ABSTRACT In real life, on the one hand people often lack legal knowledge and legal awareness; on the other hand lawyers are busy, time- consuming, and expensive. As a result, a series of legal consultation problems cannot be properly handled. Although some legal robots can answer some problems about basic legal knowledge that are matched by keywords, they cannot do similar case retrieval and sentencing prediction according to the criminal facts described in natural language. To overcome the difficulty, we propose a similar case retrieval system based on natural language understanding. The system uses online speech synthesis of IFLYTEK and speech reading and writing technology, integrates natural language semantic processing technology and multiple rounds of question-and-answer dialogue mechanism to realise the legal knowledge question and answer with the memory-based context processing ability, and finally retrieves a case that is most similar to the criminal facts that the user consulted. After trial use, the system has a good level of human-computer interaction and high accuracy of information retrieval, which can largely satisfy people's consulting needs for legal issues.
    [Show full text]
  • Untangling Semantic Similarity: Modeling Lexical Processing Experiments with Distributional Semantic Models
    Untangling Semantic Similarity: Modeling Lexical Processing Experiments with Distributional Semantic Models. Farhan Samir Barend Beekhuizen Suzanne Stevenson Department of Computer Science Department of Language Studies Department of Computer Science University of Toronto University of Toronto, Mississauga University of Toronto ([email protected]) ([email protected]) ([email protected]) Abstract DSMs thought to instantiate one but not the other kind of sim- Distributional semantic models (DSMs) are substantially var- ilarity have been found to explain different priming effects on ied in the types of semantic similarity that they output. Despite an aggregate level (as opposed to an item level). this high variance, the different types of similarity are often The underlying conception of semantic versus associative conflated as a monolithic concept in models of behavioural data. We apply the insight that word2vec’s representations similarity, however, has been disputed (Ettinger & Linzen, can be used for capturing both paradigmatic similarity (sub- 2016; McRae et al., 2012), as has one of the main ways in stitutability) and syntagmatic similarity (co-occurrence) to two which it is operationalized (Gunther¨ et al., 2016). In this pa- sets of experimental findings (semantic priming and the effect of semantic neighbourhood density) that have previously been per, we instead follow another distinction, based on distri- modeled with monolithic conceptions of DSM-based seman- butional properties (e.g. Schutze¨ & Pedersen, 1993), namely, tic similarity. Using paradigmatic and syntagmatic similarity that between syntagmatically related words (words that oc- based on word2vec, we show that for some tasks and types of items the two types of similarity play complementary ex- cur in each other’s near proximity, such as drink–coffee), planatory roles, whereas for others, only syntagmatic similar- and paradigmatically related words (words that can be sub- ity seems to matter.
    [Show full text]
  • Measuring Semantic Similarity of Words Using Concept Networks
    Measuring semantic similarity of words using concept networks Gabor´ Recski Eszter Iklodi´ Research Institute for Linguistics Dept of Automation and Applied Informatics Hungarian Academy of Sciences Budapest U of Technology and Economics H-1068 Budapest, Benczur´ u. 33 H-1117 Budapest, Magyar tudosok´ krt. 2 [email protected] [email protected] Katalin Pajkossy Andras´ Kornai Department of Algebra Institute for Computer Science Budapest U of Technology and Economics Hungarian Academy of Sciences H-1111 Budapest, Egry J. u. 1 H-1111 Budapest, Kende u. 13-17 [email protected] [email protected] Abstract using word embeddings and WordNet. In Sec- tion 3 we briefly introduce the 4lang resources We present a state-of-the-art algorithm and the formalism it uses for encoding the mean- for measuring the semantic similarity of ing of words as directed graphs of concepts, then word pairs using novel combinations of document our efforts to develop novel 4lang- word embeddings, WordNet, and the con- based similarity features. Besides improving the cept dictionary 4lang. We evaluate our performance of existing systems for measuring system on the SimLex-999 benchmark word similarity, the goal of the present project is to data. Our top score of 0.76 is higher than examine the potential of 4lang representations in any published system that we are aware of, representing non-trivial lexical relationships that well beyond the average inter-annotator are beyond the scope of word embeddings and agreement of 0.67, and close to the 0.78 standard linguistic ontologies. average correlation between a human rater Section 4 presents our results and pro- and the average of all other ratings, sug- vides rough error analysis.
    [Show full text]
  • Semantic Similarity Between Sentences
    International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 01 | Jan -2017 www.irjet.net p-ISSN: 2395-0072 SEMANTIC SIMILARITY BETWEEN SENTENCES PANTULKAR SRAVANTHI1, DR. B. SRINIVASU2 1M.tech Scholar Dept. of Computer Science and Engineering, Stanley College of Engineering and Technology for Women, Telangana- Hyderabad, India 2Associate Professor - Dept. of Computer Science and Engineering, Stanley College of Engineering and Technology for Women, Telangana- Hyderabad, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - The task of measuring sentence similarity is [1].Sentence similarity is one of the core elements of Natural defined as determining how similar the meanings of two Language Processing (NLP) tasks such as Recognizing sentences are. Computing sentence similarity is not a trivial Textual Entailment (RTE)[2] and Paraphrase Recognition[3]. task, due to the variability of natural language - expressions. Given two sentences, the task of measuring sentence Measuring semantic similarity of sentences is closely related to similarity is defined as determining how similar the meaning semantic similarity between words. It makes a relationship of two sentences is. The higher the score, the more similar between a word and the sentence through their meanings. The the meaning of the two sentences. WordNet and similarity intention is to enhance the concepts of semantics over the measures play an important role in sentence level similarity syntactic measures that are able to categorize the pair of than document level[4]. sentences effectively. Semantic similarity plays a vital role in Natural language processing, Informational Retrieval, Text 1.1 Problem Description Mining, Q & A systems, text-related research and application area.
    [Show full text]
  • Semantic Sentence Similarity: Size Does Not Always Matter
    INTERSPEECH 2021 30 August – 3 September, 2021, Brno, Czechia Semantic sentence similarity: size does not always matter Danny Merkx, Stefan L. Frank, Mirjam Ernestus Centre for Language Studies, Radboud University, Nijmegen, The Netherlands [email protected], [email protected], [email protected] Abstract liest VGS models, used a database of around 8,000 utterances This study addresses the question whether visually [15]. Harwath and colleagues introduced the first ‘modern’ neu- grounded speech recognition (VGS) models learn to capture ral network based approach which was trained on the Flickr8k sentence semantics without access to any prior linguistic knowl- Audio Caption corpus, a corpus with 40,000 utterances [16]. edge. We produce synthetic and natural spoken versions of a This corpus was quickly followed up by Places Audio Captions well known semantic textual similarity database and show that (400,000 utterances) [17] and, most recently, by SpokenCOCO our VGS model produces embeddings that correlate well with (600,000 utterances) [14]. human semantic similarity judgements. Our results show that However, previous work on visual grounding using writ- a model trained on a small image-caption database outperforms ten captions has shown that larger databases do not always re- two models trained on much larger databases, indicating that sult in better models. In [18], we compared models trained on database size is not all that matters. We also investigate the im- the written captions of Flickr8k [19] and MSCOCO [20]. We portance of having multiple captions per image and find that showed that, although the much larger MSCOCO (600k sen- this is indeed helpful even if the total number of images is tences) achieved better performance on the training task, the lower, suggesting that paraphrasing is a valuable learning sig- model trained on the smaller Flickr database performed better nal.
    [Show full text]
  • Word Embeddings for Semantic Similarity: Comparing LDA with Word2vec
    Word embeddings for semantic similarity: comparing LDA with Word2vec Luandrie Potgieter1 and Alta de Waal12 1 Department of Statistics, University of Pretoria 2 Center for Artificial Intelligence Research (CAIR) 1 Introduction Distributional semantics is a subfield in Natural Language Processing (NLP) that studies methods to derive meaning, and semantic representations for text. These representations can be thought of as statistical distributions of words assuming that it characterises semantic behaviour. These statistical distributions are often referred to as embeddings, or lower dimensional representations of the text. The two main categories of embeddings are count-based and prediction-based methods. Count-based methods most often result in global word embeddings as it utilizes the frequency of words in documents. Prediction-based embeddings on the other hand are often referred to as local embeddings as it takes into account a window of words adjacent to the word of interest. Once a corpus is represented by its semantic distribution (which is in a vector space), all kinds of similarity measures can be applied. This again leads to other NLP applications such as collaborative filtering, aspect-based sentiment analysis, intent classification for chatbots and machine translation. In this research, we investigate the appropriateness of Latent Dirichlet Allo- cation (LDA) [1] and word2vec [4] embeddings as semantic representations of a corpus. Once the semantic representation of a corpus is obtained, the distances between the documents and query documents are obtained by means of dis- tance measures such as cosine, Euclidean or Jensen-Shannon. We expect short distances between documents with similar semantic representations and longer distances between documents with different semantic representations.
    [Show full text]
  • Event-Based Knowledge Reconciliation Using Frame Embeddings And
    Knowledge-Based Systems 135 (2017) 192–203 Contents lists available at ScienceDirect Knowle dge-Base d Systems journal homepage: www.elsevier.com/locate/knosys Event-base d knowle dge reconciliation using frame emb e ddings and frame similarity ∗ Mehwish Alam a, Diego Reforgiato Recupero b,d, , Misael Mongiovi c, Aldo Gangemi a,d, Petar Ristoski e a Université Paris 13, 99 avenue JB Clément, Villetaneuse, Paris 93430, France b Università degli Studi di Cagliari, Department of Mathematics and Computer Science, Via Ospedale 72, Cagliari 09124, Italy c CNR, ISTC, Catania, Italy d CNR, ISTC, Via S. Martino della Battaglia 44, Rome, Italy e University of Mannheim, Mannheim, Germany a r t i c l e i n f o a b s t r a c t Article history: This paper proposes an evolution over MERGILO, a tool for reconciling knowledge graphs extracted from Received 6 April 2017 text, using graph alignment and word similarity. The reconciled knowledge graphs are typically used Revised 9 August 2017 for multi-document summarization, or to detect knowledge evolution across document series. The main Accepted 14 August 2017 point of improvement focuses on event reconciliation i.e., reconciling knowledge graphs generated by text Available online 16 August 2017 about two similar events described differently. In order to gather a complete semantic representation of Keywords: events, we use FRED semantic web machine reader, jointly with Framester, a linguistic linked data hub Knowledge reconciliation represented using a novel formal semantics for frames. Framester is used to enhance the extracted event Frame semantics knowledge with semantic frames.
    [Show full text]
  • Mathlingbudapest: Concept Networks for Semantic Similarity
    MathLingBudapest: Concept Networks for Semantic Similarity Gabor´ Recski Judit Acs´ Research Institute for Linguistics HAS Research Institute for Linguistics and Hungarian Academy of Sciences Dept. of Automation and Applied Informatics Benczur´ u. 33 Budapest U of Technology and Economics 1068 Budapest, Hungary Magyar tudosok´ krt. 2 (Bldg. Q.) [email protected] 1117 Budapest, Hungary [email protected] Abstract on Semeval Task 2a (Semantic Textual Similarity for English). All components of our system are We present our approach to measuring seman- available for download under an MIT license from tic similarity of sentence pairs used in Se- GitHub12. Section 2 describes the system architec- meval 2015 tasks 1 and 2. We adopt the ture and points out the main differences between our sentence alignment framework of (Han et al., system and that in (Han et al., 2013), section 3 out- 2013) and experiment with several measures of word similarity. We hybridize the common lines our word similarity metric derived from the vector-based models with definition graphs 4lang concept lexicon. We present the evaluation from the 4lang concept dictionary and de- of our systems on both tasks in section 4, and section vise a measure of graph similarity that yields 5 provides a brief conclusion. good results on training data. We did not ad- dress the specific challenges posed by Twitter 2 Architecture data, and this is reflected in placing 11th from 30 in Task 1, but our systems perform fairly Our framework for determining the semantic simi- well on the generic datasets of Task 2, with the larity of two sentences is based on the system pre- hybrid approach placing 11th among 78 runs.
    [Show full text]