<!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>Natural Language Supported Relation Matching for Question Answering with Knowledge Graphs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Chenyan Xiong cx@cs.cmu.edu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Jamie Callan</institution>
        </aff>
      </contrib-group>
      <fpage>43</fpage>
      <lpage>48</lpage>
      <abstract>
        <p>This work focuses on the relation matching problem in knowledge based question answering systems. Finding the right relation a natural question asks is a key step in current knowledge based question answering systems, while also being the most difficult one, because of the mismatch between natural language question and formal relation type definitions. In this paper, we present two approaches to tackle this problem. The first approach tries to directly learn the soft match between the question and the relations from the training data using neural networks. The second approach enriches the relation name with natural language support sentences generated from Wikipedia, which provide additional matches with the question. Experiments on the WebQuestions dataset demonstrate that both of our approaches improve the relation matching accuracy of a prior state-of-the-art. Our further analysis reveals the high quality of support sentences and suggests the rich potential of support sentences in question answering and semantic parsing tasks.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Copyright c by the paper’s authors. Copying permitted for private and academic purposes.</p>
      <p>In: L. Dietz, C. Xiong, E. Meij (eds.): Proceedings of the First Workshop on Knowledge Graphs and Semantics for Text Retrieval and Analysis (KG4IR),
Tokyo, Japan, 11-Aug-2017, published at http://ceur-ws.org
use neural networks to select the most related (best) NLSS for the relation. The best NLSS of the relation is then matched
with the question via another LSTM, and provide a richer and more natural description of the relation.</p>
      <p>
        Our experiments on the WebQuestion [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] dataset demonstrated the effectiveness of the two approaches. The LSTM’s
themselves provide similar performances with previous relation matching techniques [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and can be combined to achieve
better accuracy. The support sentences significantly increase the representation of the relation and provide an absolute 4%
improvement in recall. Our analysis further revealed the potential of natural language support sentences. Although the
coverage of support sentences on relations is limited by our simple support sentence finding technique, among those that
are covered (25%), support sentences influenced the majority of them, and most of the influences are positive.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>System Architecture</title>
      <p>The system architecture is illustrated in Figure 1. The process of answering each question can be described with the
following four steps:</p>
      <p>
        Entity Linking: Identify entities from the question [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
Candidate Answer Generation: Retrieval all facts that start with the linked entities (root entities) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ],
Semantic Parsing: Match the questions to the candidate facts (relation matching).
      </p>
      <p>
        Answer Ranking: Rank the fact candidates using Learning to rank [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        According to our error analysis on one of previous state-of-the-art OpenQA system, Aqqu, [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] on WebQuestions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ],
we identified the following error categories with the following percentages:
      </p>
      <p>Ground Truth error (30:0%): The dataset gives the wrong answer or no answers are provided.</p>
      <p>Relation Matching error (41:96%): Wrong relation is matched by the top fact candidate.</p>
      <p>Entity Linking error (9:82%): Wrong entities or no entities identified.</p>
      <p>Other (18:22%): Knowledge base inconsistency, invalid matching patterns, and combinations of several error types.</p>
      <p>
        The relation matching is the major challenge of the system: most of the errors the system made are due to relation
matching mistakes. Thus this work mainly focuses on this step and follows the implementation of the Aqqu [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] system
in other stages. In the rest of this paper, we will introduce how we approach the relation matching problem with neural
networks and support sentences.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Semantic Parsing with LSTM</title>
      <p>The goal of the semantic parsing stage is to find a matching score between the question q, and a fact candidate c. A fact
candidate is the triple of subject s, relation r, and object o . Because the object mostly does not appear in the question, the
semantic parser’s goal is to match q with the candidate facts’ subject and relation (s; r).</p>
      <p>We employ two LSTM models to perform this relation matching: LSTM-Seq and LSTM-Match.</p>
      <p>LSTM-Seq takes the question q and fact pair (subject s and relation r) as the input. It first concatenates them to a
sequence q + s + r, and maps their words to embeddings. It then uses a Bi-LSTM to map the input sequence q + s + r to
hidden representations, and employ a dense layer to predict the ranking score:</p>
      <p>fLSTM-Seq(q; c) = Dense(Bi-LSTM(Embedding(q + s + r))):</p>
      <p>LSTM-Match takes the question q and the relation r as the input. Instead of concatenating them into one word
sequence, LSTM-Match maps q and r to embeddings, uses two Bi-LSTM’s to map the q and r to their hidden representations,
and computes the cosine similarity of the Bi-LSTM’s outputs.</p>
      <p>
        fLSTM-Match(q; c) = cosine(Bi-LSTM(Embedding(q)), Bi-LSTM(Embedding(r)))
Training: The two LSTM’s are trained using standard pairwise learning to rank:
= argmin max(0; 1
f (q; c+) + f (q; c ));
(1)
(2)
(3)
The parameters to learn include the word embeddings, LSTM parameters, and the Dense layer’s parameters. The two
LSTM’s and their embedding layers are trained independently with separate parameters. The training pairs c+; c are
formed by their F1 score [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Specifically, for each fact candidate, we use the F1 score of the objects it leads to as its labels
(there could be more than one object connected by the same subject and relation, for example, the movies an actress cast).
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Support Relation Inference with Wikipedia Sentences</title>
      <p>The short natural language question and the formally defined relation names lead to vocabulary mismatch problems. For
instance, the question “how was pluto discovered?” should be matched with the Freebase relation “discovery technique”,
which is hard to distinguish from the relation “discoverer”. This section introduces our approaches that enrich the relation
description with natural language support sentences (NLSS) generated from Wikipedia.
4.1</p>
      <sec id="sec-4-1">
        <title>Support Sentence Generation</title>
        <p>For each candidate fact triple (s; r; o), we extract all possible support sentences in Wikipedia that contain both the root
entity s and the answer entity o. Specifically, We scan through the entire enwiki data dump and parse each Wikipedia
page into a list of sentences. Wikipedia has manual annotations for each Wikipedia entity, and we can map them to Freebase
entities. For all sentences in Wikipedia that contain both s and o, we add them to the NLSS pool for the candidate fact triple
(s; r; o). If the answer node o represents an attribute, not an entity, then all sentences contain the root entity are included
as its NLSS.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Relation Matching via Support Sentences</title>
        <p>We first select the best support sentences for each candidate fact, given there could be many sentences mentioning the
subject and object entities. Then we use these best support sentences to enrich the semantic parsing, which provides the
‘relation expansion’ effect.</p>
        <p>Support Sentence Selection. There are two ways to select the best support sentence: (1) the one with the highest
similarity with the question; (2) the one with the highest similarity with the fact candidate. Both similarity scores are
determined by the trained LSTM-Seq model.</p>
        <p>
          Semantic Parsing with Support Sentences. We use another LSTM-Seq model to match the best support sentences
with the question. It is trained and used the same as described in the last section, only that the fact candidate is replaced by
its best support sentences. This generates two additional ranking scores, which are then combined with the other semantic
parsers’ (for example, LSTM-Seq and LSTM-Match) using RankSVM [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. The RankSVM treats these relation matching
scores as ranking features, and is trained using standard pairwise loss, the same as described in the last section. When
testing, the relation matching methods (LSTM’s and support sentences) are first applied, and their scores are combined by
the trained RankSVM to generate the final relation matching score.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Experimental Methodology</title>
      <p>
        WebQuestions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the standard testbed of OpenQA, is used. It contains 5810 questions with crowd-sourced answers in
Freebase. The official train-test split is used: 3778 (70%) training questions and 2032 (30%) testing questions.
Evaluation metrics include precision, recall, and F1 score. The Top K (K=f1; 2; 5; 10g) accuracy that evaluates whether
the correct answer appears in the top k ranking results is also included.
Baseline: The main purpose of this work is to study the effectiveness of LSTM parsers and the support sentence’s effect in
enriching them. So we only compare them with our implementation of the CDSSM relation matching method in the recent
state-of-the-art STAGG system [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The integration of our semantic parsers into the full QA system is left for future work.
Implementation details: All embeddings’ dimensions are 300. All LSTM layers’ dimensions are 32. Hinge loss is used.
Training was done with mini-batch (size 64) and the RMSProp optimizer.
6
      </p>
    </sec>
    <sec id="sec-6">
      <title>Evaluation</title>
      <p>The performances of our relation matching methods are shown in Table 1 shows the performance results. The first column
lists the semantic parsers used, and the ‘+’ sign refers to the combination of multiple parsers using RankSVM.</p>
      <p>Effectiveness of LSTM: LSTM-Seq and LSTM-Match alone are able to achieve similar performance with the
stateof-the-art relation matching model CDSSM. Combining LSTM-Seq and LSTM-Match together outperforms CDSSM by
5% absolute F1 score. Combining the three neural networks together leads to another 2 3% relative improvements in
precision and recall, and greatly improves the robustness of the system: 5% more questions are correctly answered in Top
10. This shows that LSTM-Seq and LSTM-Match cover different aspects of the relation matching and can be further
combined with the previous states-of-the-art.</p>
      <p>Effectiveness of Support Sentences: Adding support sentences further improves the recall from 53:1% to 57:2%, and
precision from 37:2% to 39:6%. Intuitively, the support sentences provide additional expressions of the candidate fact’s
relation, mitigate the vocabulary mismatch problem, and thus are more effective in improving recall.</p>
      <p>Here is an example question that is answered correctly after using the support sentences:</p>
      <p>Question: who was vp for lincoln?
Matched fact candidate: [Abraham Lincoln] ! government/us president/vice president ! Andrew Johnson, Hannibal Hamlin
Fact candidate matched previously: [Abraham Lincoln] ! person.profession ! Lawyer, Politician, Statesman
Top support sentence: Also in 1864, Brandegee was a member of the Connecticut delegation to the [[1864 Republican National
Convention—National Republican Convention]] in [[Baltimore]], which re-nominated President [[Abraham Lincoln—Lincoln]],
and nominated [[Andrew Johnson]] for the [[Vice President of the United States—Vice Presidency]].</p>
      <p>From this example, we can see that the QA system seems to confuse the question “who was vp for lincoln” with “who
was lincoln”. The matched relation is “person.profession” before using the support sentences. The support sentences
enrich the vocabulary of the fact candidate, and increases the matching score with the question term ‘vp’.</p>
      <p>We further studied the per question win/loss of the support sentences. We found that adding support sentences gives
different answers for a total of 234 questions in testing, with 87 wins, 33 losses, and other ties. The high win/loss ratio
(87/33) demonstrates the advantage of the support sentences, but the small number of influenced questions (234/2032)
limits the overall improvements. The reason is that many fact candidate sentences (75%) have no support sentences at
all, as shown in Table 2. Our support sentence finding method is rather simple and may miss too many possible support
sentences. How to align more natural language sentences to Freebase triples while maintaining their quality is an important
task in the future work.</p>
      <p>Error Analysis: We further performed an error analysis of our system. Among the 58% errors our system made,
38%(771) of the questions are answered with wrong relations, 12% are due to entity linking error, and the rest 8% are
either because the answer or the entities cannot be found in Freebase. The distribution shows that the core problem of
the system is still relation matching. Many such errors are rather subtle and would require more fine-grained language
understanding. For example, in the example below the system mistakenly ranked ‘place of birth’ before ‘nationality’ while
the question wants the country.</p>
      <p>Question: where is jason mraz from?
Correct fact candidate: [Jason Mraz] ! people.person.nationality ! United States of America (ranked at 3rd)
Matched fact candidate: [Jason Mraz] ! people.person.place of birth ! Mechanicsville (ranked at 1st)
7</p>
    </sec>
    <sec id="sec-7">
      <title>Conclusions and Future Work</title>
      <p>This work focuses on the relation matching problem in knowledge based question answering systems. This task is
challenging due to the different characteristics of natural language questions and formal relation type schema: Our manual
error analysis of a prior state-of-the-art system, Aqqu, suggests that most of the errors the QA system made are because
of relation matching mistakes. We developed two different approaches to address this problem. The first one uses two
BiLSTM’s to directly learn the match between the question and the candidate fact triples, while the second one enriches the
relation descriptions with support sentences found in Wikipedia, and feed the support sentences into the LSTM to address
the vocabulary mismatches.</p>
      <p>
        Our experiments demonstrate that both of our approaches provide similar or better relation match accuracy compared to
the CDSSM used in a prior state-of-the-art knowledge based QA system [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The LSTM’s and the support sentences cover
different aspects of the relation matches, and can be combined with prior work for better accuracy. Our analysis further
demonstrates the high quality of generated support sentences: among those questions whose fact answers have any support
sentences, adding support sentences influences the major of them and most changes are improvements.
      </p>
      <p>
        Possible future work includes experimenting with better support sentence generating techniques, hoping to improve the
coverage while maintaining the high quality. Another direction is to incorporate the presented relation matching methods
into state-of-the-art QA systems, for example, Aqqu [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and STAGG [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Better relation matching models is another
important future research topic, given it is still the biggest error source in our system.
      </p>
      <p>
        Perhaps the most interesting finding of our exploration is the promising potential of the joint utilization of the formal
semantics in the knowledge graphs and the rich natural language support sentences. Previously such support sentences
were mostly used during the extraction of the knowledge base facts, for example, in OpenIE [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] or distant supervision [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
After the knowledge bases are constructed, only the formal entity-relation triples are kept; the downstream inference
and alignment operations were performed with only the formal semantics stored in the knowledge graph. This work
demonstrated the effectiveness of using the natural language support sentences in one of the most important applications
of knowledge graphs and suggests the possible usage of them in many other knowledge graph related tasks.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Banko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Cafarella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Soderland</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Broadhead</surname>
          </string-name>
          , and
          <string-name>
            <given-names>O.</given-names>
            <surname>Etzioni</surname>
          </string-name>
          .
          <article-title>Open information extraction for the web</article-title>
          .
          <source>In Proceedings of the the 14th International Joint Conference on Artificial Intelligence (IJCAI</source>
          <year>2007</year>
          ), pages
          <fpage>2670</fpage>
          -
          <lpage>2676</lpage>
          . IJCAI,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Bast</surname>
          </string-name>
          and
          <string-name>
            <given-names>E.</given-names>
            <surname>Haussmann</surname>
          </string-name>
          .
          <article-title>More accurate question answering on freebase</article-title>
          .
          <source>In Proceedings of the 24th ACM International on Conference on Information and Knowledge Management</source>
          ,
          <source>CIKM '15</source>
          , pages
          <fpage>1431</fpage>
          -
          <lpage>1440</lpage>
          , New York, NY, USA,
          <year>2015</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.</given-names>
            <surname>Berant</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Chou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Frostig</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Liang</surname>
          </string-name>
          .
          <article-title>Semantic parsing on freebase from question-answer pairs</article-title>
          .
          <source>In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, EMNLP</source>
          <year>2013</year>
          ,
          <volume>18</volume>
          -21
          <source>October</source>
          <year>2013</year>
          , Grand Hyatt Seattle, Seattle, Washington, USA,
          <article-title>A meeting of SIGDAT, a Special Interest Group of the ACL</article-title>
          , pages
          <fpage>1533</fpage>
          -
          <lpage>1544</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>K.</given-names>
            <surname>Bollacker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Evans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Paritosh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Sturge</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Taylor</surname>
          </string-name>
          . Freebase:
          <article-title>A collaboratively created graph database for structuring human knowledge</article-title>
          .
          <source>In Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, SIGMOD '08</source>
          , pages
          <fpage>1247</fpage>
          -
          <lpage>1250</lpage>
          , New York, NY, USA,
          <year>2008</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Joachims</surname>
          </string-name>
          .
          <article-title>Training linear svms in linear time</article-title>
          .
          <source>In Proceedings of the 12th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD '06</source>
          , pages
          <fpage>217</fpage>
          -
          <lpage>226</lpage>
          , New York, NY, USA,
          <year>2006</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mintz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bills</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Snow</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Jurafsky</surname>
          </string-name>
          .
          <article-title>Distant supervision for relation extraction without labeled data</article-title>
          .
          <source>In Proceedings of ACL 2009</source>
          , pages
          <fpage>1003</fpage>
          -
          <lpage>1011</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Deng</surname>
          </string-name>
          , and
          <string-name>
            <given-names>G.</given-names>
            <surname>Mesnil</surname>
          </string-name>
          .
          <article-title>A latent semantic model with convolutional-pooling structure for information retrieval</article-title>
          .
          <source>In Proceedings of the 23rd ACM International Conference on Conference on Information and Knowledge Management</source>
          ,
          <source>CIKM '14</source>
          , pages
          <fpage>101</fpage>
          -
          <lpage>110</lpage>
          , New York, NY, USA,
          <year>2014</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>W.</given-names>
            <surname>Yih</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>He</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Gao</surname>
          </string-name>
          .
          <article-title>Semantic parsing via staged query graph generation: Question answering with knowledge base</article-title>
          .
          <source>In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing of the Asian Federation of Natural Language Processing, ACL 2015, July 26-31</source>
          ,
          <year>2015</year>
          , Beijing, China, Volume
          <volume>1</volume>
          :
          <string-name>
            <given-names>Long</given-names>
            <surname>Papers</surname>
          </string-name>
          , pages
          <fpage>1321</fpage>
          -
          <lpage>1331</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>