<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Unscripted Conversation through Knowledge Graph</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Roshni R Ramnani</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Shubhashis Sengupta</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ankur Gakhar</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sarvesh Maheshwari</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sayantan Mitra</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>In this paper, we introduce \unscripted conversation" - free form dialog over a domain knowledge graph. We describe a use case around Luggage handling for a commercial airline where we answer users queries regarding various policies such as luggage dimensions, restrictions on carry-on items, travel routes etc. We have encoded the domain entities, relationships, processes and polices in the knowledge graph and created a generic semantic natural language processing engine to process user queries and retrieve the correct results from a knowledge graph.</p>
      </abstract>
      <kwd-group>
        <kwd>Conversational AI</kwd>
        <kwd>Knowledge Graph</kwd>
        <kwd>Natural Language</kwd>
        <kwd>Processing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The conventional approach for building chatbots requires explicit conversational
modelling involving manual scripting of dialog ows and extensive training for
intent classi cation. For use cases involving complex organizational processes
and rules like a Luggage Handler, changes in the rules / policies at the backend
necessitates changes in the encoded ows and training data. We believe issues
regarding rigid design and maintenance signal a need for a shift in conversational
systems design. Hence, we look to use Knowledge graphs which are easy to
understand by a human expert, amiable for customization, and easy to maintain.
Knowledge graphs for answering users queries has been used previously [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
however our approach is di erent from existing approaches in the sense that
we build an interactive dialog system rather than a pure Question and Answer
system, we handle complex queries involving multiple clauses / sentences and we
execute multi-hop queries against the graph. Figure 1 depicts query types with
examples that are handled.
      </p>
    </sec>
    <sec id="sec-2">
      <title>High level Approach</title>
      <p>Our approach centres around the building of a domain graph using a domain
agnostic semantic schema and a semantic parsing layer that processes a user
utterance and performs a multi-hop graph walk to retrieve the result.
0 Copyright c 2020 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
2.1</p>
      <sec id="sec-2-1">
        <title>Graph Schema</title>
        <p>
          The domain graph follows a at structure where attributes of a entity are the
leaf nodes. Essentially all nodes of the graph inherit from a set of 6 distinct
node types namely Person (for people or roles), Process (for organizational
processes), Math ( for handing math formulas ), Decision ( for if-then-else rules
/ rule expressions ), Generic ( for all other domain entities), Value Property (
for attributes ). In addition, hierarchies de ned in ConceptNet are used to map
their other real world concepts to entities modelled in the graph.[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Semantic Parsing Layer</title>
        <p>The semantic natural language layer consists of 4 parts : Query Classi er which
classi es the query as info / question and identi es the result type ( a rmation,
process, calculation, attribute retrieval, etc ) , the Sentence Splitter which splits
a complex sentence into its component clauses, the Base Layer which performs
dependency parsing and semantic role labelling, the Custom Layer which builds
on previous layers to identify the main clause, focus entities, verbs and the
constraints as shown in Figure 2.The entities and verbs are compared with the
nodes and relations in the graph using a combination of levenshtein distance and
word vectors. The answer is retrieved by nding the shortest path(s) between
the start node and the focus node. In scenarios where multiple answers exist
(multiple valid identi ed paths / multiple valid focus nodes), a dialog with the
user is initiated to retrieve the entities which lead to the selection of a single
path. The response is presented to the user via template based natural language
generation techniques.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Moon,
          <string-name>
            <surname>Seungwhan</surname>
          </string-name>
          , et al. \
          <article-title>Opendialkg: Explainable conversational reasoning with attention-based walks over knowledge graphs." Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics</article-title>
          .
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <surname>Weiguo</surname>
          </string-name>
          , et al. \
          <article-title>Question answering over knowledge graphs: question understanding via template decomposition</article-title>
          .
          <source>" Proceedings of the VLDB Endowment 11.11</source>
          (
          <year>2018</year>
          ):
          <fpage>1373</fpage>
          -
          <lpage>1386</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. ConceptNet :
          <article-title>An Open Multilingual Knowledge graph : https://conceptnet</article-title>
          .io/
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>