<!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>Summary on “Hybrid Neuro-Symbolic Approach for Text-Based Games using Inductive Logic Programming”</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Kinjal Basu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IBM Research</institution>
          ,
          <addr-line>NY</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Texas at Dallas</institution>
          ,
          <addr-line>Richardson</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper, I briefly describe the summary of my work titled - Hybrid Neuro-Symbolic Approach for TextBased Games using Inductive Logic Programming. Text-based games (TBGs) have emerged as an important test-bed, requiring reinforcement learning (RL) agents to combine natural language understanding with reasoning. A key challenge for agents solving this task is to generalize across multiple games and shows good results on both seen and unseen objects. To tackle these issues, we have designed a hybrid neuro-symbolic framework for TBGs that uses symbolic reasoning along with the neural RL model. We also use WordNet as an external commonsense knowledge source to bring information to generalize the hypothesis. We have tested our work on diferent settings on TWC games and showed that the agents that incorporate the neuro-symbolic hybrid approach with the generalized rules outperform the baseline agents.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Reinforcement Learning</kwd>
        <kwd>Text-based Games</kwd>
        <kwd>Inductive Logic Programming</kwd>
        <kwd>Answer Set Programming</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Summary</title>
      <p>Natural language plays a crucial job in human intelligence and cognition. TBGs become
appropriate simulation environments for studying the language-informed sequential
decisionmaking process as the states and actions in these games are described in natural language.
So, to solve these games an agent needs the skill of both natural language processing (NLP)
and reinforcement learning (RL). At a high level, the existing agents can be classified into two
classes - (a) rule-based agents, and (b) neural agents. Both have advantages and disadvantages.
Rule-based models are very eficient in doing multi-hop reasoning and specially commonsense
reasoning, however, they rely heavily on pre-defined knowledge and are not greatly scalable. On
the other hand, neural agents show good scalability and can be trained from scratch, although
they perform poorly on unseen data and the policies are also not interpretable.</p>
      <p>
        In our paper [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], we introduce a hybrid neuro-symbolic (HNS) architecture for TBGs that
utilizes the positive features of both the neural and the symbolic agents. Instead of using
predefined prior knowledge, the symbolic agent in HNS learns the symbolic policies by leveraging
the reward and action pairs while playing the game. This allows the policies to be interpretable
g
n
iod Word
cn Embeddings
E
tex GRU
t
n
o
C
      </p>
      <p>GRU</p>
      <p>St-1</p>
      <sec id="sec-1-1">
        <title>Context</title>
        <p>Encoding
g
n
i
cod Word
nE Embeddings
n
itco GRU</p>
        <p>A
Neural Action Selector
OBSERVATION(Ot )
You have entered into a
bedroom. You see a
chest drawer and a</p>
        <p>wardrobe. The
wardrobe is open.</p>
        <p>INVENTORY: You are
carrying a shirt.</p>
      </sec>
      <sec id="sec-1-2">
        <title>Admissible Actions</title>
        <p>(e.g., open chest-drwawer,
insert shirt into wardrobe)</p>
      </sec>
      <sec id="sec-1-3">
        <title>Parser + IE</title>
        <p>r
o
tc Symbolic Facts
lee Generator
S
ino Fact Generalizer
tcA (using WordNet)
lico ASP Solver
bm (s(CASP))
y
S</p>
        <sec id="sec-1-3-1">
          <title>Rulest-1</title>
        </sec>
      </sec>
      <sec id="sec-1-4">
        <title>Rules Set</title>
      </sec>
      <sec id="sec-1-5">
        <title>Action Selector</title>
        <p>Action</p>
      </sec>
      <sec id="sec-1-6">
        <title>Environment</title>
        <p>Action
+ Reward</p>
        <sec id="sec-1-6-1">
          <title>Rulest</title>
        </sec>
      </sec>
      <sec id="sec-1-7">
        <title>Rule</title>
        <p>ILP Generalizer
Symbolic Rule Learner
and very natural. Importantly, the rules are learned as default theories so that the agent
can do non-monotonic reasoning. Also, we lift the rules using WordNet and that gives more
generalization capabilities to the rules. The neural part of an HNS agent is responsible for doing
the exploration in the environment and is used in the scenarios where the symbolic agent fails
to provide an action (due to a lack of learned rules).</p>
        <p>The goal of our paper was to show how a neural and a symbolic agent can work together
in an RL environment for the TBGs. The neural agents are good at exploration whereas the
symbolic agents are good at learning interpretable policies that ofer rewards and apply them
to select a candidate set of actions. Keeping it as a motivation, we try to capitalize the power of
both agents to get better results. The main idea is to use the symbolic agent to learn the policies
in the form of logic rules and apply them using an ASP solver. When the symbolic agent fails
to provide a good action, then the neural agent takes care of it as a fallback. In other words,
the action selector gives priority to the symbolic agent over the neural. Figure 1 illustrates the
components of our HNS architecture and shows an overview of the decision making process.</p>
        <p>
          This framework has been tested on Text-World-Commonsense games and we show that
the agents that incorporate the neuro-symbolic hybrid approach with the generalized rules
outperform the baseline agents. The performance results and more details about this work can
be found in our paper [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ].
        </p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Conclusion</title>
      <p>This summary gives a high-level overview of our works on Text-based games and how we try
to incorporate the benefits from both neural and symbolic agents to build hybrid models. Our
architecture in figure 1 shows the decision flow of an agent. We are currently working on it to
improve its performance and trying to cover harder games.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>K.</given-names>
            <surname>Basu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Murugesan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Atzeni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Kapanipathi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Talamadupula</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Klinger</surname>
          </string-name>
          , M. Campbell,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sachan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <article-title>A hybrid neuro-symbolic approach for text-based games using inductive logic programming</article-title>
          ,
          <source>in: Combining Learning and Reasoning: Programming Languages, Formalisms, and Representations</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>