<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by SDA Research on Medium]]></title>
        <description><![CDATA[Stories by SDA Research on Medium]]></description>
        <link>https://medium.com/@sda-research?source=rss-890a6aada257------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PVcTMlSeyF0EFlQp.jpg</url>
            <title>Stories by SDA Research on Medium</title>
            <link>https://medium.com/@sda-research?source=rss-890a6aada257------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 16:59:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sda-research/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Next 66 Years of Artificial Intelligence]]></title>
            <link>https://sda-research.medium.com/the-next-66-years-of-artificial-intelligence-16dd2b7b7e55?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/16dd2b7b7e55</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Mon, 21 Nov 2022 19:44:07 GMT</pubDate>
            <atom:updated>2022-11-22T18:30:25.564Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*5LvXq3s1L0i3kRrA.jpg" /></figure><p><em>Written by Prof. Jens Lehmann.</em></p><p><em>[Disclosure: The post below reflects a personal opinion and is not linked in any way to my employer.]</em></p><p>In 1956, a workshop took place at Dartmouth College (New Hampshire, USA) which is now widely considered to be the birth of Artificial Intelligence as a research field. Even though AI-based programs were written in the years prior to the workshop and Turing’s landmark paper on “Computing Machinery and Intelligence” already appeared in 1950, the workshop is credited with actually introducing the term “Artificial Intelligence”. The now-famous workshop proposal stated:</p><blockquote>We propose that a 2-month, 10-man study of artificial intelligence be carried out during the summer of 1956 at Dartmouth College in Hanover, New Hampshire. The study is to proceed on the basis of the conjecture that every aspect of learning or any other feature of intelligence can in principle be so precisely described that a machine can be made to simulate it. An attempt will be made to find how to make machines use language, form abstractions and concepts, solve kinds of problems now reserved for humans, and improve themselves. We think that a significant advance can be made in one or more of these problems if a carefully selected group of scientists work on it together for a summer. <em>[source: </em><a href="http://raysolomonoff.com/dartmouth/boxa/dart564props.pdf"><em>proposal</em></a><em> by McCarthy, J., Minsky, M., Rochester, N., Shannon, C.E.]</em></blockquote><p>Fast forward 66 years and we now know that it takes more than a summer to make significant progress in AI. Exactly how much AI has progressed since its inception is disputed. On the one side of the spectrum, there is a perception that general purpose AI is just around the corner if we can scale up existing technology. On the other side of the spectrum, the perception is that little substantial progress on fundamental issues has been made in the past decades and several paradigm shifts are needed to achieve general purpose AI. In fact, several topics discussed 66 years ago in the Dartmouth workshop are still active areas of research such as language understanding, neural networks and creative intelligence. Undeniably, AI had remarkable achievements in this time span, such as achieving superhuman performance in a wide range of games, revolutionising natural language processing and computer vision as well as recently shifting more towards important practical problems such as protein structure prediction. Given the whirlwind of announcements related to AI and the sheer insurmountable amount of papers published in the field, it seems that it is almost unpredictable how AI will develop over the next few years, let alone decades. There is an almost universal fear among AI researchers in academia that you need to be quick in whatever you work to stay ahead of the innovation curve. Understandably, researchers and practitioners in the field can feel overwhelmed and it is easy to fall back into a myopic view of the field in which only the previous and next few years are considered. This is one of the reasons why I decided to create this blog post giving some thoughts to the more long-term implications of AI and why they matter for us now.</p><p><strong>If we could fast forward another 66 years to the year 2088, which state would AI be in?</strong> <br>What effect will it have on humanity? I can see three (not disjoint) main scenarios for advanced AI systems that I am describing below for which I believe it is worth being conscious about them even now. Naturally, this assumes that by 2088 climate change as well as political or economical crises haven’t affected our planet(s) to the point that (artificial) life on Earth (or other nearby planets) has become impossible.</p><h3>Scenario 1: AI takeover</h3><p>This is a <a href="https://www.psupress.org/Journals/jnls_JPHS.html"><em>posthumanist</em></a> scenario, elaborated in detail by <a href="https://en.wikipedia.org/wiki/Superintelligence:_Paths,_Dangers,_Strategies">Nick Bostrom</a>, <a href="https://en.wikipedia.org/wiki/The_Singularity_Is_Near">Ray Kurzweil</a> and others. The assumption here is that AI eventually achieves and surpasses the conjecture of the Dartmouth workshop quoted above. For AI systems to replace humans, not only would AI methods need to outperform human intelligence across a wide range of tasks, but humans would also need to — deliberately or accidentally — let AI systems replace them. This is a real risk and was recognized early on by experts in the field:</p><p>Alan Turing in a 1951 lecture in Manchester:</p><blockquote><em>“It seems probable that once the machine thinking method had started, it would not take long to outstrip our feeble powers. … At some stage, therefore, we should have to expect the machines to take control”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*iZPowzVwL-_yO36Q.jpeg" /></figure><p>Marvin Minsky in 1984:</p><blockquote><em>“The problem is that, with such powerful machines, it would require but the slightest accident of careless design for them to place their goals ahead of ours”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*zz-SR0aNG0lUopkM.jpeg" /></figure><p>Opposed to this, some scholars like David Lesley are not convinced that <a href="https://www.nature.com/articles/d41586-019-02939-0">we will ever see the arrival of a second intelligent species</a>. I have personally not seen any strong argument supporting this view. While strong AI will likely need more than just scaling of existing methods to more data and compute power, recent progress in language modelling, robotics and computer vision⎻even if by itself probably insufficient⎻indicates that strong AI is less than 66 years away. Strong AI alone does not automatically mean a post-humanist scenario as I explain in the third scenario below and could, on the contrary, improve the quality of life and well-being of humans significantly.</p><p>If this scenario were to happen, is there some light in the gloomingly dark perspective of a post-humanist scenario? Even though an end to the human race seems to be one of the most catastrophic outlooks we can think of, some post-humanists argue (or at least hope) that being replaced by a superior intelligence opens the path towards a better future. In this future, several failures of humanity may not be repeated by superior AI systems. For example, artificial intelligence might have a better chance to coordinate globally to protect the climate and save the environment. Higher intelligence might also lead to less war and political crises, because there might be better mechanisms for machines to arrive at solutions not needing worst-case escalations and suffering. However, there is a fundamental problem with this view: We are currently very far from being able to understand or control the behaviour of AI systems. The behaviour of artificial intelligence is quite different to the behaviour of “natural” intelligence. Without understanding it fully, handing over too much control to AI systems without proper guardrails can lead to catastrophic failures. It is important to realise that this is not a problem which only becomes relevant in several decades from now, but is already influencing us today. For example, AI algorithms screening resumes or deciding about bail and parole have been shown to treat Black and White people differently. Some mortgage applications and medical tests are screened by machine learning systems to improve efficiency⎻but the algorithms can often not explain their judgement and it could be based on spurious correlations or simply outdated information. Autonomous vehicles might be prone to adversarial attacks on road signs leading to accidents. So while AI has a huge potential for positive change, the lesson already learned over the past decade is that the more control we give to an AI system the better we need to understand it. While it might not be that important to understand the prediction of an AI method for the outcome of a soccer game, letting AI systems assign credit scores to persons or automating legal judgement critically requires a high level of understanding.</p><h3>Scenario 2: Physical integration of AI &amp; humans</h3><p>A somewhat milder scenario than the above outlined post-humanist scenario by AI takeover is the so called <em>transhumanist</em> view: Humans won’t be replaced by AI but some parts of us become biomechatronic. This vision is heavily exploited in TV shows, but is now becoming a more realistic perspective. <a href="https://neuralink.com/">Neuralink</a> is, for example, aiming to build a generalised brain device to solve several problems in human brains (such as addiction or anxiety) by implanting chips in the brain. Such efforts may ultimately lead to a much higher bandwidth channel between humans and AI systems. This could, in principle, solve many limitations of our human bodies. Improvements to humans can be used to both treat diseases by AI systems taking over critical functionality, but can also be used to enhance already healthy people. Physicist Stephen Hawking argued (see quote below) that at least a fraction of humankind would not be able to resist such improvements of human characteristics. This can lead to “super humans” who improve at a rapid rate.</p><p>While there is no doubt that this opens up opportunities to improve our lives, it also poses risks: For example, the most natural channel for us humans to communicate (to both other humans and machines) is voice, language and gestures. Using thoughts or other brain stimuli to control AI systems is something that is not very natural if it concerns any system that we do not consider to be part of our own body. This means that, similar to the transhumanist scenario outlined above, any control of an AI system that influences aspects outside of (the organic part of) our own body needs to be extremely well understood before being applied in practice.</p><p>This is particularly critical for all systems in which the communication between human organic and biomechatronic body parts is bidirectional, e.g. AI systems being able to directly fire neural signals that make human organic parts move and act as desired by the system. This can be further emphasised if neurally enhanced humans can communicate with each other. This type of communication is likely to be significantly faster and more efficient than voice. It could lead to humanity becoming a single organism connecting a large number of human brains and AI systems. Such systems could take global actions. While this could, in principle, be used to better combat global problems, any flaw might have disastrous consequences for human life and it would be unwise to use those techniques without understanding them in depth.</p><p>Stephen Hawking in 2006:</p><blockquote><em>“[…] some people won’t be able to resist the temptation to improve human characteristics, such as size of memory, resistance to disease, and length of life. Once such super humans appear, there are going to be major political problems, with the unimproved humans, who won’t be able to compete. Presumably, they will die out, or become unimportant. Instead, there will be a race of self-designing beings, who are improving themselves at an ever-increasing rate.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*pOqBmvgaJqAvJNad.jpg" /></figure><p>Elon Musk, interviewed in 2017:</p><blockquote><em>“You’re already digitally superhuman. The thing that would change is the interface — having a high-bandwidth interface to your digital enhancements. The thing is that today, the interface all necks down to this tiny straw, which is, particularly in terms of output, it’s like poking things with your meat sticks, or using words — either speaking or tapping things with fingers. And in fact, output has gone backwards. It used to be, in your most frequent form, output would be ten-finger typing. Now, it’s like, two-thumb typing. That’s crazy slow communication. We should be able to improve that by many orders of magnitude with a direct neural interface.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*u6KLQMqAwCTkjgAE.jpeg" /></figure><h3>Scenario 3: Humans (indirectly) controlling AI</h3><p>In this line of thought, which could be labelled as the <em>co-humanist scenario</em>, AI systems are explicitly aiming at following human preferences. This does not merely mean that a human has configured an AI system with what he <em>believes</em> is preferable behaviour, but rather means that an AI <em>learns those human preferences</em> itself. This is an important difference: Bostrom gives an example of this in his <a href="https://en.wikipedia.org/wiki/Superintelligence:_Paths,_Dangers,_Strategies">book on superintelligence</a>: An AI system might have the task to solve Riemann’s Hypothesis — a famous and yet unproven mathematical hypothesis. To increase the probability of solving the hypothesis, the AI might decide to transform Earth into a single large supercomputer to the detriment of all humans. It will also proactively preempt any attempts to be shut down. This means that as a side effect of trying to solve its goal, the AI system may destroy humanity since humans consume the resources it needs. The example by Bostrom is spectacular but shows a more general pattern: The standard approach to AI is to optimise an objective function and it is often not possible to rule out any negative side effects this might have.</p><p>Ruling out any negative side-effects is known as the AI control or AI alignment problem and solving it turns out to be incredibly hard to solve. Some philosophers like Richard David Precht in his recent book on <a href="https://www.amazon.de/K%C3%BCnstliche-Intelligenz-Sinn-Lebens-Essay/dp/3442315611">AI and the meaning of Life</a> play down the idea of a superintelligent system being prone to making such simple “errors” — after all, the system is highly intelligent and would act accordingly. However, this is a misconception: AI systems cannot be expected to be human-like and (by default) there is no mechanism for them to detect that they misbehave and may, in fact, unintentionally obliterate humanity.</p><p>The task-solving performance of an AI system (which is a common view of what it means to be intelligent) is usually decoupled from its alignment with human values. Several researchers have taken this as a starting point for developing AI systems that avoid this decoupling and explicitly aim to align themselves with human values. Stuart Russel in his book “Human Compatible” proposes an interesting approach that has no rigid objective function but continuously learns to match human preferences by observing human behaviour. Deepmind recently introduced <a href="https://www.deepmind.com/blog/building-safer-dialogue-agents">Sparrow</a> — a dialogue agent that aims to follow a set of human values. Generally, coupling human alignment with the performance of an AI system should, from my point of view, not be an afterthought when developing a (powerful) AI system, but a primary design consideration. Given the uncertainty about whether and when we see a technological singularity, this is a problem that already needs to be considered in the systems we are building today. While many researchers (like me) are curious about the boundaries of what AI can achieve, this curiosity doesn’t relieve us from our responsibility to think about the potential negative effects of the technology we are developing. Keeping this in mind allows us to develop safer systems, which — at the very least — allow us to stay in this third scenario for long enough to properly understand the consequences of potentially moving to a trans- or post-humanist scenario.</p><p>Irving John Good in 1965:</p><blockquote><em>“an ultraintelligent machine could design even better machines; there would then unquestionably be an “intelligence explosion,” and the intelligence of man would be left far behind. Thus the first ultraintelligent machine is the last invention that man need ever make, provided that the machine is docile enough to tell us how to keep it under control.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*ndAIMUic-5dcIwt6.jpeg" /></figure><p>Stuart Russel in 2019:</p><blockquote><em>“the standard model — whereby humans attempt to imbue machines with their own purposes — is destined to fail. We might call this the King Midas problem: Midas, a legendary king in ancient Greek mythology, got exactly what he asked for — namely, that everything he touched should turn to gold. Too late, he discovered that this included his food, his drink, and his family members, and he died in misery and starvation.”</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*LkOHsyfSdRHjpGxB.jpeg" /></figure><p><strong>Summary</strong>: In the last 66 years, in which Artificial Intelligence exists as a research field, tremendous success has been achieved in various applications. Even though making an accurate prediction is impossible, there is a reasonably high chance that we will have superintelligent AI systems within the next 66 years. Such AI systems might replace humans (posthumanism), integrate with humans (transhumanism) or follow human preferences (co-humanism). As argued above, I believe the latter case is preferable — at least as long as we do not have a strong fundamental understanding of what an AI system outside of human control would do. It is not unlikely that we obtain this level of understanding only after superintelligent AI systems emerge. Given the uncertainty on when and whether superintelligent systems emerge, it is critically important to align major AI systems with human values already today. Much like disciplines like transfer learning have moved to the AI mainstream in the past years, it is therefore required that AI safety also becomes a primary consideration if we want AI to have a positive impact 66 years from now.</p><p><em>Disclaimer: Please note that this blog post can by no means replace reading in more depth about the long-term perspective of AI research (see links below), but is rather meant as a call to AI researchers and practitioners to take AI safety issues seriously already now.</em></p><p><strong>Interesting books if you want to dive deeper:</strong></p><ul><li>“Singulatory is Near” by Ray Kurzweil</li><li>“Superintelligence” by Nick Bostrom</li><li>“Human Compatible” by Stuart Russel (recommended for its approach towards controlling AI)</li><li>“Künstliche Intelligenz und der Sinn des Lebens” by Richard David Precht</li><li>“Rebooting AI” by Gary Marcus and Ernest Davis (recommended for an easy access to the topic)</li><li>“The Alignment Problem” by Brian Christian (recommended for breadth, depth as well as real-world examples)</li></ul><p><em>Sources for quotes and images:</em></p><ul><li>Title image: <a href="https://www.scienceabc.com/wp-content/uploads/2018/01/John-maccarthy-marvin-minsky-claude-shannon-ray-solomonoff-alan-newell-herbert-simon-arthur-samuel-oliver-selfridge-nathaniel-rochester-trenchard-more-the-founding-fathers-of-ai.webp">sienceabc</a></li><li>Alan Turing quote source: “Artificial Intelligence: A Modern Approach, 4th edition” and image source: <a href="https://commons.wikimedia.org/wiki/File:Alan_Turing_Aged_16.jpg">Wikimedia Commons</a></li><li>Marvin Minsky quote source: Afterword to Vernor Vinge’s novel, “True Names”, <a href="https://web.media.mit.edu/~minsky/papers/TrueNames.Afterword.html">web version </a>and image source: <a href="https://commons.wikimedia.org/wiki/File:Marvin_Minsky_at_OLPCb.jpg">Wikimedia Commons</a></li><li>Stephen Hawking quote source: <a href="https://web.archive.org/web/20060421051343/http://www.hawking.org.uk/lectures/life.html">lecture on life in the universe</a> and image source: <a href="https://commons.wikimedia.org/wiki/File:Stephen_Hawking.StarChild.jpg">Wikimedia Commons</a></li><li>Elon Musk quote source: “What but why?” post on <a href="https://waitbutwhy.com/2017/04/neuralink.html">Neuralink and the Brain’s Magical Future</a> and image source: <a href="https://commons.wikimedia.org/wiki/File:Elon_Musk_Royal_Society_(crop2).jpg">Wikimedia Commons</a></li><li>Irving John Goog quote source: 1965, Advances in Computers, Volume 6, Speculations Concerning the First Ultraintelligent Machine and image source: <a href="https://imagebase.lib.vt.edu/image_viewer.php?q=VTA0003">Virginia Tech Imagebase</a></li><li>Stuart Russel quote source: Russel’s book “Human Compatible” and image source: <a href="https://commons.wikimedia.org/wiki/File:Stuart_Russell_01.jpg">Wikimedia Commons</a></li></ul><p>Thanks to Steve Moyle and Axel Ngonga for proof reading the article before publication.</p><p>Original Source: <a href="https://jens-lehmann.org/blog/the-next-66-years-of-ai/">https://jens-lehmann.org/blog/the-next-66-years-of-ai/</a></p><p>Twitter: <a href="https://twitter.com/JLehmann82/status/1592878943950213120?s=20&amp;t=rV4kUmwtnsIskkYw3_KZTg">https://twitter.com/JLehmann82/status/1592878943950213120?s=20&amp;t=rV4kUmwtnsIskkYw3_KZTg</a></p><p>Linkedin: <a href="https://www.linkedin.com/posts/jenslehmann82_the-next-66-years-of-artificial-intelligence-activity-6998646314712342529-iW2E?utm_source=share&amp;utm_medium=member_desktop">https://www.linkedin.com/posts/jenslehmann82_the-next-66-years-of-artificial-intelligence-activity-6998646314712342529-iW2E?utm_source=share&amp;utm_medium=member_desktop</a></p><p>Mastodon: <a href="https://sigmoid.social/@jenslehmann/109365108643988681">https://sigmoid.social/@jenslehmann/109365108643988681</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16dd2b7b7e55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Evaluate Chat Quality Using Standard NLP Benchmarks]]></title>
            <link>https://sda-research.medium.com/how-to-evaluate-chat-quality-using-standard-nlp-benchmarks-f12b329e678c?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/f12b329e678c</guid>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[language-model]]></category>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Mon, 18 Oct 2021 12:12:45 GMT</pubDate>
            <atom:updated>2021-10-18T12:12:45.813Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Proxy Indicators for the Quality of Open-domain Dialogues</em></p><p><em>Written by Rostislav Nedelchev with feedback from Prof. Ricardo Usbeck and Prof. Jens Lehmann.</em></p><p>Our <a href="https://sda-research.medium.com/evaluating-chit-chat-using-language-models-96118f42a78d">previous article</a> briefly introduced chatbots and their automatic evaluation using language models like GPT2, BERT, and XLNet. There, we discussed the importance of open-domain dialogue systems. We showed how probabilities inferred by the language model (LM) correlate with human evaluation scores. And hence, they are suitable for estimating dialogue quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*fQG2_pYbejVddWijkL6Wcg.png" /></figure><p>As discussed earlier, there are various criteria along which we judge a conversation. For example, a response can make good use of fluent language but be completely incoherent, i.e., unrelated to the preceding context. The LM-based evaluation is practical since it does<strong> not need supervision</strong>. However, it has one major downside — it presents only one score portraying the overall quality without providing insight into single criteria like fluence or coherency…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*2Oe9s2aN_ywBevY-eLRHSw.jpeg" /></figure><p>Fear not, we have a solution to this challenge! However, before we go into the answer to the problem, we need to cover some groundwork. What is one of the most important concepts in Artificial Intelligence and Machine Learning? Yes? That is right. We almost always come across <strong>benchmarking</strong> in the context of AI and ML, regardless of the subfields. In Natural Language Processing, a trendy one also drove a lot of the research and development of language models like BERT, XLNet, and many others. The <strong>General Language Understanding Evaluation</strong> (GLUE) benchmark provides resources for training, evaluating, and analyzing natural language understanding systems. It contains a total of eleven tasks that aim to assess a system’s language understanding abilities. The most famous example is sentiment analysis. Systems have to flag sentences as positive or negative. Another example is duplicate question detection. The systems have to decide whether two questions are semantically the same or similar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*TfiXAJ6ukXQwcMlRkndZwA.jpeg" /></figure><p>How does GLUE help us to evaluate dialogue quality? By now, you probably have guessed that a machine learning model performing well on CoLA can infer the fluency of a sentence. Similarly, we use pair-wise sentence tasks like RTE or STSB to check if a response is coherent with its preceding dialogue context. All of the pair-sentence tasks look for various semantic relations that can model dialogues as well. We do not use WNLI and MNLI since they cannot be easily matched to the problem of dialogue evaluation.</p><p>First, we need models that have been trained on the GLUE tasks. We took a shortcut by re-using fine-tuned BERT instances, part of the <a href="https://github.com/QData/TextAttack">TextAttack framework</a> and available on the <a href="https://huggingface.co/models?sort=downloads&amp;search=textattack">HuggingFace ModelHub</a>. We use BERT because it is an established approach. However, we think one should be able to use any neural architecture. To validate the idea, we ran experiments on data that involve knowledge-based conversations evaluated by humans. The assessment involved six criteria — Understandable, Natural, Maintains Context, Interesting, Uses Knowledge, and Overall Quality. We then took the probabilities scores and ran a correlation analysis against the human annotations.</p><p>As expected, we have Pearson’s and Spearman’s correlations coefficients of up to <strong>0.7</strong>. For example, one of the criteria, “Uses Knowledge”, and “STSB” have correlation rates of <strong>0.7329</strong> and <strong>0.7173</strong>, respectively. Also, using “STSB”, we acquire correlations of <strong>0.3620</strong> and <strong>0.3463</strong> with “Maintains Context”. But this is not all!</p><p>Now we have quality indicators for each of the criteria. It would also be great to have a mixture of those that would indicate the overall quality since the single ones did not correlate that well. We ran a linear regression using the single GLUE tasks as dependent variables and the Overall Quality criteria as a target. The composite indicator has correlation coefficients of almost <strong>0.5</strong>. In contrast, the best single GLUE task has only <strong>0.4</strong>.</p><p>All these correlation coefficients imply a relationship between the variables. In the last example, a value of <strong>0.5</strong> suggests that for every unit of increase of the Overall criterion the linear regression will respond by half of it. In other words, if the evaluator increases the score by <strong>0.1</strong>, the model should do so by <strong>0.05</strong>.</p><p>In the figure below, we visualized the learned weights from the linear regression.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*3CC6oVaGu06wNNin" /></figure><p>We see that many of the tasks have influence. Some of them are even quite strong. The weights with a “fact” prefix calculate the scores between the conversation knowledge base and the target response. We see that semantic overlap tasks like MRPC and STSB have the strongest role. The observation applies both to measuring the tasks against dialogue context and knowledge base.</p><p>While the correlation coefficients are decent, there is still some space for improvement. In the future, we will look into other such benchmarks that could possibly provide additional improvements. So until we close that gap, be sure to follow us here on the blog not to miss any news!</p><p><strong>Link to paper:</strong> <a href="https://jens-lehmann.org/files/2021/emnlp_dialogue_quality.pdf">https://jens-lehmann.org/files/2021/emnlp_dialogue_quality.pdf</a><br><strong>Link to code: </strong><a href="https://github.com/SmartDataAnalytics/proxy_indicators">https://github.com/SmartDataAnalytics/proxy_indicators</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f12b329e678c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Neural Language Models — A Path to Artificial General Intelligence or a Blind Alley?]]></title>
            <link>https://sda-research.medium.com/neural-language-models-a-path-to-artificial-general-intelligence-or-a-blind-alley-f6d81d16a0c4?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6d81d16a0c4</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[language-model]]></category>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Mon, 30 Aug 2021 09:21:40 GMT</pubDate>
            <atom:updated>2021-08-30T12:13:03.400Z</atom:updated>
            <content:encoded><![CDATA[<h3>Neural Language Models — A Path to Artificial General Intelligence or a Blind Alley?</h3><p>Written by Prof. Dr. Jens Lehmann</p><p><em>[Disclaimer: The text below represents a personal opinion based on the scientific evidence we have so far.]</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1y2o2OL_M8d_72lfngh-jg.jpeg" /></figure><p>With the rapid progress AI research has made over the past years, the decades-old question of whether machines can achieve a form of general intelligence has regained a lot of interest. One particular technology that has played a major role in those discussions are (neural) language models. In essence, a language model tries to model the distribution of all possible utterances in a particular language. They are often trained on simple tasks, such as predicting the next word in a sentence or finding a missing word in a sentence — but this is done at an extreme scale using very large neural networks. Language models have a wide range of applications in speech recognition, dialogue systems, machine translation and information retrieval. With the advent of recent very large-scale <a href="https://arxiv.org/abs/1706.03762">Transformer</a>-based language models like <a href="https://arxiv.org/pdf/2005.14165.pdf">GPT-3</a>, <a href="https://arxiv.org/abs/2101.03961">Switch Transformers</a> or Wu Dao 2.0, which achieved impressive results in <a href="https://openai.com/blog/gpt-3-apps/">a variety of applications</a>, a key question is whether those neural language models (NLMs) are potential building blocks for artificial general intelligence.</p><p><strong>Few-Shot Learning and General Intelligence</strong></p><p>One particularly interesting aspect in this discussion is the few-shot learning capability of GPT-3 and other language models: they only need a few examples in order to perform a new language-related task. This capability of learning quickly from a few examples rather than needing several thousand training examples is an important goal in AI. Moreover, this type of intelligence is more “general” in the sense that a single model can be used in potentially thousands or even millions of use cases and domains without requiring specific architecture modifications, retraining or fine-tuning. This is similar to humans — who often require only a few examples to learn a new task.</p><p>This is great, but does this automatically make large-scale language models the key technology for artificial general intelligence (AGI)? Opinions on this vary greatly. Here are two (seemingly) contrasting views on this matter:</p><p><em>“… the problem is not with GPT-3’s syntax (which is perfectly fluent) but with its semantics: it can produce words in perfect English, but it has only the dimmest sense of what those words mean, and no sense whatsoever about how those words relate to the world.”</em></p><p>— Gary Marcus and Ernest Davies (<a href="https://www.technologyreview.com/2020/08/22/1007539/gpt3-openai-language-generator-artificial-intelligence-ai-opinion/">source</a>)</p><p><em>“Wu Dao 2.0 aims to enable machines to think like humans and achieve cognitive abilities beyond the Turing test.”</em></p><p>— Tang Jie, lead researcher behind Wu Dao 2.0 (<a href="https://towardsdatascience.com/gpt-3-scared-you-meet-wu-dao-2-0-a-monster-of-1-75-trillion-parameters-832cd83db484">source</a>)</p><p>In order to analyse whether NLMs are an important building block for general intelligence, I believe (at least) two aspects are critical:</p><p>1. Are large-scale language models only memorizing training data or do they possess actual learning/generalisation capabilities?</p><p>2. Can we overcome the data labelling dilemma, i.e. the fact that we rely on huge amounts of text for unsupervised training but still want to keep some control over what the resulting model does? (e.g. avoidance of unwanted bias, knowledge inception)</p><p>I’ll discuss both points below. After that, I will address the practical concern that many researchers are locked out from even investigating those questions due to the sheer size and restricted availability of NLMs.</p><p><strong>Memorisation vs. Generalisation</strong></p><p>Given that large-scale neural language models have an extremely high number of parameters, a natural question is whether they just memorize input data or can actually combine several pieces of evidence. In simpler terms, the question is: Are neural language models actually intelligent?</p><p>To answer this, we should first have a look at where they perform well and where they don’t. Using GPT-3 as an example, it is evident that the model doesn’t automatically perform well in all types of tasks out of the box. In the benchmarks in the original paper, GPT-3 performs far below the state-of-the-art in several tasks, such as commonsense reasoning, summary generation, translation and machine reading comprehension, while it does very well at other tasks involving text generation. However, this alone does not allow to answer the question since GPT-3 had no task-specific training data. This means it cannot exploit dataset-specific patterns in the same way as task-specific approaches. One could argue that its performance on those tasks is, therefore, underrated as it cannot use spurious patterns in the data that are no sign of intelligence. For example, the performance of better performing machine reading comprehension models <a href="https://arxiv.org/abs/2004.14004">can break down under simple text changes</a>.</p><p>This means we need to dive a bit deeper into specific scenarios:</p><p>One interesting <a href="https://medium.com/@melaniemitchell.me/can-gpt-3-make-analogies-16436605c446">copycat test</a> was done by Prof. Mitchell and involves finding analogies, e.g. using the following prompt:</p><p>Q: If a b c changes to a b d, what does p q r change to?</p><p>A: p q s</p><p>Q: If a b c changes to a b d, what does i j k change to?</p><p>GPT-3 answered “i j l” here, so it correctly changed the last symbol to the next letter in the alphabet. This is pretty good and, moreover, it also succeeded at some other, more difficult tasks. (Note: <a href="https://medium.com/@melaniemitchell.me/follow-up-to-can-gpt-3-make-analogies-b202204bd292">The model did not see those examples before.</a>) However, it was not doing well in zero-shot learning — in the above example, it could not solve the task after only getting the first question. In the tests, GPT-3 also had some errors, which are not typical for humans. How one rates the NLM performance on this depends pretty much on what the expectations are. Having a relatively low expectation of any true understanding of an NLM, I rated the results positively. It seems that language models do have generalisation capabilities, but there are also clear limitations. For example, GPT-3 <a href="https://gpt3experiments.substack.com/p/is-gpt-3-really-doing-few-shot-learning">does not learn to reverse sentences</a> or assigns <a href="https://www.byteside.com/2020/11/openai-gpt3-research-common-sense-vokenization/">similar chances to sheep being black or white</a>. One should, however, also point out that those tasks actually go beyond modelling (mostly English) language. For example, in the above copycat example, one could argue that a child who speaks English fluently and natively, might still struggle at this task. In contrast, an adult who does not speak English fluently could still solve the task. This raises the question of what we should expect from a language model. I would argue that a language model trained only on plain text is unlikely to be an AGI itself, but can rather be a (potentially very useful) component helping to build AGI capabilities.</p><p>What about other large NLMs? There isn’t too much information available on Wu Dao 2.0, which is an order of magnitude larger than GPT-3. It has supposedly surpassed GPT-3 performance on the SuperGLUE benchmark and is trained on different modalities (audio, text, images), so one could assume its capabilities to be beyond GPT-3 However, not much external verification has been conducted and, to my understanding, the model is currently not accessible outside of its partner network.</p><p>Overall, NLMs do generalise and it is in some sense remarkable how far simple word correlation takes you. However, the jury is still open as to whether it can also be trained to understand causal relationships, which <a href="https://arxiv.org/abs/2102.11107">Bengio or Schölkopf</a> recognise as a major next AI challenge towards generalisation.</p><p><strong>The Data Labeling Dilemma (aka the “NLM Control Problem”)</strong></p><p>Unsupervised learning is considered to be a key ingredient to research towards AGI as labelled data is often very time-consuming and expensive to obtain. Unsupervised pre-training has been highly beneficial as the results across several domains and tasks in NLP over the past years have shown.</p><p>However, this leads to a key problem: While an abundant amount of text is available for unsupervised pre-training, any model using those large volumes of text also inherits the statistical correlations and patterns in such texts. The dilemma is that learning this kind of correlation is exactly what most language models are trained to do. As is usually the case in AI (and computer science in general), you get exactly what you specified. This means that any unintended bias, including swear words, discriminating language etc. will therefore be contained in the language model. From my point of view, this is a special case of the general <a href="https://en.wikipedia.org/wiki/AI_control_problem">AI Control Problem</a>, i.e. the issue of building a potentially superintelligent system that can inadvertently cause harm to us humans. I will therefore call this the “NLM Control Problem” here. This is a problem for most practical use cases, in which organisations need to keep some level of control over what their NLP systems are doing.</p><p>The NLM Control Problem is most frequently analysed in the context of unintended bias and recently OpenAI itself has published <a href="https://openai.com/blog/improving-language-model-behavior/">a process to improve language model behaviour by using only a small curated dataset</a>. While those and other results are promising, the NLM Control Problem goes beyond the avoidance of unintended bias: I believe we need more general methods for inspecting, removing, updating and injecting knowledge into language models. Most organisations using neural language models may be impressed by the out-of-the-box performance in a few-shot learning setting, but then run against a wall when trying to optimise the model and adapt it to their specific use cases (see <a href="https://arxiv.org/pdf/2106.09231.pdf">this paper</a>). Moreover, a common scenario is that the model should connect knowledge graphs or any other forms of structured knowledge as a form of “ground truth” from which answers can be derived. Phrased more generally:</p><p><em>“We must refocus, working towards developing a framework for building systems that can routinely acquire, represent, and manipulate abstract knowledge, using that knowledge in the service of building, updating, and reasoning over complex, internal models of the external world.”</em></p><p>— Gary Marcus in “<a href="https://arxiv.org/ftp/arxiv/papers/2002/2002.06177.pdf">The Next Decade in AI</a>”</p><p>There have been <a href="https://vamsi-aribandi.github.io/LS_I/">multiple approaches to address this issue</a> and I believe knowledge grounding, inspection and extraction will be crucially important to the future of neural language models. Without some form of grounding and only relying on correlation, it is very difficult for NLMs to go beyond a shallow understanding of the text they process. It is clear that the issues discussed so far still need a lot of research to be carried out. However, are we really able to progress significantly in those areas when most of us do not have access to very large-scale neural language models? That’s what I will discuss next.</p><p><strong>Are most researchers locked out from investigating large-scale neural language models?</strong></p><p>It is well known that the hardware resources required for building large-scale neural LMs are huge. GPT-3 was trained on the OpenAI supercomputer with 10.000 GPUs and a single training run costs millions of dollars. Moreover, GPT-3 is exclusively licensed by Microsoft and access to the model requires requests, which do not necessarily need to be accepted by OpenAI. Access to Wu Dao 2.0 is also not available for all researchers. This means that most researchers need to experiment with small and medium scale NLMs. However, this is insufficient — after all, a core message of the original GPT-3 paper was that the scale of the model influences the results significantly (more on this below). Leaving such an important area of research, which will potentially influence the lives of millions (if not billions) of people, to a few organisations and countries, poses a risk not only for AI research but for society at large.</p><p>What can be done to overcome those issues? One direction is to work with smaller-scale models with similar performance or characteristics. For example, <a href="https://arxiv.org/abs/2009.07118">a recent interesting paper</a> has investigated the few-shot learning capabilities of small-scale NLMs. Another direction is to use more efficient or specialised hardware. This is likely to play a major role in training future NLMs. However, I believe that despite those efforts, it won’t be possible for most researchers to access and use the most competitive language models (see also <a href="https://www.welt.de/wirtschaft/article223415594/GPT-3-Europa-muss-dieses-KI-Projekt-kopieren-sonst-verliert-es-den-Anschluss.html">this post</a> from my colleague Kristian Kersting). To overcome this, there are important initiatives like <a href="https://bigscience.huggingface.co/">BigScience</a>, which bring many researchers together. My own team will play a major role in a newly acquired project called “OpenGPT-X”, which will make large-scale NLMs available to all researchers based on the <a href="https://www.data-infrastructure.eu/">GAIA-X infrastructure</a> (blatant self-advertisement: we are hiring and if you want to work in OpenGPT-X, please apply <a href="https://www.iais.fraunhofer.de/en/career/vacancies/iais-2021-20.html">here</a>). OpenGPT-X will start at the end of 2021 and run for 3 years. Further initiatives will be needed around the globe to make NLMs more accessible and support a broad range of languages.</p><p><strong>What can we expect in the future?</strong></p><p>All the above is particularly important, because we may need even larger neural language models in the future: The research results so far show that their limitations haven’t been reached as shown in the figure below. In other words: even bigger neural language models are very likely to produce even better results. Even the 175 billion parameters of GPT-3 are still lower than the number of synapses in the human brain <a href="https://www.sciencedaily.com/releases/2010/11/101117121803.htm">which contains more than 125 trillion synapses just in the cerebral cortex alone</a>. Will there be limitations? Naturally, our own understanding capabilities will be a barrier: The input texts for NLMs are (largely) produced by humans such that a human-level understanding of language will also mark a boundary at which further scaling up the models does not yield further improvements. However, we will not know much about the exact limitations and boundaries until we actually try.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mO5XLZPZ36YvOO5CP6i6Lg.jpeg" /><figcaption><em>( </em><a href="https://humanloop.com/blog/how-good-is-gpt-3-in-practice"><em>source</em></a><em> adapted from the original GPT-3 Paper )</em></figcaption></figure><p>Progress is made along this dimension: Earlier this year, <a href="https://arxiv.org/abs/2101.03961">Switch Transformers</a> have already surpassed the trillion parameter mark at (relatively) low computational cost. In May 2021, Google has presented <a href="https://blog.google/technology/ai/lamda/">LaMDA</a> in their annual I/O conference, which has specifically showcased the use of very large language models for chatbots. Wu Dao 2.0 was released in June this year and has ten times the size of GPT-3 with overall 1.75 trillion parameters. It uses both text and image data and achieved state-of-the-art performance across a wide range of tasks. It is almost certain that the scale of models will increase further — while hopefully not locking out large parts of the NLP community from investigating and improving the capabilities of such models.</p><p><strong>Concluding Thoughts</strong></p><p>What is the final takeaway on the question raised in the title of this post? As of now, it is still open whether large-scale neural LMs will be a substantial building block for AGI. The evidence so far indicates that they are not a blind alley and a rather interesting research field in which the limits haven’t been fully explored. However, I believe they are unlikely to yield further breakthroughs when used standalone, i.e. only pre-training on simple word prediction tasks using large amounts of text is not enough — combinations with other forms of knowledge are promising. As pointed out above, from my perspective deeper investigations into the generalisation capabilities of such models and the NLM Control Problem are necessary. This will require substantial research activities and that is why it is crucially important to not limit those activities to the research labs of a limited number of companies worldwide, but rather activate the NLP research community at large.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6d81d16a0c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5* Knowledge Graph Embeddings with Projective Transformations @AAAI2021]]></title>
            <link>https://sda-research.medium.com/5-knowledge-graph-embeddings-with-projective-transformations-aaai2021-c7a3f2adfbb7?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7a3f2adfbb7</guid>
            <category><![CDATA[knowledge-graph-embedding]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[link-prediction]]></category>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Fri, 05 Feb 2021 19:28:00 GMT</pubDate>
            <atom:updated>2021-02-10T11:31:15.969Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, we would like to present our recent contribution in <em>knowledge graphs embedding</em> <em>(KGE) models</em> which was accepted at the AAAI 2021 conference.</p><p><strong>Knowledge Graph Embeddings</strong><em><br></em>Knowledge Graphs [<a href="https://www.linkedin.com/pulse/knowledge-graphs-networks-story-brief-amit-sheth/">1</a>] are used by many organisations to store and structure relevant information. In knowledge graphs, entities are represented by nodes and relationships are represented by edges. In the example here, you can, for instance, see that Carl Gotthard Langhans is the architect of Brandenburg Gate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vAUPFmxudBkgWhUj" /><figcaption><em>Figure1. Sample knowledge Graph</em></figcaption></figure><p>Most current machine learning methods require an input in the form of features, which means they cannot directly use a graph as input. For this reason, we aim to learn feature representations, so-called embeddings, of entities and relations in the knowledge graph.</p><p><strong>Limitations of Existing Embedding Models</strong><em><br></em>Performing link prediction using knowledge graph embedding models has become a popular approach for knowledge graph completion. Such models employ a transformation function that maps nodes via edges into a vector space in order to measure the likelihood of the links. While mapping the individual nodes, the structure of subgraphs is also transformed. Most of the existing KGEs have been designed in Euclidean geometry and usually support a single transformation type — often translation or rotation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Xy5TQhudgpWbn-vo" /><figcaption>Figure 2.Transformation Function of Knowledge Graph Embedding models</figcaption></figure><p>This limits the ability of KGE models in embedding KGs with complex motifs in subgraphs, especially when multiple structures exist in a neighborhood. An example of this situation is the presence of a path structure for a group of nodes close to a loop structure of another group in a KG (illustrated in the figure below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/0*rLZVkhRfxy_bQlj9" /><figcaption>Figure 3. Example of Graph and vector representation of path/loop.</figcaption></figure><p><strong>Projective Transformation Functions<br></strong>Projective transformations include simultaneous transformations covering: translation, rotation, homothety, reflection and inversion and is the foundation of our approach.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTP0MKNi7Q7w%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTP0MKNi7Q7w&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTP0MKNi7Q7w%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a0b50bd7360a148bd704ce8c75227507/href">https://medium.com/media/a0b50bd7360a148bd704ce8c75227507/href</a></iframe><p>As you can see, there is a sphere laid on a plane. For each point on the sphere (except the north pole), there is a counterpart on the complex plane which is obtained by projecting from the sphere to the plane. The points which are closer to the north pole are projected to a longer distance and the north pole is projected to the infinity on the plane.</p><p>Here, sequences of points (on the sphere or plane) form flows. The transition from one point to another point is performed by the projective transformation. The projective transformation is a parametric function. Depending on the values of the parameters, the projective transformation gives various shapes to the vector space (shape of flows) namely Circular, Elliptic, Hyperbolic, Parabolic and Loxodromic.</p><p>In the case of Circular, the projective transformation has one fixed point (here the fixed point is in the origin). The flows have circular shapes around the fixed point. In the case of elliptic, the projective transformation has two fixed points and the flows are circulated around each of them. For Hyperbolic, again there are two fixed points, but here the flows are sourced from one fixed point and sank to another one. Parabolic contains one fixed point (here on the north pole) and the flows on the sphere start from the point and after passing along the sphere, they back to the fixed point. Note that here, the flows on the sphere become straight lines on the plane. In the case of Loxodromic, there are two fixed points on the sphere (one fixed point is close to the north pole on the sphere and the other is close to the south pole). The flows are sourced from one fixed point and sunk to the other, spirally. After projecting the flows from sphere to plane, one fixed point is close to origin on the plane and the other is projected in a longer distance. Therefore, on the plane, the flows pass a long distance in a spiral way from one fixed point to another one.As seen, the projective transformation has flexibility to give different shape to the landscape of the vector space and consequently encode much more structural information in the vector space.</p><p><strong>Formulation of Projective Transformation<br></strong>Project geometry is the type of geometry in which parallel lines intersect at infinity, which also corresponds to how we humans see the world. In our new model 5-star, we use complex numbers with real and imaginary parts in projective geometry. I’ll show you here how the transformation is done. A complex number is represented by a point in the complex plane you can see at the bottom here. The transformation works by first projecting a point in the complex plane to a point in the sphere. This is the so-called Riemann Sphere, which is a representation for the complex numbers extended by infinity. We then move the sphere to a new position in the second step and in the third step project the result back to the complex plane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gYSV8v2-tfy7b3cs" /><figcaption>Figure 4. From projective transformation to Möbius</figcaption></figure><p><strong>5*E Knowledge Graph Embedding<br></strong>Below,we show the stereographic projection to map nodes. Relation specific transformation performed by 5*E can be represented as a composition of three transformations: First, the original head embedding is mapped from the complex plane to the Riemann sphere shown in the right side of the figure. The sphere is then moved to a new position shown by M. The point on the moved sphere is then mapped from the sphere to the complex plane by using the stereographic projection. Therefore, in order to map head to tail entities, a more complex transformation is performed which enables capturing more complex structures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2rcpLYecCZlEWXB6" /><figcaption>Figure 5. Relation-specific mapping by Möbius</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVJLsLnHX-3o%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVJLsLnHX-3o&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVJLsLnHX-3o%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b538522b667d42b93e4abafd0096997f/href">https://medium.com/media/b538522b667d42b93e4abafd0096997f/href</a></iframe><p>The relation specific transformation in 5*E can be represented as composition of translation, rotation, homothety, reflection and inversion. As you see, the left side is a complex plane and the right side is the plane with a Riemann sphere shown in 3D space. The translation is performed by moving the sphere from one position to another one. Homothety is performed by moving the sphere along the z axis which results in change in the size of the shape in the complex plane. The rotation of shape in the plane is performed by rotating the sphere around the z axis. Inversion and reflection are shown by rotation of the sphere around the real or imaginary axis.</p><p><strong>Evaluation and Results<br></strong>We analysed the behavior of 5*E both in entity level and relation level. We captured the changes for inverse relations as you see. We fed a grid into the learned transformation by 5*E for partof and haspart relations as well as hypernym and hyponym relations which are in inverse relation. Lines mapped to circles and the transformation learned by each of pairs are inverse of each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*7TUEn8ooBBF3L5WsiWYqHA.png" /><figcaption><strong>Figure 6. Entity level illustration of transformations by 5*E</strong></figcaption></figure><p>Here are example visualizations for transformations in a KG. On the left, you can see relation embeddings. The top shows a grid of complex numbers. Any point on the grid can be one dimension of an entity embedding. Below, you can see how those points are transformed via the relation specific transformation. This image is taken from the WordNet knowledge graph and you can see the inverse relations hypernym and hyponym here. Inverse means that whenever A is a hypernym of B, then B is a hyponym of A. What is very nice here is that this inversion pattern is modelled as a reflection in the embedding space as you can see. This indicates that the model can preserve this inverse relationship in the embedding space</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*V1dxqdEPYLx-onZO" /><figcaption>Figure 7. Relation level illustration of transformations by 5*E</figcaption></figure><p>On the right side, you can see the embeddings of entities at the top. Those are transformed to the embeddings at the bottom. The interesting aspect here is that lines are transformed to circles and circles to lines. No other model can do this and this influences the structure preservation in the knowledge graph.</p><p>Apart from the performance in practice, a nice thing is that we could also prove some formal properties. We could show that the model is fully expressive. A model is fully expressive if it can accurately separate existing and non-existing triples for an arbitrary KG.</p><p>We could also show that the model is capable of inferring several relational patterns, in particular rule composition, inverse rules and symmetric rules. Inference here means that when the premise is true according to the score function of the model, then the conclusion is also true.</p><p>Last, but not least, we could show that the model subsumes various state-of-the-art models. Subsumes here means that any scoring for an arbitrary KG of a model can be achieved by the more general model. Essentially, it means that all other models are special cases of the proposed model.</p><p><strong>Link to Paper:</strong> <a href="http://jens-lehmann.org/files/2021/aaai_5StarE.pdf">http://jens-lehmann.org/files/2021/aaai_5StarE.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7a3f2adfbb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Summary of Recent SDA Contributions towards improving Entity Disambiguation, Linking and…]]></title>
            <link>https://sda-research.medium.com/a-summary-of-recent-sda-contributions-towards-improving-entity-disambiguation-linking-and-30a5bfe66a7?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/30a5bfe66a7</guid>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Fri, 27 Nov 2020 12:09:25 GMT</pubDate>
            <atom:updated>2020-11-30T09:37:21.257Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Summary of Recent SDA Contributions towards improving Entity Disambiguation, Linking and Prediction</h3><p><em>This blog post was written by several authors in the SDA Team.</em></p><p>In 2020, the SDA team contributed to several improvements to the state-of-the-art in individual AI challenges on standard community datasets. We reported about those results in several papers and blog posts. In this post, we want to collect those and provide pointers to further relevant information. A common theme is that we achieved better performance on various tasks by improving the use of knowledge graph structures. Below is a table listing improvements on particular tasks and (very briefly) how we achieved them. For each entry, you can find more information and the list to the paper below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fairtable.com%2Fembed%2FshrCXsniUVHnY6kaj&amp;display_name=Airtable&amp;url=https%3A%2F%2Fairtable.com%2FshrCXsniUVHnY6kaj&amp;image=https%3A%2F%2Fstatic.airtable.com%2Fimages%2Foembed%2Fairtable.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=airtable" width="800" height="533" frameborder="0" scrolling="no"><a href="https://medium.com/media/a2e9565e97d03b5eb6786649c9c54ab6/href">https://medium.com/media/a2e9565e97d03b5eb6786649c9c54ab6/href</a></iframe><p>Evaluating the Impact of Knowledge Graph Context on Entity Disambiguation Mode (<a href="https://arxiv.org/pdf/2008.05190.pdf">Paper</a>)<br><strong>Authors</strong>: Isaiah Onando Mulang’, Kuldeep Singh, Chaitali Prabhu, Abhishek Nadgeri, Johannes Hoffart and Jens Lehmann<br><strong>Conference</strong>: 29th ACM International Conference on Information and Knowledge Management (<strong>CIKM 2020</strong>)</p><p><strong>Summary</strong>: The paper presents varying modulations of two major Entity Disambiguation models (a transformer model and an attention model dynamically augmented with context) enhanced with extra knowledge graph context (Figure 1). It achieves a new state of the art on entity disambiguation task on following standard datasets: with 94.94 F1 score on CONLL-AIDA Wikipedia dataset, and with 92.35 F1 score on Wikidata-disamb dataset for Wikidata. This work experiments with both one-hop, and two-hop triples as model inputs, in which the input representation allows the models to focus on relevant entity-specific signals from the KG, that improves model performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/0*dfy2Y-BtCYadl-Bk" /><figcaption>Figure 1: Overall Approach: Φrefers to the ordered set of triples from the KG for a candidate entity while Φ max ⊆ Φ, is the maximum number of triples that fits in the sequence length. For brevity: N→”National”, H→”Highway”, desc→”description.</figcaption></figure><p>PNEL: Pointer Network based End-To-End Entity Linking over Knowledge Graphs (<a href="https://arxiv.org/abs/2009.00106">Paper</a>)<br><strong>Authors</strong>: Debayan Banerjee, Debanjan Chaudhuri, Mohnish Dubey, Jens Lehmann<br><strong>Conference</strong>: The 19th International Semantic Web Conference (<strong>ISWC 2020</strong>)</p><p><strong>Summary</strong>: This work implements an entity linking model that takes a natural language sentence as input, vectorises its entity candidates, and lets a pointer network mark the correct entities in the candidate list (Figure 2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/0*wl7qod3wk_IXVydi" /><figcaption>Figure 2: The red and green dots represent entity candidate vectors for the given question. The green vectors are the correct entity vectors. Although they belong to the same entity they are not the same dots because they come from different n-grams. At each time step the Pointer Network points to one of the input candidate entities as the linked entity, or to the END symbol to indicate nochoice.</figcaption></figure><p>Knowledge Graph Entity Aliases in Attentive Neural Networks for Wikidata Entity Linking (<a href="https://arxiv.org/pdf/1912.06214.pdf">Paper</a>)<br><strong>Authors</strong>: Isaiah Onando Mulang’, Kuldeep Singh, Akhilesh Vyas, Saeedeh Shekarpour, Maria Esther Vidal, Jens Lehmann and Sören Auer<br><strong>Conference</strong>: 21th International Conference on Web Information Systems Engineering (<strong>WISE 2020</strong>)</p><p><strong>Summary</strong>: The paper aims for identifying and linking entities in a web document to the Wikidata KG. The proposed approach Arjun is a new state of the art on T-Rex Wikidata dataset with an F-score 0.713 compared to previous baseline with 0.579 score. This work, empirically illustrates that extra entity specific context improves the EL task. Here, Such information (readily available in the KG — e.g. entity aliases) is derived into a local, enriched background-KG, and used at the interchange between the mention detection and the entity disambiguation stages of the Entity Linking. Enabling the attentive neural network to effectively capture better signals for the Linking process, especially in the challenging KGs like Wikidata. The overall approach is depicted in Figure 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/0*toovwOhDm793tGe7" /><figcaption>Figure 3: Proposed Approach Arjun: Arjun consists of three tasks. First task identifies the surface forms using an attentive neural network. Second task induces background knowledge from the Local KG and associates each surface form with potential entity candidates. Third task links the potential entity candidates to the correct entity labels.</figcaption></figure><p>Message Passing for Hyper-Relational Knowledge Graphs (<a href="https://arxiv.org/pdf/2009.10847">Paper</a>)</p><p><strong>Authors</strong>: Mikhail Galkin, Priyansh Trivedi, Gaurav Maheshwari, Ricardo Usbeck, Jens Lehmann<br><strong>Conference</strong>: Empirical Methods in Natural Language Processing (<strong>EMNLP 2020</strong>)</p><p><strong>Summary</strong>: The paper introduces a GNN encoder architecture that aggregates additional attributes over KG edges, e.g., entity-relation qualifier pairs in Wikidata statements (Figure 4). The aggregated entity and relation representations are then decoded through the transformer for a downstream link prediction task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/0*xONSg7wYZojAuHuc" /><figcaption>Figure 4: The mechanism in which STARE encodes a hyper-relational fact from Fig. 1.B. Qualifier pairs are passed through a composition functionφq, summed and transformed by Wq. The resulting vector is then merged viaγ, andφrwith the relation and object vector, respectively. Finally, nodeQ937aggregates mes-sages from this and other hyper-relational edges.</figcaption></figure><p>MDE: Multiple Distance Embeddings for Link Prediction in Knowledge Graphs (<a href="https://ecai2020.eu/papers/1271_paper.pdf">Paper</a>)<strong><br>Authors:</strong> Afshin Sadeghi and Damien Graux and Hamed Shariat Yazdi and Jens Lehmann<br><strong>Conference</strong>: European Conference on Artificial Intelligence (<strong>ECAI 2020</strong>)</p><p><strong>Summary</strong>: In this paper, we propose the Multiple Distance Embedding model (MDE) a knowledge graph embedding model that combines variant latent distance-based terms (Figure 5). MDE allows modeling relations with (anti)symmetry, inversion, and composition patterns. MDE_adv version of the model is a neural network model that allows to map nonlinear relations between the embedding vectors and the expected output of the score function. The model performs competitively to state-of-the-art embedding models on several benchmark datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/0*AXJB8-oPvShhn4Xg" /><figcaption>Figure 5: Geometric illustration of the translation terms considered in MDE.</figcaption></figure><p>Temporal Knowledge Graph Completion based on Time Series Gaussian Embedding (<a href="https://arxiv.org/pdf/1911.07893.pdf">Paper</a>)<strong><br>Authors:</strong> Chengjin Xu and Mojtaba Nayyeri and Fouad Alkhoury and Hamed Shariat Yazdi and Jens Lehmann<br><strong>Conference</strong>: The 19th International Semantic Web Conference (<strong>ISWC</strong> <strong>2020</strong>)</p><p><strong>Summary</strong>: This paper introduces ATiSE, a temporal KGE model that incorporates time information into KG representations by fitting the temporal evolution of entity/relation representations over time as additive time series. Considering the uncertainty during the temporal evolution of KG representations, ATiSE maps the representations of temporal KGs into the space of multi-dimensional Gaussian distributions. The covariance of an entity/relation representation represents its randomness component (Figure 6). Experimental results demonstrate that our method significantly outperforms the state-of-the-art methods on link prediction over four TKG benchmarks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/516/0*SQITPukWrHrmmYlw" /><figcaption>Figure 6: illustration of the means and (diagonal) variances of entities and relations in a temporal Gaussian Embedding Space. The labels indicate their position. In the representations, we might infer that Bill ClintonwaspresidentOf USAi n 1998 and Barack Obama was president of USA in 2010</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30a5bfe66a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Evaluating Chit-Chat Using Language Models]]></title>
            <link>https://sda-research.medium.com/evaluating-chit-chat-using-language-models-96118f42a78d?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/96118f42a78d</guid>
            <category><![CDATA[language-model]]></category>
            <category><![CDATA[dialogue-systems]]></category>
            <category><![CDATA[conversational-ai]]></category>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Wed, 04 Nov 2020 07:33:54 GMT</pubDate>
            <atom:updated>2020-11-04T10:36:08.808Z</atom:updated>
            <content:encoded><![CDATA[<h3>Language Model Transformers as Evaluators for Open-domain Dialogues</h3><p><em>This blog post was written by Rostislav Nedelchev.</em></p><p>Dialogue systems, nowadays more commonly referred to as chatbots, have been around since the 1960s. One of the first well-known examples of such a system is <a href="https://dl.acm.org/doi/abs/10.1145/365153.365168">ELIZA by Joseph Weizenbaum</a>. The system used keyword matching and rules to mimic <a href="https://www.simplypsychology.org/client-centred-therapy.html?utm_source=ubisend.com&amp;utm_campaign=ubisend&amp;utm_medium=blog-link">Simple Rogerian psychological therapy</a>. Since then, the research field has evolved massively, and dialogue systems are now present in everyday life. They have widespread usage in voice assistants like Siri or Alexa, or chatbots on social media platforms that help us book a restaurant table or give support in case of problems. They also play an increasingly important role in <a href="https://www.iais.fraunhofer.de/de/forschung/bereiche/kuenstlicheintelligenz/dialogsysteme.html">industrial dialogue settings</a>. But how do you know that the chatbot you developed actually works? Task-oriented (e.g., booking a flight) chatbots are usually component-based. Their task is broken down into subtasks, which makes it possible to perform an automated evaluation. Until today, such systems’ development still involves rigorous testing conducted by real people as a final stage. Also, there are non-task oriented chatbots (e.g., small talk or chit-chat) that need evaluation. Until now, the best thing we have is to check their response against a reference. However, we all know that in an informal conversation, there might be more than one possible answer. So far, no one has managed to create a tool, a method, or an algorithm that can measure how well these programs converse.</p><p>For many, this may sound like an automated Turing test (also called an “imitation game” by Alan Turing himself). However, such an evaluation requires two significant capabilities. First, to be able to <strong>understand </strong>if a dialogue meets certain quality criteria, for example, whether the conversation is fluent (correct language usage) or coherent (a response that is relevant to the current context. Second, one should be able to <strong>hold a conversation, </strong>i.e. generate a response that meets the criteria as mentioned earlier. Since we do not have a system that can do the latter properly (at least not yet), we cannot automate the Turing test. Instead, we focus on measuring a dialogue’s fluency and coherency.</p><p><strong><em>But to know what is a fluent and coherent dialogue, does one not need to know how to converse well?<br></em></strong>Not quite! It is a common fact that reading books can help with the mastery of a language as either a native or a non-native speaker. In essence, this is what language models (LM) like <a href="https://www.aclweb.org/anthology/N19-1423/">BERT (Devlin et al., 2018)</a>, <a href="https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf">GPT2 (Radford et al., 2019)</a>, or <a href="http://papers.nips.cc/paper/8812-xlnet-generalized-autoregressive-pretraining-for-language-understanding">XLNet (Yang et al., 2019)</a> more or less do. They “read” many articles from news websites or Wikipedia, and by doing so, they “acquire knowledge” of the consumed language. However, none of them has learned to participate in a dialogue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*1rfyB8CXZKi7ciXPTpTukg.png" /></figure><p>In our work “Language Model Transformers as Evaluators for Open-domain Dialogues”, we show that language models “have a feeling” what might be a coherent and fluent dialogue. They acquired that “sense” by just “reading books.” In simple terms, language models have learned to guess the most likely word(s) given a specific context. Each of the three approaches above does that in its own way. We wanted to find out whether their “skill” can be a good indicator of the quality of a conversation.</p><p>We asked language models how “probable” responses in dialogues are. We used the participating systems in the ConvAI1 and ConvAI2 challenges for our tests. We then checked whether there is a correlation between the LMs’ “likeliness score” and the human annotator evaluations.<strong> It turned out that there is (some)! </strong>Depending on the used LM and dialogue dataset, we discovered positive correlation coefficients (Pearson’s and Spearman’s), ranging between 0.13 and 0.49, with high statistical significance. BERT’s Next Sentence Prediction (NSP) performs the best since it works on utterance level, versus token level. It is followed by XLNet, which uses position information for each target word. Finally, GPT2 comes with it is standard left-to-right word-for-word prediction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*z6uVdVA1BPP5nIrDA4aWpw.png" /></figure><p><strong>That’s amazing! So, if language models “have an opinion of their own,” besides asking them to score dialogue, did you ask them what a good response from their perspective is?</strong></p><p>Yes, we did! Two of them, GPT2 and XLNet, are capable of generating whole sentences. So, we asked the two to live up the conversations from ConvAI1 and ConvAI2. While their responses were not entirely fluent, they were understandable and made sense in the context. Furthermore, the probability scores of these hypothetical responses had an even higher correlation with the human annotator scores, when compared to the likeliness score that was mentioned earlier. Depending on the LM and dataset, there was an average increase in correlation by about 0.05. So, does that mean that LMs are better than the ConvAI1 and ConvAI2 systems? Maybe! Both competitions happened before the dawn of transformer LMs and thus, such a comparison is unfair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*smbEJnJ6ufFsMYtlguAyJw.png" /><figcaption>At first sight, the sampled generated responses appear far from good. However, if one removes the first and last token, we get a perfect response.</figcaption></figure><p>Currently, the approach works only on pairs of utterances. It needs to be improved to consider the whole complete context, rather than just the last one. We saw that a more encompassing approach like BERT’s NSP is beneficial. Thus, we would look into how one can obtain a dialogue score, without the need for an aggregation step. Until then, stay tuned to our blog!</p><p>Link to paper: <a href="http://jens-lehmann.org/files/2020/coling_lm_dialogue_eval.pdf">http://jens-lehmann.org/file/2020</a><a href="http://jens-lehmann.org/files/2020/coling_lm_dialogue_eval.pdf">/coling_lm_dialogue_eval.pdf</a><br>Link to code: <a href="https://github.com/SmartDataAnalytics/transformers_dialogue_evaluators">https://github.com/SmartDataAnalytics/transformers_dialogue_evaluators</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96118f42a78d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Knowledge Graph (KG) Context in Deep Learning Approaches]]></title>
            <link>https://sda-research.medium.com/knowledge-graph-kg-context-in-deep-learning-approaches-4d75ebb48ca6?source=rss-890a6aada257------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d75ebb48ca6</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[entity-linking]]></category>
            <category><![CDATA[knowledge-graph]]></category>
            <category><![CDATA[wikidata]]></category>
            <dc:creator><![CDATA[SDA Research]]></dc:creator>
            <pubDate>Wed, 04 Nov 2020 07:23:58 GMT</pubDate>
            <atom:updated>2020-11-04T12:30:56.600Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog post was written by </em>Isaiah Onando Mulang’.</p><p><em>Part 1 : Encoding KG Aliases in Attentive Neural Network for Entity Linking (ARJUN)</em></p><p>Entity Linking is a long task in NLP dating from 2006, but really picked up around 2010 with Systems such as <a href="https://arxiv.org/pdf/1006.3498.pdf">Ferragina P. &amp; Scaiella U.</a> ‘s <a href="https://tagme.d4science.org/tagme/">TAGME</a>, and <a href="https://www.dbpedia-spotlight.org/docs/spotlight.pdf">P.N. Mendes et. al</a>. ‘s <a href="https://www.dbpedia-spotlight.org/">DBpedia Spotlight</a> among the very first initiatives. When <a href="https://www.aclweb.org/anthology/D11-1072.pdf">Hoffart et. al</a>. released the data set on <a href="https://github.com/codepie/aida">CONLL-AIDA</a> dataset; aligning the 2003 CONLL NER dataset with Entities in Wikipedia, there was a little burst in attention to this research task. Over a long time, systems sought to achieve better performance on this dataset, the Wiki Disambiguation Dataset (released with TAGME), and other DBpedia based datasets like the RSS-500 dataset of news excerpts annotated against DBpedia and encoded in NIF format <a href="https://svn.aksw.org/papers/2014/ISWC_AGDISTIS/public.pdf">Usbeck et al., 2015</a> seeing the introduction of techniques such as Graph Traversal, Neural Networks etc. Have a peep at the <a href="https://link.springer.com/chapter/10.1007/978-3-319-93935-3_5">Krisztian Balog’s survey</a> for a better historical journey as well as <a href="https://arxiv.org/pdf/2006.00575.pdf">Ozge Sevgili et. al.</a>’s review of Neural Network based techniques . Of course there are other datasets that appeared in this domain as early as 2007 : MSNBC, ACQUAINT, based majorly on Wikipedia, DBpedia and News Articles. A lot of work also went into the Freebase wave (remember her?), and she keeps her fingerprints todate, especially in KG completion tasks.</p><p><strong><em>Why does Wikidata suddenly look like a new superpower KG?<br></em></strong>As you can see, there is limited research, historically, targeting Wikidata KG. However this is beginning to change, since Wikidata is currently attracting attention from research communities. Wikidata has been observed as a rich source of structured data with almost all entities in Wikipedia present in the KG, just a little bit more structured according to the Hyper-labeled Graph structure. The structure of Wikidata that allows for representation of richer relations, as well as the fact that Wikidata is crowd authored not only affords richer information but also introduces several challenges. When users author entities and relations in the graph, there is much more and richer information represented but equally, these users do not follow strict standards. Clearly, this leads to duplicate naming, long titles (some even obscene) etc. Disambiguation of Entities in this kind of environment is a special case. For example: Berlin, is the famous capital city of Germany. In Wikidata KG, there are about 5 entities labeled as Berlin; including 3 towns in the USA called with this name. Each of Oregon, Massachusetts, Nevada, Ohio, and many more states have a town called Berlin. In the Wikidata KG, all of these would be represented with the label: <em>“Berlin” </em>in contrast to DBpedia for instance that would represent the same in a special format <em>“Berlin_Township,_New_Jersey”</em> to differentiate from the other Berlin. The figure below show a few of the challenges that exist in linking entities ti Wikidata KG, listed as S1, S2, and S3, to depict different sample sentences with different challenge complexity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*rtLOxdnfGNMMi13X6dwWxQ.png" /><figcaption>Challenges of Wikidata</figcaption></figure><p><strong>Datasets:</strong> Then, there is the issue of Datasets. You see, traditionally, Entity Linking datasets were based on Wikipedia, then came YAGO and DBpedia (For DBpedia you must also consider the 8yr running task of <a href="http://qald.aksw.org/">QALD datasets</a> which were easily adaptable for EL). Only recently has these datasets been aligned to the Wikidata KG (e.g. the AIDA-CONNL dataset has now been aligned with Wikidata), while at the same time <a href="https://www.aclweb.org/anthology/L18-1544.pdf">Hady Elsahar et.al. 2018</a> introduced the <a href="https://hadyelsahar.github.io/t-rex/">T-Rex dataset</a>, first dataset purely based on Wikidata entities. <a href="https://arxiv.org/pdf/1904.09131.pdf">Antonin Delpeuch</a>’s <a href="https://opentapioca.org/">Open Tapioca</a> aligns the RSS dataset by Ricardo and co. to Wikidata entities and introduces a new Wikidata-based dataset (ISTEX) as well. <a href="http://scholar.google.com/citations?user=9cp9LiAAAAAJ&amp;hl=en">Alberto Cetoli et. al.</a> in 2019 generated a new dataset from the Wiki-Disamb30 by aligning it with wikidata based on Wikipedia-Wikidata links and augmenting every positive example with a closely related negative example, the resultant dataset is termed as Wikidata-Disamb. Observe that this late influx, migration and realignment indicates some peculiarity of Wikidata KG as earlier discussed.</p><p><strong><em>So why bother about Entity Context in Attentive Neural Networks?<br></em></strong><a href="https://arxiv.org/pdf/1912.06214.pdf">ARJUN</a> (as we call our approach employed in this work) seeks to leverage only one form of information available in Wikidata about entities i.e. labels and their aliases. This has also been a common practice lately in several research tasks (take a trip for example to the use of “side information for Relation Extraction” in the paper <a href="https://www.aclweb.org/anthology/D18-1157.pdf">RESIDE</a>, and on your way back, for the Entity Disambiguation task; check the deep typing information in <a href="https://arxiv.org/pdf/1802.01021.pdf">Raiman and Raiman</a>, as well as <a href="http://scholar.google.com/citations?user=9cp9LiAAAAAJ&amp;hl=en">Alberto Cetoli et. al.2019</a>. <a href="https://labs.tib.eu/falcon/">FALCON</a> was the first tool to employ KG context in Entity and relation linking albeit using linguistic rules. The aim of ARJUN is however, to demonstrate the importance of such information in the EL task, as well as how to add them as signals in a Neural network setting. Using a single neural network to achieve the end to end EL task, would not lend itself well to allow additional information, likewise, the recently observed Transformer models like BERT and XLNet, are limited in the amount of information you can add during finetuning, whereas pretraining is resource intensive. As such ARJUN employs two attentive neural network models, where the first model carries out NER while the second model performs NED. This is an approach to break the blackbox of Neural Networks and introduce extra signals at the interchange.</p><p><strong><em>Use of [Local] Background KGs<br></em></strong>FALCON, introduced the concept of a local KG where entity and relation names from a KG are augmented by aliases; and same as entities from other KGs (Visavis Wikidata &amp; DBpedia). A local BG-KG is basically a bi-partite graph where pairs of entity names, aliases and synonym information is represented. Arjun utilizes a local KG at the interchange, to build entity context for the Disambiguation model. You will see from the approach diagram below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*6YJiVCfh5hFu1jKXbS-55Q.png" /><figcaption>The surface form extractor network is similar to the NED network</figcaption></figure><p>Arjun achieves 0.77 F-Score for the surface form extraction task and identifies the correct surface form for the kind of exemplary sentence shown in challenges of Wikidata (i.e. <em>ASIC</em> in sentence S1) and links it to the entity label <em>“Application Specific Integrated Circuit”</em> wdt:Q217302. The baseline can not achieve the linking for this sentence. In the Local KG, the entity label of wdt:Q217302 is enriched with aliases that also contain the form “ASIC”. This also allows Arjun to provide the correct linking to the Wikidata entities containing long labels. For example, in the sentence <em>”The treaty of London or London convention …”</em> links the surface form <em>London convention</em> with the <em>label Convention on the Prevention of Marine Pollution by Dumping of Wastes and Other Matter</em> (c.f. wiki:Q1156234). The entity label has 14 words, and Arjun provides correct linking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*Q6QX3A8fQl0blltMXGYRLg.png" /></figure><p>The performance of Arjun is shown in table 1 above, where there is clear indication that KG context has good improvement in the performance of the model. Some of the limitations of Arjun are brought about by the fact that the mention detection performs at 0.77 F-score which in turn becomes a cap for the disambiguation model. Likewise, the local KG, uses elastic search BM25 with fuzzy matching, we believe this can be improved to generate better entity candidates for instance the sentence: “<em>Two vessels have borne the name HMS Heureux, both of them captured from the French</em>” has two gold standard entities (<em>Heureux </em>to <em>French ship Heureux</em> (wiki:Q3134963) and French to French (wiki:Q150)). Arjun links Heureux to L’Heureux (wiki:Q56539239). Likewise a better approach for the mention detection component (especially with the current Transformer based models) will improve the performance of the model.</p><p>Link to the paper: <a href="https://arxiv.org/pdf/1912.06214.pdf">https://arxiv.org/pdf/1912.06214.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d75ebb48ca6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>