key: cord-025283-kf65lxp5 authors: Nayyeri, Mojtaba; Vahdati, Sahar; Zhou, Xiaotian; Shariat Yazdi, Hamed; Lehmann, Jens title: Embedding-Based Recommendations on Scholarly Knowledge Graphs date: 2020-05-07 journal: The Semantic Web DOI: 10.1007/978-3-030-49461-2_15 sha: doc_id: 25283 cord_uid: kf65lxp5 The increasing availability of scholarly metadata in the form of Knowledge Graphs (KG) offers opportunities for studying the structure of scholarly communication and evolution of science. Such KGs build the foundation for knowledge-driven tasks e.g., link discovery, prediction and entity classification which allow to provide recommendation services. Knowledge graph embedding (KGE) models have been investigated for such knowledge-driven tasks in different application domains. One of the applications of KGE models is to provide link predictions, which can also be viewed as a foundation for recommendation service, e.g. high confidence “co-author” links in a scholarly knowledge graph can be seen as suggested collaborations. In this paper, KGEs are reconciled with a specific loss function (Soft Margin) and examined with respect to their performance for co-authorship link prediction task on scholarly KGs. The results show a significant improvement in the accuracy of the experimented KGE models on the considered scholarly KGs using this specific loss. TransE with Soft Margin (TransE-SM) obtains a score of 79.5% Hits@10 for co-authorship link prediction task while the original TransE obtains 77.2%, on the same task. In terms of accuracy and Hits@10, TransE-SM also outperforms other state-of-the-art embedding models such as ComplEx, ConvE and RotatE in this setting. The predicted co-authorship links have been validated by evaluating profile of scholars. With the rapid growth of digital publishing, researchers are increasingly exposed to an incredible amount of scholarly artifacts and their metadata. The complexity of science in its nature is reflected in such heterogeneously interconnected information. Knowledge Graphs (KGs), viewed as a form of information representation in a semantic graph, have proven to be extremely useful in modeling and representing such complex domains [8] . KG technologies provide the backbone for many AI-driven applications which are employed in a number of use cases, e.g. in the scholarly communication domain. Therefore, to facilitate acquisition, integration and utilization of such metadata, Scholarly Knowledge Graphs (SKGs) have gained attention [3, 25] in recent years. Formally, a SKG is a collection of scholarly facts represented in triples including entities and a relation between them, e.g. (Albert Einstein, co-author, Boris Podolsky). Such representation of data has influenced the quality of services which have already been provided across disciplines such as Google Scholar 1 , Semantic Scholar [10] , OpenAIRE [1] , AMiner [17] , ResearchGate [26] . The ultimate objective of such attempts ranges from service development to measuring research impact and accelerating science. Recommendation services, e.g. finding potential collaboration partners, relevant venues, relevant papers to read or cite are among the most desirable services in research of research enquiries [9, 25] . So far, most of the approaches addressing such services for scholarly domains use semantic similarity and graph clustering techniques [2, 6, 27] . The heterogeneous nature of such metadata and variety of sources plugging metadata to scholarly KGs [14, 18, 22] keeps complex metaresearch enquiries (research of research) challenging to analyse. This influences the quality of the services relying only on the explicitly represented information. Link prediction in KGs, i.e. the task of finding (not explicitly represented) connections between entities, draws on the detection of existing patterns in the KG. A wide range of methods has been introduced for link prediction [13] . The most recent successful methods try to capture the semantic and structural properties of a KG by encoding information as multi-dimensional vectors (embeddings). Such methods are known as knowledge graph embedding (KGE) models in the literature [23] . However, despite the importance of link prediction for the scholarly domains, it has rarely been studied with KGEs [12, 24] for the scholarly domain. In a preliminary version of this work [11] , we tested a set of embedding models (in their original version) on top of a SKG in order to analyse suitability of KGEs for the use case of scholarly domain. The primary insights derived from results have proved the effectiveness of applying KGE models on scholarly knowledge graphs. However, further exploration of the results proved that the many-to-many characteristic of the focused relation, co-authorship, causes restrictions in negative sampling which is a mandatory step in the learning process of KGE models. Negative sampling is used to balance discrimination from the positive samples in KGs. A negative sample is generated by a replacement of either subject or object with a random entity in the KG e.g., (Albert Einstein, co-author, Trump) is a negative sample for (Albert Einstein, co-author, Boris Podolsky). To illustrate the negative sampling problem, consider the following case: Assuming that N = 1000 is the number of all authors in a SKG, the probability of generating false negatives for an author with 100 true or sensible but unknown collaborations becomes 100 1000 = 10%. This problem is particularly relevant when the in/out-degree of entities in a KG is very high. This is not limited to, but particularly relevant, in scholarly KGs with its network of authors, venues and papers. To tackle this problem, we propose a modified version of the Margin Ranking Loss (MRL) to train the KGE models such as TransE and RotatE. The model is dubbed SM (Soft Margins), which considers margins as soft boundaries in its optimization. Soft margin loss allows false negative samples to move slightly inside the margin, mitigating the adverse effects of false negative samples. Our main contributions are: -proposing a novel loss function explicitly designed for KGs with many-tomany relations (present in co-authorship relation of scholarly KGs), -showcasing the effect of the proposed loss function for KGE models, -providing co-authorship recommendations on scholarly KGs, -evaluating the effectiveness of the approach and the recommended links on scholarly KGs with favorable results, -validating the predicted co-authorship links by a profile check of scholars. The remaining part of this paper proceeds as follows. Section 2 represents details of the scholarly knowledge graph that is created for the purpose of applying link discovery tools. Section 3 provides a summary of preliminaries required about the embedding models and presents some of the focused embedding models of this paper, TransE and RotatE. Moreover, other related works in the domain of knowledge graph embeddings are reviewed in Sect. 3.2. Section 4 contains the given approach and description of the changes to the MRL. An evaluation of the proposed model on the represented scholarly knowledge graph is shown in Sect. 5. In Sect. 6, we lay out the insights and provide a conjunction of this research work. A specific scholarly knowledge graphs has been constructed in order to provide effective recommendations for the selected use case (co-authorship). This knowledge graph is created after a systematic analysis of the scholarly metadata resources on the Web (mostly RDF data). The list of resources includes DBLP 2 , Springer Nature SciGraph Explorer 3 , Semantic Scholar 4 and the Global Research Identifier Database (GRID) 5 with metadata about institutes. A preliminary version of this KG has been used for experiments of the previous work [11] where suitability of embedding models have been tested of such use cases. Through this research work we will point to this KG as SKGOLD. Towards this objective, a domain conceptualization has been done to define the classes and relations of focus. Figure 1 shows the ontology that is used for the creation of these knowledge graphs. In order to define the terms, the OpenResearch [20] ontology is reused. Each instance in the scholarly knowledge graph is equipped with a unique ID to enable the identification and association of the KG elements. The knowledge graphs consist of the following core entities of Papers, Events, Authors, and Departments. In the creation of the our KG 6 which will be denoted as SKGNEW a set of 7 conference series have been selected (namely ISWC, ESWC, AAAI, NeurIPS, CIKM, ACI, KCAP and HCAI have been considered in the initial step of retrieving raw metadata from the source). In addition, the metadata flitted for the temporal interval of 2013-2018. The second version of the same KG has been generated directly from Semantic Scholar. The datasets, used for model training, which in total comprise 70,682 triples where 29,469 triples are coming from the SKGOLD and 41,213 triples are generated in SKGNEW. In each set of experiments, both datasets are split into triples of training/validation/test sets. Table 1 includes the detailed statistics about the datasets only considering three relationships between entities namely hasAuthor (paper -author), hasCoauthor (author -author), hasVenue (author/papervenue). Due to the low volume of data, isAffiliated (author -organization) relationship is eliminated due in SKGNEW. In this section we focus on providing required preliminaries for this work as well as the related work. The definitions required to understand our approach are: -Knowledge Graph. Let E, R be the sets of entities and relations respectively. A Kg is roughly represented as a set The proposed loss is trained on a classical translation-based embedding models named TransE and a model for complex space as RotatE. Therefore, we mainly provide a description of TransE and RotatE and further focus on other state-ofthe-art models. TransE. It is reported that TransE [4] , as one of the simplest translation based models, outperformed more complicated KGEs in [11] . The initial idea of TransE model is to enforce embedding of entities and relation in a positive triple (h, r, t) to satisfy the following equality: where h, r and t are embedding vectors of head, relation and tail respectively. TransE model defines the following scoring function: RotatE. Here, we address RotatE [16] which is a model designed to rotate the head to the tail entity by using relation. This model embeds entities and relations in Complex space. By inclusion of constraints on the norm of entity vectors, the model would be degenerated to TransE. The scoring function of RotatE is Loss Function. Margin ranking loss (MRL) is one of the most used loss functions which optimizes the embedding vectors of entities and relations. MRL computes embedding of entities and relations in a way that a positive triple gets lower score value than its corresponding negative triple. The least difference value between the score of positive and negative samples is margin (γ). The MRL is defined as follows: where [x] + = max(0, x) and S + and S − are respectively the set of positive and negative samples. MRL has two disadvantages: 1) the margin can slide, 2) embeddings are adversely affected by false negative samples. More precisely, the issue of margin sliding is described with an example. Assume that f r (h 1 , t 1 ) = 0 and f r (h 1 , t 1 ) = γ, or f r (h 1 , t 1 ) = γ and f r (h 1 , t 1 ) = 2γ are two possible scores for a triple and its negative sample. Both of these scores get minimum value for the optimization causing the model to become vulnerable to a undesirable solution. To tackle this problem, Limited-based score [28] revises the MRL by adding a term to limit maximum value of positive score: It shows L RS significantly improves the performance of TransE. Authors in [28] denote TransE which is trained by L RS as TransE-RS. Regarding the second disadvantage, MRL enforces a hard margin in the side of negative samples. However, using relations with many-to-many characteristic (e.g., co-author), the rate of false negative samples is high. Therefore, using a hard boundary for discrimination adversely affects the performance of a KGE model. With a systematic evaluation (performance under reasonable set up) of suitable embedding models to be considered in our evaluations, we have selected two other models that are described here. ComplEx. One of the embedding models focusing on semantic matching model is ComplEx [19] . In semantic matching models, the plausibility of facts are measured by matching the similarity of their latent representation, in other words it is assumed that similar entities have common characteristics i.e. are connected through similar relationships [13, 23] . In ComplEx the entities are embedded in the complex space. The score function of ComplEx is given as follows: in whicht is the conjugate of the vector t. Here we present a multi-layer convolutional network model for link prediction named as ConvE. The score function of the ConvE is defined as below: in which g denotes a non-linear function,h andr are 2D reshape of head and relation vectors respectively, ω is a filter and W is a linear transformation matrix. The core idea behind the ConvE model is to use 2D convolutions over embeddings to predict links. ConvE consists of a single convolution layer, a projection layer to the embedding dimension as well as an inner product layer. This section proposes a new model independent optimization framework for training KGE models. The framework fixes the second problem of MRL and its extension mentioned in the previous section. The optimization utilizes slack variables to mitigate the negative effect of the generated false negative samples. In contrast to margin ranking loss, our optimization uses soft margin. Therefore, uncertain negative samples are allowed to slide inside of margin. Figure 2 visualizes the separation of positive and negative samples using margin ranking loss and our optimization problem. It shows that the proposed optimization problem allows false negative samples to slide inside the margin by using slack variables (ξ). In contrast, margin ranking loss doesn't allow false negative samples to slide inside of the margin. Therefore, embedding vectors of entities and relations are adversely affected by false negative samples. The mathematical formulation of our optimization problem is as follows: where f r (h, t) is the score function of a KGE model (e.g., TransE or RotatE), S + , S − are positive and negative samples sets. γ 1 ≥ 0 is the upper bound of score of positive samples and γ 2 is the lower bound of negative samples. γ 2 − γ 1 is margin (γ 2 ≥ γ 1 ). ξ r h,t is slack variable for a negative sample that allows it to slide in the margin. ξ r h,t helps the optimization to better handle uncertainty resulted from negative sampling. The term ( ξ r h,t ) represented in the problem 5 is quadratic. Therefore, it is convex which results in a unique and optimal solution. Moreover, all three constraints can be represented as convex sets. The constrained optimization problem (5) is convex. As a conclusion, it has a unique optimal solution. The optimal solution can be obtained by using different standard methods e.g. penalty method [5] . The goal of the problem (5) is to adjust embedding vectors of entities and relations. A lot of variables participate in optimization. In this condition, using batch learning with stochastic gradient descent (SGD) is preferred. In order to use SGD, constrained optimization problem (5) should be converted to unconstrained optimization problem. The following unconstrained optimization problem is proposed instead of (5). The problem (5) and (6) may not have the same solution. However, we experimentally see that if λ 1 and λ 2 are properly selected, the results would be improved comparing to margin ranking loss. This section presents the evaluations of TransE-SM and RotatE-SM (TransE and RotatE trained by SM loss), over a scholarly knowledge graph. The evaluations are motivated for a link prediction task in the domain of scholarly communication in order to explore the ability of embedding models in support of metaresearch enquiries. In addition, we provide a comparison of our model with other state-ofthe-art embedding models (selected by performance under a reasonable set up) on two standard benchmarks (FreeBase and WordNet). Four different evaluation methods have been performed in order to approve: 1) better performance and effect of the proposed loss, 2) quality and soundness of the results, 3) validity of the discovered co-authorship links and 4) sensitivity of the proposed model to the selected hyperparameters. More details about each of these analyses are discussed in the remaining part of this section. The proposed loss is model independent, however, we prove its functionality and effectiveness by applying it on different embedding models. In the first evaluation method, we run experiments and assess performance of TransE-SM model as well as RotatE-SM in comparison to the other models and the original loss functions. In order to discuss this evaluation further, let (h, r, t) be a triple fact with an assumption that either head or tail entity is missing (e.g., (?, r, t) or (h, r, ?) ). The task is to aim at completing either of these triples (h, r, ?) or (?, r, t) by predicting head (h) or tail (t) entity. Mean Rank (MR), Mean Reciprocal Rank (MRR) [23] and Hits@10 have been extensively used as standard metrics for evaluation of KGE models on link prediction. In computation of Mean Rank, a set of pre-processing steps have been done such as: -head and tail of each test triple are replaced by all entities in the dataset, -scores of the generated triples are computed and sorted, -the average rank of correct test triples is reported as MR. Let rank i refers to the rank of the i−th triple in the test set obtained by a KGE model. The MRR is obtained as follows: The computation of Hits@10 is obtained by replacing all entities in the dataset in terms of head and tail of each test triples. The result is a sorted list of triples based on their scores. The average number of triples that are ranked at most 10 is reported as Hits@10 as represented in Table 2 . The results mentioned in the Table 2 validate that TransE-SM and RotatE-SM significantly outperformed other embedding models in all metrics. In addition, evaluation of the state-of-the-art models have been performed over the two benchmark datasets namely FB15K and WN18. While our focus has been resolving problem of KGEs in presence of many-to-many relationships, the evaluations of the proposed loss function (SM) on other datasets show the effectiveness of SM in addressing other types of relationships. Table 3 shows the results of experiments for TransE, ComplEx, ConvE, RotatE, TransE-RS, TransE-SM and RotatE-SM. The proposed model significantly outperforms the other models with an accuracy of 87.2% on FB15K. The evaluations on WN18 shows that RotatE-SM outperforms other evaluated models. The optimal settings for our proposed model corresponding to this part of the evaluation are λ 0 = 100, γ 1 = 0.4, γ 2 = 0.5, α = 10, d = 200 for FB15K and λ 0 = 100, γ 1 = 1.0, γ 2 = 2.0, α = 10, d = 200 for WN18. With the second evaluation method, we aim at approving quality and soundness of the results. In order to do so, we additionally investigate the quality of the recommendation of our model. A sample set of 9 researchers associated with the Linked Data and Information Retrieval communities [21] are selected as the foundation for the experiments of the predicted recommendations. Table 4 shows the number of recommendations and their ranks among the top 50 predictions for all of the 9 selected researchers. These top 50 predictions are filtered for a closer look. The results are validated by checking the research profile of the recommended researchers and the track history of co-authorship. In the profile check, we only kept the triples which are indicating: 1. close match in research domain interests of scholars by checking profiles, 2. none-existing scholarly relation (e.g., supervisor, student), 3. none-existing affiliation in the same organization, 4. none-existing co-authorship. For example, out of all the recommendations that our approach has provided for researcher with id A136, 10 of them have been identified sound and new collaboration target. The rank of each recommended connection is shown in the third column. Furthermore, the discovered links for co-authorship recommendations have been examined with a closer look to the online scientific profile of two top machine learning researchers, Yoshua Bengio 9 , A860 and Yann LeCun 10 , A2261. The recommended triples have been created in two patterns of (A860, r, ?) and (?, r, A860) and deduplicated for the same answer. The triples are ranked based on scores obtained from TransE-SM and RotatE-SM. For evaluations, a list of top 50 recommendations has been selected per considered researcher, Bengio and LeCun. In order to validate the profile similarity in research and approval of not existing earlier co-authorship, we analyzed the profile of each recommended author to "Yoshua Bengio" and "Yann LeCun" as well as their own profiles. We analyzed the scientific profiles of the selected researchers provided by the most used scholarly search engine, Google Citation 11 . Due to author nameambiguity problem, this validation task required human involvement. First, the research areas indicated in the profiles of researchers have been validated to be similar by finding matches. In the next step, some of the highlighted publications with high citations and their recency have been controlled to make sure that the profiles of the selected researchers match in the machine learning community close to the interest of "Yoshua Bengio" -to make sure the researchers can be considered in the same community. As mentioned before, the knowledge graphs that are used for evaluations consist of metadata from 2013 till 2018. In checking the suggested recommendations, a co-authorship relation which has happened before or after this temporal interval is considered valid for the recommendation. Therefore, the other highly ranked links with none-existed co-authorship are counted as valid recommendations for collaboration. Figure 4b shows a visualization of such links found by analyzing top 50 recommendations to and from "Yoshua Bengio" and Fig. 4a shows the same for "Yann LeCun". Out of the 50 discovered triples for "Yoshua Bengio" being head, 12 of them have been approved to be a valid recommendation (relevant but never happened before) and 8 triples have been showing an already existing co-authorship. Profiles of 5 other researchers have not been made available by Google Citation. Among the triples with "Yoshua Bengio" considered in the tail, 8 of triples have been already discovered by the previous pattern. Profile of 5 researchers were not available and 7 researchers have been in contact and co-authorship with "Yoshua Bengio". Finally, 5 new profiles have been added as recommendations. Out of 50 triples (Y annLeCun, r, ?), 14 recommendations have been discovered as new collaboration cases for "Yann LeCun". In analyzing the triples with a pattern of the fixed tail (?, r, Y annLeCun), there have been cases either without profiles on Google Citations or have had an already existing co-authorship. By excluding these examples as well as the already discovered ones from the other triple pattern, 5 new researchers have remained as valid recommendations. In this part we investigate the sensitivity of our model to the hyperparameters (γ 1 , γ 2 , λ 0 ). To analyze sensitivity of the model to the parameters γ 2 , we fix γ 1 to 0.1, 1 and 2. Moreover, λ 0 is also fixed to one. Then different values for γ 2 are tested and visualized. Regarding the red dotted line in Fig. 3a , the parameter γ 1 is set to 0.1 and λ 0 = 1. It is shown that by changing γ 2 from 0.2 to 3, the performance increases to reach the peak and then decreases by around 15%. Therefore, the model is sensitive to γ 2 . The significant waving of results can be seen when γ 1 = 1, 2 as well (see Fig. 3a ). Therefore, proper selection of γ 1 , γ 2 is important in our model. We also analyze the sensitivity of the performance of our model on the parameter λ 0 . To do so, we take the optimal configuration of our model corresponding to the fixed γ 1 , γ 2 . Then the performance of our model is investigated in different setting where the λ 0 ∈ {0.01, 0.1, 1, 10, 100, 1000}. According to Fig. 3b , the model is less sensitive to the parameter λ 0 . Therefore, to obtain hyper parameters of the model, it is recommended that first (γ 1 , γ 2 ) are adjusted by validation when λ 0 is fixed to a value (e.g., 1). Then the parameter λ 0 is adjusted while (γ 1 , γ 2 ) are fixed. The aim of the present research was to develop a novel loss function for embedding models used on KGs with a lot of many-to-many relationships. Our use case is scholarly knowledge graphs with the objective of providing predicted links as recommendations. We train the proposed loss on embedding model and examine it for graph completion of a real-world knowledge graph in the example of scholarly domain. This study has identified a successful application of a model free loss function namely SM. The results show the robustness of our model using SM loss function to deal with uncertainty in negative samples. This reduces the negative effects of false negative samples on the computation of embeddings. We could show that the performance of the embedding model on the knowledge graph completion task for scholarly domain could be significantly improved when applied on a scholarly knowledge graph. The focus has been to discover (possible but never happened) co-author links between researchers indicating a potential for close scientific collaboration. The identified links have been proposed as collaboration recommendations and validated by looking into the profile of a list of selected researchers from the semantic web and machine learning communities. As future work, we plan to apply the model on a broader scholarly knowledge graph and consider other different types of links for recommendations e.g, recommend events for researchers, recommend publications to be read or cited. OpenAIRE LOD services: scholarly communication data as linked data Construction of the literature graph in semantic scholar Towards a knowledge graph for science Translating embeddings for modeling multi-relational data Convex Optimization A three-layered mutually reinforced model for personalized citation recommendation Convolutional 2D knowledge graph embeddings A comparative survey of DBpedia, Freebase, OpenCyc, Wikidata, and YAGO Science of science Semantic scholar Metaresearch recommendations using knowledge graph embeddings Combining text embedding and knowledge graph embedding techniques for academic search engines A review of relational machine learning for knowledge graphs Data curation in the openaire scholarly communication infrastructure Factorizing YAGO: scalable machine learning for linked data Rotate: knowledge graph embedding by relational rotation in complex space ArnetMiner: extraction and mining of academic social networks Linked data in libraries: a case study of harvesting and sharing bibliographic metadata with BIBFRAME Complex embeddings for simple link prediction OpenResearch: collaborative management of scholarly communication metadata Unveiling scholarly communities over knowledge graphs AMiner: search and mining of academic social networks Knowledge graph embedding: a survey of approaches and applications AceKG: a large-scale knowledge graph for academic data mining Big scholarly data: a survey ResearchGate: an effective altmetric indicator for active researchers? PAVE: personalized academic venue recommendation exploiting copublication networks Learning knowledge embeddings by combining limit-based scoring loss Acknowledgement. This work is supported by the EPSRC grant EP/M025268/1, the WWTF grant VRG18-013, the EC Horizon 2020 grant LAMBDA (GA no. 809965), the CLEOPATRA project (GA no. 812997), and the German national funded BmBF project MLwin.