{"id":21242,"date":"2022-01-05T14:37:15","date_gmt":"2022-01-05T13:37:15","guid":{"rendered":"https:\/\/www.inovex.de\/blog\/?p=21242"},"modified":"2022-11-21T11:43:32","modified_gmt":"2022-11-21T10:43:32","slug":"knowledge-graphs-explainability-methods-modern-natural-language-processing","status":"publish","type":"post","link":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/","title":{"rendered":"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing"},"content":{"rendered":"<p>This blog post elaborates on the interface of knowledge graphs and explainability in natural language processing. We briefly introduce the core concepts and recent approaches in the field. Afterwards, we present our own model and an interactive visualization, which aims to improve the explainability of the performed text classification.<!--more--><\/p>\n<p>&nbsp;<\/p>\n<p><span class=\"h2\">State of the Art in NLP<\/span><\/p>\n<p>Modern Natural Language Processing (NLP) methods become more and more powerful. Just recently, OpenAI showed with its giant transformer model <a href=\"https:\/\/arxiv.org\/abs\/2005.14165\" target=\"_blank\" rel=\"noopener\">GPT-3<\/a> that scaling model and data leads to impressive few-shot capabilities on various NLP tasks.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-27740 size-medium aligncenter\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-300x278.png\" alt=\"Abbildung zur Natural Language Processing Landscape\" width=\"300\" height=\"278\" srcset=\"https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-300x278.png 300w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-1024x949.png 1024w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-768x712.png 768w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-1536x1423.png 1536w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-2048x1898.png 2048w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-1920x1779.png 1920w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-400x371.png 400w, https:\/\/www.inovex.de\/wp-content\/uploads\/ThesisMotivation2blue-360x334.png 360w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Unfortuantely, the generated texts are not really explainable. All of the knowledge in this and other neural models is hiding inside some kind of black-box, it seems to be some kind of black magic. Also, one cannot simply trust these model, often they fail leading potentially <a href=\"https:\/\/www.nabla.com\/blog\/gpt-3\/?fbclid=IwAR0TJY0G7hkBWa4eUjcwkvF9G5be86VutR5XGlRSrDf-DTxIjP006pif7iE\" target=\"_blank\" rel=\"noopener\">dangerous outcomes<\/a>.<\/p>\n<p>In contrast to that\u00a0 behavior, recent <a href=\"https:\/\/www.privacy-regulation.eu\/en\/r71.htm\" target=\"_blank\" rel=\"noopener\">legislation<\/a> demands some kind of explanation for all decisions affecting people, be it decisions from humans or AI algorithms. So somehow, one has to make NLP models more explainable. Ideally, one combines all of the three existing explainability approaches, depicted below: By using other generated or known example cases, explaining the influence of the different inputs in the model (variational approach) and using inherently interpretable models where possible. For a detailed summary of all these methods have a look at the great <a href=\"https:\/\/christophm.github.io\/interpretable-ml-book\/proto.html\" target=\"_blank\" rel=\"noopener\">book<\/a> by Christoph Molnar.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-27738 aligncenter\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-1024x354.png\" alt=\"Intrinsically interpretable models, example-based explanation and variational or gradient-based black-box methods\" width=\"640\" height=\"221\" srcset=\"https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-1024x354.png 1024w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-300x104.png 300w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-768x265.png 768w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-1536x530.png 1536w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-2048x707.png 2048w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-1920x663.png 1920w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-400x138.png 400w, https:\/\/www.inovex.de\/wp-content\/uploads\/ExplainabilityApproaches-360x124.png 360w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>In addition to that lack of explainability, it is hard to change or update factual knowledge in neural models, as it is spread across many of their connection weights. Such changes might be necessary, for example, if a new president was elected or a company was renamed. In traditional rule-based systems this is easy, as this information is stored in a knowledge base, often in the form of a <a href=\"http:\/\/arxiv.org\/abs\/2003.02320\" target=\"_blank\" rel=\"noopener\">knowledge graph<\/a> (KG).<\/p>\n<p>These KGs have the nice property that knowledge can be easily added, deleted, or updated. The links between the stored entities correspond to real interpretable relations. So their information is also inherently explainable to a human, if annotated correctly with respective tags, so called literals. They are also very flexible in their structure, such that very different kinds of knowledge can be represented in them.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-27742 aligncenter\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-1024x517.png\" alt=\"Benefits\" width=\"640\" height=\"323\" srcset=\"https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-1024x517.png 1024w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-300x152.png 300w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-768x388.png 768w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-1536x776.png 1536w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-2048x1035.png 2048w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-1920x970.png 1920w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-400x202.png 400w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphBenefits-360x182.png 360w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>These reasons call for an integration of KGs into (neural) NLP models. And there is much recent work in this direction already. Commonly, KGs are integrated into neural network models via one of the following techniques:<\/p>\n<ol>\n<li>Knowledge graph embeddings: Here the structural information is vectorized with techniques already known from NLP as in <a href=\"http:\/\/arxiv.org\/abs\/1301.3781\" target=\"_blank\" rel=\"noopener\">Word2Vec<\/a> and beyond (e.g. <a href=\"https:\/\/proceedings.neurips.cc\/paper\/2013\/file\/1cecc7a77928ca8133fa24680a88d2f9-Paper.pdf\" target=\"_blank\" rel=\"noopener\">TransE<\/a>, <a href=\"http:\/\/arxiv.org\/abs\/1707.01476\" target=\"_blank\" rel=\"noopener\">ConvE<\/a>, <a href=\"http:\/\/arxiv.org\/abs\/1802.04868\" target=\"_blank\" rel=\"noopener\">SimplE<\/a>, <a href=\"http:\/\/arxiv.org\/abs\/2007.06267\" target=\"_blank\" rel=\"noopener\">BoxE<\/a>)<\/li>\n<li>Paths or subgraphs: The local neighborhood around relevant entities is used directly, as also humans (and rule-based systems) do in their reasoning paths. (e.g. in <a href=\"http:\/\/arxiv.org\/abs\/1911.10470\" target=\"_blank\" rel=\"noopener\">(Asai et al., 2020)<\/a>, <a href=\"https:\/\/www.aclweb.org\/anthology\/P19-1081\" target=\"_blank\" rel=\"noopener\">OpenDialKG<\/a>)<\/li>\n<li>Literal information: As usually a KG&#8217;s entities and relations are annotated by text in natural language (literals), this can be used in text processing model like <a href=\"http:\/\/arxiv.org\/abs\/1810.04805\" target=\"_blank\" rel=\"noopener\">BERT<\/a>. (e.g. in <a href=\"http:\/\/arxiv.org\/abs\/1909.07606\" target=\"_blank\" rel=\"noopener\">K-BERT<\/a>, <a href=\"http:\/\/arxiv.org\/abs\/1911.06136\" target=\"_blank\" rel=\"noopener\">KEPLER<\/a>)<\/li>\n<\/ol>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\" style=\"cursor:inherit\"><\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#Experiments\" >Experiments<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#Explainability-Visualization\" >Explainability Visualization<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Experiments\"><\/span>Experiments<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to test the impact of integrating KG information in neural NLP models, we ran some text classification experiments. We integrate the KG via the literals and relation types of an entities one-hop neighborhood.<\/p>\n<p>Our model, the Sandwich-Model, has two internal paths, a direct (green) and a KG path (blue).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-21246 size-large\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-1024x313.png\" alt=\"\" width=\"640\" height=\"196\" srcset=\"https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-1024x313.png 1024w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-300x92.png 300w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-768x235.png 768w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-1536x469.png 1536w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-2048x626.png 2048w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-1920x587.png 1920w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-400x122.png 400w, https:\/\/www.inovex.de\/wp-content\/uploads\/KnowledgeGraphSandwichModel-360x110.png 360w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>This enables us to direct information flow in our model. In one case, the KG is not integrated at all leaving us with a vanilla transformer-based model. In the other, the input text is only used to attend on neighbors in the KG.<\/p>\n<p>Therefore, we can investigate the influence of the KG information. We also train all the embeddings and layers from scratch in order to keep the KG as the only additional information source beyond the input text.<\/p>\n<p>For our experiments, we use the mid-size KG <a href=\"https:\/\/conceptnet.io\" target=\"_blank\" rel=\"noopener\">ConceptNet<\/a>, which contains both factual and commonsense knowledge. As a dataset we take the <a href=\"http:\/\/qwone.com\/~jason\/20Newsgroups\/\" target=\"_blank\" rel=\"noopener\">20NewsGroup<\/a> dataset. It is a collection of emails posted in different interest groups in the days of the early internet. Given the email text, one needs to predict the news group it was posted in. One example in this dataset would be the following:<\/p>\n<blockquote><p>Giants Win the Pennant!! Giants Win the Pennant !! Gi&#8230; OOOPS<\/p>\n<p>I guess I&#8217;m a little early here&#8230;<\/p>\n<p>See you in October\u2026<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>The term &#8222;Win&#8220; and the excitement in the email suggest here that it might be related to sports. Indeed, there are two classes in the dataset related to sports: &#8218;rec.sports.baseball&#8216; and &#8218;rec.sports.hockey&#8216;. But without any additional information or knowledge about the US sports, this classification is also hard to understand for a human. Here, additional KG information can be helpful: In <a href=\"https:\/\/conceptnet.io\" target=\"_blank\" rel=\"noopener\">ConceptNet<\/a> there are actually entities for &#8222;giants&#8220; and &#8222;pennant&#8220;. And there are triples stating that:<\/p>\n<blockquote><p>&#8222;giants&#8220; are a &#8222;baseball team&#8220;<\/p><\/blockquote>\n<p>and<\/p>\n<blockquote><p>&#8222;pennant&#8220; is located at a &#8222;sporting event&#8220;<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>So this gives enough information to classify it correctly as &#8222;rec.sports.baseball&#8220;. Now, let&#8217;s see if our model can infer the correct class in a similar way.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Explainability-Visualization\"><\/span>Explainability Visualization<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As our model is just a simple classifier, all we retrieve are class scores. So we have to somehow make the internal workings explainable. This can be done with some model-agnostic explainability algorithms, for which we use the <a href=\"https:\/\/captum.ai\" target=\"_blank\" rel=\"noopener\">Captum Library<\/a> that integrates nicely with <a href=\"https:\/\/pytorch.org\" target=\"_blank\" rel=\"noopener\">PyTorch<\/a>. From this library, we take the <a href=\"http:\/\/arxiv.org\/abs\/1703.01365\" target=\"_blank\" rel=\"noopener\">IntegratedGradients<\/a> method, with some experiments also with GradientSHAP. They are both based on the gradient of the model&#8217;s output probabilities with respect to the different inputs (or inputs&#8216; embeddings).<\/p>\n<p>Considering all the entities and tokens in the text, you end up with lots of numbers. How can they be made more interpretable? Visualization is key here. Actually, we implement a custom visualization that can be interactively expanded. Only the interesting parts are shown, while irrelevant inputs are hidden.<\/p>\n<p>So how does this look like for our example from above?<\/p>\n<p>In the graphics below, you can see the different classes with their predicted probabilities on the left, the input text tokens in the middle and optionally the knowledge graph neighbors on the right. The attribution values of the inputs (first number) are visualized via the colored rectangles, attention values (second number) correspond to the circle colors inside.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-33892 size-full aligncenter\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/visualisierung-1.gif\" alt=\"Animation of paths expanding\" width=\"600\" height=\"363\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt;\">Sandwich-Model with both direct and KG path<br \/>\nexpand by clicking on the rectangles in the center column<\/span><\/p>\n<p>For a model with <em>both the paths<\/em>, one can see that it focuses on the exclamation marks. It therefore predicts the wrong &#8222;misc.forsale&#8220;-class. Also, if you click on the different text tokens in the center column, you will see that the knowledge graph input on the right does not get a lot of attribution, it is not really relevant for this model&#8217;s predictions. Note also that missing entities or neighbors, like for the exclamation mark, lead to padding tokens in our model. If we now look at another model <em>excluding the direct path<\/em> and therefore putting more emphasis on the knowledge graph, we see the following:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-33896 size-full aligncenter\" src=\"https:\/\/www.inovex.de\/wp-content\/uploads\/visualisierung-2-1.gif\" alt=\"Another visualisation of paths expanding\" width=\"600\" height=\"363\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-size: 10pt;\">Sandwich-Model with only the KG path<br \/>\nexpand by clicking on the rectangles in the center column<\/span><\/p>\n<p>Actually, the class is correctly predicted and also the knowledge graph information gets a lot more attribution. But still some irrelevant info, at least from a human perspective, is somehow focused. We also have to admit that this is one example in many and actually only sometimes the knowledge graph is really beneficial.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Although our setting was experimental, using this visualization enabled us to compare the behaviour of different model variants and make sense even from faulty predictions. We also see that including the KG can potentially improve the explainability of the predictions, although it can still be optimized a lot.<\/p>\n<p>Moving towards real-world scenarios and productions systems, one would avoid training the embeddings from scratch and rather integrate pre-trained embeddings or even whole models like <a href=\"http:\/\/arxiv.org\/abs\/1810.04805\" target=\"_blank\" rel=\"noopener\">BERT<\/a>. Also, the integration of <a href=\"https:\/\/arxiv.org\/abs\/2009.11753\" target=\"_blank\" rel=\"noopener\">two- or three-hop neighborhoods<\/a> should greatly improve the model performance and explainability. In the future, probably many more NLP models will integrate this kind of structured knowledge. Besides the possible performance benefits, as shown here, this should also make neural models more explainable at last.<\/p>\n<p><span style=\"font-size: 10pt;\"><em>Entstanden im Rahmen einer Studienarbeit an der TU M\u00fcnchen, unterst\u00fctzt durch Sebastian Blank (inovex), Edoardo Mosca (TUM), Dr. Florian Wilhelm (inovex) und Prof. Dr. Georg Groh (TUM).<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post elaborates on the interface of knowledge graphs and explainability in natural language processing. We briefly introduce the core concepts and recent approaches in the field. Afterwards, we present our own model and an interactive visualization, which aims to improve the explainability of the performed text classification.<\/p>\n","protected":false},"author":185,"featured_media":33900,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"ep_exclude_from_search":false,"footnotes":""},"tags":[151,569,141,570],"service":[75],"coauthors":[{"id":185,"display_name":"Korbinian P\u00f6ppel","user_nicename":"korbinian-poeppelinovex-de"}],"class_list":["post-21242","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-deep-learning","tag-knowledge-graph","tag-nlp","tag-xai","service-nlp"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing - inovex GmbH<\/title>\n<meta name=\"description\" content=\"This article elaborates on the interface of knowledge graphs and explainability methods in natural language processing.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing - inovex GmbH\" \/>\n<meta property=\"og:description\" content=\"This article elaborates on the interface of knowledge graphs and explainability methods in natural language processing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/\" \/>\n<meta property=\"og:site_name\" content=\"inovex GmbH\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inovexde\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-05T13:37:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-21T10:43:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"810\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Korbinian P\u00f6ppel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing-1024x576.png\" \/>\n<meta name=\"twitter:creator\" content=\"@inovexgmbh\" \/>\n<meta name=\"twitter:site\" content=\"@inovexgmbh\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Korbinian P\u00f6ppel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"9\u00a0Minuten\" \/>\n\t<meta name=\"twitter:label3\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data3\" content=\"Korbinian P\u00f6ppel\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/\"},\"author\":{\"name\":\"Korbinian P\u00f6ppel\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/person\\\/44908bdedfc444ea49034504158adfaf\"},\"headline\":\"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing\",\"datePublished\":\"2022-01-05T13:37:15+00:00\",\"dateModified\":\"2022-11-21T10:43:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/\"},\"wordCount\":1396,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png\",\"keywords\":[\"Deep Learning\",\"Knowledge Graph\",\"nlp\",\"XAI\"],\"articleSection\":[\"Analytics\",\"English Content\",\"General\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/\",\"name\":\"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing - inovex GmbH\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png\",\"datePublished\":\"2022-01-05T13:37:15+00:00\",\"dateModified\":\"2022-11-21T10:43:32+00:00\",\"description\":\"This article elaborates on the interface of knowledge graphs and explainability methods in natural language processing.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png\",\"width\":1440,\"height\":810,\"caption\":\"A lamp illuminating the letters NLP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/knowledge-graphs-explainability-methods-modern-natural-language-processing\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/\",\"name\":\"inovex GmbH\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#organization\",\"name\":\"inovex GmbH\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/inovex-logo-16-9-1.png\",\"contentUrl\":\"https:\\\/\\\/www.inovex.de\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/inovex-logo-16-9-1.png\",\"width\":1921,\"height\":1081,\"caption\":\"inovex GmbH\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inovexde\",\"https:\\\/\\\/x.com\\\/inovexgmbh\",\"https:\\\/\\\/www.instagram.com\\\/inovexlife\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inovex\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC7r66GT14hROB_RQsQBAQUQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/#\\\/schema\\\/person\\\/44908bdedfc444ea49034504158adfaf\",\"name\":\"Korbinian P\u00f6ppel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59c4736d4ab69dcf33bfa16f623f5d4ba6f4ca45533c5d63c301545c1141c924?s=96&d=retro&r=g2cc8ac22fb4d3cef3a5052af2285953b\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59c4736d4ab69dcf33bfa16f623f5d4ba6f4ca45533c5d63c301545c1141c924?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59c4736d4ab69dcf33bfa16f623f5d4ba6f4ca45533c5d63c301545c1141c924?s=96&d=retro&r=g\",\"caption\":\"Korbinian P\u00f6ppel\"},\"url\":\"https:\\\/\\\/www.inovex.de\\\/de\\\/blog\\\/author\\\/korbinian-poeppelinovex-de\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing - inovex GmbH","description":"This article elaborates on the interface of knowledge graphs and explainability methods in natural language processing.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/","og_locale":"de_DE","og_type":"article","og_title":"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing - inovex GmbH","og_description":"This article elaborates on the interface of knowledge graphs and explainability methods in natural language processing.","og_url":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/","og_site_name":"inovex GmbH","article_publisher":"https:\/\/www.facebook.com\/inovexde","article_published_time":"2022-01-05T13:37:15+00:00","article_modified_time":"2022-11-21T10:43:32+00:00","og_image":[{"width":1440,"height":810,"url":"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png","type":"image\/png"}],"author":"Korbinian P\u00f6ppel","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing-1024x576.png","twitter_creator":"@inovexgmbh","twitter_site":"@inovexgmbh","twitter_misc":{"Verfasst von":"Korbinian P\u00f6ppel","Gesch\u00e4tzte Lesezeit":"9\u00a0Minuten","Written by":"Korbinian P\u00f6ppel"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#article","isPartOf":{"@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/"},"author":{"name":"Korbinian P\u00f6ppel","@id":"https:\/\/www.inovex.de\/de\/#\/schema\/person\/44908bdedfc444ea49034504158adfaf"},"headline":"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing","datePublished":"2022-01-05T13:37:15+00:00","dateModified":"2022-11-21T10:43:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/"},"wordCount":1396,"commentCount":0,"publisher":{"@id":"https:\/\/www.inovex.de\/de\/#organization"},"image":{"@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png","keywords":["Deep Learning","Knowledge Graph","nlp","XAI"],"articleSection":["Analytics","English Content","General"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/","url":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/","name":"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing - inovex GmbH","isPartOf":{"@id":"https:\/\/www.inovex.de\/de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#primaryimage"},"image":{"@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png","datePublished":"2022-01-05T13:37:15+00:00","dateModified":"2022-11-21T10:43:32+00:00","description":"This article elaborates on the interface of knowledge graphs and explainability methods in natural language processing.","breadcrumb":{"@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#primaryimage","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/Combining-Knowledge-Graphs-and-Explainability-Methods-in-modern-Natural-Language-Processing.png","width":1440,"height":810,"caption":"A lamp illuminating the letters NLP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inovex.de\/de\/blog\/knowledge-graphs-explainability-methods-modern-natural-language-processing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inovex.de\/de\/"},{"@type":"ListItem","position":2,"name":"Combining Knowledge Graphs and Explainability Methods in modern Natural Language Processing"}]},{"@type":"WebSite","@id":"https:\/\/www.inovex.de\/de\/#website","url":"https:\/\/www.inovex.de\/de\/","name":"inovex GmbH","description":"","publisher":{"@id":"https:\/\/www.inovex.de\/de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inovex.de\/de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/www.inovex.de\/de\/#organization","name":"inovex GmbH","url":"https:\/\/www.inovex.de\/de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.inovex.de\/de\/#\/schema\/logo\/image\/","url":"https:\/\/www.inovex.de\/wp-content\/uploads\/2021\/03\/inovex-logo-16-9-1.png","contentUrl":"https:\/\/www.inovex.de\/wp-content\/uploads\/2021\/03\/inovex-logo-16-9-1.png","width":1921,"height":1081,"caption":"inovex GmbH"},"image":{"@id":"https:\/\/www.inovex.de\/de\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inovexde","https:\/\/x.com\/inovexgmbh","https:\/\/www.instagram.com\/inovexlife\/","https:\/\/www.linkedin.com\/company\/inovex","https:\/\/www.youtube.com\/channel\/UC7r66GT14hROB_RQsQBAQUQ"]},{"@type":"Person","@id":"https:\/\/www.inovex.de\/de\/#\/schema\/person\/44908bdedfc444ea49034504158adfaf","name":"Korbinian P\u00f6ppel","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/59c4736d4ab69dcf33bfa16f623f5d4ba6f4ca45533c5d63c301545c1141c924?s=96&d=retro&r=g2cc8ac22fb4d3cef3a5052af2285953b","url":"https:\/\/secure.gravatar.com\/avatar\/59c4736d4ab69dcf33bfa16f623f5d4ba6f4ca45533c5d63c301545c1141c924?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59c4736d4ab69dcf33bfa16f623f5d4ba6f4ca45533c5d63c301545c1141c924?s=96&d=retro&r=g","caption":"Korbinian P\u00f6ppel"},"url":"https:\/\/www.inovex.de\/de\/blog\/author\/korbinian-poeppelinovex-de\/"}]}},"_links":{"self":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts\/21242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/users\/185"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/comments?post=21242"}],"version-history":[{"count":5,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts\/21242\/revisions"}],"predecessor-version":[{"id":38943,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/posts\/21242\/revisions\/38943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/media\/33900"}],"wp:attachment":[{"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/media?parent=21242"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/tags?post=21242"},{"taxonomy":"service","embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/service?post=21242"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.inovex.de\/de\/wp-json\/wp\/v2\/coauthors?post=21242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}