<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Commonsense Evidence Generation and Injection in Reading Comprehension</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2020 July</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10167539</idno>
					<idno type="doi"></idno>
					<title level='j'>ACM SIGDIAL</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Y Liu</author><author>T Yang</author><author>Z You</author><author>W Fan</author><author>P.S. Yu</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Human tackle reading comprehension not only based on the given context itself but often rely on the commonsense beyond. To empower the machine with commonsense reasoning, in this paper, we propose a Commonsense Evidence Generation and Injection framework in reading comprehension, named CEGI. The framework injects two kinds of auxiliary commonsense evidence into comprehensive reading to equip the machine with the ability of rational thinking. Specifically, we build two evidence generators: one aims to generate textual evidence via a language model; the other aims to extract factual evidence (automatically aligned text-triples) from a commonsense knowledge graph after graph completion. Those evidences incorporate contextual commonsense and serve as the additional inputs to the reasoning model. Thereafter, we propose a deep contextual encoder to extract semantic relationships among the paragraph, question, option, and evidence. Finally, we employ a capsule network to extract different linguistic units (word and phrase) from the relations, and dynamically predict the optimal option based on the extracted units. Experiments on the Cos-mosQA dataset demonstrate that the proposed CEGI model outperforms the current state-ofthe-art approaches and achieves the highest accuracy (83.6%) on the leaderboard.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Contextual commonsense reasoning has long been considered as the core of understanding narratives <ref type="bibr">(Hobbs et al., 1993;</ref><ref type="bibr">Andersen, 1973)</ref> in reading comprehension <ref type="bibr">(Charniak and Shimony, 1990)</ref>. Despite the broad recognition of its importance, the research of reasoning in narrative text is limited due to the difficulty of understanding the causes and effects within the context. Comprehending reasoning requires not only understanding the explicit mean- ing of each sentence but also making inferences based on implicit connections between sentences.</p><p>To answer a contextual commonsense question correctly, two important characteristics need to be well considered. First, the information that is required to infer a correct answer may be beyond the context, and hence adding external commonsense knowledge to guide the reasoning is necessary. Second, how to use external knowledge to gain contextual understanding between the paragraph, question and option set is difficult but important. Despite the great success of large pre-trained models such as BERT <ref type="bibr">(Devlin et al., 2018)</ref>, GPT <ref type="bibr">(Radford et al., 2018)</ref> and RoBERTa <ref type="bibr">(Liu et al., 2019)</ref>, recent studies suggest that those models fail to capture sufficient knowledge and provide commonsense inference. For example, <ref type="bibr">Poerner et al. (2019)</ref> show that language models perform well in reasoning about entity names, but fail to capture rich factual knowledge. Moreover, <ref type="bibr">Talmor et al. (2019)</ref> state that language models fail on half of the reasoning tasks which require symbolic operations such as comparison, conjuction and composition.</p><p>To this end, we introduce a Commonsense Evidence Generation and Injection framework in reading comprehension, named CEGI, which generates useful evidence from textual and factual knowledge and injects the generated evidence into pre-trained models such as RoBERTa. We propose to generate evidence regarding the facts and their relations. More specifically, we use language models to generate textual evidence and extract factual evidence from a knowledge graph after graph completion. We then inject both evidences into the proposed contextual commonsense reasoning model to predict the optimal answer. As shown in Figure <ref type="figure">1</ref>, the Textual Generated Evidence "He will call for medical attention" and Factual Generated Evidence "both blood &amp; ambulance locate at hospital" can help the model find the correct answer "An ambulance would likely come to the scene".</p><p>To capture relations between the paragraph and question, many reading comprehension models <ref type="bibr">(Zhang et al., 2019a;</ref><ref type="bibr">Tang et al., 2019)</ref> have been proposed. However, those reasoning models are essentially based on the given context without understanding the facts behind. Moreover, in many situations, the candidate option set contains distractors that are quite similar to the correct answer. In other words, understanding the relations among the option set is also important. We employ a capsule network <ref type="bibr">(Sabour et al., 2017)</ref>, which uses a routing-by-agreement mechanism to capture the correlations among different options and make the final decision.</p><p>Our proposed CEGI framework not only utilizes external commonsense knowledge to generate reasoning evidence but also adopts a capsule network to make the final answer prediction. The explainable evidence and the ablation studies indicate that our method has a large impact on the performance of the commonsense reasoning in reading comprehension. The contributions of this paper are summarized as follows: 1) We introduce two evidence generators which are learned from textual and factual knowledge sources; 2) We provide an injection method that can infuse both evidences into the contextual reasoning model; 3) We adapt a capsule network to our reasoning model to capture interactions among candidate options when making a decision; 4) We show our CEGI model outperforms current state-of-the-art models on the CosmosQA dataset and generates richer interpretive evidence which helps the commonsense reasoning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Multi-choice Reading Comprehension</head><p>To model the relation and alignment between the pairs of paragraph, question and option set, various approaches seek to use attention and pursue deep representation for prediction. <ref type="bibr">Tang et al. (2019)</ref> and <ref type="bibr">Wang et al. (2018b)</ref> model the semantic relationships among paragraph, question and candidate options from multiple aspects of matching. <ref type="bibr">Zhu et al. (2018a)</ref> propose a hierarchical attention flow model, which leverages candidate options to capture the interactions among paragraph, question and candidate options. <ref type="bibr">Chen et al. (2019)</ref> merge various attentions to fully extract the mutual information among the paragraph, question and options and form the enriched representations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Commonsense Knowledge Injection</head><p>To empower the model with human commonsense reasoning, various approaches have been proposed on the context-free commonsense reasoning task. The majority of the approaches are focusing on finding the question entity and a reasoning path on the knowledge graph to obtain the answer entity <ref type="bibr">(Huang et al., 2019;</ref><ref type="bibr">Zellers et al., 2018;</ref><ref type="bibr">Talmor et al., 2018)</ref>. For an instance, Lin et al. ( <ref type="formula">2019</ref>) construct graphs to represent relevant commonsense knowledge, and then calculate the plausibility score of the path between the question and answer entity. <ref type="bibr">Lv et al. (2019)</ref> extract evidence from both structured knowledge base and unstructured texts to build a relational graph and utilize graph attention to aggregate graph representations to make final predictions. However for contextual commonsense reasoning, it's hard to find a single most relevant entity from the paragraph or question to obtain the correct answer.</p><p>Other approaches focus on enhancing the pretrained language models through injecting external knowledge into the model and updating the model parameters in multi-task learning <ref type="bibr">(Zhang et al., 2019b;</ref><ref type="bibr">Lauscher et al., 2019;</ref><ref type="bibr">Levine et al., 2019)</ref>. A knowledge graph injected ERNIE model is introduced in <ref type="bibr">(Zhang et al., 2019b)</ref> and a weakly supervised knowledge-pretrained language model (WkLM) is introduced in <ref type="bibr">(Xiong et al., 2019)</ref>. They both inject the knowledge through aligning the source with the fact triplets in WikiData. However, the parameters need to be retrained when injecting new knowledge, which could lead to the catastrophic forgetting <ref type="bibr">(McCloskey and Cohen, 1989)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Task Definition</head><p>In multi-choice reading comprehension, we are given a paragraph P with t tokens P = [p 1 , p 2 , . . . , p t ], a question Q containing n tokens Q = [q 1 , q 2 , . . . , q n ] and the option set with m candidate options O = {O 1 , O 2 , . . . , O m }, where each candidate option is a text with h tokens</p><p>The goal is to select the correct answer A from the candidate option set.</p><p>For simplicity, we denote X = {P, Q, O} as one data sample and denote y = [y 1 , y 2 , . . . , y m ] as a one-hot label, where each scale y i = 1(O i = A) is an indicator function. In the training stage, we are given N set of (X , y) N , the goal is to learn a model f : X &#8594; y. In the testing, we need to predict y test given test samples X test .</p><p>When answering a question according to the paragraph, we observe that the context itself often does not provide enough clues to guide us to the correct answer. To this end, we need to know comprehensive information beyond the context and perform commonsense reasoning. Hence, we split the task into two parts: evidence generation and answer prediction, respectively. Our proposed CEGI model addresses both parts accordingly by two generators: textual evidence generator and factual evidence generator. In textual evidence generator, our goal is to generate relevant evidence text E = [e 1 , e 2 , . . . , e k ] given question Q and paragraph P. Note that the number of evidence tokens k may vary in different question and paragraph pair. In factual evidence generator, the goal is to generate relevant text that describes the relations between facts where the facts are the entities from paragraph, question and options. In the second part, we aim to learn a classifier P (y|P, Q, O, E) that predicts the correct option when a new data sample is given. By using the evidence generated from the first part, we expect the reasoning model can be enhanced with the auxiliary information, especially for those questions that require contextual commonsense reasoning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Methodology</head><p>To tackle reading comprehension task with commonsense reasoning, we introduce a commonsense evidence generation and injection (CEGI) framework. The system diagram of the CEGI framework is shown in Fig. <ref type="figure">2</ref>. First, the evidence generation module produces textual evidence and factual evidence. Those generated evidences will be used as auxiliary inputs for the reasoning model. Second, the contextual commonsense reasoning module generates deep contextual features for the paragraph, question, option and evidence. Meanwhile, a bidirectional attention mechanism is applied to the features to capture representations of the pair of paragraph, question, option set and evidence. Next, all pairs are concatenated and fed into a convolutional neural network for extracting different linguistic units of the options. At least, a capsule network is then applied to dynamically update the representation vector of the candidate options. The final answer is one of the options with the largest vector norm. We describe more details of each component in the following subsections.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Evidence Generation</head><p>It is worthy to mention that many commonsense reasoning types, such as causes of events and effects of events, are important factors of understanding the context in reading comprehension. While those factors are often not explicit or given in the paragraph and option set, answering such may be-come difficult. To this end, we seek to learn relevant evidence that contains commonsense knowledge. Specifically, we leverage pretrained language models to learn from both context and knowledge graph that may contain reasoning relations. We exploit two kinds of generators, textual evidence generator and factual evidence generator.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.1">Textual Evidence Generator</head><p>We observe that daily life events often follow a common routine such that when one event happened, the resulting event or the cause of such an event follows a specific pattern. For an example, in Figure <ref type="figure">1</ref>, the given paragraph describes a scenario that the old man is hurt and the young man is making a phone call. If we know that he is calling for medical attention, answering the question would become easy. Hence, the goal of our proposed textual evidence generator is to generate the text that follows daily life event routines. We rely on a pretrained language model to acquire the textual evidence by using GPT2 <ref type="bibr">(Radford et al., 2018)</ref> and Uniml <ref type="bibr">(Dong et al., 2019)</ref>. Specifically, in the training, we concatenate the paragraph, question and the correct answer as the input to the standard language model <ref type="bibr">(Liu et al., 2018)</ref>. Accordingly, the textual evidence generated from the language model is the following sentence after the question text. Note that we stack [P [SEP] Q [SEP] A] as the input to train the language model. Formally, let [w<ref type="foot">foot_0</ref> , . . . ,</p><p>The language generation model aims to maximize the following likelihood <ref type="bibr">(Radford et al., 2018)</ref>:</p><p>where the conditional probability p(w i |w 1 , . . . , w i-1 ) = f (w 1 , . . . , w i-1 ) and f is a sequence of operations that (i) converts each token w i into token embedding W i e and position embedding W i p ; (ii) transforms them into features with L layers where each layer feature is</p><p>)), and (iii) converts the feature into a probability using a linear classifier by predicting the next token w i .</p><p>Moreover, we aim to generate evidence that can discriminate the correct answer from option distractors. Hence, we add the answer prediction loss into the objective to fine-tune the language model. The text input for the jth option is</p><p>We use all N samples to optimize the following objective (with a regularization term &#955;):</p><p>(2)</p><p>where H L (w 0 ) is the last layer feature of the first token and W y is the parameters to learn to predict label y.</p><p>Test stage: we only use [P [SEP] Q] as the input to the language model and use the model to generate the next sentence as an evidence which means model is agnostic to the correct answer.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.2">Factual Evidence Generator</head><p>Aside from the textual evidence that contains information about the facts of daily life routine, relations between the facts are also important for question answering. In this section, we propose to utilize a factual knowledge graph to extract facts and relations and use them as additional evidence. Specifically, we use the ConceptNet <ref type="bibr">(Speer et al., 2017)</ref> 1 as the base model. We use a knowledge graph completion algorithm <ref type="bibr">Bosselut et al. (2019)</ref> to find new relations to further improve the quality of the generated factual evidence. We define X s = {x s 0 , ..., x s |s| } as the subject, X r = {x r 0 , ..., x r |r| } as the relation, and</p><p>triplets as the input to the knowledge graph completion language model in <ref type="bibr">Bosselut et al. (2019)</ref> to generate additional triplets that contain new subject and object relations. To generate factual evidence, we first extract entities from the given data X . We then select the related entities that match the subject X s in forms of subject-relationobject triplets. After that, we filter the triplets by selecting the subject X s * that follows: (i) part-ofspeech (POS) tag of X s * word matches the POS tag of the entity word; (ii) subject X s * word frequency is less than the word frequency of the object X o plus a threshold K o ; (iii) subject X s * word is not in the top-K frequent words based on the word frequency table 2 ; and (iv) the relation X r in the (X s * , X r , X o ) triplets connects no more than K r objects from the same subject X s * . K, K o and K r are the hyper-parameters. Finally, we convert the filtered triplets into a nature language sequences as our factual evidences. For example, "(trouble, Partof, life)" would be converted to "trouble is part of life".</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Model Learning with Contextual Commonsense Reasoning</head><p>After the relevant reasoning evidences are generated, the goal is to combine the evidence with the given data and then build a reasoning model to make a selection for the correct answer. In the following, we introduce our proposed contextual commonsense reasoning module, which utilizes contextual encoding, evidence injection and a capsule network components to make the prediction.</p><p>Contextual Encoding Recently, RoBERTa <ref type="bibr">(Liu et al., 2019)</ref> has shown to be effective and powerful in many natural language processing tasks and it is potentially beneficial for generating deep contextual features as well. Here, we use RoBERTa as an intermediate component to generate hidden representation of paragraph, question, the ith option and evidence</p><p>). We use the last layer of the RoBERTa model to encode, and thus the function Encode(&#8226;) returns the last layer features for each token. The corresponding features of paragraph, question, option and evidence are</p><p>, where d is the dimension of the feature. Since we have m options, we have m set of features.</p><p>Evidence Injection Given the previously generated evidence representation H i E . We aim to integrate it with the paragraph H i P , question H i Q and option H i O i . Here, we adopt the attention mechanism used in QANet <ref type="bibr">(Yu et al., 2018)</ref> to model the interaction between H i E and the paragraph H i P :</p><p>where W g &#8712; R d&#215;d is the bi-linear model parameter matrix. Since S E iP &#8712; R t&#215;k is the activation map (attention weights) between each token in P and each token in E, the learned relation representation G E iP &#8712; R d&#215;t of the paragraph P contains evidence information E.  <ref type="bibr">(2018b)</ref> to generate the final representation of the input. First, we obtain the matching result between the paragraph and the question as follows:</p><p>where </p><p>where [:] denotes the vertical concatenation operation. Each column c i is the co-matching state that concurrently matches a paragraph token with the question, candidate option and the evidence. Accordingly, we can obtain the question representation C iQ and option representation C iO i . Finally, we concatenate them all to obtain the final representation t+n+h) , where each 3d&#215;(t+n+h) . Since the final representation only contains the fine-grid token-level information, we employ a convolutional neural network (CNN) to extract higher level (phrase-level) patterns. To generate phrase patterns with different size, we use two convolutional kernels: size 1 &#215; 2 with stride 2 and size 1 &#215; 4 with stride 4 to convolve with F along the dimension of hidden state. In other words, such an operation extracts non-overlapping moving windows on F with window size 2 and 4.</p><p>To ensure R 1 and R 2 have the same dimension, we use a max pooling of size 1 &#215; 2 with stride 2 for R 1 and a max pooling of size 1&#215;1 with stride 1 for R 2 . We concatenate R 1 and R 2 to generate phrase-level representation</p><p>With L, to predict the final answer, one of the commonly applied operation is to simply take the maximum over the hidden dimension of length (t + n + h)/2. However, the max operation only consider the most significant phrase for each candidate without aware of the others. To explore the correlation between options and dynamically select the optimal one, we use dynamic routing-byagreement algorithm represented in <ref type="bibr">Sabour et al. (2017)</ref>. Specifically, we convert L i to a capsule v j using the following steps:</p><p>where L i is the ith column vector of L, affine transformation matrix W ij and weighting c ij are the capsule network model parameters. The learned Lj|i denotes the "vote" of the capsule j for the input capsule i. The agreement of "prediction vector" Lj|i between the current jth output and ith parent capsule is captured by the coupling coefficients c ij . The value of c ij would increase if higher level capsule s j and lower lever capsule L i highly agreed.</p><p>Model Learning If an option O j is the correct answer, we would like the top-level capsule v j to have a high energy, otherwise, we expect the energy of v j to be low. Since the L 2 -norm (square root of the energy) of the capsule vector v j represents the scoring of how likely the jth candidate is the correct answer, we use the following loss function <ref type="bibr">(Sabour et al., 2017)</ref> to learn the model parameters:</p><p>where &#955; 1 is a down-weighting coefficient, m + and m -are margins. In our experiments, we set m + = 0.9, m -= 0.1, &#955; 1 = 0.5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Experiments</head><p>In the experiment, we evaluate the performance of our proposed CEGI framework from different aspects, including evidence generation tasks and the answer prediction of contextual commonsense reasoning tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Dataset and Baseline</head><p>CosmosQA is the dataset that is designed for reading comprehension with commonsense reasoning <ref type="bibr">(Huang et al., 2019)</ref>. Samples are collected from people's daily narratives and the type of questions are concerning the causes or effects of events. Particularly answering the questions require contextual commonsense reasoning over the considerably complex, diverse, and long context. In general, the dataset contains a total of 35.2K multiple-choice questions, including 25262 training samples, 2985 development samples, and 6963 testing samples. <ref type="foot">3</ref>Baseline We categorize baseline methods into the following three groups: 1. Co-Matching <ref type="bibr">(Wang et al., 2018b)</ref>, Commonsense-RC <ref type="bibr">(Wang et al., 2018a)</ref>, DMCN <ref type="bibr">(Zhang et al., 2019a)</ref>, Multiway <ref type="bibr">(Huang et al., 2019)</ref>. 2. GPT2-FT <ref type="bibr">(Radford et al., 2018)</ref>, BERT-FT <ref type="bibr">(Devlin et al., 2018)</ref>, RoBERTa-FT <ref type="bibr">(Liu et al., 2019)</ref>. 3. Commonsense-KB <ref type="bibr">(Li et al., 2019)</ref>, K-Adapter <ref type="bibr">(Wang et al., 2020)</ref>. The baseline details are in appendix A.2. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Model</head><p>Dev Test Co-Matching <ref type="bibr">(Wang et al., 2018b)</ref> 45.9 44.7 Commonsense-RC <ref type="bibr">(Wang et al., 2018a)</ref> 47.6 48.2 DMCN <ref type="bibr">(Zhang et al., 2019a)</ref> 67.1 67.6 Multiway <ref type="bibr">(Huang et al., 2019)</ref> 68.3 68.4 GPT-FT <ref type="bibr">(Radford et al., 2018)</ref> 54.0 54.4 BERT-FT <ref type="bibr">(Devlin et al., 2018)</ref> 66.2 67.1 RoBERTa-FT <ref type="bibr">(Liu et al., 2019)</ref> 79.4 79.2 Commonsense-KB <ref type="bibr">(Li et al., 2019)</ref> 59.7 \ K-Adapter <ref type="bibr">(Wang et al., 2020)</ref> 81.8 \ CEGI(T+F)</p><p>83.8 83.6 Human \ 94.0</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Experimental Results and Analysis</head><p>Table <ref type="table">1</ref> shows the performance of different approaches reported on the AI2 Leaderboard. <ref type="foot">4</ref> . Comparing to all methods, our proposed model CEGI(T+F) has the highest accuracy on both development set and test set. Most of the reading comprehension approaches utilize the attention mechanism to capture the correlations between paragraph, question and option set, therefore, the model tends to select the one option that is semantically closest to the paragraph. Among all of the group 1 methods, Multiway has the highest accuracy of 68.3%.</p><p>Group 2 methods consider deep contextual representation of the given paragraph, question and option set, and increase the performance. Comparing group 2 methods with group 1 methods, RoBERTa-FT, which uses dynamic masking and large mini-batches strategy to train BERT, gains 11.1% accuracy increase compared to Multiway. However, it is worthy to mention that more than 83% of correct answers are not in the given passages in the CosmosQA dataset. Hence, multichoice reading comprehension models do not gain big improvement as they tend to select the choice which has the most overlapped words with the paragraph without commonsense reasoning. Even though, group 2 methods consider connecting the paragraph with question and option through a deep bi-directional strategy, the reasoning for question answering is still not well-addressed in the models. By utilizing additional knowledge, Commonsense-KB or K-Adapter teach pretrained models with commonsense reasoning. K-Adapter gains 2.4% accuracy increase than RoBERTa-FT. Those approaches leverage the structured knowledge but fail to produce a prominent prediction improvement. Comparing our CEGI approach with RoBERTa, we gain a 4% increase and 2% increase than K-Adapter, which demonstrates that injecting evidence is beneficial and incorporating interactive attentions can further enhance the model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Evidence Evaluation</head><p>In this section, we investigate the generated evidence from the textual generator and factual generator. Moreover, we study the quality of the generated evidence on another dataset-CommonsenseQA.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3.1">Textual Evidence Generator</head><p>Dataset Open Mind Common Sense (OMCS) corpus <ref type="bibr">(Singh et al., 2002)</ref> is a crowd-sourced knowledge database of commonsense statements<ref type="foot">foot_4</ref> , where its English dataset contains a million sentences from over 15,000 contributors. We consider using this dataset to pretrain the textual evidence generator and using CosmosQA to fine-tune the generator. Setup We use both BERT and GPT2 model to generate evidence and compare the results. To obtain a language model that contains representation of facts, we first pretrain both models with the OMCS data using the loss function in Eq. 1. Then we use CosmosQA data to fine-tune the pretrained model using multi-task loss in Eq. 3. Metrics In line with prior work <ref type="bibr">(Wang and Cho, 2019)</ref>, we evaluate the performance of evidence generation based on quality and diversity. In terms of quality, we follow <ref type="bibr">Yu et al. (2017)</ref> and compute the BLEU score between the generated evidence and the ground truth evidence to measure the similarity. The perplexity (PPL) score is also reported as a proxy for fluency. In terms diversity, we consider using self-BLEU <ref type="bibr">(Zhu et al., 2018b)</ref>, which measures how similar between two generated sentences. Generally, a higher self-BLEU score implies that the model has a lower diversity. Results From Table <ref type="table">2</ref>, we observe that, compared to CEGI-GPT2, the CEGI-BERT generator has higher diversity (Self-BLEU decreases 4 for bigram and decreases 2.1 for tri-gram) but lower quality (BLEU decreases 1.3 for tri-gram and PPL increases 27.1). Even though the perplexity on CEGI-BERT is as good as CEGI-GPT2, after reading the samples, we find out that many of the generated language are fairly coherent. For a more rigorous measure of generation quality, we collect human judgments on sentences for 100 samples using a four-point scale (the higher the better). For each sample, we ask three annotators to rate the sentence on its fluency and take the average of the three judgments as the sentence's fluency score. For CEGI-BERT and CEGI-GPT2, we get mean scores of 3.21, 3.17 respectively. Those results imply that generated evidence are semantically consistent with the correct evidence and can be used as auxiliary knowledge for the reasoning step.  <ref type="bibr">(Li et al., 2016)</ref>. "N/T sro" and "N/T o" are the proportions of generated tuples and generated objects which are not in the training set.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head><p>As we observed from Table <ref type="table">3</ref>, CEGI-GPT2 has the lowest PPL (4.58) and highest score (93.89), which indicates the CEGI-GPT2 model is confident and accurate at the generated relations. Even though the generated tuples on LSTM-s and CKGB model has high "N/T sro" (both are 86.25%) and "N/T o" (7.83% and 8.67% respectively), which means they generate novel relations and expand the knowledge graph, the generated nodes and relations may not be correct. We still need to rely on the Score to evaluate and they do poorly (60.83% and 57.17% respectively) in terms of Score. Since our proposed CEGI-GPT2 and CEGI-BERT model have high Score and low PPL, we believe that both models can produce highquality knowledge and still be able to extend the size of the knowledge graph.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3.3">Evidence Evaluation on</head><p>CommonsenseQA CommonsenseQA<ref type="foot">foot_6</ref> is a multi-choice question answering dataset, which contains roughly 12K questions with one correct answer and four distractor answers. Since the CommonsenseQA data only requires different types of commonsense knowledge to predict the correct answers, it does not contain paragraphs compared to CosmosQA. We use our textual generator and factual generator to generate evidence using CommonsenseQA data and use that to test the performance on answer prediction. To train our proposed textual evidence generator, we use Cos-e<ref type="foot">foot_7</ref> as the ground truth evidence. Cos-e uses Amazon Mechanical Turk to provide reasoning explanations for the CommonsenseQA dataset. To train our proposed factual evidence generator, we follow the same procedure as described in subsection 4.1.2. To predict the answer based on both evidence, we prepare the input as <ref type="bibr">Baselines KagNet (Lin et al., 2019)</ref>, <ref type="bibr">Cos-E (Rajani et al., 2019)</ref>, DREAM <ref type="bibr">(Lv et al., 2019)</ref>, RoBERTa + KE, RoBERTa + IR and RoBERTa + CSPT <ref type="bibr">(Lv et al., 2019)</ref>. All baselines use extracted knowledge from ConceptNet or Wikipedia. The details are in the appendix A.2.  <ref type="bibr">(Lv et al., 2019)</ref> 73.0 RoBERTa+CSPT <ref type="bibr">(Lv et al., 2019)</ref> 76.2 RoBERTa+KE <ref type="bibr">(Lv et al., 2019)</ref> 77.5 RoBERTa+IR <ref type="bibr">(Lv et al., 2019)</ref> 78.9 RoBERTa + T 78.8 RoBERTa + F 77.6 RoBERTa + (T+F)</p><p>79.1</p><p>Result Results on CommonsenseQA datasets are summarized in Table <ref type="table">4</ref>. RoBERTa + T, RoBERTa + F and RoBERTa + (T+F) includes textual evidence, factual evidence and both evidence together respectively. We observe that our model RoBERTa + T and RoBERTa + F can produce competitive performance compared to all baselines. By utilizing both textual knowledge and factual knowledge, our approach outperforms RoBERTa+IR and achieves the highest accuracy 79.1%.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">Ablation Study</head><p>To evaluate the contributions of individual components of our proposed framework, we use an ablation study. Table <ref type="table">5</ref> summarizes ablation studies on the development set of CosmosQA from several aspects: the influence of the generated evidence; which evidence is better, textual or factual; the influence of the capsule network.</p><p>Result We can see that injecting generated explainable evidence can help the model achieve a better performance in terms of accuracy. Using generated textual evidence and factual evidence together can benefit more. Using capsule network significantly improves the reasoning performance, we doubt that is due to the hierarchical structure information from both token-level and phrase-level are extracted by capsule network. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion</head><p>In this paper, we proposed a commonsense evidence generation and injection model to tackle reading comprehension. Both textual and factual evidence generators were used to enhance the model for answering questions which requires commonsense reasoning. After the evidences were generated, we adopted attention mechanism to find the relation and match between paragraph, question, option and We used convolutional network to capture the multi-grained features. To capture diverse features and iteratively make a decision, we proposed using a capsule network that dynamically capture different features to predict the answer. The AI2 Leaderboard of CosmosQA task demonstrated that our method can tackle commonsensebased reading comprehension pretty well and it outperformed the current state-of-the-art approach K-Adapter with a 2% increase in term of accuracy. Experiments regarding the evidence generators showed that the generated evidence is humanreadable and those evidences are helpful for the reasoning task.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Appendix</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1 Training Details</head><p>In CosmosQA experiments, we use pretrained weight of RoBERTa large. We run experiments on a 24G Titan RTX for 5 epochs, the max sequence length to 256. For hyper-parameters, we set the routing iterations of capsule network as 3, batch size is chosen from {8, 16, 24, 32}, learning rate is chosen from {2e-5, 1e-5, 5e-6} and warmup proportion is chosen from {0, 0.1, 0.2, 0.5}. For CEGI(F+L), the best performance is achieved at batch size=24, lr=1e-5, warmup proportion=0.1 with 16-bit float precision. GPT2 with 12-layer and BERT base model are used in evidence generation.</p><p>In textual evidence generation, we set &#955; in Eq. 3 to 0.5, max sequence length to 40, batch size to 32 and the learning rate to 6.25e-0.5. In factual evidence generation, we set max sequence length to 15, batch size to 64, the learning rate to 1e-5. For both generators, we train 100000 iterations with early stop.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Baseline Methods</head><p>Cosmos Baselines 1. Co-Matching <ref type="bibr">(Wang et al., 2018b)</ref> captures the interactions between paragraph with question and option set through attention. Commonsense-RC <ref type="bibr">(Wang et al., 2018a)</ref> performs three-way unidirectional attention to model interactions between paragraph, question, and option set. DMCN <ref type="bibr">(Zhang et al., 2019a)</ref> applies dual attention between paragraph and question or option set using BERT encoding output. Multiway <ref type="bibr">(Huang et al., 2019)</ref> uses BERT to learn the semantic representation and uses multiway bidirectional interaction between each pair of input paragraph, question and option set.</p><p>2. GPT2-FT <ref type="bibr">(Radford et al., 2018)</ref>, BERT-FT <ref type="bibr">(Devlin et al., 2018)</ref> and RoBERTa-FT <ref type="bibr">(Liu et al., 2019)</ref> are the pretrained transformer language models with additional fine-tuning steps on CosmosQA.</p><p>3. Commonsense-KB <ref type="bibr">(Li et al., 2019)</ref> uses logic relations from a commonsense knowledge base (e.g., ConceptNet 9 ) with rule-based method to generate multiple-choice questions as additional training data to fine-tune the pretrained BERT model. K-Adapter <ref type="bibr">(Wang et al., 2020)</ref> infuses commonsense knowledge into a large pre-trained 9 <ref type="url">http://conceptnet.io/</ref> network.</p><p>CommonsenseQA Baselines KagNet <ref type="bibr">(Lin et al., 2019)</ref> uses ConceptNet as extra knowledge and proposes a knowledge-aware graph network and finally scores answers with graph representations. Cos-E (Rajani et al., 2019) constructs human-annotated evidence for each question and generates evidence for test data. DREAM <ref type="bibr">(Lv et al., 2019)</ref> adopts XLNet-large as the baseline and extracts evidence from Wikipedia. RoBERTa + KE, RoBERTa + IR and RoBERTa + CSPT <ref type="bibr">(Lv et al., 2019)</ref> adopt RoBERTa as the baseline and utilize the evidence from Wikipedia, search engine and OMCS, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.3 Case Study</head><p>To verify the generated evidence performance, we perform case studies on textual generator and factual generator. In addition, we also show a case that the proposed capsule network can help to select the answer by comparing with the other options. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Case Study on Textual Generator</head><p>We show examples of automatically generated evidences by CEGI-GPT2 and CEGI-BERT in Figure <ref type="figure">3</ref>. We observe that using the multi-tasking loss, CEGI-BERT and CEGI-GPT2 generate more accurate evidence. Moreover, using those generated evidences is helpful for predicting the correct answer. In the first example, the evidence generated by CEGI-GPT2 "They trust me and I handle animal without supervision." can help select the Answer D "They delegate tasks to me without supervision." In the second example, the evidence generated by CEGI-BERT "I would not have experienced the feelings that I had for her." is close to the Answer D. Case Study on Factual Generator Figure <ref type="figure">4</ref> shows the examples of evidences generated by the factual generator. In the first example, from evidence, we know "bee is capable of sting", so option C "Because he got bite before" will be the correct answer. Some options like B "Because most plant and animal life would die within decade of bees disappearing from the planet" appear in the context "I told him that most plant and animal life would be die within a decade of bees disappearing from the planet", and thus without the evidence it could puzzle the model to select B. In the second example, we have the evidence "sun has capable of drying something that be wet" and "spray has property wet", so it is easy to reach the correct answer D "The sun dries the paint which is sprayed on quickly".</p><p>Case Study on Capsule Network We investigate the case with and without capsule network in the model. As shown in Figure <ref type="figure">5</ref>, it is hard to answer the question simply by reading through the paragraph. However, after comparing with the other options, option A will be the best answer. In this case, the generated evidence is not useful to predict the correct answer A. But the capsule network considering all other candidate options when answering the question can help predict "She wanted her to look at a pretty rock" as answer. </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>ConceptNet is a knowledge graph, which consists of triples obtained from the Open Mind Common Sense entries.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>https://www.wordfrequency.info/free. asp</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>The CosmosQA dataset can be obtained from https: //leaderboard.allenai.org/cosmosqa/</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_3"><p>https://leaderboard.allenai.org/ cosmosqa/ The test dataset is hidden by the AI2 and methods like Commonsense-KB and K-Adapter are not reported on the Leaderboard.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_4"><p>https://github.com/commonsense/ conceptnet5/wiki/Downloads</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_5"><p>https://ttic.uchicago.edu/ &#732;kgimpel/ commonsense.html</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_6"><p>https://www.tau-nlp.org/commonsenseqa</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_7"><p>https://github.com/salesforce/cos-e</p></note>
		</body>
		</text>
</TEI>
